Documentation

Complexitylib.Algebraic.LowerBound.Fusion.Arithmetic.Interaction.Polynomial.Mixing

Linear mixtures of monomial outputs #

Apply an arbitrary coefficient matrix to a family of distinct selected monomials. The selected coefficient matrix of the resulting outputs is exactly the mixing matrix, so its rank lower-bounds multiplication cost.

The unitriangular prefix matrix supplies a concrete full-rank example over every field: output j is the sum of monomials 0, ..., j. These outputs have strongly overlapping support, unlike the basis family itself.

noncomputable def Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.targets {K : Type u} {σ : Type w} {m : ℕ} [CommSemiring K] (exponent : Fin m → σ →₀ ℕ) (mix : Matrix (Fin m) (Fin m) K) :
Fin m → MvPolynomial σ K

Outputs obtained by using the columns of mix as coefficients of the selected monomial family.

Equations
Instances For
    theorem Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.coefficientMatrix_targets {K : Type u} {σ : Type w} {m : ℕ} [CommSemiring K] [DecidableEq σ] (exponent : Fin m → σ →₀ ℕ) (injective : Function.Injective exponent) (mix : Matrix (Fin m) (Fin m) K) :
    coefficientMatrix exponent (targets exponent mix) = mix

    Distinct monomials make the selected coefficient matrix of mixed outputs equal to the mixing matrix itself.

    theorem Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.matrix_rank_le_multiplicationCost {K : Type u} {C : Type v} {σ : Type w} {n m : ℕ} [Field K] [DecidableEq σ] (constant : C → K) (inputVariables : Fin n → σ) (exponent : Fin m → σ →₀ ℕ) (injective : Function.Injective exponent) (nonconstant : ∀ (selected : Fin m), exponent selected ≠ 0) (notInput : ∀ (selected : Fin m) (input : Fin n), exponent selected ≠ Finsupp.single (inputVariables input) 1) (mix : Matrix (Fin m) (Fin m) K) (circuit : Circuit (Arithmetic.signature C) n m) (constructs : Multiple.Constructs (inputProblem inputVariables) (targets exponent mix) circuit) :

    The rank of any monomial mixing matrix lower-bounds multiplication cost.

    theorem Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.circuit_multiplication_lowerBound_of_det_ne_zero {K : Type u} {C : Type v} {σ : Type w} {n m : ℕ} [Field K] [DecidableEq σ] (constant : C → K) (inputVariables : Fin n → σ) (exponent : Fin m → σ →₀ ℕ) (injective : Function.Injective exponent) (nonconstant : ∀ (selected : Fin m), exponent selected ≠ 0) (notInput : ∀ (selected : Fin m) (input : Fin n), exponent selected ≠ Finsupp.single (inputVariables input) 1) (mix : Matrix (Fin m) (Fin m) K) (det_ne_zero : mix.det ≠ 0) (circuit : Circuit (Arithmetic.signature C) n m) (constructs : Multiple.Constructs (inputProblem inputVariables) (targets exponent mix) circuit) :

    A nonsingular mixing of m monomials still requires at least m multiplications.

    Upper-unitriangular prefix-sum mixing matrix.

    Equations
    Instances For
      noncomputable def Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.prefixTargets {K : Type u} {σ : Type w} {m : ℕ} [CommSemiring K] (exponent : Fin m → σ →₀ ℕ) :
      Fin m → MvPolynomial σ K

      Prefix sums of a selected monomial family.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.prefixTargets_multiplication_lowerBound {K : Type u} {C : Type v} {σ : Type w} {n m : ℕ} [Field K] [DecidableEq σ] (constant : C → K) (inputVariables : Fin n → σ) (exponent : Fin m → σ →₀ ℕ) (injective : Function.Injective exponent) (nonconstant : ∀ (selected : Fin m), exponent selected ≠ 0) (notInput : ∀ (selected : Fin m) (input : Fin n), exponent selected ≠ Finsupp.single (inputVariables input) 1) (circuit : Circuit (Arithmetic.signature C) n m) (constructs : Multiple.Constructs (inputProblem inputVariables) (prefixTargets exponent) circuit) :

        Computing all prefix sums of m distinct nonlinear monomials requires at least m multiplications over every field.

        theorem Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.prefixTargets_gate_lowerBound {K : Type u} {C : Type v} {σ : Type w} {n m : ℕ} [Field K] [DecidableEq σ] (constant : C → K) (inputVariables : Fin n → σ) (exponent : Fin m → σ →₀ ℕ) (injective : Function.Injective exponent) (nonconstant : ∀ (selected : Fin m), exponent selected ≠ 0) (notInput : ∀ (selected : Fin m) (input : Fin n), exponent selected ≠ Finsupp.single (inputVariables input) 1) (circuit : Circuit (Arithmetic.signature C) n m) (constructs : Multiple.Constructs (inputProblem inputVariables) (prefixTargets exponent) circuit) :

        Prefix-sum outputs also force total gate cost at least m.

        theorem Algebraic.Fusion.Arithmetic.Interaction.Polynomial.Mixing.prefixTargets_size_lowerBound {K : Type u} {C : Type v} {σ : Type w} {n m : ℕ} [Field K] [DecidableEq σ] (constant : C → K) (inputVariables : Fin n → σ) (exponent : Fin m → σ →₀ ℕ) (injective : Function.Injective exponent) (nonconstant : ∀ (selected : Fin m), exponent selected ≠ 0) (notInput : ∀ (selected : Fin m) (input : Fin n), exponent selected ≠ Finsupp.single (inputVariables input) 1) (circuit : Circuit (Arithmetic.signature C) n m) (constructs : Multiple.Constructs (inputProblem inputVariables) (prefixTargets exponent) circuit) :
        m ≤ circuit.size

        Prefix-sum outputs force raw circuit size at least m.