The Kwan-Sah-Sauermann-Sawhney Theorem on Induced Subgraphs of Ramsey Graphs (Erdos Problem 88 Variant), Proved in Lean 4

Result: Proves the Kwan-Sah-Sauermann-Sawhney theorem (Forum Math. Pi 2023, Theorem 1.1) in Lean 4: for fixed C, eta > 0 and large n, every n-vertex C-Ramsey graph has an induced subgraph with exactly m edges for every 0 <= m <= (1 - eta) e(G). The 10,386-line direct proof of Erdos88.erdos_88.variants.kwan_sah_sauermann_sawhney was accepted by the Left to Solve Lean checker, which credits the root to the author. The main erdos_88 declaration additionally needs the Erdos-Szemeredi edge bound, which is not formalized here. A machine-checked Lean 4 proof of Theorem 1.1 of Kwan, Sah, Sauermann, and Sawhney: for fixed C, eta > 0 and large n, every C-Ramsey graph realizes every edge count up to (1 - eta) e(G) as an induced subgraph. The 10,386-line file proves Erdos88.erdos_88.variants.kwan_sah_sauermann_sawhney from FormalConjectures through KSSS.solution_of_short_interval, KSSS.short_interval_of_bucketed, and KSSS.bucketed_window, and was accepted by the Left to Solve Lean checker as PR #56342. Deriving the main declaration Erdos88.erdos_88 (the Erdos-McKay statement) needs the Erdos-Szemeredi edge bound, which this file does not formalize. Credits: Mathematics: Matthew Kwan, Ashwin Sah, Lisa Sauermann, and Mehtaab Sawhney (KSSS Theorem 1.1), building on Alon, Krivelevich, and Sudakov (2003); both are credited in the Lean file header. Target statement: FormalConjectures. The Lean proof was produced with AI coding agents operated by the author (PR body: agent t3-code, model gpt-6.2-astra). The file header and PR body record no adapted third-party Lean code and no third-party contributors. A separate Lean proof of the main erdos_88 declaration by another author is linked from FormalConjectures (plby/lean-proofs). Left to Solve also lists a reduction R1 of this root by picasso250 (PR #21750), which this proof does not use.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24765108
Primary Topic
Limits and Structures in Graph Theory
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

The Kwan-Sah-Sauermann-Sawhney Theorem on Induced Subgraphs of Ramsey Graphs (Erdos Problem 88 Variant), Proved in Lean 4

Ali Uyar
Zenodo (CERN European Organization for Nuclear Research)
Limits and Structures in Graph Theory
article

The Kwan-Sah-Sauermann-Sawhney Theorem on Induced Subgraphs of Ramsey Graphs (Erdos Problem 88 Variant), Proved in Lean 4

Ali Uyar
article en

Abstract

Result: Proves the Kwan-Sah-Sauermann-Sawhney theorem (Forum Math. Pi 2023, Theorem 1.1) in Lean 4: for fixed C, eta > 0 and large n, every n-vertex C-Ramsey graph has an induced subgraph with exactly m edges for every 0 <= m <= (1 - eta) e(G). The 10,386-line direct proof of Erdos88.erdos_88.variants.kwan_sah_sauermann_sawhney was accepted by the Left to Solve Lean checker, which credits the root to the author. The main erdos_88 declaration additionally needs the Erdos-Szemeredi edge bound, which is not formalized here. A machine-checked Lean 4 proof of Theorem 1.1 of Kwan, Sah, Sauermann, and Sawhney: for fixed C, eta > 0 and large n, every C-Ramsey graph realizes every edge count up to (1 - eta) e(G) as an induced subgraph. The 10,386-line file proves Erdos88.erdos_88.variants.kwan_sah_sauermann_sawhney from FormalConjectures through KSSS.solution_of_short_interval, KSSS.short_interval_of_bucketed, and KSSS.bucketed_window, and was accepted by the Left to Solve Lean checker as PR #56342. Deriving the main declaration Erdos88.erdos_88 (the Erdos-McKay statement) needs the Erdos-Szemeredi edge bound, which this file does not formalize. Credits: Mathematics: Matthew Kwan, Ashwin Sah, Lisa Sauermann, and Mehtaab Sawhney (KSSS Theorem 1.1), building on Alon, Krivelevich, and Sudakov (2003); both are credited in the Lean file header. Target statement: FormalConjectures. The Lean proof was produced with AI coding agents operated by the author (PR body: agent t3-code, model gpt-6.2-astra). The file header and PR body record no adapted third-party Lean code and no third-party contributors. A separate Lean proof of the main erdos_88 declaration by another author is linked from FormalConjectures (plby/lean-proofs). Left to Solve also lists a reduction R1 of this root by picasso250 (PR #21750), which this proof does not use.

Zenodo (CERN European Organization for Nuclear Research)
Limits and Structures in Graph Theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon