The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.DedekindDomain.Factorization
68 declarations and 4 deprecated aliases. Mathlib docs · Source
Factorization of ideals and fractional ideals of Dedekind domains
Every nonzero ideal I of a Dedekind domain R can be factored as a product ∏_v v^{n_v} over the
maximal ideals of R, where the exponents n_v are natural numbers.
Similarly, every nonzero fractional ideal I of a Dedekind domain R can be factored as a product
∏_v v^{n_v} over the maximal ideals of R, where the exponents n_v are integers. We define
FractionalIdeal.count K v I (abbreviated as val_v(I) in the documentation) to be n_v, and we
prove some of its properties. If I = 0, we define val_v(I) = 0.
Main definitions
FractionalIdeal.count: IfIis a nonzero fractional ideal,a ∈ R, andJis an ideal ofRsuch thatI = a⁻¹J, then we defineval_v(I)as(val_v(J) - val_v(a)). IfI = 0, we setval_v(I) = 0.
Main results
Ideal.finite_factors: Only finitely many maximal ideals ofRdivide a given nonzero ideal.Ideal.finprod_heightOneSpectrum_factorization: The idealIequals the finprod∏_v v^(val_v(I)), whereval_v(I)denotes the multiplicity ofvin the factorization ofIandvruns over the maximal ideals ofR.FractionalIdeal.finprod_heightOneSpectrum_factorization: IfIis a nonzero fractional ideal,a ∈ R, andJis an ideal ofRsuch thatI = a⁻¹J, thenIis equal to the product∏_v v^(val_v(J) - val_v(a)).FractionalIdeal.finprod_heightOneSpectrum_factorization': IfIis a nonzero fractional ideal, thenIis equal to the product∏_v v^(val_v(I)).FractionalIdeal.finprod_heightOneSpectrum_factorization_principal: For a nonzerok = r/s ∈ K, the fractional ideal(k)is equal to the product∏_v v^(val_v(r) - val_v(s)).FractionalIdeal.finite_factors: IfI ≠ 0, thenval_v(I) = 0for all but finitely many maximal ideals ofR.IsDedekindDomain.exists_sup_span_eq: For all ideals0 < I ≤ J, there existsasuch thatJ = I + ⟨a⟩.ClassGroup.exists_mk0_eq_and_isCoprime: every ideal class contains an integral ideal coprime to a given nonzero ideal.Ideal.map_algebraMap_eq_finsetProd_pow: ifpis a maximal ideal, then the lift ofpin an extension is the product of the primes overpto the power the ramification index.
Implementation notes
Since we are only interested in the factorization of nonzero fractional ideals, we define
val_v(0) = 0 so that every val_v is in ℤ and we can avoid having to use WithTop ℤ.
Tags
dedekind domain, fractional ideal, ideal, factorization
Factorization of ideals of Dedekind domains
Factorization of fractional ideals of Dedekind domains
Conversion between various multiplicities
We provide some lemmas that convert various ways of expressing the multiplicity of
a prime ideal p in the factorization of some ideal I into multiplicity p.asIdeal I.
Lemmas about multiplicities
We collect here lemmas about the multiplicity of a prime ideal p in the factorization
of some ideal I.
These are phrased in terms of multiplicity p.asIdeal I.
theorem IsDedekindDomain.HeightOneSpectrum.equivPrimesOver.congr_simp E1 #
∀ {A : Type u_4} [inst : CommRing A] {p : Ideal A} [hpm : p.IsMaximal] (B : Type u_5) [inst_1 : CommRing B]
[inst_2 : IsDedekindDomain B] [inst_3 : Algebra A B] [inst_4 : IsDomain A] [inst_5 : Module.IsTorsionFree A B]
(hp : p ≠ 0),
IsDedekindDomain.HeightOneSpectrum.equivPrimesOver B hp = IsDedekindDomain.HeightOneSpectrum.equivPrimesOver B hp
theorem FractionalIdeal.divMod.congr_simp E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (c c_1 : FractionalIdeal (nonZeroDivisors R) K),
c = c_1 →
∀ (b b_1 : FractionalIdeal (nonZeroDivisors R) K),
b = b_1 → ∀ (a a_1 : FractionalIdeal (nonZeroDivisors R) K), a = a_1 → c.divMod b a = c_1.divMod b_1 a_1
theorem FractionalIdeal.count.congr_simp E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v v_1 : IsDedekindDomain.HeightOneSpectrum R),
v = v_1 →
∀ (I I_1 : FractionalIdeal (nonZeroDivisors R) K),
I = I_1 → FractionalIdeal.count K v I = FractionalIdeal.count K v_1 I_1
theorem IsDedekindDomain.HeightOneSpectrum.maxPowDividing.congr_simp E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] (v v_1 : IsDedekindDomain.HeightOneSpectrum R),
v = v_1 → ∀ (I I_1 : Ideal R), I = I_1 → v.maxPowDividing I = v_1.maxPowDividing I_1
def IsDedekindDomain.HeightOneSpectrum.maxPowDividing E1 #
{R : Type u_1} → [inst : CommRing R] → [IsDedekindDomain R] → IsDedekindDomain.HeightOneSpectrum R → Ideal R → Ideal R
Given a maximal ideal v and an ideal I of R, maxPowDividing returns the maximal
power of v dividing I.
theorem IsDedekindDomain.HeightOneSpectrum.maxPowDividing_eq_pow_multiset_count E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
{I : Ideal R},
I ≠ 0 → v.maxPowDividing I = v.asIdeal ^ Multiset.count v.asIdeal (UniqueFactorizationMonoid.normalizedFactors I)
theorem Ideal.finite_factors E3 #
∀ {R : Type u_1} [inst : CommRing R] [IsDedekindDomain R] {I : Ideal R}, I ≠ 0 → {v | v.asIdeal ∣ I}.Finite
Only finitely many maximal ideals of R divide a given nonzero ideal.
theorem Associates.finite_factors E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R},
I ≠ 0 →
∀ᶠ (v : IsDedekindDomain.HeightOneSpectrum R) in Filter.cofinite,
↑((Associates.mk v.asIdeal).count (Associates.mk I).factors) = 0
For every nonzero ideal I of v, there are finitely many maximal ideals v such that the
multiplicity of v in the factorization of I, denoted val_v(I), is nonzero.
theorem Ideal.hasFiniteMulSupport E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R},
I ≠ 0 → Function.HasFiniteMulSupport fun v ↦ v.maxPowDividing I
For every nonzero ideal I of v, there are finitely many maximal ideals v such that
v^(val_v(I)) is not the unit ideal.
theorem Ideal.hasFiniteMulSupport_coeIdeal E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : Ideal R},
I ≠ 0 → Function.HasFiniteMulSupport fun v ↦ ↑v.asIdeal ^ ↑((Associates.mk v.asIdeal).count (Associates.mk I).factors)
For every nonzero ideal I of v, there are finitely many maximal ideals v such that
v^(val_v(I)), regarded as a fractional ideal, is not (1).
theorem Ideal.hasFiniteMulSupport_inv E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : Ideal R},
I ≠ 0 →
Function.HasFiniteMulSupport fun v ↦ ↑v.asIdeal ^ (-↑((Associates.mk v.asIdeal).count (Associates.mk I).factors))
For every nonzero ideal I of v, there are finitely many maximal ideals v such that
v^-(val_v(I)) is not the unit ideal.
theorem Ideal.finprod_not_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(I : Ideal R),
I ≠ 0 →
¬v.asIdeal ^ ((Associates.mk v.asIdeal).count (Associates.mk I).factors + 1) ∣
∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R), v.maxPowDividing I
For every nonzero ideal I of v, v^(val_v(I) + 1) does not divide ∏_v v^(val_v(I)).
theorem Associates.finprod_ne_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] (I : Ideal R),
Associates.mk (∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R), v.maxPowDividing I) ≠ 0
theorem Ideal.finprod_count E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(I : Ideal R),
I ≠ 0 →
(Associates.mk v.asIdeal).count
(Associates.mk (∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R), v.maxPowDividing I)).factors =
(Associates.mk v.asIdeal).count (Associates.mk I).factors
The multiplicity of v in ∏_v v^(val_v(I)) equals val_v(I).
theorem Ideal.finprod_heightOneSpectrum_factorization E3 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R},
I ≠ 0 → ∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R), v.maxPowDividing I = I
The ideal I equals the finprod ∏_v v^(val_v(I)).
theorem Ideal.iInf_maxPowDividing_eq E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R}, I ≠ 0 → ⨅ i, i.maxPowDividing I = I
The ideal I equals the inf ⨅_v v^(val_v(I)).
theorem Ideal.finprod_heightOneSpectrum_factorization_coeIdeal E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : Ideal R},
I ≠ 0 →
∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R),
↑v.asIdeal ^ ↑((Associates.mk v.asIdeal).count (Associates.mk I).factors) =
↑I
The ideal I equals the finprod ∏_v v^(val_v(I)), when both sides are regarded as fractional
ideals of R.
theorem FractionalIdeal.finprod_heightOneSpectrum_factorization E3 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 →
∀ {a : R} {J : Ideal R},
I = (FractionalIdeal.spanSingleton (nonZeroDivisors R)) ((algebraMap R K) a)⁻¹ * ↑J →
∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R),
↑v.asIdeal ^
(↑((Associates.mk v.asIdeal).count (Associates.mk J).factors) -
↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {a})).factors)) =
I
If I is a nonzero fractional ideal, a ∈ R, and J is an ideal of R such that
I = a⁻¹J, then I is equal to the product ∏_v v^(val_v(J) - val_v(a)).
theorem FractionalIdeal.finprod_heightOneSpectrum_factorization_principal_fraction E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {n : R},
n ≠ 0 →
∀ (d : ↥(nonZeroDivisors R)),
∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R),
↑v.asIdeal ^
(↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {n})).factors) -
↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {↑d})).factors)) =
(FractionalIdeal.spanSingleton (nonZeroDivisors R)) (IsLocalization.mk' K n d)
For a nonzero k = r/s ∈ K, the fractional ideal (k) is equal to the product
∏_v v^(val_v(r) - val_v(s)).
theorem FractionalIdeal.finprod_heightOneSpectrum_factorization_principal E3 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 →
∀ (k : K),
I = (FractionalIdeal.spanSingleton (nonZeroDivisors R)) k →
∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R),
↑v.asIdeal ^
(↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {Classical.choose ⋯})).factors) -
↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {↑(Classical.choose ⋯)})).factors)) =
I
For a nonzero k = r/s ∈ K, the fractional ideal (k) is equal to the product
∏_v v^(val_v(r) - val_v(s)).
def FractionalIdeal.count E3 #
{R : Type u_1} →
[inst : CommRing R] →
(K : Type u_2) →
[inst_1 : Field K] →
[inst_2 : Algebra R K] →
[IsFractionRing R K] →
[IsDedekindDomain R] → IsDedekindDomain.HeightOneSpectrum R → FractionalIdeal (nonZeroDivisors R) K → ℤ
If I is a nonzero fractional ideal, a ∈ R, and J is an ideal of R such that I = a⁻¹J,
then we define val_v(I) as (val_v(J) - val_v(a)). If I = 0, we set val_v(I) = 0.
theorem FractionalIdeal.count_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R),
FractionalIdeal.count K v 0 = 0
val_v(0) = 0.
theorem FractionalIdeal.count_ne_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
{I : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 →
FractionalIdeal.count K v I =
↑((Associates.mk v.asIdeal).count (Associates.mk (Classical.choose ⋯)).factors) -
↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {Classical.choose ⋯})).factors)
theorem FractionalIdeal.count_well_defined E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
{I : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 →
∀ {a : R} {J : Ideal R},
I = (FractionalIdeal.spanSingleton (nonZeroDivisors R)) ((algebraMap R K) a)⁻¹ * ↑J →
FractionalIdeal.count K v I =
↑((Associates.mk v.asIdeal).count (Associates.mk J).factors) -
↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {a})).factors)
val_v(I) does not depend on the choice of a and J used to represent I.
theorem FractionalIdeal.count_mul E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
{I I' : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 → I' ≠ 0 → FractionalIdeal.count K v (I * I') = FractionalIdeal.count K v I + FractionalIdeal.count K v I'
For nonzero I, I', val_v(I*I') = val_v(I) + val_v(I').
theorem FractionalIdeal.count_mul' E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(I I' : FractionalIdeal (nonZeroDivisors R) K) [inst_5 : Decidable (I ≠ 0 ∧ I' ≠ 0)],
FractionalIdeal.count K v (I * I') =
if I ≠ 0 ∧ I' ≠ 0 then FractionalIdeal.count K v I + FractionalIdeal.count K v I' else 0
For nonzero I, I', val_v(I*I') = val_v(I) + val_v(I'). If I or I' is zero, then
val_v(I*I') = 0.
theorem FractionalIdeal.count_one E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R),
FractionalIdeal.count K v 1 = 0
val_v(1) = 0.
theorem FractionalIdeal.count_prod E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) {ι : Type u_3}
(s : Finset ι) (I : ι → FractionalIdeal (nonZeroDivisors R) K),
(∀ i ∈ s, I i ≠ 0) → FractionalIdeal.count K v (∏ i ∈ s, I i) = ∑ i ∈ s, FractionalIdeal.count K v (I i)
theorem FractionalIdeal.count_pow E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) (n : ℕ)
(I : FractionalIdeal (nonZeroDivisors R) K), FractionalIdeal.count K v (I ^ n) = ↑n * FractionalIdeal.count K v I
For every n ∈ ℕ and every ideal I, val_v(I^n) = n*val_v(I).
theorem FractionalIdeal.count_self E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R),
FractionalIdeal.count K v ↑v.asIdeal = 1
val_v(v) = 1, when v is regarded as a fractional ideal.
theorem FractionalIdeal.count_pow_self E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) (n : ℕ),
FractionalIdeal.count K v (↑v.asIdeal ^ n) = ↑n
val_v(v^n) = n for every n ∈ ℕ.
theorem FractionalIdeal.count_neg_zpow E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) (n : ℤ)
(I : FractionalIdeal (nonZeroDivisors R) K), FractionalIdeal.count K v (I ^ (-n)) = -FractionalIdeal.count K v (I ^ n)
val_v(I⁻ⁿ) = -val_v(Iⁿ) for every n ∈ ℤ.
theorem FractionalIdeal.count_inv E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(I : FractionalIdeal (nonZeroDivisors R) K), FractionalIdeal.count K v I⁻¹ = -FractionalIdeal.count K v I
theorem FractionalIdeal.count_zpow E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) (n : ℤ)
(I : FractionalIdeal (nonZeroDivisors R) K), FractionalIdeal.count K v (I ^ n) = n * FractionalIdeal.count K v I
val_v(Iⁿ) = n*val_v(I) for every n ∈ ℤ.
theorem FractionalIdeal.count_zpow_self E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) (n : ℤ),
FractionalIdeal.count K v (↑v.asIdeal ^ n) = n
val_v(v^n) = n for every n ∈ ℤ.
theorem FractionalIdeal.count_maximal_coprime E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
{w : IsDedekindDomain.HeightOneSpectrum R}, w ≠ v → FractionalIdeal.count K v ↑w.asIdeal = 0
If v ≠ w are two maximal ideals of R, then val_v(w) = 0.
theorem FractionalIdeal.count_maximal E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v w : IsDedekindDomain.HeightOneSpectrum R)
[inst_5 : Decidable (w = v)], FractionalIdeal.count K v ↑w.asIdeal = if w = v then 1 else 0
theorem FractionalIdeal.count_finprod_coprime E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(exps : IsDedekindDomain.HeightOneSpectrum R → ℤ),
FractionalIdeal.count K v (∏ᶠ (w : IsDedekindDomain.HeightOneSpectrum R) (_ : w ≠ v), ↑w.asIdeal ^ exps w) = 0
val_v(∏_{w ≠ v} w^{exps w}) = 0.
theorem FractionalIdeal.count_finsuppProd E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(exps : IsDedekindDomain.HeightOneSpectrum R →₀ ℤ),
FractionalIdeal.count K v (exps.prod fun x1 x2 ↦ ↑x1.asIdeal ^ x2) = exps v
theorem FractionalIdeal.count_finprod E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
(exps : IsDedekindDomain.HeightOneSpectrum R → ℤ),
(∀ᶠ (v : IsDedekindDomain.HeightOneSpectrum R) in Filter.cofinite, exps v = 0) →
FractionalIdeal.count K v (∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R), ↑v.asIdeal ^ exps v) = exps v
If exps is finitely supported, then val_v(∏_w w^{exps w}) = exps v.
theorem FractionalIdeal.count_coeIdeal E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) {J : Ideal R},
J ≠ 0 → FractionalIdeal.count K v ↑J = ↑((Associates.mk v.asIdeal).count (Associates.mk J).factors)
theorem FractionalIdeal.count_coeIdeal_nonneg E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R) (J : Ideal R),
0 ≤ FractionalIdeal.count K v ↑J
theorem FractionalIdeal.count_mono E1 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (v : IsDedekindDomain.HeightOneSpectrum R)
{I J : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 → I ≤ J → FractionalIdeal.count K v J ≤ FractionalIdeal.count K v I
theorem FractionalIdeal.finprod_heightOneSpectrum_factorization' E3 #
∀ {R : Type u_1} [inst : CommRing R] (K : Type u_2) [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 → ∏ᶠ (v : IsDedekindDomain.HeightOneSpectrum R), ↑v.asIdeal ^ FractionalIdeal.count K v I = I
If I is a nonzero fractional ideal, then I is equal to the product ∏_v v^(count K v I).
theorem FractionalIdeal.finite_factors' E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I : FractionalIdeal (nonZeroDivisors R) K},
I ≠ 0 →
∀ {a : R} {J : Ideal R},
I = (FractionalIdeal.spanSingleton (nonZeroDivisors R)) ((algebraMap R K) a)⁻¹ * ↑J →
∀ᶠ (v : IsDedekindDomain.HeightOneSpectrum R) in Filter.cofinite,
↑((Associates.mk v.asIdeal).count (Associates.mk J).factors) -
↑((Associates.mk v.asIdeal).count (Associates.mk (Ideal.span {a})).factors) =
0
If I ≠ 0, then val_v(I) = 0 for all but finitely many maximal ideals of R.
theorem FractionalIdeal.finite_factors E3 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] (I : FractionalIdeal (nonZeroDivisors R) K),
∀ᶠ (v : IsDedekindDomain.HeightOneSpectrum R) in Filter.cofinite, FractionalIdeal.count K v I = 0
val_v(I) = 0 for all but finitely many maximal ideals of R.
theorem IsDedekindDomain.exists_sup_span_eq E3 #
∀ {R : Type u_1} [inst : CommRing R] [IsDedekindDomain R] {I J : Ideal R}, I ≤ J → I ≠ 0 → ∃ a, I ⊔ Ideal.span {a} = J
In a Dedekind domain, for every ideals 0 < I ≤ J there exists a such that J = I + ⟨a⟩.
TODO: Show that this property uniquely characterizes Dedekind domains.
theorem IsDedekindDomain.exists_eq_span_pair E1 #
∀ {R : Type u_1} [inst : CommRing R] [IsDedekindDomain R] {I : Ideal R} {x : R},
x ∈ I → x ≠ 0 → ∃ y, I = Ideal.span {x, y}
In a Dedekind domain, any ideal is spanned by two elements, where one of the element could be any fixed non-zero element in the ideal.
theorem IsDedekindDomain.exists_add_spanSingleton_mul_eq E0 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [IsDedekindDomain R] {a b c : FractionalIdeal (nonZeroDivisors R) K},
a ≤ c → a ≠ 0 → b ≠ 0 → ∃ x, a + (FractionalIdeal.spanSingleton (nonZeroDivisors R)) x * b = c
theorem ClassGroup.exists_mk0_eq_and_isCoprime E3 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] (C : ClassGroup R) {J : Ideal R},
J ≠ ⊥ → ∃ I, ClassGroup.mk0 I = C ∧ IsCoprime (↑I) J
In a Dedekind domain, every ideal class contains an integral ideal coprime to a given nonzero
ideal J.
def FractionalIdeal.divMod E1 #
{R : Type u_1} →
[inst : CommRing R] →
{K : Type u_2} →
[inst_1 : Field K] →
[inst_2 : Algebra R K] →
[IsFractionRing R K] →
[IsDedekindDomain R] →
FractionalIdeal (nonZeroDivisors R) K →
FractionalIdeal (nonZeroDivisors R) K → FractionalIdeal (nonZeroDivisors R) K → K
c.divMod b a (i.e. c / b mod a) is an arbitrary x such that c = bx + a.
This is zero if the above is not possible, i.e. when a = 0 or b = 0 or ¬ a ≤ c.
theorem FractionalIdeal.divMod_spec E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {a b c : FractionalIdeal (nonZeroDivisors R) K},
a ≤ c → a ≠ 0 → b ≠ 0 → a + (FractionalIdeal.spanSingleton (nonZeroDivisors R)) (c.divMod b a) * b = c
theorem FractionalIdeal.divMod_zero_left E0 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I J : FractionalIdeal (nonZeroDivisors R) K},
I.divMod 0 J = 0
theorem FractionalIdeal.divMod_zero_right E0 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I J : FractionalIdeal (nonZeroDivisors R) K},
I.divMod J 0 = 0
theorem FractionalIdeal.zero_divMod E0 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {I J : FractionalIdeal (nonZeroDivisors R) K},
FractionalIdeal.divMod 0 I J = 0
theorem FractionalIdeal.divMod_zero_of_not_le E1 #
∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
[inst_3 : IsFractionRing R K] [inst_4 : IsDedekindDomain R] {a b c : FractionalIdeal (nonZeroDivisors R) K},
¬a ≤ c → c.divMod b a = 0
def FractionalIdeal.quotientEquiv E1 #
{R : Type u_1} →
[inst : CommRing R] →
{K : Type u_2} →
[inst_1 : Field K] →
[inst_2 : Algebra R K] →
[IsFractionRing R K] →
[IsDedekindDomain R] →
(I J I' J' : FractionalIdeal (nonZeroDivisors R) K) →
I * J' = I' * J →
J ≤ I →
J' ≤ I' →
J' ≠ 0 →
I ≠ 0 → (↥↑I ⧸ Submodule.comap (↑I).subtype ↑J) ≃ₗ[R] ↥↑I' ⧸ Submodule.comap (↑I').subtype ↑J'
Let I J I' J' be nonzero fractional ideals in a Dedekind domain with J ≤ I and J' ≤ I'.
If I/J = I'/J' in the group of fractional ideals (i.e. I * J' = I' * J),
then I/J ≃ I'/J' as quotient R-modules.
theorem Ideal.map_algebraMap_eq_finsetProd_pow E3 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {S : Type u_3} [inst_2 : CommRing S]
[inst_3 : Algebra S R] [inst_4 : Algebra.IsIntegral S R] [inst_5 : IsDomain S] [inst_6 : Module.IsTorsionFree S R]
{p : Ideal S} [inst_7 : p.IsMaximal],
p ≠ 0 → Ideal.map (algebraMap S R) p = ∏ P ∈ (p.primesOver R).toFinset, P ^ P.ramificationIdx S
If p is a maximal ideal, then the lift of p in an extension is the product of the primes
over p to the power the ramification index.
theorem IsDedekindDomain.HeightOneSpectrum.count_normalizedFactors_eq_multiplicity E0 #
∀ {R : Type u_3} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R},
I ≠ ⊥ →
∀ (p : IsDedekindDomain.HeightOneSpectrum R),
Multiset.count p.asIdeal (UniqueFactorizationMonoid.normalizedFactors I) = multiplicity p.asIdeal I
Normalize the multiplicity of a prime ideal p in the factorization of I
as multiplicity p.asIdeal I.
theorem IsDedekindDomain.HeightOneSpectrum.maxPowDividing_eq_pow_multiplicity E1 #
∀ {R : Type u_3} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R},
I ≠ ⊥ → ∀ (p : IsDedekindDomain.HeightOneSpectrum R), p.maxPowDividing I = p.asIdeal ^ multiplicity p.asIdeal I
Normalize the multiplicity of a prime ideal p in the factorization of I
as multiplicity p.asIdeal I.
theorem IsDedekindDomain.HeightOneSpectrum.factorization_eq_multiplicity E0 #
∀ {R : Type u_3} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {I : Ideal R},
I ≠ ⊥ → ∀ (p : IsDedekindDomain.HeightOneSpectrum R), (factorization I) p.asIdeal = multiplicity p.asIdeal I
Normalize the multiplicity of a prime ideal p in the factorization of I
as multiplicity p.asIdeal I.
theorem Ideal.emultiplicity_bot E0 #
∀ {R : Type u_3} [inst : CommSemiring R] (I : Ideal R), emultiplicity I ⊥ = ⊤
theorem Ideal.finprod_heightOneSpectrum_pow_multiplicity E1 #
∀ {R : Type u_3} [inst : CommRing R] [IsDedekindDomain R] {I : Ideal R},
I ≠ ⊥ → ∏ᶠ (p : IsDedekindDomain.HeightOneSpectrum R), p.asIdeal ^ multiplicity p.asIdeal I = I
theorem IsDedekindDomain.HeightOneSpectrum.multiplicity_le_of_ideal_ge E1 #
∀ {R : Type u_3} [inst : CommRing R] [IsDedekindDomain R] (p : IsDedekindDomain.HeightOneSpectrum R) {I J : Ideal R},
J ≤ I → J ≠ ⊥ → multiplicity p.asIdeal I ≤ multiplicity p.asIdeal J
theorem IsDedekindDomain.HeightOneSpectrum.multiplicity_sup E1 #
∀ {R : Type u_3} [inst : CommRing R] [IsDedekindDomain R] (p : IsDedekindDomain.HeightOneSpectrum R) {I J : Ideal R},
I ≠ ⊥ → J ≠ ⊥ → multiplicity p.asIdeal (I ⊔ J) = min (multiplicity p.asIdeal I) (multiplicity p.asIdeal J)
theorem IsDedekindDomain.HeightOneSpectrum.emultiplicity_sup E1 #
∀ {R : Type u_3} [inst : CommRing R] [IsDedekindDomain R] (p : IsDedekindDomain.HeightOneSpectrum R) (I J : Ideal R),
emultiplicity p.asIdeal (I ⊔ J) = min (emultiplicity p.asIdeal I) (emultiplicity p.asIdeal J)
theorem IsDedekindDomain.HeightOneSpectrum.emultiplicity_iSup E1 #
∀ {R : Type u_3} [inst : CommRing R] [IsDedekindDomain R] (p : IsDedekindDomain.HeightOneSpectrum R) {ι : Type u_4}
[Finite ι] (I : ι → Ideal R), emultiplicity p.asIdeal (⨆ i, I i) = ⨅ i, emultiplicity p.asIdeal (I i)
theorem IsDedekindDomain.HeightOneSpectrum.multiplicity_iSup E1 #
∀ {R : Type u_3} [inst : CommRing R] [IsDedekindDomain R] (p : IsDedekindDomain.HeightOneSpectrum R) {ι : Type u_4}
[Finite ι] [Nonempty ι] {I : ι → Ideal R},
(∀ (i : ι), I i ≠ ⊥) → multiplicity p.asIdeal (⨆ i, I i) = ⨅ i, multiplicity p.asIdeal (I i)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
FractionalIdeal.count_coe | FractionalIdeal.count_coeIdeal | 2026-11-10 |
FractionalIdeal.count_coe_nonneg | FractionalIdeal.count_coeIdeal_nonneg | 2026-11-10 |
Ideal.finprod_heightOneSpectrum_factorization_coe | Ideal.finprod_heightOneSpectrum_factorization_coeIdeal | 2026-11-10 |
Ideal.hasFiniteMulSupport_coe | Ideal.hasFiniteMulSupport_coeIdeal | 2026-11-10 |