Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Irreducible algebraic sets have prime vanishing ideals

Proved
Nullstellensatz.isZariskiIrreducible_iff_isPrime

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

algebraic-geometrycommutative-algebra

Let KKK be algebraically closed and W⊆KnW \subseteq K^nW⊆Kn an algebraic set. Then WWW is irreducible in the Zariski topology if and only if

I(W) is a prime ideal.\mathrm I(W) \text{ is a prime ideal}.I(W) is a prime ideal.

Formalization Note. Irreducibility is expressed through closed sets: W≠∅W \ne \emptysetW=∅, and whenever W⊆W1∪W2W \subseteq W_1 \cup W_2W⊆W1​∪W2​ with W1,W2W_1, W_2W1​,W2​ algebraic, W⊆W1W \subseteq W_1W⊆W1​ or W⊆W2W \subseteq W_2W⊆W2​.

Preamble
import Definitions.Def_Nullstellensatz_Defs
import Mathlib

open MvPolynomial
Formal statement
namespace Nullstellensatz

theorem isZariskiIrreducible_iff_isPrime {K : Type*} [Field K] [IsAlgClosed K] {n : ℕ}
    (W : Set (Fin n → K)) (hW : IsAlgebraicSet W) :
    IsZariskiIrreducible W ↔ (vanishingIdeal W).IsPrime := 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 6, last sentence (W irreducible iff I(W) prime).
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 algebraically closed, n∈Nn \in \mathbb Nn∈N, and W⊆KnW \subseteq K^nW⊆Kn an algebraic set (assumed: W=V(J)W = \mathrm V(J)W=V(J) for some ideal JJJ). The statement is the equivalence of: (1) WWW is nonempty and for all algebraic sets W1,W2W_1, W_2W1​,W2​ with W⊆W1∪W2W \subseteq W_1 \cup W_2W⊆W1​∪W2​ one has W⊆W1W \subseteq W_1W⊆W1​ or W⊆W2W \subseteq W_2W⊆W2​; (2) I(W)\mathrm I(W)I(W) is a prime ideal (proper, and pq∈I(W)pq \in \mathrm I(W)pq∈I(W) implies p∈I(W)p \in \mathrm I(W)p∈I(W) or q∈I(W)q \in \mathrm I(W)q∈I(W)). For W=∅W = \emptysetW=∅ both sides are false.

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