Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.TranslatedCoefficientEvaluation

Translated coefficients in one additional counting level #

translatedCoefficientResidue uses the existing grid sum after polynomial-time modular point translation. A uniform F_a evaluation oracle therefore yields an F_(a+1) coefficient evaluator; the variable arity is unary and the modulus, exponents and coordinates are binary. Correctness requires a prime field, total degree below p - 1, and each requested exponent below p - 1. The same total function is certified on every input.

Adapted from lean-canny.

noncomputable def Cslib.Complexity.RealAlgebraic.translatedCoefficientResidue (p n : ℕ) (β z : List ℕ) (value : List ℕ → ℕ) :

One grid coefficient sum after modular translation of each evaluation point.

theorem Cslib.Complexity.RealAlgebraic.translatedCoefficientResidue_cast {p n : ℕ} [Fact (Nat.Prime p)] (F : MvPolynomial (Fin n) (ZMod p)) (e : Fin n →₀ ℕ) (β z : List ℕ) (value : List ℕ → ℕ) (hF : F.totalDegree < p - 1) (he : ∀ (i : Fin n), e i < p - 1) (hβ : ∀ (i : Fin n), β[↑i]?.getD 0 = e i) (hv : ∀ (y : List ℕ), ↑(value y) = (MvPolynomial.eval fun (i : Fin n) => ↑(y[↑i]?.getD 0)) F) :
↑(translatedCoefficientResidue p n β z value) = ((MvPolynomial.shift fun (i : Fin n) => ↑(z[↑i]?.getD 0)) F).coeff e