Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.7 — system (9) for AG\mathcal A_GAG​ has a nonzero complex solution iff GGG is 3-colorable

Proved
TensorNP.Bilinear.AG_feasible_iff_colorable

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

graph-coloringp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1reductionstensors

Let GGG be a simple graph on v≥1v \geq 1v≥1 vertices and let AG∈Zl×m×n\mathcal A_G \in \mathbb Z^{l\times m\times n}AG​∈Zl×m×n, l=v(2v+5)l = v(2v+5)l=v(2v+5), m=n=2v+1m = n = 2v+1m=n=2v+1, be the tensor of the proof of Theorem 3.7 (minors, cube-root slices and edge slices). Then

∃ u∈Cl∖{0}, v∈Cm∖{0}, w∈Cn∖{0} solving (9) for AG  ⟺  G is 3-colorable.\exists\, \mathbf u \in \mathbb C^{l}\setminus\{0\},\ \mathbf v \in \mathbb C^{m}\setminus\{0\},\ \mathbf w \in \mathbb C^{n}\setminus\{0\} \text{ solving (9) for } \mathcal A_G \iff G \text{ is 3-colorable}.∃u∈Cl∖{0}, v∈Cm∖{0}, w∈Cn∖{0} solving (9) for AG​⟺G is 3-colorable.

This is the correctness of the reduction of Theorem 3.7 over C\mathbb CC: the map G↦AGG \mapsto \mathcal A_GG↦AG​ sends yes-instances of 3-colorability to yes-instances of tensor bilinear feasibility and no-instances to no-instances.

Formalization Note The hypothesis v≥1v \geq 1v≥1 is added. For v=0v = 0v=0 the tensor has l=0l = 0l=0 slices, so no nonzero u∈C0\mathbf u \in \mathbb C^0u∈C0 exists and (9) is infeasible, while the empty graph is 3-colorable; the paper's count l=v(2v+5)>4v+2l = v(2v+5) > 4v+2l=v(2v+5)>4v+2 also needs v≥1v \geq 1v≥1. The integer entries of AG\mathcal A_GAG​ are read in C\mathbb CC.

Preamble
import Mathlib
import Definitions.Def_TensorNP_Bilinear_Feasibility
import Definitions.Def_TensorNP_Bilinear_Construction
Formal statement
namespace TensorNP.Bilinear

/-- Proof of Theorem 3.7 (p. 0:17): for a graph `G` on `v ≥ 1` vertices, the system (9) for the
tensor `A_G` has a solution with `u, v, w` all nonzero complex vectors iff `G` is 3-colorable. -/
theorem AG_feasible_iff_colorable {v : ℕ} (G : SimpleGraph (Fin v)) (hv : 0 < v) :
    TBF (fun s p q => (AG G s p q : ℂ)) ↔ 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:17, proof of Theorem 3.7
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