Documentation

CslibFrontier.Foundations.Algebra.Polynomial.RealRoot.CoeffNormBound

Real root bounds from the integer coefficient norm #

Cauchy's bound implies that a real root of a nonzero integer polynomial has absolute value strictly less than its coefficient ℓ₁ norm plus one. The leading coefficient has norm at least one. This is the bound used for exclusion of exceptional parameters in lean-canny.

theorem Polynomial.abs_lt_add_one_of_eval₂_eq_zero {p : Polynomial ℤ} (hp : p ≠ 0) {x M : ℝ} (hM0 : 0 ≤ M) (hM : ∀ i < p.natDegree, |↑(p.coeff i)| ≤ M) (hx : eval₂ (Int.castRingHom ℝ) x p = 0) :
|x| < M + 1

Every real root of a nonzero integer polynomial has absolute value strictly less than M + 1, whenever M ≥ 0 bounds |(p.coeff i : ℝ)| for every i < p.natDegree.

Every real root has absolute value less than the integer coefficient norm plus one.

theorem Polynomial.inv_coeffNorm1_add_one_lt_abs_of_eval₂_eq_zero {p : Polynomial ℤ} (hp : p ≠ 0) {x : ℝ} (hx : eval₂ (Int.castRingHom ℝ) x p = 0) (hx₀ : x ≠ 0) :
(↑p.coeffNorm1 + 1)⁻¹ < |x|

A nonzero real root has absolute value greater than the reciprocal of the coefficient norm plus one, by applying the upper bound to the reversed polynomial.

On a real interval of radius at least one, the coefficient norm times the radius raised to the degree bounds the absolute value of the evaluation.