Derivatives of power function on ℂ, ℝ, ℝ≥0, and ℝ≥0∞ #
We also prove differentiability and provide derivatives for the power functions x ^ y.
Although fun x => x ^ r for fixed r is not complex-differentiable along the negative real
line, it is still real-differentiable, and the derivative is what one would formally expect.
See hasDerivAt_ofReal_cpow_const for an alternate formulation.
An alternate formulation of hasDerivAt_ofReal_cpow_const'.
A version of DifferentiableAt.cpow_const for a real function.
(x, y) ↦ x ^ y is strictly differentiable at p : ℝ × ℝ such that 0 < p.fst.
(x, y) ↦ x ^ y is strictly differentiable at p : ℝ × ℝ such that p.fst < 0.
This lemma says that fun x => a ^ x is strictly differentiable for a < 0. Note that these
values of a are outside of the "official" domain of a ^ x, and we may redefine a ^ x
for negative a if some other definition will be more convenient.