Computable Rational Sturm Evaluation, Cauchy Bounds, and Mignotte Depth #
Building on the general coefficient-list polynomial arithmetic and Euclidean division in
Polynomial.CoeffList, this module provides computable Sturm sequences (sturmSeqList), rational
sign-variation counting (sturmVariationsList), Cauchy root bounds (cauchyBoundNat), integer
denominator clearing (clearDenomsList), and Mignotte bisection-depth computation
(mignotteBisectionDepth) on List ℚ, and proves their correspondence with Mathlib's Polynomial
and Polynomial.sturmVariations over ℝ.
Main definitions #
Cslib.RealRoot.sturmSeqList,Cslib.RealRoot.sturmVariationsList: computable Sturm sequence and rational sign-variation evaluation overℚ.Cslib.RealRoot.cauchyBoundNat,Cslib.RealRoot.lcmDens,Cslib.RealRoot.clearDenomsList,Cslib.RealRoot.sqNormList,Cslib.RealRoot.mignotteSepSqInv,Cslib.RealRoot.mignotteBisectionDepth: computable Cauchy root bound, integer clearing, Mignotte separation denominator, and bisection-depth bound.
Main results #
Cslib.RealRoot.sturmSeqList_map_ofCoeffList:sturmSeqListcomputesPolynomial.sturmSeqelementwise underPolynomial.ofCoeffList.Cslib.RealRoot.sturmVariationsList_eq_sturmVariations:sturmVariationsList (sturmSeqList cs) xequalssturmVariations ((ofCoeffList cs).map (algebraMap ℚ ℝ)) x.Cslib.RealRoot.abs_lt_cauchyBoundNat_of_isRoot,Cslib.RealRoot.dyadic_width_lt_root_sep, andCslib.RealRoot.mignotteBisectionDepth_le: verified Cauchy root enclosure, Mignotte bisection separation guarantee, and logarithmic depth bound.
References #
sturmSeqList cs represents
Polynomial.sturmSeq (ofCoeffList cs) (derivative (ofCoeffList cs)) elementwise under
ofCoeffList.
Length bound (sturmSeqList cs).length ≤ (ofCoeffList cs).natDegree + 1.
Entry length bound: every list in sturmSeqList cs has length at most
(CoeffList.trim cs).length.
sturmVariationsList (sturmSeqList cs) x equals the real Sturm sign-variation count
Polynomial.sturmVariations ((ofCoeffList cs).map (algebraMap ℚ ℝ)) (x : ℝ).
Maximum absolute value among a list of rational numbers (0 on []).
The recursive absolute maximum is the maximum fold over the mapped entries.
Nonnegativity of maxAbsList l.
Every indexed entry l.getD i 0 has absolute value at most maxAbsList l.
Computable positive integer upper bound strictly greater than the absolute value of every
real root of ofCoeffList cs.
cauchyBoundNat cs is always at least 1.
Every real root r of (ofCoeffList cs).map (algebraMap ℚ ℝ) (when nonzero) satisfies
|r| < cauchyBoundNat cs.
Lowest common multiple of all denominators in a rational coefficient list.
(clearDenomsList cs).2 represents (clearDenomsList cs).1 * ofCoeffList cs over ℚ[X].
The clearing multiplier (clearDenomsList cs).1 is always at least 1.
coeffSqNorm (ofCoeffList ns) is bounded above by sqNormList ns.
Mignotte squared-separation denominator d ^ (d + 2) * sqNormList ns ^ (d - 1).
Computable Mignotte bisection depth K ensuring dyadic width 2 * B / 2 ^ K is strictly
smaller than any root gap when 2 ≤ deg p (0 when deg p ≤ 1).
mignotteBisectionDepth cs vanishes whenever (ofCoeffList cs).natDegree ≤ 1.
For nonzero ofCoeffList cs, the cleared-denominator integer coefficient squared norm is
at least 1.
Dyadic bisection at depth mignotteBisectionDepth cs shrinks the interval width
2 * cauchyBoundNat cs / 2 ^ K strictly below the Mignotte separation between any two distinct
real roots of separable ofCoeffList cs (2 ≤ natDegree).
Logarithmic upper bound on mignotteBisectionDepth cs in terms of cauchyBoundNat cs,
natDegree, and cleared-denominator sqNormList.