Configured interval correctness #
Packing and decoding are inverse on complete endpoint encodings, including signed zeros and NaNs.
Every configured operation decodes to the existing model operation. Soundness and validity are
transported from Model.Interval, retaining its format and finiteness hypotheses.
In particular, arithmetic soundness starts from finite valid intervals and concludes membership in extended-real bounds: overflow is permitted. Totalized real decoding alone is not a sound interpretation of infinite or NaN endpoints.
Decoding packed bounds preserves every endpoint bit.
Repacking decoded bounds is lossless.
Model equality determines configured interval equality.
Membership agrees with the exact model order.
Packing model bounds preserves finite validity.
Packing model bounds preserves extended validity.
Point construction commutes with decoding.
The configured whole range has exactly the model's endpoints.
Checked construction commutes with decoding.
Configured hull decodes to the model operation.
Configured add decodes to the model operation.
Configured sub decodes to the model operation.
Configured mul decodes to the model operation.
Configured div decodes to the model operation.
Configured neg decodes to the model operation.
Configured inv decodes to the model operation.
Configured relu decodes to the model operation.
Configured abs decodes to the model operation.
Configured sqrt decodes to the model operation.
Real membership in decoded bounds; meaningful as an interval interpretation under Valid.
Instances For
Extended-real membership, permitting infinite endpoints under ValidExtended.
Instances For
Finite validity implies extended validity.
Finite endpoint interpretations agree after embedding a real number into EReal.
A finite value gives a valid point interval.
A non-NaN value gives an extended-valid point interval, including at infinity.
The full IEEE range is extended-valid.
The full IEEE range contains every extended real.
Checked IEEE bounds are extended-valid even when the supplied pair is unordered.
Outward-rounded add encloses the exact real result, including overflow.
IEEE add returns ordered, non-NaN bounds, even for indeterminate input endpoints.
Outward-rounded sub encloses the exact real result, including overflow.
IEEE sub returns ordered, non-NaN bounds, even for indeterminate input endpoints.
Outward-rounded mul encloses the exact real result, including overflow.
IEEE mul returns ordered, non-NaN bounds, even for indeterminate input endpoints.
Outward-rounded div encloses the exact real result, including overflow.
IEEE div returns ordered, non-NaN bounds, even for indeterminate input endpoints.
The neg image encloses every represented real, permitting infinite bounds.
The neg image preserves extended validity in every format.
The relu image encloses every represented real, permitting infinite bounds.
The relu image preserves extended validity in every format.
The abs image encloses every represented real, permitting infinite bounds.
The abs image preserves extended validity in every format.
Reciprocal soundness includes zero: the whole-range fallback encloses the totalized result.
IEEE reciprocal returns extended-valid bounds.
Directed square root encloses the real square root on nonnegative finite input bounds.
Directed square root preserves extended validity on nonnegative finite input bounds.