Power function on ℝ≥0
and ℝ≥0∞
#
We construct the power functions x ^ y
where
x
is a nonnegative real number andy
is a real number;x
is a number from[0, +∞]
(a.k.a.ℝ≥0∞
) andy
is 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 }
Alias of NNReal.rpow_natCast
.
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 }
Alias of ENNReal.rpow_natCast
.
Alias of ENNReal.rpow_intCast
.
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)) ⋯