Kernel-Evaluated Ramsey Bounds in Lean 4
Authors/Creators
- 1. Origin Neural AI, a subsidiary of SmartLedger Solutions
Description
Version 2 of this note formalises twelve classical Ramsey lower bounds in Lean 4 with Mathlib v4.33.1, using witnesses on up to 101 vertices. The four bounds added in version 2 are R(3,9) > 35, R(3,10) > 39, R(4,6) > 35 and R(4,7) > 48. It also proves upper bounds giving the exact values R(3,3)=6, R(3,4)=9, R(3,5)=14 and R(4,4)=18. A reusable bitmask clique checker has a soundness theorem with no hypothesis on the input graph, and version 2 adds a variant with population-count pruning, also with a soundness theorem. Witness computations use decide +kernel, and each lower-bound theorem is its own module. All theorem dependencies are limited to propext, Classical.choice and Quot.sound; no result relies on sorry, a project-declared axiom or native evaluation. The bounds are classical and several of the values have been formalised before; no new Ramsey bound is claimed. The source of several edge-list witnesses has not been established, and no claim is made about their origin. The bound for R(6,6) uses the unpruned checker, because a pruned attempt on that graph was stopped after 56 minutes at about 19 GB of memory, for a reason we have not diagnosed.
Contents. The paper (PDF) and a bundle (zip with SHA-256) containing the Lean 4 sources (seven modules and twelve lower-bound modules), the pinned lakefile.toml, lake-manifest.json and lean-toolchain, the witness data, an independent Python checker, rejection tests, a reuse example, the scripts that generate every number in the paper, the manuscript template, replay.sh and SHA256SUMS.
How to verify. Unpack the bundle, run lake exe cache get once, then ./replay.sh. It scans the bundle, checks the witnesses independently, builds the Lean development one lower-bound module at a time, runs the axiom audit and the rejection tests, regenerates the numbers and compares them with the paper. It exits non-zero on any failure; the expected last line is REPLAY OK. The R(6,6) module needs about 12 GB of memory.
Environment. Lean v4.33.1 and Mathlib v4.33.1 (commit 0df444a3), and Python 3.9 or later.
Licence. CC BY-NC 4.0, copyright SmartLedger Solutions, produced by Origin Neural AI. Commercial use requires written permission from labs@smartledger.solutions. No patent licence is granted. See smartledger.solutions.
Notes
Files
Kernel_Evaluated_Ramsey_Bounds_v2.pdf
Files
(230.9 kB)
| Name | Size | |
|---|---|---|
|
md5:733ec76908d525c281a10baaeb67b610
|
76.2 kB | Preview Download |
|
md5:323eab1277a4bd19bb0ea06ca5476015
|
1.4 kB | Preview Download |
|
md5:d3877097212816724a8fdddd55ef2621
|
150.1 kB | Preview Download |
|
md5:a3b991a87301af6f436e56aaccff15aa
|
102 Bytes | Download |
|
md5:06352d487374b427739f15f0c460fee2
|
3.2 kB | Preview Download |