Documentation

CslibFrontier.Foundations.Data.Code.LowDegreeExtension.UnitSum

Unmasking low-degree extensions #

Summing a low-degree function along a punctured affine line removes its mask. This combines the existing Reed–Muller polynomial witness with the finite-field unit-sum identity. For a function on n coordinates over an alphabet H, the sufficient bound is strictly n * (|H| - 1) < |F| - 1.

Main results #

References #

theorem Cslib.Code.sum_units_mul_add_of_mem_reedMuller {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {n D : ℕ} {f : (Fin n → F) → F} (hf : f ∈ reedMuller F n D) (hD : D < Fintype.card F - 1) (τ x : Fin n → F) :
(∑ u : Fˣ, f fun (i : Fin n) => ↑u * τ i + x i) = -f x

A Reed–Muller codeword below the strict unit-sum degree threshold loses its mask when summed over the units.

theorem Cslib.Code.sum_units_lowDegreeExtension_mul_add {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {n : ℕ} {H : Type u_2} [Fintype H] [DecidableEq H] (h : H ↪ F) (f : (Fin n → H) → F) (hD : n * (Fintype.card H - 1) < Fintype.card F - 1) (τ : Fin n → F) (a : Fin n → H) :
(∑ u : Fˣ, lowDegreeExtension h f fun (i : Fin n) => ↑u * τ i + h (a i)) = -f a

Summing the masked extension at a grid point gives minus the original table entry. The strict bound is on the total degree, not just on the alphabet size.