Binary polynomial multiplication targets #
The variable a_i among the 2n multiplication inputs.
Equations
Instances For
The variable b_j among the 2n multiplication inputs.
Equations
- UnrestrictedBooleanMul.bVar n j = UnrestrictedBooleanMul.X ⟨n + ↑j, ⋯⟩
Instances For
Coefficient s of the product of two n-term binary polynomials.
Equations
- UnrestrictedBooleanMul.mulCoefficient n s = ∑ i : Fin n, ∑ j : Fin n, if ↑i + ↑j = s then UnrestrictedBooleanMul.aVar n i * UnrestrictedBooleanMul.bVar n j else 0
Instances For
Binary n-term polynomial multiplication in Boolean ANF.
Equations
Instances For
The linear target space spanned by all multiplication coordinates.
Equations
Instances For
Affine functions plus the multiplication target.
Equations
Instances For
Coefficient projection onto a chosen finite family of squarefree monomials.
Equations
- UnrestrictedBooleanMul.coefficientProjection anchor = { toFun := fun (p : UnrestrictedBooleanMul.ANF m) (i : Fin d) => p.coeff (anchor i), map_add' := ⋯, map_smul' := ⋯ }