Documentation

HexRealRootsMathlib.Isolations

A Sturm count of 1 forces positive degree: a degree-≤ 0 input has the empty chain, whose count is 0 at every pair of endpoints.

A nonzero executable polynomial has a some degree: degree? = none means zero stored size, which pins every coefficient (hence the polynomial) to zero.

Isolation soundness. A certified isolation of p names exactly one real root of toPolyℝ p in its half-open interval (lower, upper].

Completeness of a run. A complete isolation run of a nonzero, rationally squarefree p names every real root of toPolyℝ p exactly once: each root lies in exactly one of the emitted half-open intervals.

The SquareFreeRat p hypothesis alone is insufficient: for p = 0 (which passes SquareFreeRat) every real is a root while complete forces zero isolations, so no root is captured. p ≠ 0 is the honest hypothesis: a nonzero constant has no roots (vacuous case), and the positive-degree case is isolates_of_degree_pos.