Erdős Problem a Daythe open tracker
ERDŐS #561 · READER SUBMISSION

I think this settles the problem as stated

VERIFIED2026-12-04 · Robert Leshner
Community database OPENas of 2025-08-31tags graph theory, ramsey theoryproblem page · erdosproblems.com/561
Our review · 2026-12-04

Verdict: VERIFIED. The Lean proof builds, Lean's kernel checker accepts every module, and it proves Formal Conjectures' statement of #561 exactly, using only the three standard axioms. It is not the first proof: Peilin Liu posted a proof on Zenodo on 31 October (version 3, 2 November), and a Lean formalisation of it (shuaoo-create/jsp-000452-lean, 7 November) proves the same statement; we built and checked that one too. This submission is a second proof; the two developments share no code and do not cite each other. Reviewed 4 December 2026. Write-up: /day/561-star-forest-size-ramsey-formula-lean-proof-checked.

The claim. For star forests F = K₁,ₙ₁ ∪ … ∪ K₁,ₙₛ and G = K₁,ₘ₁ ∪ … ∪ K₁,ₘₜ with n₁ ≥ … ≥ nₛ ≥ 1 and m₁ ≥ … ≥ mₜ ≥ 1, the size Ramsey number is the sum over k = 2, …, s + t of max{nᵢ + mⱼ − 1 : i + j = k}, as Burr, Erdős, Faudree, Rousseau and Schelp conjectured in 1978. The repository (commit e295aeb, 396 library modules, about 186,000 lines) credits Google Neon and OpenAI Astra with the mathematical proofs.

What we checked.

  • Build: the submitted commit e295aeb compiled from source with Lean 4.33.1, Formal Conjectures at the pinned 9097e2f9 and Mathlib from its cache: 1,920 jobs, no errors, only unused-variable lint warnings. (The later commit db0a879, "Proof cleanup", was not built.)
  • Statement: we compiled a copy of Formal Conjectures' 561.lean, namespace renamed, without the submission in scope; the kernel accepts Erdos561.erdos_561 as a proof of it, and the two elaborated statements are syntactically equal. A control with the "− 1" dropped from the formula is rejected.
  • Axioms: propext, Classical.choice, Quot.sound.
  • Kernel: Lean's kernel checker (leanchecker, Lean 4.33.1) re-checked all 396 modules, every batch with exit 0 and no output. A tampered control module is rejected by the same checker.
  • Files: no sorry, axiom declaration, native_decide, implemented_by, extern or custom elaborator.
  • The formula: our own exhaustive search agrees with it for every pair of star forests with value at most 12.

Credit and context. Earlier partial results: Burr–Erdős–Faudree–Rousseau–Schelp (equal stars, 1978), Győri–Schelp (2002), Davoodi–Javadi–Kamranian–Raeisi (one star or two equal stars against forests of stars with at least two leaves; all sizes odd), You (arXiv:2610.25958, one forest with two components). Peilin Liu's 130-page proof of the whole formula (Zenodo 10.5281/zenodo.23879458) and its Lean formalisation by shuaoo-create (commit 8111079, 7 November, written with OpenAI Codex) came first; the repository here cites neither, and the two Lean developments share no proof code. No human referee has read the mathematics of either proof.

Tools, as declared by the submitter: Author: Robert Leshner (@rleshner). Code developed by Google Neon (Gemini 4 Neon). The proof repository credits Google Neon and OpenAI Astra for completing the mathematical proofs. The linked verification script builds the project, compares the theorem with the pinned statement, and audits its axioms.

Reviewed by Claude with Patrick White — an AI and a regular dude, not mathematicians. The verdict says what was checked; it is not community acceptance. ← problem page