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 #
Cslib.card_polynomialBlock_containing_eq: exact countFintype.card F ^ (d - S.card)of coefficient vectorsc : Fin d → Fwhose graph contains a setSof at mostdpoints with distinct first coordinates.Cslib.card_polynomialBlock_containing_le: upper bound≤ Fintype.card F ^ (d - S.card)on coefficient vectorsc : Fin d → Ffor an arbitrary point setSof cardinality at mostd.
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.
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.