Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-12-10 00:34 1ecdf714

View on Github →

chore(algebra/punit_instances): add comm_cancel_monoid_with_zero, normalized_gcd_monoid, and scalar action instances (#10312) Motivated by this Zulip thread. This also moves the simp lemmas closer to the instances they refer to.

Estimated changes

deleted theorem punit.add_eq
added theorem punit.compl_eq
added theorem punit.gcd_eq
added theorem punit.lcm_eq
deleted theorem punit.neg_eq
added theorem punit.norm_unit_eq
added theorem punit.sdiff_eq
modified theorem punit.smul_eq
deleted theorem punit.zero_eq