theoremexists_base_of_local_denominators
{R : Type uR} {K : Type uK} [CommRingR] [CommRingK] [AlgebraRK]
(z : K)
(hz : ∀m : MaximalSpectrumR, ∃a s : R,
s ∉ m.asIdeal ∧ algebraMap RK s * z = algebraMap RK a) :
∃r : R, algebraMap RK r = z :=by
proof · 14
lines
classical
by_contra h
letdenom : IdealR:=
(1 : SubmoduleRK).comap (LinearMap.toSpanSingleton RK z)
havehdenom : (1 : R) ∉ denom :=by
simpa [denom] using h
obtain ⟨m, hm, hle⟩ :=
denom.exists_le_maximal (denom.ne_top_iff_one.mpr hdenom)
obtain ⟨a, s, hs, hsa⟩ := hz ⟨m, hm⟩
apply hs
apply hle
change s • z ∈ (1 : SubmoduleRK)
apply Submodule.mem_one.mpr
exact ⟨a, by simpa only [Algebra.smul_def] using hsa.symm⟩
Membership in every maximal localization, realized inside a common fraction
field, gives a base-ring representative.
theoremexists_base_of_localization_images
{z : K}
(hz : ∀m : MaximalSpectrumR, ∃y : Localization.AtPrime m.asIdeal,
Localization.mapToFractionRing K m.asIdeal.primeCompl
(Localization.AtPrime m.asIdeal)
m.asIdeal.primeCompl_le_nonZeroDivisors y = z) :
∃r : R, algebraMap RK r = z :=by
proof · 8
lines
apply exists_base_of_mem_all_maximal_localizations
intro m
obtain ⟨y, hy⟩ := hz m
change ∃ (a s : R) (_ : s ∈ m.asIdeal.primeCompl),
z = algebraMap RK a * (algebraMap RK s)⁻¹
exact (Localization.subalgebra.mem_range_mapToFractionRing_iff_ofField
K m.asIdeal.primeCompl m.asIdeal.primeCompl_le_nonZeroDivisors
(Localization.AtPrime m.asIdeal) z).mp ⟨y, hy⟩