Documentation

HexRealRootsMathlib.LiteralIsolations

One interval certified by an externally supplied integer root count.

  • The half-open interval (lower, upper].

  • count_one : count self.interval = 1

    The supplied count says that the interval contains one root.

Instances For

    An ordered, complete array of intervals certified by externally supplied interval and total root counts.

    Instances For

      A literal count of one denotes exactly one real root in the interval.

      No squarefreeness hypothesis is needed locally: the exact multiset count of the interval is already one. Nonzeroness is needed to pass between IsRoot and membership in Polynomial.roots.

      theorem HexRealRootsMathlib.LiteralIsolations.isolates {p : Hex.ZPoly} {count : Hex.DyadicInterval} {total : } (hp : p 0) (hsf : Squarefree (toPolyℝ p)) (out : LiteralIsolations count total) (hcount : ∀ (i : Fin out.isolations.size), count out.isolations[i].interval = (Literal.rootsIn (toPolyℝ p) out.isolations[i].interval).card) (htotal : total = (toPolyℝ p).roots.card) (r : ) :

      An ordered complete array of literal count-one intervals captures every real root at exactly one array index.

      Squarefreeness is used only to show that the root multiset has no duplicate elements, so equality of the supplied total count with roots.card measures the number of distinct roots.