The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.Group.Nat.Units

6 declarations. Mathlib docs · Source

The unit of the natural numbers

Units

theorem Nat.units_eq_one E1 #

∀ (u : ℕˣ), u = 1

theorem Nat.addUnits_eq_zero E1 #

∀ (u : AddUnits ℕ), u = 0

instance Nat.unique_units E0 #

Unique ℕˣ

instance Nat.unique_addUnits E0 #

Unique (AddUnits ℕ)

theorem Nat.isUnit_iff E0 #

∀ {n : ℕ}, IsUnit n ↔ n = 1

Alias of isUnit_iff_eq_one for discoverability.

theorem Nat.isAddUnit_iff E0 #

∀ {n : ℕ}, IsAddUnit n ↔ n = 0

Alias of isAddUnit_iff_eq_zero for discoverability.