Module

FractionalIdealFactorization.lean

Nyll.ClassFieldTheory.Algebra.FractionalIdealFactorization
19 declarations indexed from sourceView source ↗

Prime factorization of fractional ideals over a Dedekind domain

The standard fractional-ideal unit group is identified with finitely supported integer exponents. The inverse is the prime-count vector itself.

Declarations

ClassFieldTheory.FractionalIdealFactorization.prime

The fractional ideal represented by a finite prime.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def prime (v : HeightOneSpectrum R) :
    (FractionalIdeal R⁰ F)ˣ
ClassFieldTheory.FractionalIdealFactorization.primePowerHom

The homomorphism sending an integer exponent to the corresponding power of a finite prime.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def primePowerHom (v : HeightOneSpectrum R) :
    Multiplicative ℤ →* (FractionalIdeal R⁰ F)ˣ
ClassFieldTheory.FractionalIdealFactorization.factorization

Reconstruct a fractional ideal from its finitely supported vector of prime exponents.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def factorization :
    Multiplicative (HeightOneSpectrum R →₀ ℤ) →*
      (FractionalIdeal R⁰ F)ˣ
ClassFieldTheory.FractionalIdealFactorization.factorization_val

The underlying fractional ideal is the product of its prime powers.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem factorization_val (exps :
    Multiplicative (HeightOneSpectrum R →₀ ℤ)) :
    ((factorization exps : (FractionalIdeal R⁰ F)ˣ) :
      FractionalIdeal R⁰ F) =
      exps.toAdd.prod fun v n =>
        (v.asIdeal : FractionalIdeal R⁰ F) ^ n := by
  classical
  simp only [factorization, Finsupp.prod, primePowerHom, prime, MonoidHom.mk'_apply, toAdd_ofAdd,
    Units.coe_prod, Units.val_zpow_eq_zpow_val, Units.val_mk0]
ClassFieldTheory.FractionalIdealFactorization.finite_count_support

Only finitely many primes have nonzero count.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem finite_count_support (I : (FractionalIdeal R⁰ F)ˣ) :
    {v : HeightOneSpectrum R |
      FractionalIdeal.count F v
        (I : FractionalIdeal R⁰ F) ≠ 0}.Finite
ClassFieldTheory.FractionalIdealFactorization.count_coeIdeal_eq_multiplicity

The fractional-ideal count of a nonzero integral ideal is its prime multiplicity.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem count_coeIdeal_eq_multiplicity (v : HeightOneSpectrum R) {I : Ideal R}
    (hI : I ≠ ⊥) :
    FractionalIdeal.count F v (I : FractionalIdeal R⁰ F) = (multiplicity v.asIdeal I : ℤ)
ClassFieldTheory.FractionalIdealFactorization.multiplicity_ne_zero_iff_le

A nonzero integral ideal has nonzero prime multiplicity exactly when it lies in the prime.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem multiplicity_ne_zero_iff_le (v : HeightOneSpectrum R) {I : Ideal R} (hI : I ≠ ⊥) :
    multiplicity v.asIdeal I ≠ 0 ↔ I ≤ v.asIdeal
ClassFieldTheory.FractionalIdealFactorization.countVector

The finitely supported vector of prime exponents of a nonzero fractional ideal.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def countVector (I : (FractionalIdeal R⁰ F)ˣ) :
    HeightOneSpectrum R →₀ ℤ
ClassFieldTheory.FractionalIdealFactorization.countVector_apply

A coordinate of the count vector is the corresponding prime count.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem countVector_apply (I : (FractionalIdeal R⁰ F)ˣ)
    (v : HeightOneSpectrum R) :
    countVector I v =
      FractionalIdeal.count F v
        (I : FractionalIdeal R⁰ F)
ClassFieldTheory.FractionalIdealFactorization.count_factorization

Factorization has exactly the prescribed prime exponents.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem count_factorization (exps :
    Multiplicative (HeightOneSpectrum R →₀ ℤ))
    (v : HeightOneSpectrum R) :
    FractionalIdeal.count F v
      ((factorization exps : (FractionalIdeal R⁰ F)ˣ) :
        FractionalIdeal R⁰ F) =
      exps.toAdd v
