Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.CriticalCoordinateEvaluation

Modular evaluation of the coordinate characteristic polynomial #

At a supplied deformation parameter, evaluate the characteristic polynomial of multiplication by a coordinate by summing the addressed coefficients against powers of the coordinate value. The cost includes every coefficient query, starting from evaluations of the source polynomial.

This adapts LeanCanny.CountingHierarchy.coordinatePolynomialValue at lean-canny 970f28a5ecefc1327402ade16c068aa4b1b2c183. Selection of the leading deformation coefficient and real coordinate coverage remain open in #6560.

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

Evaluate the coordinate characteristic polynomial at deformation parameter u and coordinate value t. The degree bound is the dimension of the pure-power quotient.

The arity is unary. The modulus, degree parameter, deformation parameter, coordinate index, and evaluation point are binary. The complete evaluation adds ten levels to source access.

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

The modular evaluator agrees with evaluating the integer polynomial, first specializing the deformation parameter and then evaluating the coordinate value.