Commit 2026-11-11 04:18 dc2a600c

View on Github →

refactor(Algebra/Group): split homomorphism definitions from Lemmas (#45888) Despite the name, Algebra.Group.Pi.Lemmas contains a lot of definitions. Some of them are needed for FunLike constructions and importing Lemmas generates a circular imports. Therefore, we split some of the definitions into a new file. We do not move MulHom.coeFn and MonoidHom.coeFn since they would require more imports (and also they we be deprecated in favour of FunLike definitions). Minor changes:

  • remove explicit universes
  • adapt module docstring

Estimated changes

deleted def MonoidHom.pi
deleted def MonoidHom.piMap
deleted theorem MonoidHom.pi_injective
deleted def MulHom.pi
deleted def MulHom.piMap
deleted theorem MulHom.pi_injective
deleted theorem Pi.coe_evalMonoidHom
deleted def Pi.constMonoidHom
deleted def Pi.constMulHom
deleted def Pi.evalMonoidHom
deleted def Pi.evalMulHom