Mathlib v3 is deprecated. Go to Mathlib v4

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 as free_group.prod.map_{mul,one,inv}
  • to_group.is_group_hom as this is provided automatically for monoid_homs 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.

Estimated changes

deleted theorem free_group.map.inv
deleted theorem free_group.map.mul
deleted theorem free_group.map.one
modified theorem free_group.map.unique
deleted theorem free_group.prod.inv
deleted theorem free_group.prod.mul
deleted theorem free_group.prod.one
deleted theorem free_group.sum.inv
added theorem free_group.sum.map_inv
added theorem free_group.sum.map_mul
added theorem free_group.sum.map_one
deleted theorem free_group.sum.mul
deleted theorem free_group.sum.one
deleted theorem free_group.to_group.inv
deleted theorem free_group.to_group.mul
deleted theorem free_group.to_group.one