Certified Real-Root Isolation with Disjoint Closed Isolating Intervals #
This module refines the Sturm-bisection isolator isolateRoots into isolateRootsTotal (together
with the Polynomial ℚ wrapper isolatePolyRootsTotal), separating any adjacent isolating
intervals that share a non-root midpoint (separateTouching) so that consecutive intervals satisfy
strict separation J₁.upper < J₂.lower and define pairwise disjoint closed real intervals
Set.Icc (J.lower : ℝ) (J.upper : ℝ).
For every squarefree p : ℚ[X] (represented computably by any cs : List ℚ with
ofCoeffList cs = p, or via isolatePolyRootsTotal p), the returned intervals are in strictly
monotone bijection with {x : ℝ // Polynomial.aeval x p = 0}, and every endpoint satisfies
explicit polynomial dyadic numerator and denominator bit bounds under HasCoeffBitBound B cs.
Main definitions #
Cslib.RealRoot.separateMidLoop,Cslib.RealRoot.separatePair,Cslib.RealRoot.separateChain,Cslib.RealRoot.separateTouching: computable boundary separation producing strictly disjoint closed intervals (J₁.upper < J₂.lower).Cslib.RealRoot.isolateRootsTotal,Cslib.RealRoot.totalIsolatedRoot: computable real-root isolator returning pairwise disjoint closed intervals and root bijection onList ℚ.Cslib.RealRoot.isolatePolyRootsTotal,Cslib.RealRoot.polyTotalIsolatedRoot:Polynomial ℚwrappers.
Main results #
Cslib.RealRoot.isolateRootsTotal_isIsolatingFor,Cslib.RealRoot.isolateRootsTotal_pairwise_lt,Cslib.RealRoot.isolateRootsTotal_pairwise_disjoint,Cslib.RealRoot.isolateRootsTotal_bijective,Cslib.RealRoot.isolateRootsTotal_bijective_of_squarefree: soundness, strict separation, closed-interval disjointness, and strictly monotone bijection onto{x : ℝ // Polynomial.aeval x p = 0}.Cslib.RealRoot.isolateRootsTotal_endpoint_bounds,Cslib.RealRoot.isolateRootsTotal_endpoint_bounds_of_bitBound: dyadic numerator and denominator bounds on all returned endpoints.Cslib.RealRoot.isolateRootsTotal_spec_of_eq: combined specification onList ℚ.Cslib.RealRoot.isolatePolyRootsTotal_bijective,Cslib.RealRoot.isolatePolyRootsTotal_pairwise_disjoint,Cslib.RealRoot.isolatePolyRootsTotal_endpoint_bounds_of_bitBound:Polynomial ℚtheorems.
References #
separateTouching, isolateRootsTotal (refining isolateRoots, which may return touching
intervals, into strictly separated pairwise-disjoint closed intervals on squarefree input, with
dyadic endpoint bit bounds under HasCoeffBitBound B cs), and the polynomial-time certification
in CslibFrontier.Computability.Complexity.RealAlgebraic.RootIsolation are this library's own
construction, distinct from the mathematical 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)
Boundary separation into strictly disjoint closed intervals #
Dyadic bound for separateMidLoop: fuel steps increase the dyadic exponent by at most
fuel.
Dyadic bound for separatePair.
Dyadic bound for separateChain.
Computable isolator returning strictly disjoint closed intervals #
Computable Sturm-bisection real-root isolator on List ℚ returning strictly disjoint closed
rational intervals (J₁.upper < J₂.lower).
isolateRootsTotal cs has the exact same length as isolateRoots cs.
Unconditional dyadic numerator and denominator bounds on every endpoint in
isolateRootsTotal cs.
Soundness: every interval in isolateRootsTotal cs isolates a unique real root of
(ofCoeffList cs).map (algebraMap ℚ ℝ).
Soundness in Polynomial.aeval form: every interval J ∈ isolateRootsTotal cs satisfies
J.lower ≤ J.upper and contains a unique x : ℝ with Polynomial.aeval x (ofCoeffList cs) = 0.
Strict separation: every pair of intervals in isolateRootsTotal cs satisfies
J₁.upper < J₂.lower.
Closed-interval disjointness: the closed intervals Set.Icc (J.lower : ℝ) (J.upper : ℝ) of
isolateRootsTotal cs are pairwise disjoint.
The unique real root x : ℝ with Polynomial.aeval x (ofCoeffList cs) = 0 inside the i-th
interval of isolateRootsTotal cs.
totalIsolatedRoot hsep i lies in the i-th closed interval of isolateRootsTotal cs.
The real roots indexed by totalIsolatedRoot hsep are strictly increasing.
Bijection between Fin (isolateRootsTotal cs).length and
{x : ℝ // Polynomial.aeval x (ofCoeffList cs) = 0} for separable ofCoeffList cs.
Squarefree bijection form for isolateRootsTotal cs.
Explicit polynomial endpoint numerator and denominator bounds in (cs.length, B) under
HasCoeffBitBound B cs: every returned endpoint has denominator ≤ 2 ^ E and numerator
natAbs ≤ 3 * 2 ^ (2 * B + E), where E = 3 * (cs.length + 2) ^ 2 * (B + 2).
Combined specification of the computable isolator isolateRootsTotal cs for any squarefree
p : ℚ[X] represented by cs : List ℚ (ofCoeffList cs = p) with coefficient bit bound B:
isolating aeval soundness, strict separation J₁.upper < J₂.lower, pairwise disjoint closed real
intervals Set.Icc, strictly monotone bijection onto {x : ℝ // Polynomial.aeval x p = 0}, and
polynomial dyadic endpoint numerator/denominator bounds.
Polynomial ℚ wrappers #
Pure list of strictly disjoint isolating rational intervals for p : ℚ[X].
Recovering p.coeffsBelow (p.natDegree + 1) from a coefficient list cs of length
p.natDegree + 1 representing p.
Soundness for isolatePolyRootsTotal p on squarefree p : ℚ[X].
Polynomial.aeval soundness for isolatePolyRootsTotal p on squarefree p : ℚ[X].
Strict separation J₁.upper < J₂.lower for isolatePolyRootsTotal p.
Pairwise disjointness of closed intervals Set.Icc (J.lower : ℝ) (J.upper : ℝ) for
isolatePolyRootsTotal p.
The unique real root x : ℝ with Polynomial.aeval x p = 0 inside the i-th interval of
isolatePolyRootsTotal p.
Membership of polyTotalIsolatedRoot hsq i in the i-th closed interval of
isolatePolyRootsTotal p.
polyTotalIsolatedRoot hsq is strictly increasing across
Fin (isolatePolyRootsTotal p).length.
For every squarefree p : ℚ[X], polyTotalIsolatedRoot hsq is a bijection onto
{x : ℝ // Polynomial.aeval x p = 0}.
Polynomial dyadic numerator/denominator bounds on all endpoints of isolatePolyRootsTotal p
given a bit-length bound B on p's coefficients.