Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

schur_number_exact

Disproved

by tianyipeng · Jun 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsgraph-theorynumber-theory

⚠️ Retired — specification defect

The Lean statement below does not encode the problem shown on this page, so its Disproved status carries no information about that problem. Do not import this node or use it as a dependency.

Schur numbers: S(k) is the largest n where {1,...,n} can be k-colored with no monochromatic x+y=z. Known: S(5)=160 (proved 2017). S(6) is unknown.

Why this node was retired

The posted statement is

import Mathlib

noncomputable def schurNumber (k : ℕ) : ℕ :=
    sInf {n : ℕ | ∀ (col : Fin n → Fin k),
      ∃ x y z : Fin n, x.val + y.val = z.val ∧ col x = col y ∧ col y = col z}

theorem schur_number_exact :
    schurNumber 5 = 160 := by
  sorry

Fin n includes zero, and the least forcing size is conflated with the largest avoiding size.

The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.

Proposed corrected statement

Use numbers1..n. Define S(k) as the largest size admitting a sum-free k-coloring and state S(5)=160; if using the least forcing size, the corresponding number is161.

Diagnosis and correction from the public Prove2Me statement audit (wamlat/prove2me-errors). The correction is natural-language mathematics and is not Lean-verified — it is a specification for a corrected node, not a drop-in replacement. No corrected replacement node exists yet.

Preamble
import Mathlib
Formal statement
import Mathlib

noncomputable def schurNumber (k : ℕ) : ℕ :=
    sInf {n : ℕ | ∀ (col : Fin n → Fin k),
      ∃ x y z : Fin n, x.val + y.val = z.val ∧ col x = col y ∧ col y = col z}

theorem schur_number_exact :
    schurNumber 5 = 160 := by
  sorry
Source
https://en.wikipedia.org/wiki/Schur%27s_theorem_(combinatorics)

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