NLA-lib Explorer

Square-root rounding in the Float logical model

Library · Source module

Square-root rounding in the Float logical model

Upstream candidates for Lean core's floating-point model, adapted from the supplied NumLean archive, NumLean/Data/Scalars/IEEE/Sqrt.lean. Its archive hash and licensing status are recorded in docs/design/Finite-Precision-Arithmetic.md. No private package is imported. The results describe core's logical square-root operation, with gradual underflow retained.

Main results

* Float.Model.UnpackedFloat.sqrt_isCanonical. * Float.Model.UnpackedFloat.abs_toReal_sqrt_sub_le. * Float.Model.UnpackedFloat.isNearestFloat_toReal_sqrt.

Declarations