Verified interval evaluation with dyadic endpoints #
The interval theory of ConvexAnalysis.IntervalArithmetic and ConvexAnalysis.IntervalDerivative
works with real intervals and describes computed results abstractly, as outward roundings
(ConvexAnalysis.ArithExpr.IsRoundedEval). This file supplies the computation: an evaluator of
arithmetic expressions with dyadic endpoints, built from the operations of Mathlib's inclusion
tactic, whose results are outward roundings, and with it an interval Krawczyk test that the
kernel evaluates. A successful test proves that a system of equations has exactly one solution in
a box; no inequality has to be proved by hand.
Main definitions #
ConvexAnalysis.DyadicInterval.inv: the inverse of a dyadic interval not containing0, with outward rounding (theinclusiontactic has no inverse yet).ConvexAnalysis.DyadicInterval.toReal D: the real interval of an intervalD : NonemptyInterval Dyadic;ConvexAnalysis.DyadicInterval.toIntervalandConvexAnalysis.DyadicInterval.ofIntervalconvert betweenNonemptyInterval Dyadicand the intervalsInclusion.Interval Dyadicof the tactic;ConvexAnalysis.DyadicInterval.ofRatis a dyadic interval containing a rational interval.ConvexAnalysis.RatArithExpr ι: arithmetic expressions with rational constants, mapped toConvexAnalysis.ArithExprbyConvexAnalysis.RatArithExpr.toArithExpr, with the symbolic derivativeConvexAnalysis.RatArithExpr.pderiv.ConvexAnalysis.RatArithExpr.dyadicEval prec X e: the computable dyadic interval evaluation ofeon a boxXof dyadic intervals at the precision2⁻ᵖʳᵉᶜ.ConvexAnalysis.DyadicInterval.krawczyk,ConvexAnalysis.RatArithExpr.krawczykTest: the Krawczyk operator in dyadic interval arithmetic and the dyadic Krawczyk test for a systemF : Fin n → RatArithExpr (Fin n)on a rational box.ConvexAnalysis.RatArithExpr.HasUniqueZero F lo hi: the system has exactly one zero in the rational box[lo, hi], the conclusion of the dyadic existence tests.
Main statements #
ConvexAnalysis.IntervalArith.exp_le_of_ofInclusion,ConvexAnalysis.IntervalArith.log_le_of_ofInclusion,ConvexAnalysis.IntervalArith.sqrt_le_of_ofInclusion,ConvexAnalysis.DyadicInterval.inv_le_of_ofInclusion: the bridge for the exponential, logarithm (of positive intervals) and square root of theinclusiontactic and for the dyadic inverse: they contain the exact interval operations ofConvexAnalysis.IntervalArithmetic, so they are outward roundings; the evaluator uses them for these operations.ConvexAnalysis.IntervalArith.pow_le_of_ofInclusion,ConvexAnalysis.IntervalArith.le_of_ofInclusion_roundOut,ConvexAnalysis.IntervalArith.ratCast_mem_of_ofInclusion: the same for the tactic's natural powers, outward rounding and rational constants. WithConvexAnalysis.IntervalArith.ofInclusion_add,ConvexAnalysis.IntervalArith.ofInclusion_negandConvexAnalysis.IntervalArith.mul_le_of_ofInclusionofConvexAnalysis.IntervalArithmeticthey connect the results of the tactic (for example ofdyadic_interval) for every operation ofConvexAnalysis.ArithExprwith the library's exact operations. The evaluator does not need them: it rounds products and powers outward in one step and proves those cases from the membership lemmas of the tactic.ConvexAnalysis.RatArithExpr.toArithExpr_pderiv: the symbolic derivatives agree.ConvexAnalysis.RatArithExpr.isRoundedEval_dyadicEval: the dyadic evaluation is an outward rounding: its result, as a real interval, satisfiesConvexAnalysis.ArithExpr.IsRoundedEvalfore.toArithExpr, so every theorem withIsRoundedEvalhypotheses applies to it;ConvexAnalysis.RatArithExpr.eval_mem_of_dyadicEvalis the fundamental theorem for it.ConvexAnalysis.DyadicInterval.mem_krawczyk_of_mem_intervalKrawczyk: the dyadic Krawczyk operator encloses the interval Krawczyk operatorConvexAnalysis.intervalKrawczyk.ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_krawczykTest: if the dyadic Krawczyk test returnstrue, the system has exactly one zero in the box;ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_krawczykTest_realis the case of one equation in one variable, stated onℝbyConvexAnalysis.RatArithExpr.existsUnique_eq_zero_real_of_hasUniqueZero, which serves every test.
Implementation notes #
- Mathlib's
inclusiontactic (Mathlib5a27f5e). Its familyinterval_dyadic_realcomputes withInclusion.Interval Dyadic(endpoints inWithBot DyadicandWithTop Dyadic, denoting real sets throughDyadic.toReal) and provides:+,-and*(exact on the dyadic endpoints),|·|, natural powersInclusion.Interval.pow(exact), the exponentialInclusion.IntervalDyadicReal.exp(Taylor series with remainder and argument reduction), the logarithmInclusion.IntervalDyadicReal.log(series ofartanhandlog 2, for all intervals, as Mathlib'sReal.logwithlog x = log |x|), the square rootInclusion.IntervalDyadicReal.sqrt(fromNat.sqrt), rational constantsInclusion.IntervalDyadicReal.rat, and the outward roundingInclusion.IntervalDyadicReal.roundOut; the familyinterval_inthandles integers. It has no inverse or division (open PR #46311), no real powers (open PR #45432) and no cosine (open PR #46628); open PR #45720 replacesDyadic.toRealby the coercionDyadic → ℝ, which will rename it here without changing the statements.ConvexAnalysis.ArithExprhas natural powers only; integer powers are inverses of natural powers. - Rounding. The tactic's products and powers are exact on dyadic endpoints, so their bit length
doubles with every product; the evaluator rounds them outward to multiples of
2⁻ᵖʳᵉᶜwithroundOut. The exponential, logarithm and square root round at the precisionprecalready. - Constants.
ConvexAnalysis.ArithExprhas real constants, with which one cannot compute, so the computable expressionsConvexAnalysis.RatArithExprhave rational constants;ConvexAnalysis.RatArithExpr.toArithExprmaps them toArithExpr, and the symbolic derivatives commute with it, so the theorems ofConvexAnalysis.IntervalDerivativeapply toe.toArithExpr. - Bounded results. The evaluator converts each result back with
ConvexAnalysis.DyadicInterval.ofInterval, which fails on unbounded intervals; therefore the bridge lemmas are stated for results whose conversion is defined, and no lemma about the boundedness of the tactic's results is needed. - The Krawczyk test. The dyadic operator
ConvexAnalysis.DyadicInterval.krawczykis the interval Krawczyk operatorConvexAnalysis.intervalKrawczykcomputed with dyadic endpoints:F(x₀)is enclosed by evaluatingFon a dyadic interval aroundx₀, and each operation contains the corresponding real interval operation point by point. So the test is the real-interval statementConvexAnalysis.existsUnique_eq_zero_of_intervalKrawczyk_pderivwith computed inputs, and no part of the Krawczyk argument is proved twice. The box is rational and is enclosed in a dyadic box for the computation of the slopes; the operator is compared with the rational box. The dimension isFin n, so that sums are folds overList.finRange n, which the kernel evaluates. - Kernel evaluation. The test is a
Boolcomputed bydecide +kernel, without native code; the examples inConvexAnalysis.ComputerAssistedProofs(precision2⁻⁶⁰, boxes of radius down to10⁻¹⁵, up to four variables) are checked by the kernel in0.03–0.35seconds each. - Searches on 2026-12-01 (Mathlib
5a27f5e): no Mathlib pull request (any state) matches "Krawczyk", "interval Newton", "interval evaluation" or "arithmetic expression interval"; theinclusionpull requests are listed above.
References #
- A. Neumaier, Interval Methods for Systems of Equations, Cambridge University Press, 1990, Section 5.1.
- S. M. Rump, Verification methods: Rigorous results using floating-point arithmetic, Acta Numerica 19 (2010), 287–449.
Tags #
interval arithmetic, dyadic numbers, outward rounding, verified computation, Krawczyk test,
computer-assisted proof, inclusion tactic, dyadic_interval
Bridge for the operations of the inclusion tactic on dyadic intervals #
An interval K of the inclusion tactic with dyadic endpoints whose conversion Z is
defined contains every interval Y all of whose points lie in K.
Rational constants of the inclusion tactic (Inclusion.IntervalDyadicReal.rat): the
dyadic interval of a rational number q contains q.
Outward rounding of the inclusion tactic (Inclusion.IntervalDyadicReal.roundOut, the
endpoints rounded outward to multiples of 2⁻ᵖʳᵉᶜ) contains the interval it rounds.
The exponential of the inclusion tactic is an outward rounding: the dyadic interval
Inclusion.IntervalDyadicReal.exp I prec (Taylor series with remainder bound at the endpoints),
whenever its conversion is defined, contains the exact interval exponential
ConvexAnalysis.IntervalArith.exp of the conversion of I.
The logarithm of the inclusion tactic is an outward rounding: for an interval of
positive numbers, the dyadic interval Inclusion.IntervalDyadicReal.log I prec, whenever its
conversion is defined, contains the exact interval logarithm ConvexAnalysis.IntervalArith.log.
(The tactic's logarithm is defined for all intervals, as Mathlib's Real.log with
log x = log |x|; the library's logarithm needs positivity.)
The square root of the inclusion tactic is an outward rounding: the dyadic interval
Inclusion.IntervalDyadicReal.sqrt I prec (from Nat.sqrt of the scaled endpoints), whenever its
conversion is defined, contains the exact interval square root ConvexAnalysis.IntervalArith.sqrt.
No sign condition is needed, since both use Mathlib's Real.sqrt.
The power of the inclusion tactic is an outward rounding: the dyadic interval
I.pow k (Inclusion.Interval.pow, exact on the dyadic endpoints, with the case of an even
power of an interval containing 0), whenever its conversion is defined, contains the exact
interval power ConvexAnalysis.IntervalArith.pow.
The inverse of a dyadic interval #
A dyadic lower bound of the rational number q, at the precision 2⁻ᵖʳᵉᶜ.
Equations
- ConvexAnalysis.DyadicInterval.lowerRat q prec = q.toDyadic ↑prec
Instances For
A dyadic upper bound of the rational number q, at the precision 2⁻ᵖʳᵉᶜ.
Equations
- ConvexAnalysis.DyadicInterval.upperRat q prec = -(-q).toDyadic ↑prec
Instances For
ConvexAnalysis.DyadicInterval.lowerRat q prec is a lower bound of q.
ConvexAnalysis.DyadicInterval.upperRat q prec is an upper bound of q.
The inverse of an interval [a, b] of the inclusion tactic with dyadic endpoints
that does not contain 0: the interval [1 / b, 1 / a] with the endpoints rounded outward to
multiples of 2⁻ᵖʳᵉᶜ; the whole line if the interval is unbounded or may contain 0. Mathlib's
inclusion tactic has no inverse yet (open PR #46311 adds division).
Equations
- One or more equations did not get rendered due to their size.
- ConvexAnalysis.DyadicInterval.inv I prec = Inclusion.Interval.univ Dyadic
Instances For
The inclusion property of the dyadic inverse.
The dyadic inverse is an outward rounding: for an interval not containing 0,
ConvexAnalysis.DyadicInterval.inv I prec, whenever its conversion is defined, contains the exact
interval inverse ConvexAnalysis.IntervalArith.inv.
Intervals with dyadic endpoints #
The real interval [a, b] denoted by an interval D = [a, b] with dyadic endpoints.
Equations
- ConvexAnalysis.DyadicInterval.toReal D = { fst := Inclusion.IntervalDyadicReal.Dyadic.toReal D.toProd.1, snd := Inclusion.IntervalDyadicReal.Dyadic.toReal D.toProd.2, fst_le_snd := ⋯ }
Instances For
The lower endpoint of ConvexAnalysis.DyadicInterval.toReal D.
The upper endpoint of ConvexAnalysis.DyadicInterval.toReal D.
A dyadic interval as an interval Inclusion.Interval Dyadic of Mathlib's inclusion
tactic.
Instances For
The dyadic interval [a, b] of an interval of the inclusion tactic with finite endpoints
a ≤ b; none otherwise.
Equations
Instances For
The conversion (ConvexAnalysis.IntervalArith.ofInclusion) of toInterval D is
toReal D.
If ofInterval I = some D, the conversion of I is toReal D.
The points of toReal D are the real points of the interval toInterval D of the
inclusion tactic.
If ofInterval I = some D, the points of toReal D are the real points of I.
The dyadic interval [⌊a⌋, ⌈b⌉] (endpoints rounded outward to multiples of 2⁻ᵖʳᵉᶜ) for
rational a, b; it contains [a, b]. If b < a, the upper endpoint is raised to the lower
one.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Expressions with rational constants and their dyadic evaluation #
Arithmetic expressions with rational constants, the computable counterpart of
ConvexAnalysis.ArithExpr (whose constants are real numbers): the same constructors, with
constants in ℚ. ConvexAnalysis.RatArithExpr.toArithExpr maps them to ArithExpr.
- const {ι : Type u_1} (c : ℚ) : RatArithExpr ι
A rational constant.
- var {ι : Type u_1} (i : ι) : RatArithExpr ι
The variable
x i. - add {ι : Type u_1} (e₁ e₂ : RatArithExpr ι) : RatArithExpr ι
The sum
e₁ + e₂. - neg {ι : Type u_1} (e : RatArithExpr ι) : RatArithExpr ι
The negative
-e. - mul {ι : Type u_1} (e₁ e₂ : RatArithExpr ι) : RatArithExpr ι
The product
e₁ * e₂. - inv {ι : Type u_1} (e : RatArithExpr ι) : RatArithExpr ι
The inverse
e⁻¹. - exp {ι : Type u_1} (e : RatArithExpr ι) : RatArithExpr ι
The exponential
exp e. - log {ι : Type u_1} (e : RatArithExpr ι) : RatArithExpr ι
The logarithm
log e. - sqrt {ι : Type u_1} (e : RatArithExpr ι) : RatArithExpr ι
The square root
√e. - pow {ι : Type u_1} (e : RatArithExpr ι) (k : ℕ) : RatArithExpr ι
The power
e ^ k.
Instances For
The difference e₁ - e₂ = e₁ + (-e₂).
Instances For
The quotient e₁ / e₂ = e₁ * e₂⁻¹.
Instances For
e₁ + e₂ is RatArithExpr.add e₁ e₂.
-e is RatArithExpr.neg e.
e₁ - e₂ is RatArithExpr.sub e₁ e₂.
e₁ * e₂ is RatArithExpr.mul e₁ e₂.
e⁻¹ is RatArithExpr.inv e.
e₁ / e₂ is RatArithExpr.div e₁ e₂.
e ^ k is RatArithExpr.pow e k.
A numeral is a constant.
The expression ConvexAnalysis.ArithExpr with the same structure and the constants mapped
to ℝ.
Equations
- (ConvexAnalysis.RatArithExpr.const c).toArithExpr = ConvexAnalysis.ArithExpr.const ↑c
- (ConvexAnalysis.RatArithExpr.var i).toArithExpr = ConvexAnalysis.ArithExpr.var i
- (e₁.add e₂).toArithExpr = e₁.toArithExpr.add e₂.toArithExpr
- e.neg.toArithExpr = e.toArithExpr.neg
- (e₁.mul e₂).toArithExpr = e₁.toArithExpr.mul e₂.toArithExpr
- e.inv.toArithExpr = e.toArithExpr.inv
- e.exp.toArithExpr = e.toArithExpr.exp
- e.log.toArithExpr = e.toArithExpr.log
- e.sqrt.toArithExpr = e.toArithExpr.sqrt
- (e.pow k).toArithExpr = e.toArithExpr.pow k
Instances For
The symbolic partial derivative with respect to x i, by the rules of
ConvexAnalysis.ArithExpr.pderiv (ConvexAnalysis.RatArithExpr.toArithExpr_pderiv).
Equations
- ConvexAnalysis.RatArithExpr.pderiv i (ConvexAnalysis.RatArithExpr.const c) = ConvexAnalysis.RatArithExpr.const 0
- ConvexAnalysis.RatArithExpr.pderiv i (ConvexAnalysis.RatArithExpr.var i_1) = ConvexAnalysis.RatArithExpr.const (if i_1 = i then 1 else 0)
- ConvexAnalysis.RatArithExpr.pderiv i (e₁.add e₂) = (ConvexAnalysis.RatArithExpr.pderiv i e₁).add (ConvexAnalysis.RatArithExpr.pderiv i e₂)
- ConvexAnalysis.RatArithExpr.pderiv i e.neg = (ConvexAnalysis.RatArithExpr.pderiv i e).neg
- ConvexAnalysis.RatArithExpr.pderiv i (e₁.mul e₂) = ((ConvexAnalysis.RatArithExpr.pderiv i e₁).mul e₂).add (e₁.mul (ConvexAnalysis.RatArithExpr.pderiv i e₂))
- ConvexAnalysis.RatArithExpr.pderiv i e.inv = ((ConvexAnalysis.RatArithExpr.pderiv i e).mul (e.inv.pow 2)).neg
- ConvexAnalysis.RatArithExpr.pderiv i e.exp = (ConvexAnalysis.RatArithExpr.pderiv i e).mul e.exp
- ConvexAnalysis.RatArithExpr.pderiv i e.log = (ConvexAnalysis.RatArithExpr.pderiv i e).mul e.inv
- ConvexAnalysis.RatArithExpr.pderiv i e.sqrt = (ConvexAnalysis.RatArithExpr.pderiv i e).mul ((ConvexAnalysis.RatArithExpr.const 2).mul e.sqrt).inv
- ConvexAnalysis.RatArithExpr.pderiv i (e.pow k) = (ConvexAnalysis.RatArithExpr.pderiv i e).mul ((ConvexAnalysis.RatArithExpr.const ↑k).mul (e.pow (k - 1)))
Instances For
The symbolic derivative commutes with ConvexAnalysis.RatArithExpr.toArithExpr.
The dyadic interval evaluation of an expression on the box X of dyadic intervals, at
the precision 2⁻ᵖʳᵉᶜ: constants are enclosed by Inclusion.IntervalDyadicReal.rat, + and -
are the exact operations of the inclusion tactic, products and powers are its operations
rounded outward by Inclusion.IntervalDyadicReal.roundOut, exp, log and √ are its
operations, and the inverse is ConvexAnalysis.DyadicInterval.inv. It is none if an inverse is
applied to an interval that may contain 0, a logarithm to one that may contain a nonpositive
number, a square root to one that may contain a negative number, or if an operation returns an
unbounded interval. The function is computable and can be evaluated by the kernel
(decide +kernel); its results are outward roundings
(ConvexAnalysis.RatArithExpr.isRoundedEval_dyadicEval).
Equations
- One or more equations did not get rendered due to their size.
- ConvexAnalysis.RatArithExpr.dyadicEval prec X (ConvexAnalysis.RatArithExpr.const c) = ConvexAnalysis.DyadicInterval.ofInterval (Inclusion.IntervalDyadicReal.rat c prec)
- ConvexAnalysis.RatArithExpr.dyadicEval prec X (ConvexAnalysis.RatArithExpr.var i) = some (X i)
Instances For
The dyadic evaluation is an outward rounding: if e.dyadicEval prec X = some D and the
real box Xr lies in the box of X, then toReal D is a rounded evaluation of the expression
e.toArithExpr on Xr in the sense of ConvexAnalysis.ArithExpr.IsRoundedEval. So every
theorem stated with IsRoundedEval hypotheses applies to the results of the computation: the
fundamental theorem of interval arithmetic, derivative and slope enclosures, and the Krawczyk
and interval Newton tests of ConvexAnalysis.IntervalDerivative.
The dyadic evaluation on the box X is a rounded evaluation on the real box of X.
Fundamental theorem for the dyadic evaluation: the value of e at every point of the
real box Xr lies in the computed interval.
The Krawczyk test computed with dyadic intervals #
The sum ∑ j, f j of intervals of the inclusion tactic over Fin n, with the tactic's
addition.
Equations
- ConvexAnalysis.DyadicInterval.sum f = List.foldr (fun (j : Fin n) (acc : Inclusion.Interval Dyadic) => (f j).add acc) (Inclusion.Interval.singleton 0) (List.finRange n)
Instances For
isInside I a b: the interval I of the inclusion tactic is bounded, and its dyadic
endpoints lie strictly between the rationals a and b.
Equations
Instances For
The i-th side of the Krawczyk operator x₀ - Y F(x₀) + (1 - Y M) (X - x₀) in dyadic
interval arithmetic, for enclosures Fx₀ k of the values F k (x₀), an interval matrix M,
a rational matrix Y, a rational point x₀ and a box X; products are rounded outward to
multiples of 2⁻ᵖʳᵉᶜ. It encloses the interval Krawczyk operator ConvexAnalysis.intervalKrawczyk
(ConvexAnalysis.DyadicInterval.mem_krawczyk_of_mem_intervalKrawczyk).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The operations of real interval arithmetic and of the inclusion tactic, compared point by
point: if the real arguments lie in the tactic's arguments, so does the real result.
A rational point interval lies in the tactic's interval of the rational.
Interval addition, compared with the tactic's addition.
Interval subtraction, compared with the tactic's subtraction.
Interval multiplication, compared with the tactic's multiplication rounded outward.
Sums of intervals, compared with ConvexAnalysis.DyadicInterval.sum.
The dyadic Krawczyk operator encloses the interval Krawczyk operator: if the points of
the real intervals Fr k, Mr k j and Xr j lie in the dyadic intervals Fx₀ k, M k j and
X j, then every point of the side i of ConvexAnalysis.intervalKrawczyk with the rational
matrix Y and point x₀ lies in the side i of ConvexAnalysis.DyadicInterval.krawczyk.
The interval Krawczyk test computed with dyadic intervals for the system
F : Fin n → RatArithExpr (Fin n) on the box [lo, hi], with the rational point x₀ and the
rational matrix Y (an approximate inverse of the Jacobian at x₀), at the precision 2⁻ᵖʳᵉᶜ.
It checks that lo ≤ x₀ ≤ hi, evaluates F at x₀ and the symbolic partial derivatives
ConvexAnalysis.RatArithExpr.pderiv j (F k) on a dyadic box containing [lo, hi] with
ConvexAnalysis.RatArithExpr.dyadicEval, and checks that every side of the dyadic Krawczyk
operator ConvexAnalysis.DyadicInterval.krawczyk lies strictly inside (lo i, hi i). The test is
computable and is evaluated by the kernel; if it returns true, the system has exactly one zero
in the box (ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_krawczykTest).
Equations
- One or more equations did not get rendered due to their size.
Instances For
A verified computation of a unique zero: if the dyadic Krawczyk test
ConvexAnalysis.RatArithExpr.krawczykTest succeeds, the system of equations
(F k).toArithExpr.eval x = 0 has exactly one solution x in the box [lo, hi]. Nothing else
is assumed: differentiability, the slope enclosure and the inclusion of the Krawczyk operator in
the interior of the box follow from the computation, so the hypothesis can be proved by
decide +kernel. This is the strict Krawczyk test
(Neumaier, Theorem 5.1.8 (iii)) in the form
ConvexAnalysis.existsUnique_eq_zero_of_intervalKrawczyk_pderiv, with slopes from interval
differentiation and all inputs computed in dyadic interval arithmetic
(ConvexAnalysis.RatArithExpr.isRoundedEval_dyadicEval,
ConvexAnalysis.DyadicInterval.mem_krawczyk_of_mem_intervalKrawczyk).
HasUniqueZero F lo hi: the system of equations (F k).toArithExpr.eval x = 0 has exactly
one solution x in the rational box [lo, hi]. This is the conclusion of the dyadic existence
tests (ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_krawczykTest,
ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_hansenSenguptaTest), and the hypothesis of
the theorems that restate it for one variable, complex zeros, eigenpairs and matrix square roots
(ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_real_of_hasUniqueZero), so that these serve
every test.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One equation in one variable: if the system fun _ ↦ e in one variable has exactly one
zero in the box [lo, hi] (for example by
ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_krawczykTest), then e(x) = 0 has exactly
one solution x : ℝ in [lo, hi]; the statement on ℝ instead of Fin 1 → ℝ, with the suffix
_real as in ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial_real.
The dyadic Krawczyk test for one equation e(x) = 0 in one real variable (the case
n = 1 of ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_krawczykTest, stated on ℝ
by ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_real_of_hasUniqueZero): if the test
succeeds with the rational interval [lo, hi], the point x₀ and the approximate inverse y of
e'(x₀), then e(x) = 0 has exactly one solution in [lo, hi].