Intervals #
In any preorder α, we define intervals
(which on each side can be either infinite, open, or closed)
using the following naming conventions:
- i: infinite
- o: open
- c: closed
Each interval has the name I + letter for left side + letter for right side.
For instance, Ioc a b denotes the interval (a, b].
We also define a typeclass Set.OrdConnected
saying that a set includes Set.Icc a b whenever it contains both a and b.
We say that a set s : Set α is OrdConnected if for all x y ∈ s it includes the
interval [[x, y]]. If α is a DenselyOrdered ConditionallyCompleteLinearOrder with
the OrderTopology, then this condition is equivalent to IsPreconnected s. If α is a
LinearOrderedField, then this condition is also equivalent to Convex α s.
- s : Set αis- OrdConnectedif for all- x y ∈ sit includes the interval- [[x, y]].