Mathlib v3 is deprecated. Go to Mathlib v4

Theorem monoid_with_zero_hom.to_zero_hom_injective

Modification history