Lexicographic order on a sigma type #
This file defines the lexicographic order on Σₗ' i, α i
. a
is less than b
if its summand is
strictly less than the summand of b
or they are in the same summand and a
is less than b
there.
Notation #
Σₗ' i, α i
: Sigma type equipped with the lexicographic order. A type synonym ofΣ' i, α i
.
See also #
Related files are:
Data.Finset.Colex
: Colexicographic order on finite sets.Data.List.Lex
: Lexicographic order on lists.Data.Pi.Lex
: Lexicographic order onΠₗ i, α i
.Data.Sigma.Order
: Lexicographic order onΣₗ i, α i
. Basically a twin of this file.Data.Prod.Lex
: Lexicographic order onα × β
.
TODO #
Define the disjoint order on Σ' i, α i
, where x ≤ y
only if x.fst = y.fst
.
Prove that a sigma type is a NoMaxOrder
, NoMinOrder
, DenselyOrdered
when its summands
are.
Pretty printer defined by notation3
command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The notation Σₗ' i, α i
refers to a sigma type which is locally equipped with the
lexicographic order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dictionary / lexicographic partial_order for dependent pairs.
Equations
- PSigma.Lex.partialOrder = let src := PSigma.Lex.preorder; PartialOrder.mk (_ : ∀ (a b : Σₗ' (i : ι), α i), a ≤ b → b ≤ a → a = b)
Dictionary / lexicographic linear_order for pairs.
Equations
- One or more equations did not get rendered due to their size.
The lexicographical linear order on a sigma type.
Equations
- PSigma.Lex.orderBot = OrderBot.mk (_ : ∀ (x : Σₗ' (i : ι), α i), ⊥ ≤ x)
The lexicographical linear order on a sigma type.
Equations
- PSigma.Lex.orderTop = OrderTop.mk (_ : ∀ (x : Σₗ' (i : ι), α i), x ≤ ⊤)
The lexicographical linear order on a sigma type.
Equations
- PSigma.Lex.boundedOrder = let src := PSigma.Lex.orderBot; let src_1 := PSigma.Lex.orderTop; BoundedOrder.mk
Equations
- (_ : DenselyOrdered (Σₗ' (i : ι), α i)) = (_ : DenselyOrdered (Σₗ' (i : ι), α i))
Equations
- (_ : DenselyOrdered (Σₗ' (i : ι), α i)) = (_ : DenselyOrdered (Σₗ' (i : ι), α i))
Equations
- (_ : DenselyOrdered (Σₗ' (i : ι), α i)) = (_ : DenselyOrdered (Σₗ' (i : ι), α i))
Equations
- (_ : NoMaxOrder (Σₗ' (i : ι), α i)) = (_ : NoMaxOrder (Σₗ' (i : ι), α i))
Equations
- (_ : NoMinOrder (Σₗ' (i : ι), α i)) = (_ : NoMinOrder (Σₗ' (i : ι), α i))
Equations
- (_ : NoMaxOrder (Σₗ' (i : ι), α i)) = (_ : NoMaxOrder (Σₗ' (i : ι), α i))
Equations
- (_ : NoMinOrder (Σₗ' (i : ι), α i)) = (_ : NoMinOrder (Σₗ' (i : ι), α i))