Coefficients of indexed polynomial power products #
powerProductCoefficient obtains a coefficient of v * ∏ i, r i ^ j i through modular
access to v and the lower polynomials r i. It evaluates the indexed power product at
each canonical grid point, then applies the existing multivariate coefficient extractor.
It never constructs the full product polynomial or asks the caller to supply its coefficients.
Uniform F_a evaluation access gives an F_(a+4) coefficient evaluator. The variable count
is unary so that grid points have polynomial encoded length; relation indices, field moduli,
coefficient indices and power exponents remain binary. Missing list entries use the existing
zero defaults. Correctness needs the Fourier degree bounds and access only at canonical
finite-field grid points; the evaluator itself is total on all inputs.
Ported from LeanCanny.CountingHierarchy.PowerProductCoefficients at lean-canny commit
970f28a5ecefc1327402ade16c068aa4b1b2c183, as a step toward finite-residue evaluation.
A short-index modular product followed by coefficient extraction costs four levels. Arity is unary for grid decoding; the relation index and all powers remain binary.
The evaluator computes the coefficient of the actual polynomial product. The access hypotheses are required only on canonical grid points and genuine relation indices.