Sorting the elements of Sym2 #
This file provides Sym2.sortEquiv, the forward direction of which is somewhat analogous to
Multiset.sort.
The supremum of the two elements.
Equations
Instances For
@[simp]
The infimum of the two elements.
Equations
Instances For
@[simp]
In a linear order, symmetric squares are canonically identified with ordered pairs.
Equations
Instances For
@[simp]
In a linear order, two symmetric squares are equal if and only if they have the same infimum and supremum.