Order intervals #
This file defines (nonempty) closed intervals in an order (see Set.Icc). This is a prototype for
interval arithmetic.
Main declarations #
NonemptyInterval: Nonempty intervals. Pairs where the second element is greater than the first.Interval: Intervals. Either∅or a nonempty interval.
The nonempty closed intervals in an order.
We define intervals by the pair of endpoints fst, snd. To convert intervals to the set of
elements between these endpoints, use the coercion NonemptyInterval α → Set α.
Instances For
Allow lifting a pair (a, b) with a ≤ b to NonemptyInterval
in the lift tactic.
The injection that induces the order on intervals.
Instances For
toDualProd as an order embedding.
Instances For
Turn an interval into an interval in the dual order.
Instances For
{a} as an interval.
Instances For
Pushforward of nonempty intervals.
Instances For
Binary pushforward of nonempty intervals.
Instances For
Consider a nonempty interval [a, b] as the set [a, b].
Instances For
Recursor for Interval using the preferred forms ⊥ and ↑a.
Instances For
Turn an interval into an interval in the dual order.
Instances For
{a} as an interval.
Instances For
Consider an interval [a, b] as the set [a, b].