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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.ZMod

4 declarations. Mathlib docs · Source

theorem ZMod.ker_intCastRingHom E1 #

∀ (n : ℕ), RingHom.ker (Int.castRingHom (ZMod n)) = Ideal.span {↑n}

The ring homomorphism ℤ → ZMod n has kernel generated by n.

theorem ZMod.ringHom_eq_of_ker_eq E0 #

∀ {n : ℕ} {R : Type u_1} [inst : Ring R] (f g : R →+* ZMod n), RingHom.ker f = RingHom.ker g → f = g

Two ring homomorphisms into ZMod n with equal kernels are equal.

theorem isReduced_zmod E0 #

∀ {n : ℕ}, IsReduced (ZMod n) ↔ Squarefree n ∨ n = 0

ZMod n is reduced iff n is square-free (or n=0).

instance instIsReducedZModOfFactSquarefreeNat E0 #

∀ {n : ℕ} [Fact (Squarefree n)], IsReduced (ZMod n)