Documentation

CslibFrontier.Foundations.Combinatorics.Design.PolynomialInterpolation

Polynomial Block Interpolation Counting #

Over a finite field F of cardinality q, each coefficient vector c : Fin d → F (encoding a univariate polynomial of degree strictly less than d) determines a graph Cslib.polynomialBlock F d c ⊆ F × F. This module establishes the exact fiber-counting property for coefficient vectors via Lagrange interpolation and rank–nullity: every set S ⊆ F × F of at most d points with pairwise distinct first coordinates is contained in the graphs of exactly q ^ (d - |S|) coefficient vectors c : Fin d → F, and every set S ⊆ F × F of size at most d is contained in the graphs of at most q ^ (d - |S|) coefficient vectors.

Note that the count is over coefficient vectors Fin d → F, not distinct graph subsets: when d > q, distinct coefficient vectors can yield the same graph (for instance, over ZMod 2 with d = 3, 0 and X ^ 2 + X have identical graphs).

Main results #

theorem Cslib.card_polynomialBlock_containing_eq {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {d : ℕ} (S : Finset (F × F)) (hS : S.card ≤ d) (hrow : ∀ p ∈ S, ∀ p' ∈ S, p.1 = p'.1 → p = p') :
{c : Fin d → F | S ⊆ polynomialBlock F d c}.card = Fintype.card F ^ (d - S.card)

Over a finite field F, for any set S ⊆ F × F of at most d points with pairwise distinct first coordinates, exactly Fintype.card F ^ (d - S.card) coefficient vectors c : Fin d → F have S ⊆ Cslib.polynomialBlock F d c.

theorem Cslib.card_polynomialBlock_containing_le {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {d : ℕ} (S : Finset (F × F)) (hS : S.card ≤ d) :
{c : Fin d → F | S ⊆ polynomialBlock F d c}.card ≤ Fintype.card F ^ (d - S.card)

Over a finite field F, for any set S ⊆ F × F of cardinality at most d, at most Fintype.card F ^ (d - S.card) coefficient vectors c : Fin d → F satisfy S ⊆ Cslib.polynomialBlock F d c.