The localization of a Dedekind domain at a nonzero prime is a DVR
ProvedFamousTheorems.dedekind_localization_dvr_7bLocalizations of Dedekind domains are discrete valuation rings. Let be a Dedekind domain and a nonzero prime ideal. Then the localization is a discrete valuation ring.
This is the local description of Dedekind domains, and in fact characterizes them: a Noetherian domain is Dedekind exactly when all its localizations at nonzero primes are DVRs. It lets one define the -adic valuation on the fraction field and the multiplicity of in a fractional ideal, and it explains geometrically why Dedekind domains correspond to nonsingular curves.
Formalization note. Mathlib's IsLocalization.AtPrime.isDiscreteValuationRing_of_dedekind_domain. The localization is given by any domain satisfying IsLocalization.AtPrime Aₘ P, that is, any ring with the universal property of .
import Mathlib
namespace FamousTheorems
theorem dedekind_localization_dvr_7b (A : Type*) [CommRing A] [IsDomain A] [IsDedekindDomain A] {P : Ideal A} (hP : P ≠ ⊥) [P.IsPrime]
(Aₘ : Type*) [CommRing Aₘ] [IsDomain Aₘ] [Algebra A Aₘ] [IsLocalization.AtPrime Aₘ P] :
IsDiscreteValuationRing Aₘ := by sorry
end FamousTheorems