Power function on ℝ #
We construct the power functions x ^ y, where x and y are real numbers.
The real power function x ^ y, defined as the real part of the complex 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. For x < 0, the definition is somewhat arbitrary as it depends on the choice of a complex
determination of the logarithm. With our conventions, it is equal to exp (y log x) cos (π y).
Instances For
See Real.rpow_inv_log for the equality when x ≠ 1 is strictly positive.
For 0 ≤ x, the only problematic case in the equality x ^ y * x ^ z = x ^ (y + z) is for
x = 0 and y + z = 0, where the right-hand side is 1 while the left-hand side can vanish.
The inequality is always true, though, and given in this lemma.
Comparing real and complex powers #
Positivity extension #
Extension for the positivity tactic: exponentiation by a real number is positive (namely 1)
when the exponent is zero. The other cases are done in evalRpow.
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.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Note: lemmas about (∏ i ∈ s, f i ^ r) such as Real.finset_prod_rpow are proved
in Mathlib/Analysis/SpecialFunctions/Pow/NNReal.lean instead.
Order and monotonicity #
This is a more general but less convenient version of rpow_le_rpow_of_exponent_ge.
This version allows x = 0, so it explicitly forbids x = y = 0, z ≠ 0.
This version of rpow_le_rpow_of_exponent_ge allows x = 0 but requires 0 ≤ z.
See also rpow_le_rpow_of_exponent_ge_of_imp for the most general version.
Square roots of reals #
Tactic extensions for real powers #
Evaluates expressions of the form a ^ b when a and b are both reals.
Equations
- One or more equations did not get rendered due to their size.