Mathlib v3 is deprecated. Go to Mathlib v4

Def function.injective.ordered_cancel_comm_monoid

Modification history