Documentation

Complexitylib.BooleanAnalysis.PolynomialCorrelation.Internal.Reduction

Reduction on the agreement set #

For each product of low monomials, choose a block with enough unused degree, if one exists. On the agreement set, the majority in this block can be eliminated using the polynomial and strictly smaller modified degree.

A block in which the low monomial has at least d degrees to spare.

Equations
Instances For

    The retained generators omit the majority in the chosen block.

    Equations
    Instances For

      Change only the majority flag in a block.

      Equations
      Instances For
        theorem Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.pivot_congr {k m d : ℕ} {a b : Term k m} (h : ∀ (i : Fin k), (a i).1 = (b i).1) :
        pivot d a = pivot d b
        theorem Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.setFlag_first {k m : ℕ} (a : Term k m) (i j : Fin k) (b : Bool) :
        (setFlag a i b j).1 = (a j).1
        theorem Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.pivot_good {k m d : ℕ} {a : Term k m} {i : Fin k} (h : pivot d a = some i) :
        (↑(a i).1).card + d ≤ m

        Restriction of a function to a subset of its inputs.

        Equations
        Instances For
          theorem Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.agreement_span {k m d : ℕ} (p : MvPolynomial (Fin k × Fin (2 * m + 1)) (ZMod 2)) (hp : p.totalDegree ≤ d) (E : Set (BlockCube k m)) (hE : ∀ x ∈ E, polynomialEval p x = xorMajority x) :
          Submodule.span (ZMod 2) (Set.range fun (a : { a : Term k m // Allowed d a }) => (restrictTo E) (termEval ↑a)) = ⊤

          The retained generators span all functions on any agreement set.

          theorem Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.agreement_card_le {k m d : ℕ} (p : MvPolynomial (Fin k × Fin (2 * m + 1)) (ZMod 2)) (hp : p.totalDegree ≤ d) (E : Set (BlockCube k m)) (hE : ∀ x ∈ E, polynomialEval p x = xorMajority x) :

          The agreement set has at most as many points as retained generators.