Module

RelativeDiscriminant.lean

Nyll.ClassFieldTheory.AlgebraicNumberTheory.NumberField.RelativeDiscriminant
10 declarations indexed from sourceView source ↗

The relative ideal discriminant as the genuine ideal norm of the different

Declarations

AlgebraicNumberTheory.Discriminant.ringOfIntegers_moduleFinite
Source context 8 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
omit [NumberField K] in
theorem ringOfIntegers_moduleFinite : Module.Finite (𝓞 K) (𝓞 L)
AlgebraicNumberTheory.Discriminant.relativeDifferentIdeal_ne_bot

The different of the number-field integer rings is nonzero.

Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
theorem relativeDifferentIdeal_ne_bot : differentIdeal (𝓞 K) (𝓞 L) ≠ ⊥
AlgebraicNumberTheory.Discriminant.relativeDifferentFractionalIdeal

The actual different of the integer rings, viewed as an invertible fractional ideal.

Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
def relativeDifferentFractionalIdeal : NumberFieldFractionalIdealGroup L
AlgebraicNumberTheory.Discriminant.relativeDifferentNorm_count_nonneg
Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
theorem relativeDifferentNorm_count_nonneg (v : HeightOneSpectrum (𝓞 K)) :
    0 ≤ NumberFieldFractionalIdealGroup.countVector
      (ClassFieldTheory.fractionalIdealNorm K L (relativeDifferentFractionalIdeal K L)) v
AlgebraicNumberTheory.Discriminant.relativeDiscriminantIdeal

The relative discriminant ideal retains the exponents of the genuine ideal norm of the actual different. Those exponents are nonnegative.

Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
def relativeDiscriminantIdeal : Ideal (𝓞 K)
AlgebraicNumberTheory.Discriminant.relativeDiscriminantIdeal_coe

Coercing the relative discriminant to fractional ideals recovers the norm of the different.

Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
theorem relativeDiscriminantIdeal_coe :
    (relativeDiscriminantIdeal K L : FractionalIdeal (𝓞 K)⁰ K) =
      (ClassFieldTheory.fractionalIdealNorm K L (relativeDifferentFractionalIdeal K L) :
        FractionalIdeal (𝓞 K)⁰ K)
AlgebraicNumberTheory.Discriminant.relativeDiscriminantIdeal_ne_bot
Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
theorem relativeDiscriminantIdeal_ne_bot : relativeDiscriminantIdeal K L ≠ ⊥
AlgebraicNumberTheory.Discriminant.count_relativeDiscriminantIdeal

The exponent in the relative discriminant is the residue-degree-weighted sum of the different exponents over the selected base place.

Source context 8 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
open scoped Classical in
theorem count_relativeDiscriminantIdeal (v : HeightOneSpectrum (𝓞 K)) :
    FractionalIdeal.count K v (relativeDiscriminantIdeal K L : FractionalIdeal (𝓞 K)⁰ K) =
      (NumberFieldFractionalIdealGroup.countVector (relativeDifferentFractionalIdeal K L)).sum
        fun W n => if _root_.finitePlaceBelow (K := K) W = v then
          (W.asIdeal.inertiaDeg (𝓞 K) : ℤ) * n else 0 := by
  classical
  rw [relativeDiscriminantIdeal_coe, RayClass.count_fractionalIdealNorm,
    ClassFieldTheory.fractionalIdealNormExponentMap_apply]
AlgebraicNumberTheory.Discriminant.different_count_ne_zero_iff_ramified
Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
theorem different_count_ne_zero_iff_ramified (W : HeightOneSpectrum (𝓞 L)) :
    NumberFieldFractionalIdealGroup.countVector (relativeDifferentFractionalIdeal K L) W ≠ 0 ↔
      ¬ Algebra.IsUnramifiedAt (𝓞 K) W.asIdeal
AlgebraicNumberTheory.Discriminant.count_relativeDiscriminantIdeal_ne_zero_iff_ramified

A prime has nonzero discriminant exponent exactly when an upstairs prime over it ramifies.

Source context 7 commands

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

@[expose] public section
open scoped NumberField nonZeroDivisors
open ClassFieldTheory
open NumberField IsDedekindDomain UniqueFactorizationMonoid
open ClassFieldTheory.FractionalIdealFactorization
namespace AlgebraicNumberTheory.Discriminant
variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L]
theorem count_relativeDiscriminantIdeal_ne_zero_iff_ramified (v : HeightOneSpectrum (𝓞 K)) :
    FractionalIdeal.count K v (relativeDiscriminantIdeal K L : FractionalIdeal (𝓞 K)⁰ K) ≠ 0 ↔
      ∃ W : HeightOneSpectrum (𝓞 L),
        W.asIdeal.LiesOver v.asIdeal ∧ ¬ Algebra.IsUnramifiedAt (𝓞 K) W.asIdeal