mathlib3 documentation

data.nat.units

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.

theorem nat.units_eq_one (u : ˣ) :
u = 1
theorem nat.add_units_eq_zero (u : add_units ) :
u = 0
@[protected, simp]
theorem nat.is_unit_iff {n : } :
is_unit n n = 1
@[protected, instance]
Equations