lean4-htt/src/Init/Grind/Ordered
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
..
Field.lean feat: make Lean.Grind.Preorder a mixin (#9885) 2025-08-13 05:02:39 +00:00
Int.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Linarith.lean feat: integrate high-level order typeclasses with BEq and Ord (#9908) 2025-08-19 07:54:53 +00:00
Module.lean feat: make Lean.Grind.Preorder a mixin (#9885) 2025-08-13 05:02:39 +00:00
Order.lean chore: missing doc-strings for grind typeclasses (#9900) 2025-08-14 02:15:13 +00:00
Ring.lean feat: make Lean.Grind.Preorder a mixin (#9885) 2025-08-13 05:02:39 +00:00