Documentation

Mathlib.Data.ZMod.Units

Lemmas about units in ZMod. #

def ZMod.unitsMap {n : ℕ} {m : ℕ} (hm : n ∣ m) :

unitsMap is a group homomorphism that maps units of ZMod m to units of ZMod n when n divides m.

Equations
Instances For
    theorem ZMod.unitsMap_def {n : ℕ} {m : ℕ} (hm : n ∣ m) :
    theorem ZMod.unitsMap_comp {n : ℕ} {m : ℕ} {d : ℕ} (hm : n ∣ m) (hd : m ∣ d) :
    @[simp]
    theorem ZMod.IsUnit_cast_of_dvd {n : ℕ} {m : ℕ} (hm : n ∣ m) (a : (ZMod m)ˣ) :
    theorem ZMod.unitsMap_surjective {n : ℕ} {m : ℕ} [hm : NeZero m] (h : n ∣ m) :
    theorem ZMod.not_isUnit_of_mem_primeFactors {n : ℕ} {p : ℕ} (h : p ∈ n.primeFactors) :