Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.CriticalCoordinateCandidates

Modular evaluation of indexed coordinate candidates #

Each coefficient in the deformation parameter is a polynomial in the coordinate value. The bivariate evaluator and a finite-field coefficient sum evaluate the addressed polynomial without expanding it. The theorem coordinateParameterDegreeBound_polyTime computes a bound on the coefficient index in binary from the unary arity and the binary exponent parameter. The theorem parametricCoordinateCoeffNormExponent_polyTime computes the binary norm exponent that bounds every addressed coefficient.

This adapts LeanCanny.CountingHierarchy.coordinateCandidateValue at lean-canny 970f28a5ecefc1327402ade16c068aa4b1b2c183, the coefficient extraction in [OAI26f], Proposition 6.3. Selecting the highest nonzero coefficient and proving real coordinate coverage remain open in #6560.

The binary coordinate characteristic norm exponent is computable in polynomial time from unary arity, binary pure-power exponent and the binary input norm exponent.

noncomputable def Cslib.Complexity.RealAlgebraic.criticalCoordinateCandidateValue (p n d i j t : ℕ) (value : List ℕ → ℕ) :

Evaluate coefficient j in the deformation parameter at the coordinate value t.

theorem Cslib.Complexity.RealAlgebraic.criticalCoordinateCandidateValue_cast {p n : ℕ} [Fact (Nat.Prime p)] (d : ℕ) (hd : 1 ≤ d) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ d + 1) (i : Fin n) (j t : ℕ) (hcut : (d + 1) * ((d + 1) ^ n + n * d + 1) + 1 < p) (hdegree : (d + 1) ^ n * (d + 1) ^ n < p - 1) (hparam : MvPolynomial.CriticalSystem.coordinateParameterDegreeBound n d < p - 1) (hj : j < p - 1) (value : List ℕ → ℕ) (hv : ∀ (z : List ℕ), ↑(value z) = MvPolynomial.eval₂ (Int.castRingHom (ZMod p)) (fun (k : Fin n) => ↑(z[↑k]?.getD 0)) F) :

Over a sufficiently large prime, the query agrees with the addressed integer deformation coefficient evaluated at the supplied coordinate value.