The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Ideal.Norm.AbsNorm
56 declarations and 13 deprecated aliases. Mathlib docs · Source
Ideal norms
This file defines the absolute ideal norm Ideal.absNorm (I : Ideal R) : ℕ as the cardinality of
the quotient R ⧸ I, with the junk value 0 at I = ⊥.
Main definitions
Submodule.cardQuot (S : Submodule R M): the cardinality of the quotientM ⧸ S, inℕ. This maps⊥to0and⊤to1.Ideal.absNorm (I : Ideal R): the absolute ideal norm, defined as the cardinality of the quotientR ⧸ Iwith the junk value0atI = ⊥, as a bundled monoid-with-zero homomorphism.
Main results
map_mul Ideal.absNorm: multiplicativity of the ideal norm is bundled in the definition ofIdeal.absNormIdeal.absNorm_of_ne_bot: away from⊥, the absolute norm is the cardinality of the quotientIdeal.absNorm_apply: over an infinite ring, the absolute norm is the cardinality of the quotient for every idealIdeal.natAbs_det_basis_change: the ideal norm is given by the determinant of the basis change matrixIdeal.absNorm_span_singleton: the ideal norm of a principal ideal is the norm of its generatorRing.HasFiniteQuotients.finite_cardQuot_le: a ring with finite quotients has only finitely many ideals whose quotient has bounded cardinality
theorem Ideal.absNorm.congr_simp E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S], Ideal.absNorm = Ideal.absNorm
def Submodule.cardQuot E1 #
{R : Type u_1} →
{M : Type u_2} → [inst : Ring R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → Submodule R M → ℕ
The cardinality of (M ⧸ S), if (M ⧸ S) is finite, and 0 otherwise.
This is used to define the absolute ideal norm Ideal.absNorm.
theorem Submodule.cardQuot_apply E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (S : Submodule R M),
S.cardQuot = Nat.card (M ⧸ S)
theorem Submodule.cardQuot_bot E0 #
∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Infinite M],
⊥.cardQuot = 0
theorem Submodule.cardQuot_top E0 #
∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M], ⊤.cardQuot = 1
theorem Submodule.cardQuot_eq_one_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {P : Submodule R M},
P.cardQuot = 1 ↔ P = ⊤
theorem cardQuot_mul_of_coprime E1 #
∀ {S : Type u_1} [inst : CommRing S] {I J : Ideal S},
IsCoprime I J → Submodule.cardQuot (I * J) = Submodule.cardQuot I * Submodule.cardQuot J
Multiplicity of the ideal norm, for coprime ideals. This is essentially just a repackaging of the Chinese Remainder Theorem.
theorem Ideal.mul_add_mem_pow_succ_inj E1 #
∀ {S : Type u_1} [inst : CommRing S] (P : Ideal S) {i : ℕ} (a d d' e e' : S),
a ∈ P ^ i → e ∈ P ^ (i + 1) → e' ∈ P ^ (i + 1) → d - d' ∈ P → a * d + e - (a * d' + e') ∈ P ^ (i + 1)
If the d from Ideal.exists_mul_add_mem_pow_succ is unique, up to P,
then so are the cs, up to P ^ (i + 1).
Inspired by [Neukirch], proposition 6.1
theorem Ideal.exists_mul_add_mem_pow_succ E1 #
∀ {S : Type u_1} [inst : CommRing S] {P : Ideal S} [P_prime : P.IsPrime] [IsDedekindDomain S],
P ≠ ⊥ → ∀ {i : ℕ} (a c : S), a ∈ P ^ i → a ∉ P ^ (i + 1) → c ∈ P ^ i → ∃ d, ∃ e ∈ P ^ (i + 1), a * d + e = c
If a ∈ P^i \ P^(i+1) and c ∈ P^i, then a * d + e = c for e ∈ P^(i+1).
Ideal.mul_add_mem_pow_succ_unique shows the choice of d is unique, up to P.
Inspired by [Neukirch], proposition 6.1
theorem Ideal.mem_prime_of_mul_mem_pow E0 #
∀ {S : Type u_1} [inst : CommRing S] [IsDedekindDomain S] {P : Ideal S} [P_prime : P.IsPrime],
P ≠ ⊥ → ∀ {i : ℕ} {a b : S}, a ∉ P ^ (i + 1) → a * b ∈ P ^ (i + 1) → b ∈ P
theorem Ideal.mul_add_mem_pow_succ_unique E1 #
∀ {S : Type u_1} [inst : CommRing S] {P : Ideal S} [P_prime : P.IsPrime] [IsDedekindDomain S],
P ≠ ⊥ →
∀ {i : ℕ} (a d d' e e' : S),
a ∉ P ^ (i + 1) → e ∈ P ^ (i + 1) → e' ∈ P ^ (i + 1) → a * d + e - (a * d' + e') ∈ P ^ (i + 1) → d - d' ∈ P
The choice of d in Ideal.exists_mul_add_mem_pow_succ is unique, up to P.
Inspired by [Neukirch], proposition 6.1
theorem cardQuot_pow_of_prime E1 #
∀ {S : Type u_1} [inst : CommRing S] {P : Ideal S} [P_prime : P.IsPrime] [IsDedekindDomain S],
P ≠ ⊥ → ∀ {i : ℕ}, Submodule.cardQuot (P ^ i) = Submodule.cardQuot P ^ i
Multiplicity of the ideal norm, for powers of prime ideals.
theorem cardQuot_mul E1 #
∀ {S : Type u_1} [inst : CommRing S] [IsDedekindDomain S] [Infinite S] (I J : Ideal S),
Submodule.cardQuot (I * J) = Submodule.cardQuot I * Submodule.cardQuot J
Multiplicativity of the ideal norm in number rings.
theorem Ring.HasFiniteQuotients.cardQuot_pos E1 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] (I : Ideal S), I ≠ ⊥ → 0 < Submodule.cardQuot I
theorem Ring.HasFiniteQuotients.finite_setOfPred_mem E1 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] (x : S), x ≠ 0 → {I | x ∈ I}.Finite
theorem Ring.HasFiniteQuotients.finite_cardQuot_le E3 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] (B : ℕ), {I | Submodule.cardQuot I ≤ B}.Finite
For every bound B, a ring with finite quotients has only finitely many ideals of norm bounded
by B.
theorem Ring.HasFiniteQuotients.finite_cardQuot_heightOneSpectrum_le E1 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] (B : ℕ), {p | Submodule.cardQuot p.asIdeal ≤ B}.Finite
A ring with finite quotients has only finitely many nonzero prime ideals of bounded norm.
def Ideal.absNorm E3 #
{S : Type u_1} → [inst : CommRing S] → [IsDedekindDomain S] → Ideal S →*₀ ℕ
The absolute norm of the ideal I : Ideal S is the cardinality of the quotient S ⧸ I,
with the junk value 0 at I = ⊥.
theorem Ideal.absNorm_bot E0 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S], Ideal.absNorm ⊥ = 0
theorem Ideal.absNorm_top E0 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S], Ideal.absNorm ⊤ = 1
theorem Ideal.absNorm_of_ne_bot E3 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {I : Ideal S},
I ≠ ⊥ → Ideal.absNorm I = Submodule.cardQuot I
Away from ⊥, the absolute norm is the cardinality of the quotient.
theorem Ideal.absNorm_apply E3 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Infinite S] (I : Ideal S),
Ideal.absNorm I = Submodule.cardQuot I
Over an infinite ring, the absolute norm is the cardinality of the quotient for every ideal.
theorem Ideal.absNorm_eq_natCard E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Infinite S] (I : Ideal S),
Ideal.absNorm I = Nat.card (S ⧸ I)
Over an infinite ring, the absolute norm of I is the cardinality of the quotient S ⧸ I.
theorem Ring.HasFiniteQuotients.finite_absNorm_le E1 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] [inst_2 : IsDedekindDomain S] (B : ℕ),
{I | Ideal.absNorm I ≤ B}.Finite
A ring with finite quotients has only finitely many ideals of bounded norm.
theorem Ring.HasFiniteQuotients.finite_absNorm_eq E0 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] [inst_2 : IsDedekindDomain S] (B : ℕ),
{I | Ideal.absNorm I = B}.Finite
A ring with finite quotients has only finitely many ideals of given norm.
theorem Ring.HasFiniteQuotients.finite_absNorm_le₀ E1 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] [inst_2 : IsDedekindDomain S] (B : ℕ),
{I | Ideal.absNorm ↑I ≤ B}.Finite
A ring with finite quotients has only finitely many nonzero ideals of bounded norm.
theorem Ring.HasFiniteQuotients.finite_absNorm_heightOneSpectrum_le E1 #
∀ {S : Type u_1} [inst : CommRing S] [Ring.HasFiniteQuotients S] [inst_2 : IsDedekindDomain S] (B : ℕ),
{p | Ideal.absNorm p.asIdeal ≤ B}.Finite
A ring with finite quotients has only finitely many nonzero prime ideals of bounded norm.
theorem Ideal.absNorm_eq_one_iff E0 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {I : Ideal S}, Ideal.absNorm I = 1 ↔ I = ⊤
theorem Ideal.absNorm_dvd_absNorm_of_le E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {I J : Ideal S},
J ≤ I → Ideal.absNorm I ∣ Ideal.absNorm J
theorem Ideal.irreducible_of_irreducible_absNorm E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {I : Ideal S},
Irreducible (Ideal.absNorm I) → Irreducible I
theorem Ideal.isPrime_of_irreducible_absNorm E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {I : Ideal S},
Irreducible (Ideal.absNorm I) → I.IsPrime
theorem Ideal.prime_of_irreducible_absNorm_span E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {a : S},
Irreducible (Ideal.absNorm (Ideal.span {a})) → Prime a
theorem Ideal.absNorm_mem E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] (I : Ideal S), ↑(Ideal.absNorm I) ∈ I
theorem Ideal.span_singleton_absNorm_le E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] (I : Ideal S), Ideal.span {↑(Ideal.absNorm I)} ≤ I
theorem Ideal.span_singleton_absNorm E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] {I : Ideal S},
Nat.Prime (Ideal.absNorm I) → Ideal.span {↑(Ideal.absNorm I)} = Ideal.comap (algebraMap ℤ S) I
theorem Ideal.absNorm_eq_index E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Infinite S] (I : Ideal S),
Ideal.absNorm I = (Submodule.toAddSubgroup I).index
theorem Ideal.absNorm_ne_zero_iff E0 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Infinite S] (I : Ideal S),
Ideal.absNorm I ≠ 0 ↔ Finite (S ⧸ I)
theorem Ideal.absNorm_eq_zero_iff E0 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Ring.HasFiniteQuotients S] {I : Ideal S},
Ideal.absNorm I = 0 ↔ I = ⊥
theorem Ideal.absNorm_ne_zero_iff_mem_nonZeroDivisors E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Ring.HasFiniteQuotients S] {I : Ideal S},
Ideal.absNorm I ≠ 0 ↔ I ∈ nonZeroDivisors (Ideal S)
theorem Ideal.absNorm_pos_iff_mem_nonZeroDivisors E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Ring.HasFiniteQuotients S] {I : Ideal S},
0 < Ideal.absNorm I ↔ I ∈ nonZeroDivisors (Ideal S)
theorem Ideal.absNorm_ne_zero_of_nonZeroDivisors E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Ring.HasFiniteQuotients S]
(I : ↥(nonZeroDivisors (Ideal S))), Ideal.absNorm ↑I ≠ 0
theorem Ideal.absNorm_pos_of_nonZeroDivisors E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Ring.HasFiniteQuotients S]
(I : ↥(nonZeroDivisors (Ideal S))), 0 < Ideal.absNorm ↑I
theorem Ideal.card_norm_le_eq_card_norm_le_add_one E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Ring.HasFiniteQuotients S] (n : ℕ),
Nat.card { I // Ideal.absNorm I ≤ n } = Nat.card { I // Ideal.absNorm ↑I ≤ n } + 1
theorem Ideal.instInfinite E1 #
∀ {S : Type u_1} [inst : CommRing S] [IsDedekindDomain S] [Module.Free ℤ S], Infinite S
theorem Ideal.natAbs_det_equiv E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] (I : Ideal S)
{E : Type u_2} [inst_4 : EquivLike E S ↥I] [inst_5 : AddEquivClass E S ↥I] (e : E),
(LinearMap.det (↑ℤ (Submodule.subtype I) ∘ₗ (↑e).toIntLinearMap)).natAbs = Ideal.absNorm I
Let e : S ≃ I be an additive isomorphism (therefore a ℤ-linear equiv).
Then an alternative way to compute the norm of I is given by taking the determinant of e.
See natAbs_det_basis_change for a more familiar formulation of this result.
theorem Ideal.natAbs_det_basis_change E3 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] {ι : Type u_2}
[inst_4 : Fintype ι] [inst_5 : DecidableEq ι] (b : Module.Basis ι ℤ S) (I : Ideal S) (bI : Module.Basis ι ℤ ↥I),
(b.det (Subtype.val ∘ ⇑bI)).natAbs = Ideal.absNorm I
Let b be a basis for S over ℤ and bI a basis for I over ℤ of the same dimension.
Then an alternative way to compute the norm of I is given by taking the determinant of bI
over b.
theorem Ideal.absNorm_span_singleton E3 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] (r : S),
Ideal.absNorm (Ideal.span {r}) = ((Algebra.norm ℤ) r).natAbs
theorem Ideal.absNorm_span_natCast E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] (n : ℕ),
Ideal.absNorm (Ideal.span {↑n}) = n ^ Module.finrank ℤ S
theorem Ideal.absNorm_dvd_norm_of_mem E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] {I : Ideal S}
{x : S}, x ∈ I → ↑(Ideal.absNorm I) ∣ (Algebra.norm ℤ) x
theorem Ideal.absNorm_span_insert E0 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] (r : S)
(s : Set S), Ideal.absNorm (Ideal.span (insert r s)) ∣ gcd (Ideal.absNorm (Ideal.span s)) ((Algebra.norm ℤ) r).natAbs
theorem Ideal.exists_prime_and_absNorm_eq_pow E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] (P : Ideal S)
[P.IsMaximal], ∃ p n, 0 < n ∧ ↑p ∈ P ∧ Nat.Prime p ∧ Ideal.absNorm P = p ^ n
The norm of a maximal ideal is a prime power.
The prime is (P.under ℤ).absNorm and the exponent is (P.under ℤ).inertialDeg P.
See Ideal.absNorm_pow_inertiaDeg.
theorem Ideal.exists_isMaximal_dvd_of_dvd_absNorm E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] {p : ℤ},
Prime p → ∀ (I : Ideal S), p ∣ ↑(Ideal.absNorm I) → ∃ P, P.IsMaximal ∧ Ideal.under ℤ P = Ideal.span {p} ∧ P ∣ I
theorem Ideal.exists_isMaximal_dvd_of_dvd_absNorm' E1 #
∀ {S : Type u_1} [inst : CommRing S] [inst_1 : IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] {p : ℕ},
Nat.Prime p → ∀ (I : Ideal S), p ∣ Ideal.absNorm I → ∃ P, P.IsMaximal ∧ Ideal.under ℤ P = Ideal.span {↑p} ∧ P ∣ I
A version that takes a natural number and Nat.Prime.
theorem Ideal.norm_dvd_iff E0 #
∀ {S : Type u_1} [inst : CommRing S] [IsDedekindDomain S] [Module.Finite ℤ S] [Module.Free ℤ S] {x : S},
Prime ((Algebra.norm ℤ) x) → ∀ {y : ℤ}, (Algebra.norm ℤ) x ∣ y ↔ x ∣ ↑y
theorem Int.ideal_span_absNorm_eq_self E0 #
∀ (J : Ideal ℤ), Ideal.span {↑(Ideal.absNorm J)} = J
theorem Int.prime_absNorm E0 #
∀ (J : Ideal ℤ), Nat.Prime (Ideal.absNorm J) ↔ Prime J
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Ideal.absNorm_eq_zero_iff' | Ideal.absNorm_eq_zero_iff | 2026-10-23 |
Ideal.absNorm_ne_zero_iff_mem_nonZeroDivisors' | Ideal.absNorm_ne_zero_iff_mem_nonZeroDivisors | 2026-10-23 |
Ideal.absNorm_ne_zero_of_nonZeroDivisors' | Ideal.absNorm_ne_zero_of_nonZeroDivisors | 2026-10-23 |
Ideal.absNorm_pos_iff_mem_nonZeroDivisors' | Ideal.absNorm_pos_iff_mem_nonZeroDivisors | 2026-10-23 |
Ideal.absNorm_pos_of_nonZeroDivisors' | Ideal.absNorm_pos_of_nonZeroDivisors | 2026-10-23 |
Ideal.card_norm_le_eq_card_norm_le_add_one' | Ideal.card_norm_le_eq_card_norm_le_add_one | 2026-10-23 |
Ideal.finite_setOfPred_absNorm_eq | Ring.HasFiniteQuotients.finite_absNorm_eq | 2026-10-26 |
Ideal.finite_setOfPred_absNorm_le | Ring.HasFiniteQuotients.finite_absNorm_le | 2026-10-26 |
Ideal.finite_setOfPred_absNorm_le₀ | Ring.HasFiniteQuotients.finite_absNorm_le₀ | 2026-10-26 |
Ideal.finite_setOf_absNorm_eq | Ring.HasFiniteQuotients.finite_absNorm_eq | 2026-07-09 |
Ideal.finite_setOf_absNorm_le | Ring.HasFiniteQuotients.finite_absNorm_le | 2026-07-09 |
Ideal.finite_setOf_absNorm_le₀ | Ring.HasFiniteQuotients.finite_absNorm_le₀ | 2026-07-09 |
Ring.HasFiniteQuotients.finite_setOf_mem | Ring.HasFiniteQuotients.finite_setOfPred_mem | 2026-07-09 |