Coefficient Bit-Size and Dyadic Endpoint Bounds for Real-Root Isolation #
This module bounds the Cauchy root bound, cleared-denominator coefficient norm, Mignotte bisection
depth, and output rational interval endpoints in terms of input length cs.length and an input
coefficient bit-length bound B.
Main definitions #
Cslib.RealRoot.HasCoeffBitBound: predicate assertingInt.natAbs q.num ≤ 2 ^ Bandq.den ≤ 2 ^ Bfor everyq ∈ cs.Cslib.RealRoot.coeffBitBound: computable bit-length bound satisfyingHasCoeffBitBound (coeffBitBound cs) cs.Cslib.RealRoot.DyadicBounded: predicate assertingq = (z : ℚ) / 2 ^ ewithInt.natAbs z ≤ b * 2 ^ e.
Main results #
Cslib.RealRoot.cauchyBoundNat_le_of_bitBound,Cslib.RealRoot.lcmDens_le_of_bitBound,Cslib.RealRoot.sqNormList_clearDenoms_le_of_bitBound: explicit bounds on preprocessing quantities fromHasCoeffBitBound B cs.Cslib.RealRoot.mignotteBisectionDepth_le_of_bitBound: unconditional polynomial boundmignotteBisectionDepth cs ≤ (cs.length + 2) ^ 2 * (B + 2).Cslib.RealRoot.DyadicBounded.den_le,Cslib.RealRoot.DyadicBounded.natAbs_num_le,Cslib.RealRoot.refineLeftRoot_dyadicBounded, andCslib.RealRoot.isolateRoots_dyadicBounded: dyadic numerator and denominator bounds on all endpoints produced by Sturm bisection.
References #
HasCoeffBitBound, DyadicBounded, and mignotteBisectionDepth_le_of_bitBound are this
library's own construction on top of the root-separation ingredients below.
- [BPR06], Theorem 2.50, p. 52 (Sturm counting ingredient; §10.2 Algorithm 10.4 on pp. 373–374 is related work)
- [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)
Computable bit-length bound on all numerators and denominators in cs.
Every coefficient list cs satisfies HasCoeffBitBound (coeffBitBound cs) cs.
HasCoeffBitBound B is preserved by CoeffList.trim.
Upper bound cauchyBoundNat cs ≤ 2 ^ (2 * B) + 2 under HasCoeffBitBound B cs.
Logarithmic bound Nat.clog 4 (cauchyBoundNat cs) ≤ B + 1 under HasCoeffBitBound B cs.
lcmDens cs ≤ 2 ^ (cs.length * B) under HasCoeffBitBound B cs.
Upper bound on cleared-denominator sqNormList under HasCoeffBitBound B cs.
Logarithmic bound on sqNormList (clearDenomsList (CoeffList.trim cs)).2
under HasCoeffBitBound B cs.
Unconditional polynomial upper bound on mignotteBisectionDepth cs in terms of cs.length
and an input coefficient bit-length bound B.
Predicate asserting that q : ℚ is a dyadic rational z / 2 ^ e with |z| ≤ b * 2 ^ e.
Any natural number (b : ℚ) satisfies DyadicBounded b 0.
-(b : ℚ) satisfies DyadicBounded b 0.
Monotonicity of DyadicBounded in the exponent e ≤ e'.
Midpoint rule: if u and v satisfy DyadicBounded b e, then (u + v) / 2 satisfies
DyadicBounded b (e + 1).
Denominator bound q.den ≤ 2 ^ e for any DyadicBounded b e q.
Numerator magnitude bound Int.natAbs q.num ≤ b * 2 ^ e for any DyadicBounded b e q.
Dyadic bound for refineLeftLoop: starting from DyadicBounded b e endpoints, fuel steps
produce endpoints satisfying DyadicBounded b (e + fuel).
Dyadic bound for refineLeftRoot: starting from DyadicBounded b e endpoints, fuel steps
produce endpoints satisfying DyadicBounded b (e + fuel).
Dyadic bound for isolateIoc: starting from DyadicBounded b e endpoints, every returned
interval has endpoints satisfying DyadicBounded b (e + fuel + depthBound).
Unconditional dyadic endpoint bound: every interval in isolateRoots cs has endpoints of the
form z / 2 ^ (2 * mignotteBisectionDepth cs) with
Int.natAbs z ≤ cauchyBoundNat cs * 2 ^ (2 * mignotteBisectionDepth cs).