The areas / V12. Number theory
Mathlib.NumberTheory.Padics.HeightOneSpectrum
27 declarations. Mathlib docs · Source
Isomorphisms between adicCompletion ℚ and ℚ_[p]
Let R have field of fractions ℚ. If v : HeightOneSpectrum R, then v.adicCompletion ℚ is
the uniform space completion of ℚ with respect to the v-adic valuation.
On the other hand, ℚ_[p] is the p-adic numbers, defined as the completion of ℚ with respect
to the p-adic norm using the completion of Cauchy sequences. This file constructs continuous
ℚ-algebra isomorphisms between the two, as well as continuous ℤ-algebra isomorphisms for their
respective rings of integers.
Isomorphisms are provided in both directions, allowing traversal of the following diagram:
HeightOneSpectrum R <-----------> Nat.Primes
| |
| |
v v
v.adicCompletionIntegers ℚ <-------> ℤ_[p]
| |
| |
v v
v.adicCompletion ℚ <---------------> ℚ_[p]
Main definitions
Rat.HeightOneSpectrum.primesEquiv: the equivalence between height-one prime ideals ofRand prime numbers inℕ.Rat.HeightOneSpectrum.padicEquiv v: the continuousℚ-algebra isomorphismv.adicCompletion ℚ ≃A[ℚ] ℚ_[primesEquiv v].Padic.adicCompletionEquiv p: the continuousℚ-algebra isomorphismℚ_[p] ≃A[ℚ] (primesEquiv.symm p).adicCompletion ℚ.Rat.HeightOneSpectrum.adicCompletionIntegers.padicIntEquiv v: the continuousℤ-algebra isomorphismv.adicCompletionIntegers ℚ ≃A[ℤ] ℤ_[natGenerator v].PadicInt.adicCompletionIntegersEquiv p: the continuousℤ-algebra isomorphismℤ_[p] ≃A[ℤ] (primesEquiv.symm p).adicCompletionIntegers ℚ.
TODO : Abstract the isomorphisms in this file using a universal predicate on adic completions,
along the lines of IsComplete + uniformity arises from a valuation + the valuations are
equivalent. It is best to do this after Valued has been refactored, or at least after
adicCompletion has IsValuativeTopology instance.
theorem UniformSpace.Completion.mapRingEquiv.congr_simp E1 #
∀ {α : Type u_1} [inst : Ring α] [inst_1 : UniformSpace α] [inst_2 : IsTopologicalRing α] [inst_3 : IsUniformAddGroup α]
{β : Type u} [inst_4 : UniformSpace β] [inst_5 : Ring β] [inst_6 : IsUniformAddGroup β] [inst_7 : IsTopologicalRing β]
(f f_1 : α ≃+* β) (e_f : f = f_1) (hf : Continuous ⇑f) (hf' : Continuous ⇑f.symm),
UniformSpace.Completion.mapRingEquiv f hf hf' = UniformSpace.Completion.mapRingEquiv f_1 ⋯ ⋯
theorem ContinuousAlgEquiv.cast.congr_simp E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {ι : Type u_5} {A : ι → Type u_6} [inst_1 : (i : ι) → Semiring (A i)]
[inst_2 : (i : ι) → Algebra R (A i)] [inst_3 : (i : ι) → TopologicalSpace (A i)] {i j : ι} (h : i = j),
ContinuousAlgEquiv.cast h = ContinuousAlgEquiv.cast h
theorem RingEquiv.restrict.congr_simp E1 #
∀ {R : Type u} {S : Type v} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S] {σR : Type u_1} {σS : Type u_2}
[inst_2 : SetLike σR R] [inst_3 : SetLike σS S] [inst_4 : SubsemiringClass σR R] [inst_5 : SubsemiringClass σS S]
(e e_1 : R ≃+* S) (e_e : e = e_1) (s' : σR) (s : σS) (h : ∀ (x : R), x ∈ s' ↔ e x ∈ s),
e.restrict s' s h = e_1.restrict s' s ⋯
theorem IsDedekindDomain.HeightOneSpectrum.ofPrime.congr_simp E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDedekindDomain R] {p p_1 : Ideal R} (e_p : p = p_1) (hp : Prime p),
IsDedekindDomain.HeightOneSpectrum.ofPrime hp = IsDedekindDomain.HeightOneSpectrum.ofPrime ⋯
theorem Rat.HeightOneSpectrum.natGenerator.congr_simp E1 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
(v v_1 : IsDedekindDomain.HeightOneSpectrum R),
v = v_1 → Rat.HeightOneSpectrum.natGenerator v = Rat.HeightOneSpectrum.natGenerator v_1
theorem Rat.IsIntegralClosure.intEquiv.congr_simp E1 #
∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ],
Rat.IsIntegralClosure.intEquiv R = Rat.IsIntegralClosure.intEquiv R
theorem instFactPrimeValNat E1 #
∀ (p : Nat.Primes), Fact (Nat.Prime ↑p)
theorem Rat.int_algebraMap_injective E1 #
∀ (R : Type u_1) [inst : CommRing R] [Algebra R ℚ], Function.Injective ⇑(algebraMap ℤ R)
theorem Rat.int_algebraMap_surjective E1 #
∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Algebra R ℚ] [IsIntegralClosure R ℤ ℚ] [IsFractionRing R ℚ],
Function.Surjective ⇑(algebraMap ℤ R)
def Rat.IsIntegralClosure.intEquiv E1 #
(R : Type u_1) → [inst : CommRing R] → [inst_1 : Algebra R ℚ] → [IsIntegralClosure R ℤ ℚ] → R ≃+* ℤ
If R has field of fractions ℚ and is the integral closure of ℤ in ℚ then it is
isomorphic to ℤ.
theorem Rat.IsIntegralClosure.intEquiv_apply_eq_ringOfIntegersEquiv E0 #
∀ (x : NumberField.RingOfIntegers ℚ),
(Rat.IsIntegralClosure.intEquiv (NumberField.RingOfIntegers ℚ)) x = Rat.ringOfIntegersEquiv x
def Rat.HeightOneSpectrum.natGenerator E1 #
{R : Type u_2} →
[inst : CommRing R] → [inst_1 : Algebra R ℚ] → [IsIntegralClosure R ℤ ℚ] → IsDedekindDomain.HeightOneSpectrum R → ℕ
If v : HeightOneSpectrum R then natGenerator v is the generator in ℕ of the corresponding
ideal in ℤ.
theorem Rat.HeightOneSpectrum.span_natGenerator E1 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
(v : IsDedekindDomain.HeightOneSpectrum R),
Ideal.span {↑(Rat.HeightOneSpectrum.natGenerator v)} = Ideal.map (Rat.IsIntegralClosure.intEquiv R) v.asIdeal
theorem Rat.HeightOneSpectrum.natGenerator_dvd_iff E0 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
(v : IsDedekindDomain.HeightOneSpectrum R) {n : ℕ},
Rat.HeightOneSpectrum.natGenerator v ∣ n ↔ ↑n ∈ Ideal.map (Rat.IsIntegralClosure.intEquiv R) v.asIdeal
theorem Rat.HeightOneSpectrum.prime_natGenerator E1 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
(v : IsDedekindDomain.HeightOneSpectrum R), Nat.Prime (Rat.HeightOneSpectrum.natGenerator v)
def Rat.HeightOneSpectrum.primesEquiv E3 #
{R : Type u_2} →
[inst : CommRing R] →
[inst_1 : Algebra R ℚ] →
[IsIntegralClosure R ℤ ℚ] → [IsDedekindDomain R] → IsDedekindDomain.HeightOneSpectrum R ≃ Nat.Primes
The equivalence between height-one prime ideals of R and primes in ℕ.
theorem Rat.HeightOneSpectrum.valuation_equiv_padicValuation E1 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
[inst_3 : IsDedekindDomain R] [inst_4 : IsFractionRing R ℚ] (v : IsDedekindDomain.HeightOneSpectrum R),
(IsDedekindDomain.HeightOneSpectrum.valuation ℚ v).IsEquiv (Rat.padicValuation ↑(Rat.HeightOneSpectrum.primesEquiv v))
def Rat.HeightOneSpectrum.withValEquiv E1 #
{R : Type u_2} →
[inst : CommRing R] →
[inst_1 : Algebra R ℚ] →
[inst_2 : IsIntegralClosure R ℤ ℚ] →
[inst_3 : IsDedekindDomain R] →
[inst_4 : IsFractionRing R ℚ] →
(v : IsDedekindDomain.HeightOneSpectrum R) →
WithVal (IsDedekindDomain.HeightOneSpectrum.valuation ℚ v) ≃ᵤ
WithVal (Rat.padicValuation ↑(Rat.HeightOneSpectrum.primesEquiv v))
The uniform space isomorphism ℚ ≃ᵤ ℚ, where the LHS has the uniformity from
HeightOneSpectrum.valuation ℚ v and the RHS has uniformity from
Rat.padicValuation (natGenerator v), for a height-one prime ideal
v : HeightOneSpectrum R.
def Rat.HeightOneSpectrum.adicCompletion.padicEquiv E1 #
{R : Type u_2} →
[inst : CommRing R] →
[inst_1 : Algebra R ℚ] →
[inst_2 : IsIntegralClosure R ℤ ℚ] →
[inst_3 : IsDedekindDomain R] →
[inst_4 : IsFractionRing R ℚ] →
(v : IsDedekindDomain.HeightOneSpectrum R) →
IsDedekindDomain.HeightOneSpectrum.adicCompletion ℚ v ≃A[ℚ] ℚ_[↑(Rat.HeightOneSpectrum.primesEquiv v)]
The continuous ℚ-algebra isomorphism between v.adicCompletion ℚ and ℚ_[primesEquiv v].
def Rat.HeightOneSpectrum.adicCompletionIntegers.padicIntEquiv E1 #
{R : Type u_2} →
[inst : CommRing R] →
[inst_1 : Algebra R ℚ] →
[inst_2 : IsIntegralClosure R ℤ ℚ] →
[inst_3 : IsDedekindDomain R] →
[inst_4 : IsFractionRing R ℚ] →
(v : IsDedekindDomain.HeightOneSpectrum R) →
↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers ℚ v) ≃A[ℤ]
ℤ_[↑(Rat.HeightOneSpectrum.primesEquiv v)]
The continuous ℤ-algebra isomorphism between v.adicCompletionIntegers ℚ and
ℤ_[primesEquiv v].
theorem Rat.HeightOneSpectrum.adicCompletionIntegers.coe_padicIntEquiv_apply E0 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
[inst_3 : IsDedekindDomain R] [inst_4 : IsFractionRing R ℚ] (v : IsDedekindDomain.HeightOneSpectrum R)
(x : ↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers ℚ v)),
↑((Rat.HeightOneSpectrum.adicCompletionIntegers.padicIntEquiv v) x) =
(Rat.HeightOneSpectrum.adicCompletion.padicEquiv v) ↑x
The diagram
v.adicCompletionIntegers ℚ -----> ℤ_[primesEquiv v]
| |
| |
v v
v.adicCompletion ℚ -------------> ℚ_[primesEquiv v]
commutes.
theorem Rat.HeightOneSpectrum.adicCompletionIntegers.coe_padicIntEquiv_symm_apply E0 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
[inst_3 : IsDedekindDomain R] [inst_4 : IsFractionRing R ℚ] (v : IsDedekindDomain.HeightOneSpectrum R)
(x : ℤ_[↑(Rat.HeightOneSpectrum.primesEquiv v)]),
↑((Rat.HeightOneSpectrum.adicCompletionIntegers.padicIntEquiv v).symm x) =
(Rat.HeightOneSpectrum.adicCompletion.padicEquiv v).symm ↑x
The diagram
v.adicCompletionIntegers ℚ <----- ℤ_[primesEquiv v]
| |
| |
v v
v.adicCompletion ℚ <------------- ℚ_[primesEquiv v]
commutes.
theorem Rat.HeightOneSpectrum.adicCompletion.padicEquiv_bijOn E1 #
∀ {R : Type u_2} [inst : CommRing R] [inst_1 : Algebra R ℚ] [inst_2 : IsIntegralClosure R ℤ ℚ]
[inst_3 : IsDedekindDomain R] [inst_4 : IsFractionRing R ℚ] (v : IsDedekindDomain.HeightOneSpectrum R),
Set.BijOn ⇑(Rat.HeightOneSpectrum.adicCompletion.padicEquiv v)
↑(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers ℚ v)
↑(PadicInt.subring ↑(Rat.HeightOneSpectrum.primesEquiv v))
def Padic.adicCompletionEquiv E1 #
(R : Type u_2) →
[inst : CommRing R] →
[inst_1 : IsDedekindDomain R] →
[inst_2 : Algebra R ℚ] →
[inst_3 : IsFractionRing R ℚ] →
[inst_4 : IsIntegralClosure R ℤ ℚ] →
(p : Nat.Primes) →
ℚ_[↑p] ≃A[ℚ]
IsDedekindDomain.HeightOneSpectrum.adicCompletion ℚ (Rat.HeightOneSpectrum.primesEquiv.symm p)
The continuous ℚ-algebra isomorphism between ℚ_[p] and
(primesEquiv.symm p).adicCompletion ℚ.
def PadicInt.adicCompletionIntegersEquiv E1 #
(R : Type u_2) →
[inst : CommRing R] →
[inst_1 : IsDedekindDomain R] →
[inst_2 : Algebra R ℚ] →
[inst_3 : IsFractionRing R ℚ] →
[inst_4 : IsIntegralClosure R ℤ ℚ] →
(p : Nat.Primes) →
ℤ_[↑p] ≃A[ℤ]
↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers ℚ
(Rat.HeightOneSpectrum.primesEquiv.symm p))
The continuous ℤ-algebra isomorphism between ℤ_[p] and
(primesEquiv.symm p).adicCompletionIntegers ℚ.
theorem PadicInt.coe_adicCompletionIntegersEquiv_apply E0 #
∀ (R : Type u_2) [inst : CommRing R] [inst_1 : IsDedekindDomain R] [inst_2 : Algebra R ℚ] [inst_3 : IsFractionRing R ℚ]
[inst_4 : IsIntegralClosure R ℤ ℚ] (p : Nat.Primes) (x : ℤ_[↑p]),
↑((PadicInt.adicCompletionIntegersEquiv R p) x) = (Padic.adicCompletionEquiv R p) ↑x
The diagram
ℤ_[p] --------> (primesEquiv.symm p).adicCompletionIntegers ℚ
| |
| |
v v
ℚ_[p] --------> (primesEquiv.symm p).adicCompletion ℚ
commutes.
theorem PadicInt.coe_adicCompletionIntegersEquiv_symm_apply E0 #
∀ (R : Type u_2) [inst : CommRing R] [inst_1 : IsDedekindDomain R] [inst_2 : Algebra R ℚ] [inst_3 : IsFractionRing R ℚ]
[inst_4 : IsIntegralClosure R ℤ ℚ] (p : Nat.Primes)
(x : ↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers ℚ (Rat.HeightOneSpectrum.primesEquiv.symm p))),
↑((PadicInt.adicCompletionIntegersEquiv R p).symm x) = (Padic.adicCompletionEquiv R p).symm ↑x
The diagram
ℤ_[p] <-------- (primesEquiv.symm p).adicCompletionIntegers ℚ
| |
| |
v v
ℚ_[p] <-------- (primesEquiv.symm p).adicCompletion ℚ
commutes.