Documentation

CslibFrontier.Foundations.Algebra.Polynomial.RealRoot.SturmBitBounds

Polynomial Coefficient Bit Bounds and Frontier Size Bounds for Rational Sturm Sequences #

Over ℚ, reducing every rational entry to lowest terms keeps the canonical Euclidean Sturm sequence Cslib.RealRoot.sturmSeqList cs polynomially bounded in bit-length: clearing input denominators to (F₀, F₁) ∈ ℤ[X]² and normalizing the i-th extended Euclidean relation U_i F₀ + V_i F₁ = E_i by the leading coefficient c_i = E_i.leadingCoeff characterizes the normalized Bézout pair (Ũ_i, Ṽ_i) as the unique solution of an integer Sylvester linear system of width N ≤ 2 * cs.length. Extracting a nonsingular N × N minor (Matrix.exists_submatrix_det_ne_zero), solving by Cramer's rule (Matrix.adjugate_mul), and bounding integer determinants by the Leibniz-expansion bound (Matrix.det_le) bounds every coefficient of Ũ_i, Ṽ_i, and Ẽ_i, while the recurrence c_i = c_{i-2} * (Ṽ_{i-1}.leadingCoeff / Ṽ_i.leadingCoeff) telescopes the leading coefficients across at most cs.length steps.

This module also bounds the number of pairwise-disjoint intervals (u, v] on which sturmVariationsList (sturmSeqList cs) drops by at least 2 by 2 * cs.length unconditionally (including on non-squarefree inputs), via Polynomial.sturmReducedVariations.

Main definitions #

Main results #

References #

sturmBitBound, the integer Sylvester-matrix Cramer/Hadamard bit-bound proof across sturmSeqList cs, and card_active_sturm_intervals_le are this library's own construction, using the reduced Sturm root-counting ingredient from [BPR06], Theorem 2.50, p. 52 (adapted in Sturm.lean to finite real endpoints on (a, b] over ℝ).

Part 1: Rational numerator/denominator, integer determinant, and Cramer bounds #

Part 2: Extended signed Sturm sequence and degree/Bézout invariants #

Part 3: Sylvester linear system and normalized Bézout/remainder bounds #

Part 4: Leading-coefficient telescoping and hasCoeffBitBound_of_mem_sturmSeqList #

Explicit polynomial bit-length upper bound 8 * (n + 1) ^ 3 * (B + 1) on every entry of sturmSeqList cs when cs.length = n and HasCoeffBitBound B cs.

Polynomial coefficient bit-length bound for rational Sturm sequences: if cs : List ℚ satisfies HasCoeffBitBound B cs, then every polynomial f ∈ sturmSeqList cs satisfies HasCoeffBitBound (sturmBitBound cs.length B) f.

Part 5: Unconditional active Sturm-interval count bound #

theorem Cslib.RealRoot.card_active_sturm_intervals_le (cs : List ℚ) (L : List (ℚ × ℚ)) (hmem : ∀ p ∈ L, p.1 < p.2 ∧ 2 ≤ sturmVariationsList (sturmSeqList cs) p.1 - sturmVariationsList (sturmSeqList cs) p.2) (hpair : List.Pairwise (fun (p q : ℚ × ℚ) => p.2 ≤ q.1) L) :

Active Sturm-interval count bound: for any coefficient list cs : List ℚ (including non-squarefree polynomials) and any pairwise-disjoint ordered list L : List (ℚ × ℚ) of intervals (u, v] on each of which sturmVariationsList (sturmSeqList cs) drops by at least 2, L.length ≤ 2 * cs.length.