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.
Equations
Instances For
Equations
Equations
Equations
Turn an interval into an interval in the dual order.
Equations
Instances For
Equations
Equations
Equations
{a} as an interval.
Equations
Instances For
Equations
Pushforward of nonempty intervals.
Equations
Instances For
Binary pushforward of nonempty intervals.
Equations
Instances For
Equations
Equations
Equations
Consider a nonempty interval [a, b] as the set [a, b].
Equations
Instances For
Equations
Equations
Equations
Equations
Equations
Equations
Recursor for Interval using the preferred forms ⊥ and ↑a.
Equations
Instances For
Equations
Turn an interval into an interval in the dual order.
Equations
Instances For
Equations
{a} as an interval.
Equations
Instances For
Equations
Equations
Consider an interval [a, b] as the set [a, b].