The lexicographic order on disjoint-union labels #
Plain α ⊕ β carries no linear order in mathlib (only the ⊕ₗ
synonym does); the corrected constrained value of a disjUnion
needs one for its through-product orientation. This file
transports the lexicographic order to the plain sum (left before
right) and pins the disjoint-union factorization interface — the
multiplicativity of the corrected value, first target of the
factorization chain.
@[instance_reducible]
The lexicographic linear order on a plain sum type: left before right.
Equations
Instances For
Within the left block the order is the left order.
Within the right block, the right order.
Every left label precedes every right one.
And no right label precedes a left one.