theorem
ZMod.unitsMap_def
{n m : ℕ}
(hm : n ∣ m)
:
ZMod.unitsMap hm = Units.map ↑(ZMod.castHom hm (ZMod n))
theorem
ZMod.unitsMap_comp
{n m d : ℕ}
(hm : n ∣ m)
(hd : m ∣ d)
:
(ZMod.unitsMap hm).comp (ZMod.unitsMap hd) = ZMod.unitsMap ⋯
unitsMap_val
shows that coercing from (ZMod m)ˣ
to ZMod n
gives the same result
when going via (ZMod n)ˣ
and ZMod m
.
@[deprecated ZMod.isUnit_cast_of_dvd (since := "2024-12-16")]
Alias of ZMod.isUnit_cast_of_dvd
.