Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Hilbert's Nullstellensatz

Proved
Nullstellensatz.nullstellensatz

by LG · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometrycommutative-algebra

Let kkk be a field and KKK an algebraically closed field extension of kkk. Let JJJ be an ideal of k[X1,…,Xn]k[X_1,\dots,X_n]k[X1​,…,Xn​], and let V(J)⊆Kn\mathrm V(J) \subseteq K^nV(J)⊆Kn be the set of a∈Kna \in K^na∈Kn with f(a)=0f(a) = 0f(a)=0 for all f∈Jf \in Jf∈J. If p∈k[X1,…,Xn]p \in k[X_1,\dots,X_n]p∈k[X1​,…,Xn​] vanishes on V(J)\mathrm V(J)V(J), i.e. p(a)=0p(a) = 0p(a)=0 for all a∈V(J)a \in \mathrm V(J)a∈V(J), then there is a natural number rrr such that

pr∈J.p^r \in J.pr∈J.

This is Hilbert's Nullstellensatz (1893), the basic link between ideals of polynomial rings and the geometry of their zero sets.

Formalization Note. KKK is a kkk-algebra, and polynomials over kkk are evaluated at points of KnK^nKn through the embedding k→Kk \to Kk→K. The algebraic set is written out inline, since it lives in KnK^nKn while JJJ lives in k[X]k[X]k[X].

Preamble
import Definitions.Def_Nullstellensatz_Defs
import Mathlib

open MvPolynomial
Formal statement
namespace Nullstellensatz

theorem nullstellensatz {k K : Type*} [Field k] [Field K] [IsAlgClosed K] [Algebra k K]
    {n : ℕ} (J : Ideal (MvPolynomial (Fin n) k)) (p : MvPolynomial (Fin n) k)
    (hp : ∀ a : Fin n → K, (∀ f ∈ J, aeval a f = 0) → aeval a p = 0) :
    ∃ r : ℕ, p ^ r ∈ J := by sorry

end Nullstellensatz
Source
Wikipedia, article "Hilbert's Nullstellensatz" (snapshot supplied as Hilbert's_Nullstellensatz.pdf, printed 2026-09-27), https://en.wikipedia.org/wiki/Hilbert%27s_Nullstellensatz, section "Formulations", paragraph 1 (the statement with k a field and K an algebraically closed extension; reference [2] of the article).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source article and of the intended meaning. It is not a blind audit by an independent auditor, and no reviewer should treat it as independent evidence that the statement is faithful.

Let kkk be a field and KKK an algebraically closed field with a kkk-algebra structure (a ring homomorphism k→Kk \to Kk→K). Let n∈Nn \in \mathbb Nn∈N, JJJ an ideal of k[X1,…,Xn]k[X_1,\dots,X_n]k[X1​,…,Xn​], and p∈k[X1,…,Xn]p \in k[X_1,\dots,X_n]p∈k[X1​,…,Xn​]. Hypothesis: for every a∈Kna \in K^na∈Kn, if f(a)=0f(a) = 0f(a)=0 for all f∈Jf \in Jf∈J, then p(a)=0p(a) = 0p(a)=0 — here evaluation of a polynomial over kkk at a point of KnK^nKn maps coefficients into KKK and substitutes aia_iai​ for XiX_iXi​. Conclusion: there exists a natural number rrr (possibly 000) with pr∈Jp^r \in Jpr∈J. If r=0r = 0r=0 is the witness then 1∈J1 \in J1∈J, i.e. JJJ is the whole ring.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 28, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me