Definition
Let be a total order. Let be the extended set where for all . For , we define the standard intervals as subsets of determined by their relationship to these endpoints.
Interval Types
For :
- Closed:
- Half-open: and
For :
- Open:
For infinite bounds specifically:
- for
- for
Since , we restrict the use of closed brackets to endpoints in to ensure the interval remains a subset of .
Convexity
A subset is an interval if and only if it is convex in .
Definition: Convex Set
A subset is convex iff:
Edge Cases and Degeneracy
- Empty Set: If in , then .
- Singletons: For , , while .
- Infinite Bounds: Because , the notation is formally equivalent to .
- Intersections: The intersection of any collection of intervals is an interval.