Documentation

LeanPool.BooleanMultiplication.N3

N3 for unrestricted Boolean polynomial multiplication #

Sum of the five output coefficients for three-term multiplication.

Equations
Instances For
    noncomputable def UnrestrictedBooleanMul.rationalBasis :
    Fin 10 → ANF 6

    Affine inputs followed by the three rational-place evaluations for three-term products.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def UnrestrictedBooleanMul.ambientBasis :
      Fin 12 → ANF 6

      Affine inputs followed by the five output coefficients for three-term products.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def UnrestrictedBooleanMul.rationalRep (c : Fin 10 → F₂) :
        ANF 6

        The ANF represented by a coefficient vector in the rational-place basis.

        Equations
        Instances For
          noncomputable def UnrestrictedBooleanMul.ambientRep (c : Fin 12 → F₂) :
          ANF 6

          The ANF represented by a coefficient vector in the affine-plus-target basis.

          Equations
          Instances For

            Extract coefficients bilinearly, then normalize the resulting scalar polynomial.

            Equations
            Instances For

              Affine functions together with the three rational-place product evaluations.

              Equations
              Instances For

                The span of affine functions and every three-term product coefficient.

                Equations
                Instances For

                  Monomials whose coefficients recover coordinates in the affine-plus-target basis.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Check a concrete basis vector by its twelve anchor coefficients.

                    Equations
                    Instances For
                      noncomputable def UnrestrictedBooleanMul.freeBasis :
                      Fin 7 → ANF 6

                      The constant function and six input variables available without AND gates.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Evaluate a selected coefficient of an ANF in the affine-plus-target span.

                        Equations
                        Instances For
                          theorem UnrestrictedBooleanMul.algebraic_cert (a b : Fin 10 → F₂) (z : Fin 12 → F₂) (h : rationalRep a * rationalRep b = ambientRep z) :
                          z 8 = z 9 ∧ z 9 = z 10

                          Rational-place coordinates when the three middle target coefficients agree.

                          Equations
                          Instances For
                            theorem UnrestrictedBooleanMul.ambientRep_mem_rationalSpace (z : Fin 12 → F₂) (h₈₉ : z 8 = z 9) (h₉₁₀ : z 9 = z 10) :