Interval powers #
These are easy on top of exp and log.
Equations
- instPowInterval = { pow := Interval.pow }
Interval.pow is conservative
Interval.pow is conservative for ℕ powers
@[irreducible]
Special case low powers, and use Floating.powNatSlow for larger n
Equations
Instances For
Equations
- instPowIntervalNat = { pow := Interval.powNat }
theorem
Floating.approx_powNatSlow
{x' : ℝ}
{x : Floating}
(xm : approx x x')
(n : ℕ)
:
approx (x.powNatSlow n) (x' ^ n)
Floating.powNatSlow is conservative
Equations
- instPowIntervalInt = { pow := Interval.powInt }
Interval.powInt is conservative