lean4-htt/src/Init/Data/List
Paul Reichert f81236185c
feat: integrate high-level order typeclasses with BEq and Ord (#9908)
This PR makes `IsPreorder`, `IsPartialOrder`, `IsLinearPreorder` and
`IsLinearOrder` extend `BEq` and `Ord` as appropriate, adds the
`LawfulOrderBEq` and `LawfulOrderOrd` typeclasses relating `BEq` and
`Ord` to `LE`, and adds many lemmas and instances.

Note: This PR contains a refactoring where `Init.Data.Ord` is moved to
`Init.Data.Ord.Basic`. If I added `Init.Data.Ord` simply importing all
submodules, git would not be able to determine that `Init.Data.Ord` was
renamed to `Init.Data.Ord.Basic`. This could lead to unnecessary merge
conflicts in the future. Hence, I chose the name `Init.Data.OrdRoot`
instead of `Init.Data.Ord` temporarily. After this PR, I will rename
this module back to `Init.Data.Ord` in a separate PR.

(This is a copy of #9430: I will not touch that PR because it currently
allows to debug a CI problem and pushing commits might break the
reproducibility.)
2025-08-19 07:54:53 +00:00
..
Nat chore: eliminate uses of intros x y z (#9983) 2025-08-19 06:09:13 +00:00
Sort chore: eliminate uses of intros x y z (#9983) 2025-08-19 06:09:13 +00:00
Attach.lean chore: eliminate uses of intros x y z (#9983) 2025-08-19 06:09:13 +00:00
Basic.lean feat: More grind annotations for List.range' (#9766) 2025-08-13 09:27:48 +00:00
BasicAux.lean refactor: module-ize Std.Data.DHashMap (#9098) 2025-07-02 10:00:17 +00:00
Control.lean feat: Add List.zipWithM and Array.zipWithM (#9528) 2025-07-28 08:39:52 +00:00
Count.lean feat: pattern inference using symbol priorities in grind (#9182) 2025-07-03 16:47:38 -07:00
Erase.lean chore: eliminate uses of intros x y z (#9983) 2025-08-19 06:09:13 +00:00
Find.lean fix: remove dependency on LawfulBEq from List.lookup lemmas (#9949) 2025-08-18 10:16:30 +00:00
FinRange.lean chore: library style cleanup (#9654) 2025-07-31 21:28:59 +00:00
Impl.lean chore: @[expose] List.filterMapTR (#9793) 2025-08-08 04:55:38 +00:00
Lemmas.lean feat: Rename Std.List.Zipper to List.Cursor (#9911) 2025-08-14 09:17:54 +00:00
Lex.lean feat: high-level order typeclasses (#9729) 2025-08-11 14:55:17 +00:00
MapIdx.lean chore: @[expose] List.mapIdxM (#9794) 2025-08-08 04:55:50 +00:00
MinMax.lean feat: integrate high-level order typeclasses with BEq and Ord (#9908) 2025-08-19 07:54:53 +00:00
Monadic.lean chore: remove >6 month old deprecations (#9640) 2025-08-05 02:29:15 +00:00
Nat.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Notation.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
OfFn.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Pairwise.lean feat: tweaks to List.Pairwise API (#9620) 2025-07-29 23:47:33 +00:00
Perm.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Range.lean feat: More grind annotations for List.range' (#9766) 2025-08-13 09:27:48 +00:00
Sort.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Sublist.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
TakeDrop.lean feat: missing grind annotations (#9921) 2025-08-14 22:47:42 +00:00
ToArray.lean feat: default let rec and where decls to private under the module system (#9759) 2025-08-06 15:53:51 +00:00
ToArrayImpl.lean chore: [match_pattern] should enforce [expose] (#9534) 2025-07-31 11:51:47 +00:00
Zip.lean chore: remove >6 month old deprecations (#9640) 2025-08-05 02:29:15 +00:00