chore: complete generalization of oneLePart lemmas to DivInvMonoid#41584
chore: complete generalization of oneLePart lemmas to DivInvMonoid#41584kim-em wants to merge 1 commit into
Conversation
Follow up to leanprover-community#41247, which generalized the PosPart/NegPart instances from Group to DivInvMonoid (additively SubNegMonoid) but left several later sections of the file at Group even though their proofs use no group axioms: - `leOnePart_one`/`negPart_zero`: Group -> DivInvOneMonoid (needs only `inv_one`), so EReal gets `(0 : EReal)⁻ = 0`. - `oneLePart_min`: Group -> DivInvMonoid in the DistribLattice section. - `oneLePart_eq_ite`, `oneLePart_eq_ite_lt`, `one_lt_oneLePart_iff`, `oneLePart_of_one_lt_oneLePart`, `oneLePart_lt`: Group -> DivInvMonoid in the LinearOrder section. - Pi section: `[∀ i, Group (α i)]` -> `[∀ i, DivInvMonoid (α i)]`. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PR summary 2e33d17998Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
!radar |
|
Benchmark results for 2e33d17 against a33a5cc are in. No significant results found. @themathqueen Warning These warnings may indicate that the benchmark results are not directly comparable, for example due to changes in the runner configuration or hardware.
Small changes (1✅) 1 hidden |
This PR completes the generalization of
Mathlib/Algebra/Order/Group/PosPart.leanstarted by #41247: weakenleOnePart_one/negPart_zerofromGrouptoDivInvOneMonoid(the proof needs onlyinv_one), weakenoneLePart_minand the fiveoneLePartlemmas in theLinearOrdersection (oneLePart_eq_ite,oneLePart_eq_ite_lt,one_lt_oneLePart_iff,oneLePart_of_one_lt_oneLePart,oneLePart_lt) fromGrouptoDivInvMonoid, and weaken thePisection's[∀ i, Group (α i)]to[∀ i, DivInvMonoid (α i)]. No statement or proof changes; this makes these lemmas available forEReal, the motivating use case of the original PR.Follow-up to #41247 (chore: generalize
instPosParttoSubNegMonoid).🤖 Prepared with Claude Code