TorchLean API

NN.Proofs.Utils.MathFunctions

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 definitional equal to Real.exp for .

MathFunctions.sinh is definitional equal to Real.sinh for .

MathFunctions.cosh is definitional equal to Real.cosh for .

MathFunctions.tanh is definitional equal to Real.tanh for .

MathFunctions.sqrt is definitional equal to Real.sqrt for .