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 / V02. Numbers

Mathlib.Data.ZMod.Coprime

1 declarations. Mathlib docs · Source

theorem ZMod.ne_zero_of_gcd_eq_one E1 #

∀ {a : ℤ} {p : ℕ}, Nat.Prime p → a.gcd ↑p = 1 → ↑a ≠ 0

If an integer a and a prime p satisfy gcd a p = 1, then a : ZMod p is nonzero.