The nilradical is the intersection of all prime ideals
ProvedFamousTheorems.nilradical_eq_inf_primes_7bThe nilradical is the intersection of all prime ideals. Let be a commutative ring. The set of nilpotent elements of is the intersection of all prime ideals of .
Geometrically, a function on vanishes at every point exactly when it is nilpotent. The theorem is the ring-theoretic basis of the Nullstellensatz and of the definition of reduced schemes. One inclusion is clear. For the other, if is not nilpotent then the localization is nonzero and has a maximal ideal, whose preimage is a prime not containing .
Formalization note. Mathlib's nilradical_eq_sInf, stated for commutative semirings. nilradical R is the ideal of nilpotent elements and sInf is the intersection of a set of ideals.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem nilradical_eq_inf_primes_7b (R : Type*) [CommSemiring R] : nilradical R = sInf {J : Ideal R | J.IsPrime} := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `nilradical_eq_sInf`. Proof here reduces to that Mathlib result.