Power function on ℝ≥0 and ℝ≥0∞ #
We construct the power functions x ^ y where
xis a nonnegative real number andyis a real number;xis a number from[0, +∞](a.k.a.ℝ≥0∞) andyis a real number.
We also prove basic properties of these functions.
The nonnegative real power function x^y, defined for x : ℝ≥0 and y : ℝ as the
restriction of the real power function. For x > 0, it is equal to exp (y log x). For x = 0,
one sets 0 ^ 0 = 1 and 0 ^ y = 0 for y ≠ 0.
Instances For
Equations
- NNReal.instPowReal = { pow := NNReal.rpow }
rpow version of Multiset.prod_map_pow for ℝ≥0.
rpow version of Multiset.prod_map_pow.
Bundles fun x : ℝ≥0 => x ^ y into an order isomorphism when y : ℝ is positive,
where the inverse is fun x : ℝ≥0 => x ^ (1 / y).
Equations
- NNReal.orderIsoRpow y hy = StrictMono.orderIsoOfRightInverse (fun (x : NNReal) => x ^ y) ⋯ (fun (x : NNReal) => x ^ (1 / y)) ⋯
Instances For
The real power function x^y on extended nonnegative reals, defined for x : ℝ≥0∞ and
y : ℝ as the restriction of the real power function if 0 < x < ⊤, and with the natural values
for 0 and ⊤ (i.e., 0 ^ x = 0 for x > 0, 1 for x = 0 and ⊤ for x < 0, and
⊤ ^ x = 1 / 0 ^ x).
Equations
Instances For
Equations
- ENNReal.instPowReal = { pow := ENNReal.rpow }
Bundles fun x : ℝ≥0∞ => x ^ y into an order isomorphism when y : ℝ is positive,
where the inverse is fun x : ℝ≥0∞ => x ^ (1 / y).
Equations
- ENNReal.orderIsoRpow y hy = StrictMono.orderIsoOfRightInverse (fun (x : ENNReal) => x ^ y) ⋯ (fun (x : ENNReal) => x ^ (1 / y)) ⋯
Instances For
Positivity extension #
Extension for the positivity tactic: exponentiation by a real number is nonnegative when
the base is nonnegative and positive when the base is positive.
This is the NNReal analogue of evalRpow for Real.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Extension for the positivity tactic: exponentiation by a real number is nonnegative when
the base is nonnegative and positive when the base is positive.
This is the ENNReal analogue of evalRpow for Real.
Equations
- One or more equations did not get rendered due to their size.