Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(group_theory/free_group): clean up unnecessary lemmas (#6200)
This removes: * `free_abelian_group.lift.{add,sub,neg,zero}` as these exist already as `(free_abelian_group.lift _).map_{add,sub,neg,zero}` * `free_group.to_group.{mul,one,inv}` as these exist already as `(free_group.to_group _).map_{mul,one,inv}` * `free_group.map.{mul,one,inv}` as these exist already as `(free_group.map _).map_{mul,one,inv}` * `free_group.prod.{mul,one,inv}` as these exist already as `free_group.prod.map_{mul,one,inv}` * `to_group.is_group_hom` as this is provided automatically for `monoid_hom`s and renames * `free_group.sum.{mul,one,inv}` to `free_group.sum.map_{mul,one,inv}` These lemmas are already simp lemmas thanks to the functions they relate to being bundled homs. While the new spelling is slightly longer, it makes it clear that the entire set of `monoid_hom` lemmas apply, not just the three that were copied across. This also wraps some lines to make the linter happier about these files.
- Loading branch information
1 parent
759ebc0
commit 43bfd90
Showing
4 changed files
with
65 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters