TorchLean API

NN.Spec.Core.Context.Real

The real scalar dictionary #

Spec.SpecScalar is , so every "paper theorem" ultimately runs through the instances here. They are kept out of NN.Spec.Core.Context because Context needs MathFunctions ℝ, and that drags in the whole real-analysis hierarchy; modules working at Float or at a general [Context α] should not pay for it.

@[instance_reducible]
noncomputable instance instContextReal :

Full Context instance for (proof backend, noncomputable).

The real Context is built from Mathlib's field structure, so every law holds by rfl.