Sqrt extension for tactic dyadic_interval #
This file implements sqrt extension for the tactic dyadic_interval using Nat.sqrt
Computes a lower bound for √x with precision prec, given a lower bound lb for x.
Equations
- Inclusion.IntervalDyadicReal.lowerSqrt lb prec = Dyadic.ofIntWithPrec ↑⌊↑(lb <<< (2 * prec))⌋₊.sqrt ↑prec
Instances For
Computes an upper bound for √x with precision prec, given an upper bound ub for x.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem Inclusion.IntervalDyadicReal.lowerSqrt_le {lb : Dyadic} {prec : ℕ} {x : ℝ} (hx : Dyadic.toReal lb ≤ x) :
theorem Inclusion.IntervalDyadicReal.le_upperSqrt {ub : Dyadic} {prec : ℕ} {x : ℝ} (hx : x ≤ Dyadic.toReal ub) :