Documentation

CslibFrontier.Foundations.Analysis.MvPolynomial.CriticalDeterminantFeasibility

A finite determinant test for real feasibility #

A nonnegative integer polynomial has a real zero exactly when a bounded shift and a short derivative-sign list give a negative multiplication determinant in its critical quotient. The input degree and coefficient norm determine the specialization, cutoff and label bounds.

Adapted from FiniteCriticalCriterion.real_zero_iff_negative_finiteCriticalDeterminant in lean-canny at 970f28a5ecefc1327402ade16c068aa4b1b2c183. Here ell is the source's d + 1, and the norm and specialization exponents come from the library's coefficient bounds. The same bounds control the degree and coefficient norm of each shifted label used in the determinant.

The common power-of-two coefficient norm exponent for the integer critical-value polynomial and its cutoff test.

noncomputable def MvPolynomial.CriticalSystem.criticalShiftedRootLabel {n ell : ℕ} (hell : 1 ≤ ell) (b : ℕ) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ ell) (L : List (Fin (ell ^ n) × SignType)) (e : ℕ) :

The shifted sparse label for the actual critical-value polynomial and the test for lying below the cutoff.

theorem MvPolynomial.CriticalSystem.criticalShiftedRootLabel_bounds {n ell b : ℕ} (hell : 2 ≤ ell) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ ell) (hb : F.coeffNorm1 ≤ 2 ^ b) (L : List (Fin (ell ^ n) × SignType)) {e : ℕ} (he : e ≤ ell ^ n) :

Degree and coefficient norm bounds for the shifted critical label, uniform in the derivative-sign list. This adapts FiniteCriticalNormBounds.finiteCriticalShiftedLabel_bounds from the pinned lean-canny revision above, with the label length bound used for the shift's coefficient allowance.

Total-degree budget for the shifted label evaluated at the integer critical objective.

Binary coefficient-norm budget for the shifted label evaluated at the integer critical objective.

theorem MvPolynomial.CriticalSystem.criticalLabelObjective_bounds {n ell b : ℕ} (hell : 2 ≤ ell) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ ell) (hb : F.coeffNorm1 ≤ 2 ^ b) (L : List (Fin (ell ^ n) × SignType)) {e : ℕ} (he : e ≤ ell ^ n) :
have u := criticalParameterExponent n ell b; have v := deformedPolynomial ell (fun (i : Fin n) => ↑(separatedCenters ell i)) (2 ^ u) F; have w := (Polynomial.aeval v) (criticalShiftedRootLabel ⋯ b F hF L e); w.totalDegree ≤ criticalLabelObjectiveDegreeBound n ell b ∧ w.coeffNorm1 ≤ 2 ^ criticalLabelObjectiveCoeffNormExponent n ell b

Evaluating the shifted label at the integer critical objective multiplies the label's degree bound by ell + 1. The specialization bound supplies the objective's coefficient allowance for the composed polynomial.

noncomputable def MvPolynomial.CriticalSystem.criticalLabelDeterminant {n ell : ℕ} (hell : 1 ≤ ell) (b : ℕ) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ ell) (L : List (Fin (ell ^ n) × SignType)) (e : ℕ) :

The determinant of multiplication by the label evaluated at the deformed objective in the integer critical quotient.

Binary magnitude budget for the finite feasibility determinant.

theorem MvPolynomial.CriticalSystem.natAbs_criticalLabelDeterminant_le {n ell b : ℕ} (hell : 2 ≤ ell) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ ell) (hb : F.coeffNorm1 ≤ 2 ^ b) (L : List (Fin (ell ^ n) × SignType)) {e : ℕ} (he : e ≤ ell ^ n) :

The determinant in the finite feasibility criterion is bounded solely by the arity, degree and coefficient budget of the integer input, uniformly over bounded shifts. Adapted from FiniteCriticalNormBounds.finiteCriticalDeterminant_natAbs_le in the pinned lean-canny revision above.

theorem MvPolynomial.CriticalSystem.exists_zero_iff_exists_neg_criticalLabelDeterminant {n ell b : ℕ} (hell : 2 ≤ ell) (he : Even (ell + 1)) (F : MvPolynomial (Fin n) ℤ) (hF : F.totalDegree ≤ ell) (hb : F.coeffNorm1 ≤ 2 ^ b) (hFn : ∀ (x : Fin n → ℝ), 0 ≤ (eval x) ((map (Int.castRingHom ℝ)) F)) :
(∃ (x : Fin n → ℝ), (eval x) ((map (Int.castRingHom ℝ)) F) = 0) ↔ ∃ (L : List (Fin (ell ^ n) × SignType)), L.length ≤ n * ell.size ∧ ∃ e ≤ ell ^ n, criticalLabelDeterminant ⋯ b F hF L e < 0

A nonnegative polynomial satisfying the given bounds has a real zero exactly when a short derivative-sign list and a bounded shift make its critical quotient determinant negative.