Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.CriticalRootLabelEvaluation

Sparse root-label evaluation from critical source access #

The source polynomial evaluator supplies the addressed coefficients of the integer critical-value polynomial at its chosen parameter. The cutoff gives the qualifying test, and the witness supplies the derivative orders and target values.

Adapted from SourceRootLabelEvaluation and NativeCriticalBounds in lean-canny at commit 970f28a5ecefc1327402ade16c068aa4b1b2c183, using the frontier critical parameter and norm bounds.

noncomputable def Cslib.Complexity.RealAlgebraic.criticalRootLabelResidue (p n d b z : ℕ) (data : List RootLabelTestCode) (value : List ℕ → ℕ) :

Evaluate the critical root label at the residue z from a source evaluation callback and the bounded derivative-sign witness. Here d + 1 is the bound on the source degree.

The source evaluator yields sparse critical-label evaluations thirteen counting levels above the source. The cutoff and the witness readers are polynomial-time computable.

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

At primes meeting the coefficient evaluator's cutoffs, the source-based evaluator gives the integer sparse label used in the shifted determinant criterion.