Semantic membership for arbitrary-format executable intervals #
RealMem interprets a finite-endpoint interval as a closed interval in ℝ. ERealMem
interprets its endpoints in EReal, so outward-rounded operations remain meaningful when a result
overflows to an infinity. Meaningful endpoint interpretations require Valid or ValidExtended;
the totalized decoders alone do not exclude NaN endpoints.
The executable interval carrier remains independent of these interpretations.
Membership in the real interval denoted by the decoded endpoints.
Instances For
Membership in the extended-real interval denoted by the decoded endpoints.
Instances For
The lower endpoint of a valid interval is finite.
The upper endpoint of a valid interval is finite.
The endpoints of a valid interval are ordered by executable comparison.
The lower endpoint of an extended-valid interval is not a NaN.
The upper endpoint of an extended-valid interval is not a NaN.
The endpoints of an extended-valid interval are ordered numerically.
Every finite valid interval is extended-valid.
An extended-valid interval is finite-valid once both endpoints are known to be finite.
For a valid interval, embedding real membership into EReal preserves membership exactly.