Indexed gate coefficients from modular coordinate values #
Pack the bivariate coefficient indices in a single Kronecker exponent and use the
finite-field coefficient sum on the gate's executable modular evaluations.
This adapts LeanCanny.ETR.BivariateTermReader.coefficient_eq at
lean-canny 970f28a5ecefc1327402ade16c068aa4b1b2c183.
A coordinate evaluator at counting-function level a yields a certificate at
level a + 1. The source for the critical-point family remains separate.
The word length and coordinate degree bounds give a uniform binary radix and
prime cutoff for all gates.
The uniform radix is computable in polynomial time from the formula and inner bound.
The uniform prime cutoff is computable in polynomial time from the formula and both bounds.
For any gate, the chosen radix and any modulus above the cutoff meet both degree hypotheses of prime-field coefficient extraction.
The coefficient sum for one gate at inner index i and outer index j.
The callback supplies coordinate residues at the packed evaluation point.
Indices outside the radix or finite-field interpolation range return zero.
Coordinate queries at level a give coefficient extraction at level a + 1.
The gate index, modulus, radix and coefficient indices are binary.
Correctness at a prime field whose size exceeds the degree of the packed gate polynomial by at least two. The inner degree bound excludes index collisions. The equation covers every query index, including those beyond either cutoff.