Scalar #
Runtime scalar conventions.
Runtime execution stays in IEEE32Exec/Float/NeuralFloat; each backend has a different proof
status relative to the spec layer.
Note on trust boundaries:
- Lean's
Floatis an implementation type. Claims connectingFloatexecution to spec-levelℝtherefore cross a trusted runtime interface unless they pass through an explicit executable floating-point model. IEEE32Execis an executable bit-level IEEE-754 binary32 model; connecting it to Lean/runtime hardware float32 is out of scope (treat that bridge as trusted).- For proof-relevant numeric execution, use the rounding model backends (
NeuralFloat/NF), where per-op error bounds can be stated and composed. NeuralFloat/NFare formal models implemented in Lean. Relating them to real hardware floating-point (or Lean'sFloat) is a separate backend-correlation assumption handled outside this module.
@[reducible, inline]
Default runtime scalar for execution.
Instances For
@[reducible, inline]
Runtime tensors are Float-typed tensors.
Instances For
@[reducible, inline]
Annotated NeuralFloat runtime scalar with explicit precision and error metadata.
Instances For
@[reducible, inline]
Runtime tensors backed by NeuralFloat.