A Dedekind domain with finitely many primes is a PID
ProvedFamousTheorems.dedekind_finite_primes_pid_7bA Dedekind domain with finitely many primes is a PID. Let be a Dedekind domain with only finitely many prime ideals. Then every ideal of is principal.
Examples are the localizations of rings of integers at finitely many primes, which are semi-local. The result is used to reduce questions about Dedekind domains to local and semi-local ones. The proof uses the Chinese remainder theorem to find, for a nonzero prime , an element that lies in but not in or any other prime, so .
Formalization note. Mathlib's IsPrincipalIdealRing.of_finite_primes. In Mathlib a Dedekind domain is a Noetherian, integrally closed domain in which every nonzero prime is maximal; a field counts as a Dedekind domain.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem dedekind_finite_primes_pid_7b {R : Type*} [CommRing R] [IsDedekindDomain R] (h : {I : Ideal R | I.IsPrime}.Finite) :
IsPrincipalIdealRing R := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `IsPrincipalIdealRing.of_finite_primes`. Proof here reduces to that Mathlib result.