The units of the natural numbers as a monoid
and add_monoid
#
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
@[protected, instance]
Equations
- nat.unique_units = {to_inhabited := {default := 1}, uniq := nat.units_eq_one}
@[protected, instance]
Equations
- nat.unique_add_units = {to_inhabited := {default := 0}, uniq := nat.add_units_eq_zero}