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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Ring.Int.Units

2 declarations. Mathlib docs · Source

Basic lemmas for ℤˣ.

This file contains lemmas on the units of ℤ.

Main results

  • Int.units_eq_one_or: the invertible integers are 1 and -1.

See note [foundational algebra order theory].

Units

theorem Int.units_eq_one_or E3 #

∀ (u : ℤˣ), u = 1 ∨ u = -1

theorem Int.units_ne_iff_eq_neg E1 #

∀ {u v : ℤˣ}, u ≠ v ↔ u = -v