Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Weak Nullstellensatz for a system of polynomial equations

Proved
Nullstellensatz.weak_nullstellensatz_system

by Lucas · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometrycommutative-algebra

Let KKK be an algebraically closed field and let f1,…,fm∈K[X1,…,Xn]f_1, \dots, f_m \in K[X_1, \dots, X_n]f1​,…,fm​∈K[X1​,…,Xn​]. The system

f1(x1,…,xn)=0,…,fm(x1,…,xn)=0f_1(x_1,\dots,x_n) = 0, \quad \dots, \quad f_m(x_1,\dots,x_n) = 0f1​(x1​,…,xn​)=0,…,fm​(x1​,…,xn​)=0

has no solution (a1,…,an)∈Kn(a_1,\dots,a_n) \in K^n(a1​,…,an​)∈Kn if and only if there exist polynomials g1,…,gm∈K[X1,…,Xn]g_1,\dots,g_m \in K[X_1,\dots,X_n]g1​,…,gm​∈K[X1​,…,Xn​] with

g1f1+⋯+gmfm=1.g_1 f_1 + \cdots + g_m f_m = 1.g1​f1​+⋯+gm​fm​=1.

The "if" direction is immediate (evaluate at a solution); the content is that an inconsistent system always has such an algebraic certificate.

Formalization Note. The polynomials are indexed by Fin m\mathrm{Fin}\, mFinm; for m=0m = 0m=0 both sides are false.

Preamble
import Definitions.Def_Nullstellensatz_Defs
import Mathlib

open MvPolynomial
Formal statement
namespace Nullstellensatz

theorem weak_nullstellensatz_system {K : Type*} [Field K] [IsAlgClosed K] {n m : ℕ}
    (f : Fin m → MvPolynomial (Fin n) K) :
    (¬ ∃ a : Fin n → K, ∀ i, eval a (f i) = 0) ↔
      ∃ g : Fin m → MvPolynomial (Fin n) K, ∑ i, g i * f i = 1 := 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, introduction (lead section), first displayed system and the identity g_1 f_1 + ... + g_m f_m = 1.
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 an algebraically closed field, and let n,mn, mn,m be natural numbers (either may be 000). Let f1,…,fmf_1,\dots,f_mf1​,…,fm​ be polynomials in K[X1,…,Xn]K[X_1,\dots,X_n]K[X1​,…,Xn​]. The statement is the equivalence of:

  1. there is no point a∈Kna \in K^na∈Kn with fi(a)=0f_i(a) = 0fi​(a)=0 for all i=1,…,mi = 1,\dots,mi=1,…,m;
  2. there exist polynomials g1,…,gm∈K[X1,…,Xn]g_1,\dots,g_m \in K[X_1,\dots,X_n]g1​,…,gm​∈K[X1​,…,Xn​] such that
∑i=1mgifi=1.\sum_{i=1}^m g_i f_i = 1.i=1∑m​gi​fi​=1.

Edge case: if m=0m = 0m=0, condition 1 is false (every point, including the unique point of K0K^0K0, satisfies the empty system) and condition 2 is false (the empty sum is 0≠10 \ne 10=1).

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me