The polynomial multiplication lemma #
The ordinary total degree is Mathlib's MvPolynomial.totalDegree. Expanding
over the polynomial's support avoids any assumptions about cancellation.
theorem
Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.polynomial_mul_mem
{k m r : ℕ}
{f : BlockCube k m → ZMod 2}
(hf : f ∈ filtration k m r)
(p : MvPolynomial (Fin k × Fin (2 * m + 1)) (ZMod 2))
{d : ℕ}
(hp : p.totalDegree ≤ d)
:
Multiplication by a degree-d polynomial increases modified degree by at most d.