feat(Tactic/Group): strengthen the group tactic and add tests#40224
feat(Tactic/Group): strengthen the group tactic and add tests#40224AlexBrodbelt wants to merge 1 commit into
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary a2f58acf35Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
|
Once your PR is complete, I'm very curious to see if there is any performance effect. But that can wait for later. Until then, I'm just excited about your PR! |
The group tactic is improved to:
Once simplification on the exponents is done, apply left and right cancellation. That is, to normalise expressions like
a * b = a * ctob * c.Apply a post-processing where expression of the form ( · )^(-1) are normalised to use the inversion notation ( · )⁻¹. This allows immediately using lemmas involving inversion which is how most lemmas are stated.