MathFunctions helper lemmas #
TorchLean sometimes writes scalar specs using MathFunctions.* (to keep the spec polymorphic over
α) but then specializes to ℝ in proofs.
For ℝ, the MathFunctions methods are definitionally equal to their Real.* counterparts. We
keep named lemmas here so proof scripts can rewrite uniformly without repeating the same rfl
helpers across modules.
MathFunctions.exp is definitionally equal to Real.exp for ℝ.
MathFunctions.sinh is definitionally equal to Real.sinh for ℝ.
MathFunctions.cosh is definitionally equal to Real.cosh for ℝ.
MathFunctions.tanh is definitionally equal to Real.tanh for ℝ.
MathFunctions.sqrt is definitionally equal to Real.sqrt for ℝ.