Minimal/maximal and bottom/top elements #
This file defines predicates for elements to be minimal/maximal or bottom/top and typeclasses saying that there are no such elements.
Predicates #
IsBot
: An element is bottom if all elements are greater than it.IsTop
: An element is top if all elements are less than it.IsMin
: An element is minimal if no element is strictly less than it.IsMax
: An element is maximal if no element is strictly greater than it.
See also isBot_iff_isMin
and isTop_iff_isMax
for the equivalences in a (co)directed order.
Typeclasses #
NoBotOrder
: An order without bottom elements.NoTopOrder
: An order without top elements.NoMinOrder
: An order without minimal elements.NoMaxOrder
: An order without maximal elements.
Equations
- (_ : NoMaxOrder α) = (_ : NoMaxOrder α)
Equations
- (_ : NoMinOrder α) = (_ : NoMinOrder α)
Equations
- (_ : NoBotOrder αᵒᵈ) = (_ : NoBotOrder αᵒᵈ)
Equations
- (_ : NoTopOrder αᵒᵈ) = (_ : NoTopOrder αᵒᵈ)
Equations
- (_ : NoMinOrder αᵒᵈ) = (_ : NoMinOrder αᵒᵈ)
Equations
- (_ : NoMaxOrder αᵒᵈ) = (_ : NoMaxOrder αᵒᵈ)
Equations
- (_ : NoBotOrder α) = (_ : NoBotOrder α)
Equations
- (_ : NoTopOrder α) = (_ : NoTopOrder α)
Equations
- (_ : NoMaxOrder (α × β)) = (_ : NoMaxOrder (α × β))
Equations
- (_ : NoMaxOrder (α × β)) = (_ : NoMaxOrder (α × β))
Equations
- (_ : NoMinOrder (α × β)) = (_ : NoMinOrder (α × β))
Equations
- (_ : NoMinOrder (α × β)) = (_ : NoMinOrder (α × β))
Equations
- (_ : NoMaxOrder ((i : ι) → π i)) = (_ : NoMaxOrder ((i : ι) → π i))
Equations
- (_ : NoMinOrder ((i : ι) → π i)) = (_ : NoMinOrder ((i : ι) → π i))
a : α
is a bottom element of α
if it is less than or equal to any other element of α
.
This predicate is roughly an unbundled version of OrderBot
, except that a preorder may have
several bottom elements. When α
is linear, this is useful to make a case disjunction on
NoMinOrder α
within a proof.
Instances For
a : α
is a top element of α
if it is greater than or equal to any other element of α
.
This predicate is roughly an unbundled version of OrderBot
, except that a preorder may have
several top elements. When α
is linear, this is useful to make a case disjunction on
NoMaxOrder α
within a proof.
Instances For
Alias of the reverse direction of isBot_toDual_iff
.
Alias of the reverse direction of isTop_toDual_iff
.
Alias of the reverse direction of isMin_toDual_iff
.
Alias of the reverse direction of isMax_toDual_iff
.
Alias of the reverse direction of isBot_ofDual_iff
.
Alias of the reverse direction of isTop_ofDual_iff
.
Alias of the reverse direction of isMin_ofDual_iff
.
Alias of the reverse direction of isMax_ofDual_iff
.
Alias of not_isMin_of_lt
.
Alias of not_isMax_of_lt
.