Mathlib v3 is deprecated. Go to Mathlib v4

Theorem monoid_hom.eq_lift_of_surjective

Modification history