Commit 2021-02-13 07:17 43bfd903
View on Github →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 asfree_group.prod.map_{mul,one,inv}
to_group.is_group_hom
as this is provided automatically formonoid_hom
s and renamesfree_group.sum.{mul,one,inv}
tofree_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 ofmonoid_hom
lemmas apply, not just the three that were copied across. This also wraps some lines to make the linter happier about these files.