Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.10 — CGC_GCG​ has a nonzero complex zero iff GGG is 3-colorable

Proved
TensorNP.Bilinear.lemma_2_10

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-coloringp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1polynomial-systems

Let GGG be a simple graph on vvv vertices and let CGC_GCG​ be its color encoding (Definition 2.9), a set of 4v4v4v quadratic polynomials in the 2v+12v+12v+1 unknowns x1,…,xv,y1,…,yv,zx_1,\dots,x_v,y_1,\dots,y_v,zx1​,…,xv​,y1​,…,yv​,z. Then

∃ 0≠(x1,…,xv,y1,…,yv,z)∈C2v+1 at which every polynomial of CG vanishes  ⟺  G is 3-colorable.\exists\, 0 \neq (x_1,\dots,x_v,y_1,\dots,y_v,z) \in \mathbb C^{2v+1} \text{ at which every polynomial of } C_G \text{ vanishes} \iff G \text{ is 3-colorable}.∃0=(x1​,…,xv​,y1​,…,yv​,z)∈C2v+1 at which every polynomial of CG​ vanishes⟺G is 3-colorable.

The lemma turns 3-colorability into the feasibility of a homogeneous quadratic system; the reduction of Theorem 3.7 is built on it.

Formalization Note 3-colorability is Mathlib's SimpleGraph.Colorable 3. For v=0v = 0v=0 both sides hold (z=1z = 1z=1 is a nonzero zero of the empty system).

Preamble
import Mathlib
import Definitions.Def_TensorNP_Bilinear_ColorEncoding
Formal statement
namespace TensorNP.Bilinear

/-- Lemma 2.10 (p. 0:14): the color encoding `C_G` has a nonzero complex solution if and only if
`G` is 3-colorable. -/
theorem lemma_2_10 {v : ℕ} (G : SimpleGraph (Fin v)) :
    (∃ p : Fin (2 * v + 1) → ℂ, p ≠ 0 ∧ ∀ (c : Fin 4) (i : Fin v), colorEncoding G c i p = 0) ↔
      G.Colorable 3 := by sorry

end TensorNP.Bilinear
Source
Hillar & Lim, Most Tensor Problems Are NP-Hard, J. ACM 60(6) (2013), Art. 45 (final version, arXiv:0911.1393v5), p. 0:14, Lemma 2.10 (proof p. 0:14–0:15)
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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