ClassFieldTheory.FractionalIdealFactorization.ext_count

Prime counts determine a nonzero fractional ideal.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem ext_count {I J : (FractionalIdeal R⁰ F)ˣ}
    (h : ∀ v : HeightOneSpectrum R,
      FractionalIdeal.count F v
        (I : FractionalIdeal R⁰ F) =
      FractionalIdeal.count F v
        (J : FractionalIdeal R⁰ F)) :
    I = J
ClassFieldTheory.FractionalIdealFactorization.factorization_injective

Distinct exponent vectors give distinct fractional ideals.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem factorization_injective :
    Function.Injective (factorization (R := R) (F := F))
ClassFieldTheory.FractionalIdealFactorization.factorization_surjective

Every nonzero fractional ideal factors into prime powers.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem factorization_surjective :
    Function.Surjective (factorization (R := R) (F := F))
ClassFieldTheory.FractionalIdealFactorization.factorizationEquiv

Multiplicative unique factorization of nonzero fractional ideals by finite primes.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def factorizationEquiv :
    Multiplicative (HeightOneSpectrum R →₀ ℤ) ≃*
      (FractionalIdeal R⁰ F)ˣ
ClassFieldTheory.FractionalIdealFactorization.factorizationEquiv_symm_toAdd

The inverse factorization map is the actual prime-count vector.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem factorizationEquiv_symm_toAdd (I : (FractionalIdeal R⁰ F)ˣ) :
    ((factorizationEquiv (R := R) (F := F)).symm I).toAdd = countVector I
ClassFieldTheory.FractionalIdealFactorization.primeTo

Fractional ideals having count zero at every prime in a prescribed set.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def primeTo (S : Set (HeightOneSpectrum R)) :
    Subgroup (FractionalIdeal R⁰ F)ˣ where
  carrier := {I | ∀ v, v ∈ S → FractionalIdeal.count F v (I : FractionalIdeal R⁰ F) = 0}
  one_mem' v _ := FractionalIdeal.count_one F v
  mul_mem' {I J} hI hJ v hv := by
    rw [Units.val_mul,
      FractionalIdeal.count_mul F v (Units.ne_zero I) (Units.ne_zero J),
      hI v hv, hJ v hv, add_zero]
  inv_mem' {I} hI v hv := by
    rw [Units.val_inv_eq_inv_val, FractionalIdeal.count_inv F v, hI v hv, neg_zero]
ClassFieldTheory.FractionalIdealFactorization.primeToPrime

A prime outside the prescribed set belongs to the corresponding prime-to subgroup.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
def primeToPrime (S : Set (HeightOneSpectrum R))
    (v : HeightOneSpectrum R) (hv : v ∉ S) : primeTo (F := F) S
ClassFieldTheory.FractionalIdealFactorization.primeToPrime_coe

The prime-to generator has its original prime fractional ideal as value.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem primeToPrime_coe (S : Set (HeightOneSpectrum R))
    (v : HeightOneSpectrum R) (hv : v ∉ S) :
    (primeToPrime (F := F) S v hv : (FractionalIdeal R⁰ F)ˣ) = prime v
ClassFieldTheory.FractionalIdealFactorization.primeTo_hom_ext

Homomorphisms out of a prime-to subgroup are determined by primes outside the set.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open scoped nonZeroDivisors
open IsDedekindDomain
universe u v
variable {R : Type u} {F : Type v}
    [CommRing R] [IsDedekindDomain R] [Field F]
    [Algebra R F] [IsFractionRing R F]
noncomputable section
namespace ClassFieldTheory.FractionalIdealFactorization
theorem primeTo_hom_ext (S : Set (HeightOneSpectrum R))
    {G : Type*} [Monoid G]
    (f g : primeTo (F := F) S →* G)
    (hprime : ∀ v (hv : v ∉ S),
      f (primeToPrime S v hv) = g (primeToPrime S v hv)) : f = g