Orders on a sigma type #
This file defines two orders on a sigma type:
- The disjoint sum of orders.
ais lessbiffaandbare in the same summand andais less thanbthere. - The lexicographical order.
ais less thanbif its summand is strictly less than the summand ofbor they are in the same summand andais less thanbthere.
We make the disjoint sum of orders the default set of instances. The lexicographic order goes on a type synonym.
Notation #
_root_.Lex (Sigma α): Sigma type equipped with the lexicographic order. 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.PSigma.Order: Lexicographic order onΣₗ' i, α i. Basically a twin of this file.Data.Prod.Lex: Lexicographic order onα × β.
TODO #
Upgrade Equiv.sigma_congr_left, Equiv.sigma_congr, Equiv.sigma_assoc,
Equiv.sigma_prod_of_equiv, Equiv.sigma_equiv_prod, ... to order isomorphisms.
Equations
Equations
Equations
Equations
The notation Σₗ i, α i refers to a sigma type equipped with the lexicographic order.
Equations
Instances For
The lexicographical ≤ on a sigma type.
Equations
The lexicographical < on a sigma type.
Equations
The lexicographical preorder on a sigma type.
Equations
The lexicographical partial order on a sigma type.
Equations
The lexicographical linear order on a sigma type.
Equations
The lexicographical linear order on a sigma type.
Equations
The lexicographical linear order on a sigma type.
Equations
The lexicographical linear order on a sigma type.