Certified Real-Root Isolation via Sturm Bisection #
This module implements executable Sturm-count bisection over ℚ[X] (isolateRoots), returning
sorted rational isolating intervals RootInterval. It proves soundness, completeness, Cauchy
enclosure, root ordering, and an exact strictly monotone bijection with the real roots of any
separable (equivalently squarefree) rational polynomial.
Main definitions #
Cslib.RealRoot.RootInterval: rational interval[lower, upper]together withRootInterval.IsIsolatingForandRootInterval.IsHalfOpenIsolatingFor.Cslib.RealRoot.refineLeftLoop,Cslib.RealRoot.refineLeftRoot,Cslib.RealRoot.isolateIoc,Cslib.RealRoot.isolateRoots: computable Sturm-bisection real-root isolator onList ℚ.Cslib.RealRoot.isolatedRoot: subtype map sending each interval index to the unique real root inside that interval.Cslib.RealRoot.isolatePolyRoots,Cslib.RealRoot.polyIsolatedRoot:Polynomial ℚwrappers viaPolynomial.coeffsBelow.
Main results #
Cslib.RealRoot.isolateRoots_isIsolatingFor,Cslib.RealRoot.isolateRoots_pairwise,Cslib.RealRoot.isolateRoots_complete,Cslib.RealRoot.isolateRoots_length_eq_card_roots,Cslib.RealRoot.isolatedRoot_strictMono,Cslib.RealRoot.isolateRoots_bijective: correctness, ordering, completeness, and strictly monotone bijection onto real roots of any separable (squarefree) polynomial.Cslib.RealRoot.not_two_roots_of_width_le: at the Mignotte bisection depth, an interval of the dyadic width contains at most one real root.Cslib.RealRoot.polyIsolatedRoot_mem,Cslib.RealRoot.polyIsolatedRoot_strictMono,Cslib.RealRoot.isolatePolyRoots_bijective: squarefreePolynomial ℚversions.
References #
The List ℚ Sturm-bisection isolator isolateRoots (which can return touching intervals
I₁.upper ≤ I₂.lower) and left-endpoint root refinement are this library's own construction,
built on the Sturm counting and root-separation ingredients below; [BPR06], §10.2,
Algorithm 10.4 (pp. 373–374, over integer coefficients using Bernstein coefficient variation and
returning open rational intervals and singleton rational roots) is related work.
- [BPR06], Theorem 2.50, p. 52 (Sturm counting ingredient; adapted to
(a, b]overℝ) - [Mah64], pp. 257–262 (discriminant/Mahler-measure separation ingredient; equation locator unverified)
- [Mig82], Theorem 3 (pp. 260–261) and Theorem 5 with integral corollary (p. 262; Landau norm comparison and root-separation ingredients)
Executable Sturm-count real-root isolator returning sorted isolating rational intervals for
ofCoeffList cs.
At the Mignotte bisection depth, an interval [a, b] of the dyadic width
2 * cauchyBoundNat cs / 2 ^ depth contains no two distinct real roots of a separable
ofCoeffList cs.
Soundness: every rational interval returned by isolateRoots cs isolates a unique real root
of (ofCoeffList cs).map (algebraMap ℚ ℝ).
Cauchy enclosure: every interval returned by isolateRoots cs lies within
[-cauchyBoundNat cs, cauchyBoundNat cs].
Ordering: consecutive intervals returned by isolateRoots cs satisfy I₁.upper ≤ I₂.lower.
Pairwise boundary-gap invariant IntervalGapOk across isolateRoots cs.
Completeness: every real root of (ofCoeffList cs).map (algebraMap ℚ ℝ) belongs to at least
one isolating interval in isolateRoots cs, and that interval is unique in the list.
The number of isolating intervals returned by isolateRoots cs equals the number of real
roots of (ofCoeffList cs).map (algebraMap ℚ ℝ).
The unique real root inside the i-th isolating interval of isolateRoots cs.
Membership of isolatedRoot hsep i in the i-th isolating interval of isolateRoots cs.
The isolated real roots are strictly increasing across Fin (isolateRoots cs).length.
Exact bijection between isolating interval indices Fin (isolateRoots cs).length and the set
of real roots {r : ℝ // ((ofCoeffList cs).map (algebraMap ℚ ℝ)).IsRoot r}.
Soundness for squarefree ofCoeffList cs: every interval in isolateRoots cs isolates a
unique real root.
Bijection onto real roots for squarefree ofCoeffList cs.
Real-root isolation for an arbitrary polynomial p : ℚ[X] via Polynomial.coeffsBelow.
Soundness for isolatePolyRoots p on squarefree p : ℚ[X].
Ordering: consecutive intervals in isolatePolyRoots p satisfy I₁.upper ≤ I₂.lower.
The unique real root of p.map (algebraMap ℚ ℝ) inside the i-th isolating interval of
isolatePolyRoots p.
Membership of polyIsolatedRoot hsq i in the i-th isolating interval of
isolatePolyRoots p.
The isolated real roots of p.map (algebraMap ℚ ℝ) are strictly increasing across
Fin (isolatePolyRoots p).length.
For any squarefree p : ℚ[X], polyIsolatedRoot hsq is a bijection from
Fin (isolatePolyRoots p).length onto the real roots of p.map (algebraMap ℚ ℝ).