The diagonal of a Dedekind domain is dense in the product of the rings of integers of its adic completions at any family of distinct height-one primes.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
open scoped WithZero NumberField
open IsDedekindDomain Valuation.IsRankOneDiscrete
namespace IsDedekindDomain.HeightOneSpectrum
variable {A K ι : Type*} [CommRing A] [IsDedekindDomain A] [Field K]
[Algebra A K] [IsFractionRing A K]theorem denseRange_integerAlgebraMap_pi
(p : ι → HeightOneSpectrum A) (hp : Function.Injective p) :
DenseRange fun (a : A) i => algebraMap A ((p i).adicCompletionIntegers K) a := by
classical
intro x
apply mem_closure_iff.mpr
intro U hU hx
have hUnhds := hU.mem_nhds hx
rw [nhds_pi, Filter.mem_pi'] at hUnhds
obtain ⟨s, V, hV, hsub⟩ := hUnhds
have hball (i : ι) : ∃ e : ℤᵐ⁰ˣ,
∀ a : A, Valued.v ((algebraMap A K a) - (x i : (p i).adicCompletion K)) < e.val →
algebraMap A ((p i).adicCompletionIntegers K) a ∈ V i := by
let v := (Valued.v : Valuation ((p i).adicCompletion K) ℤᵐ⁰)
obtain ⟨T, hT, hTV⟩ := (mem_nhds_subtype _ _ _).mp (hV i)
obtain ⟨γ, hγ⟩ := (Valued.mem_nhds (Γ₀ := ℤᵐ⁰)).mp hT
let e := Units.mapEquiv (valueGroup₀_equiv_withZeroMulInt v).toMulEquiv γ
refine ⟨e, fun a ha => hTV (hγ ?_)⟩
apply (valueGroup₀_equiv_withZeroMulInt_strictMono v).lt_iff_lt.mp
rw [valueGroup₀_equiv_withZeroMulInt_restrict_apply_of_surjective
(valuedAdicCompletion_surjective K (p i))]
exact ha
choose e he using hball
obtain ⟨a, ha⟩ := exists_forall_adicValued_sub_lt K s e p hp x
exact ⟨fun i => algebraMap A ((p i).adicCompletionIntegers K) a,
hsub (fun i hi => he i a (ha i hi)), ⟨a, rfl⟩⟩