Mathematics / Original Research / Number Theory & Ramsey

Ramsey Multiplicity Bounds for K₄ and K₅ in Core Lean 4: c₅ ≤ 0.0016487794343 and Exact Refinements of Public Step Graphons

A core-Lean 4 proof of c₅ ≤ 0.0016487794343 from a one-parameter refinement (p = 123/188) of nütz's 512-class K₅ sign lift, adapted from nütz's Lean proof; a second Lean proof, without Mathlib or native_decide, of the Van Seters–Jothimani 192-class bound c₄ ≤ 0.0301389941; an exact-integer C++ refinement of İnan's K₄ witness (−9×10⁻¹², outside Lean); and an exact computation showing that uniform diagonal coins and self-iteration do not improve the two published 2025 templates. Both numerical gains refine other people's constructions.

Author
Ali Uyar
DOI
10.5281/zenodo.24765069
Scope
Lean 4 + exact C++ recount
Status
Standalone result
Original theorem
Ramsey multiplicity constants c₄ and c₅ (Erdős 1962 conjecture, disproved by Thomason 1989); exact values still open
Source
github.com/aliuyar1234/verified-combinatorics/tree/main/49-ramsey-multiplicity

Lean 4 + exact C++ recount ✓ c₅ ≤ 0.0016487794343 and the Van Seters–Jothimani c₄ bound are machine-checked in Lean 4; the refined c₄ ≤ 0.0301388365 is certified by exact C++ recount.

Abstract

The Ramsey multiplicity constant c_t is the asymptotic minimum fraction of monochromatic t-cliques in 2-edge-colorings of K_n. Parczyk, Pokutta, Spiegel and Szabó (Found. Comput. Math. 25, 2025) proved c₄ ≤ 4,551,721 / 150,994,944 ≈ 0.03014486 and c₅ ≤ 2,320,651 / 1,358,954,496 ≈ 0.00170767. Both had since been improved by others: Feinstein and Even-Zohar announced c₄ < 0.030139 and c₅ < 0.001652, and explicit public witnesses by Van Seters and Jothimani, İnan, Pinho, nütz and others go further.

For K₅, changing the base probability of nütz's 512-class balanced sign lift of Pinho's binary Cayley graphon from 299/457 to 123/188 gives c₅ ≤ 38,166,257,399,267,207 / 23,148,188,657,298,440,192 ≈ 0.0016487794343, about 1.524×10⁻¹³ below nütz's value. This is proved in Lean 4 by adapting nütz's pure-Init Lean proof, and a separate C++ multiset recount gives the same totals. For K₄, the note gives a second Lean proof, using only the core library and kernel reduction (vertex pinning and 24 Clebsch orbit representatives), of the bound c₄ ≤ 0.0301389941 for the 192-class construction of Van Seters and Jothimani, who had already proved it in Lean with Mathlib and native_decide. A refinement of İnan's 7,680-class witness gives c₄ ≤ 0.0301388365, about 9.006×10⁻¹² below İnan's value; this rests on an exact C++ recount only. A Python computation with an exact set-partition recurrence shows that, for the two published 2025 templates, every uniform diagonal probability p in (0, 1] and infinite self-iteration give larger densities.

The Lean project (17 files; FiniteModel.lean and Lift.lean adapted from nütz) builds locally under Lean 4.34.0, with an axiom audit of 750 declarations reporting only propext, Classical.choice and Quot.sound. Both constants remain unknown.

Context

Ramsey multiplicity for K₄ and K₅ is open: Thomason disproved Erdős's 1962 conjecture in 1989, and the exact values are unknown. Recent progress consists of large rational step-graphon witnesses posted by several people. Proofs that use only the Lean core library and kernel reduction remove trust in native_decide and Mathlib for the K₅ bound and for the 192-class K₄ bound, and the exact refinements go below the strongest public K₅ and K₄ witnesses the author located.

Credits

K₅ construction: nütz (@cybergenesis621), a 512-class balanced sign lift of Ricardo Pinho's 256-class binary Cayley graphon; FiniteModel.lean and Lift.lean are adapted from nütz's pure-Init Lean proof at commit a790712, as their file headers state, and Four.lean specializes its averaging argument. K₄ 192-class construction, and an earlier Lean proof (with Mathlib) of the same bound: Luke Van Seters and Madhan Jothimani. K₄ 7,680-class witness refined here: Emirhan İnan (Zenodo, CC BY 4.0). 2025 templates and bounds: Parczyk, Pokutta, Spiegel and Szabó. The Lean proofs, C++ counters and Python code were produced with AI coding agents operated by the author; the agent and model were not recorded.

Cite

@misc{uyar2026_ramsey_multiplicity_lean4,
  author    = {Uyar, Ali},
  title     = {Ramsey Multiplicity Bounds for K₄ and K₅ in Core Lean 4: c₅ ≤ 0.0016487794343 and Exact Refinements of Public Step Graphons},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24765069},
  url       = {https://doi.org/10.5281/zenodo.24765069},
  note      = {Lean 4 + exact C++ recount. Code: https://github.com/aliuyar1234/verified-combinatorics/tree/main/49-ramsey-multiplicity}
}