[Merged by Bors] - chore: Move a ^ m = b ^ n ↔ ∃ c, a = c ^ n ∧ b = c ^ m#9505
[Merged by Bors] - chore: Move a ^ m = b ^ n ↔ ∃ c, a = c ^ n ∧ b = c ^ m#9505YaelDillies wants to merge 3 commits intomasterfrom
a ^ m = b ^ n ↔ ∃ c, a = c ^ n ∧ b = c ^ m#9505Conversation
|
I think these make more sense in |
|
You could put them in I noticed it when I merged master in #9411, since your proof was suddenly missing imports. I added the I also do not exclude removing |
|
Pull request successfully merged into master. Build succeeded: |
a ^ m = b ^ n ↔ ∃ c, a = c ^ n ∧ b = c ^ ma ^ m = b ^ n ↔ ∃ c, a = c ^ n ∧ b = c ^ m
`Algebra.GroupPower.Lemmas` used to be a big bag of lemmas that made it there on the criterion that they needed "more imports". This was completely untrue, as all lemmas could be moved to earlier files in PRs: - #9440 - #9442 - #9443 - #9455 - #9456 - #9457 - #9459 - #9461 - #9463 - #9466 - #9501 - #9502 - #9503 - #9505 - #9551 - #9553 - #9720 - #9739 - #9740 - #9805 - #9806 - and this one There are several reasons for this: * Necessary lemmas have been moved to earlier files since lemmas were dumped in `Algebra.GroupPower.Lemmas` * In the Lean 3 → Lean 4 transition, Std acquired basic `Int` and `Nat` lemmas which let us shortcircuit the part of the algebraic order hierarchy on which the corresponding general lemmas rest * Some proofs were overpowered * Some earlier files were tangled and I have untangled them This PR finishes the job by moving the last few lemmas out of `Algebra.GroupPower.Lemmas`, which is therefore deleted.
`Algebra.GroupPower.Lemmas` used to be a big bag of lemmas that made it there on the criterion that they needed "more imports". This was completely untrue, as all lemmas could be moved to earlier files in PRs: - #9440 - #9442 - #9443 - #9455 - #9456 - #9457 - #9459 - #9461 - #9463 - #9466 - #9501 - #9502 - #9503 - #9505 - #9551 - #9553 - #9720 - #9739 - #9740 - #9805 - #9806 - and this one There are several reasons for this: * Necessary lemmas have been moved to earlier files since lemmas were dumped in `Algebra.GroupPower.Lemmas` * In the Lean 3 → Lean 4 transition, Std acquired basic `Int` and `Nat` lemmas which let us shortcircuit the part of the algebraic order hierarchy on which the corresponding general lemmas rest * Some proofs were overpowered * Some earlier files were tangled and I have untangled them This PR finishes the job by moving the last few lemmas out of `Algebra.GroupPower.Lemmas`, which is therefore deleted.
Those lemmas were very recently added in #9397. Also make them iffs and golf.
Part of #9411