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 .