|
|
|
|
Quelle AdeleRing.lean
Sprache: Lean
|
|
/-
Copyright (c) 2024 Salvatore Mercuri, María Inés de Frutos-Fernández. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Salvatore Mercuri, María Inés de Frutos-Fernández
-/
module
public import Mathlib.NumberTheory.NumberField.FiniteAdeleRing
public import Mathlib.NumberTheory.NumberField.InfiniteAdeleRing
/-!
# The adele ring of a number field
This file contains the formalisation of the adele ring of a number field as the
direct product of the infinite adele ring and the finite adele ring.
## Main definitions
- `NumberField.AdeleRing K` is the adele ring of a number field `K`.
- `NumberField.AdeleRing.principalSubgroup K` is the subgroup of principal adeles `(x)ᵥ`.
## Main results
- `NumberField.AdeleRing.norm_algebraMap_eq_one_of_ne_zero` is the idelic product formula.
## References
* [J.W.S. Cassels, A. Fröhlich, *Algebraic Number Theory*][cassels1967algebraic]
## Tags
adele ring, number field
-/
@[expose] public section
noncomputable section
namespace NumberField
open AbsoluteValue.Completion InfinitePlace.Completion IsDedekindDomain
open scoped FiniteAdeleRing
/-! ## The adele ring -/
variable (R K : Type*) [CommRing R] [IsDedekindDomain R] [Field K]
[Algebra R K] [IsFractionRing R K]
/-- `AdeleRing ( K) K` is the adele ring of a number field `K`.
More generally `AdeleRing R K` can be used if `K` is the field of fractions
of the Dedekind domain `R`. This enables use of rings like `AdeleRing ℤ ℚ`, which
in practice are easier to work with than `AdeleRing ( ℚ) ℚ`.
Note that this definition does not give the correct answer in the function field case.
-/
@[implicit_reducible]
def AdeleRing := InfiniteAdeleRing K × FiniteAdeleRing R K
deriving CommRing, TopologicalSpace, IsTopologicalRing, Algebra K
namespace AdeleRing
/-- `[R, K]` is notation for `NumberField.AdeleRing R K`. -/
scoped notation:max "[" R ", " K "]" => AdeleRing R K
/-- `[K]` is notation for `NumberField.AdeleRing ( K) K`. -/
scoped notation:max "[" K "]" => AdeleRing ( K) K
instance : Inhabited [R, K] := ⟨0⟩
@[simp]
theorem algebraMap_fst_apply (x : K) (v : InfinitePlace K) :
(algebraMap K [R, K] x).1 v = x :=
InfiniteAdeleRing.algebraMap_apply K x v
theorem algebraMap_fst_def (x : K) :
(algebraMap K [R, K] x).1 = algebraMap K K∞ x := rfl
@[simp]
theorem algebraMap_snd_apply (x : K) (v : HeightOneSpectrum R) :
(algebraMap K [R, K] x).2 v = x := rfl
theorem algebraMap_snd_def (x : K) :
(algebraMap K [R, K] x).2 = algebraMap K ᶠ[R, K] x := rfl
theorem algebraMap_injective [NumberField K] : Function.Injective (algebraMap K [R, K]) :=
fun _ _ hxy => (algebraMap K K∞).injective (Prod.ext_iff.1 hxy).1
/-- The embedding of the completion `Kᵥ` at an infinite place `v` into the adele ring. -/
@[simps!]
def ofCompletion (v : InfinitePlace K) : v.Completion →* [R, K] :=
.prod (InfiniteAdeleRing.ofCompletion v) 1
/-- The embedding of the completion `Kᵥ` at a finite place `v` into the adele ring. -/
@[simps!]
def ofAdicCompletion (v : HeightOneSpectrum R) : v.adicCompletion K →* [R, K] :=
.prod 1 (FiniteAdeleRing.ofAdicCompletion K v)
/-- The subgroup of principal adeles `(x)ᵥ` where `x ∈ K`. -/
abbrev principalSubgroup : AddSubgroup [R, K] := (algebraMap K [R, K]).range.toAddSubgroup
end AdeleRing
open scoped AdeleRing
/-- The idele group is the group of units of the adele ring. -/
abbrev IdeleGroup := [R, K]ˣ
namespace IdeleGroup
/-- The map from `Kˣ` to the idele group of `K`. The image is the subgroup of principal ideles. -/
@[simps!]
def unitEmbedding : Kˣ →* IdeleGroup R K :=
Units.map (algebraMap K [R, K]).toMonoidHom
/-- The map from the completion `Kᵥ` at an infinite place `v` to the idele group. -/
@[simps!]
def ofCompletion (v : InfinitePlace K) : v.Completionˣ →* IdeleGroup R K :=
Units.map (AdeleRing.ofCompletion R K v)
/-- The map from the completion `Kᵥ` at a finite place `v` to the idele group. -/
@[simps!]
def ofAdicCompletion (v : HeightOneSpectrum R) : (v.adicCompletion K)ˣ →* IdeleGroup R K :=
Units.map (AdeleRing.ofAdicCompletion R K v)
/-- The subgroup of principal ideles `(x)ᵥ` where `x ∈ Kˣ`. -/
abbrev principalSubgroup : Subgroup (IdeleGroup R K) :=
(IdeleGroup.unitEmbedding R K).range
end IdeleGroup
/-- The idele class group is the quotient of the idele group by the subgroup of principal ideles. -/
abbrev IdeleClassGroup := IdeleGroup R K ⧸ IdeleGroup.principalSubgroup R K
namespace IdeleClassGroup
/-- The map from the completion `Kᵥ` at an infinite place `v` to the idele class group. -/
@[simps!]
def ofCompletion (v : InfinitePlace K) : v.Completionˣ →* IdeleClassGroup R K :=
(QuotientGroup.mk' (IdeleGroup.principalSubgroup R K)).comp (IdeleGroup.ofCompletion R K v)
/-- The map from the completion `Kᵥ` at a finite place `v` to the idele class group. -/
@[simps!]
def ofAdicCompletion (v : HeightOneSpectrum R) : (v.adicCompletion K)ˣ →* IdeleClassGroup R K :=
(QuotientGroup.mk' (IdeleGroup.principalSubgroup R K)).comp (IdeleGroup.ofAdicCompletion R K v)
end IdeleClassGroup
section norm
variable {R K : Type*} [CommRing R] [IsDedekindDomain R] [Field K] [Algebra R K]
[IsFractionRing R K]
namespace AdeleRing
theorem isUnit_iff {x : [R, K]} : IsUnit x ↔ (∀ v, x.1 v ≠ 0) ∧ (∀ v, x.2 v ≠ 0) ∧
∀ᶠ v in Filter.cofinite, Valued.v (x.2 v) = 1 := by
rw [Prod.isUnit_iff, Pi.isUnit_iff, FiniteAdeleRing.isUnit_iff]
simp_rw [isUnit_iff_ne_zero]
variable [NumberField K] [Ring.HasFiniteQuotients R]
/-- The norm on the adele ring is the product of all the local norms. If an adele is
a unit, then this is a finite product in disguise. Otherwise, it is zero (and not the junk
`tprod` value of `1`). -/
instance : Norm [R, K] where norm x := ‖x.1‖ * ‖x.2‖
theorem norm_def (x : [R, K]) : ‖x‖ = ‖x.1‖ * ‖x.2‖ := rfl
theorem norm_apply_of_isUnit {x : [R, K]} (hx : IsUnit x) :
‖x‖ = (∏ v, ‖x.1 v‖ ^ v.mult) * ∏ᶠ v, ‖x.2 v‖ := by
rw [norm_def, FiniteAdeleRing.norm_eq_finprod_of_isUnit (Prod.isUnit_iff.1 hx).2,
InfiniteAdeleRing.norm_def]
theorem norm_eq_zero_of_not_isUnit {x : [R, K]} (hx : ¬IsUnit x) : ‖x‖ = 0 := by
rcases not_and_or.1 <| Prod.isUnit_iff.not.1 hx with hi | hf
· simp [norm_def, InfiniteAdeleRing.norm_eq_zero_of_not_isUnit hi]
· simp [norm_def, FiniteAdeleRing.norm_eq_zero_of_not_isUnit hf]
theorem norm_algebraMap_eq_one_of_ne_zero {x : K} (hx : x ≠ 0) :
‖algebraMap K [K] x‖ = 1 := by
rw [norm_def, algebraMap_fst_def, algebraMap_snd_def, InfiniteAdeleRing.coe_norm_eq_abs_norm,
FiniteAdeleRing.coe_norm_eq_inv_abs_norm hx, Rat.cast_inv, mul_inv_cancel₀ (by simpa)]
end AdeleRing
end norm
end NumberField
¤ Dauer der Verarbeitung: 0.6 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|