Documentation

CslibFrontier.Foundations.RingTheory.MvPolynomial.MonomialExtension

Monomial extensions of functions on the cube #

The monomial extension of f : (ι → Bool) → R is the polynomial ∑ u, f u * ∏_{u i} X i: the coefficient of the square-free monomial of the set bits of u is f u (MvPolynomial.monomialExtension). Unlike the multilinear extension (MvPolynomial.multilinearExtension), whose weights are X i and 1 - X i, it does not interpolate f on the cube; it records f in its coefficients. Its degree is at most the largest number of set bits of a point where f does not vanish (MvPolynomial.totalDegree_monomialExtension_le), and at the indicator of a point c it is the sum of f over the points below c (MvPolynomial.eval_indicator_monomialExtension).

Main definitions #

Main results #

noncomputable def MvPolynomial.monomialExtension {R : Type u_1} {ι : Type u_2} [CommSemiring R] [Fintype ι] [DecidableEq ι] (f : (ι → Bool) → R) :

The monomial extension ∑ u, f u * ∏_{u i} X i of f.

theorem MvPolynomial.totalDegree_monomialExtension_le {R : Type u_1} {ι : Type u_2} [CommSemiring R] [Fintype ι] [DecidableEq ι] (f : (ι → Bool) → R) {d : ℕ} (hd : ∀ (u : ι → Bool), f u ≠ 0 → {i : ι | u i = true}.card ≤ d) :

The degree of the monomial extension is at most the number of set bits of the points where f does not vanish.

theorem MvPolynomial.eval_indicator_monomialExtension {R : Type u_1} {ι : Type u_2} [CommSemiring R] [Fintype ι] [DecidableEq ι] (f : (ι → Bool) → R) (c : ι → Bool) :
(eval fun (i : ι) => if c i = true then 1 else 0) (monomialExtension f) = ∑ u : ι → Bool with ∀ (i : ι), u i = true → c i = true, f u

At the indicator of c, the monomial extension of f is the sum of f over the points below c: the monomial of u is 1 there when every set bit of u is set in c, and 0 otherwise.