Commit 2025-10-01 13:25 52742777

View on Github →

feat: Colex type synonym (#29058) We create a new Colex type synonym for the colexicographic order on a type. We use this to re-define the colexicographic order on Finset, protecting and deprecating the existing Finset.Colex type synonym. A future PR will add instances for Pi types and Finsupp. See Zulip for some discussion on this.

Estimated changes

added theorem Colex.exists
added theorem Colex.forall
added def Colex
added def ofColex
added theorem ofColex_inj
added theorem ofColex_symm_eq
added theorem ofColex_toColex
added def toColex
added theorem toColex_inj
added theorem toColex_ofColex
added theorem toColex_symm_eq