Doubly Saturated Ramsey Graphs: A Case Study in Computer-Assisted Mathematical Discovery

Benjamin Przybocki, John Mackey, Marijn J. H. Heule, Bernardo Subercaseaux
4/23/2026
math.COcs.AI

No confident code implementation found for this paper.

Abstract

Ramsey-good graphs are graphs that contain neither a clique of size $s$ nor an independent set of size $t$. We study doubly saturated Ramsey-good graphs, defined as Ramsey-good graphs in which the addition or removal of any edge necessarily creates an $s$-clique or a $t$-independent set.

Show full abstract

We present a method combining SAT solving with bespoke LLM-generated code to discover infinite families of such graphs, answering a question of Grinstead and Roberts from 1982. In addition, we use LLMs to generate and formalize correctness proofs in Lean. This case study highlights the potential of integrating automated reasoning, large language models, and formal verification to accelerate mathematical discovery. We argue that such tool-driven workflows will play an increasingly central role in experimental mathematics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{przybocki2026doubly,
  title  = {Doubly Saturated Ramsey Graphs: A Case Study in Computer-Assisted Mathematical Discovery},
  author = {Benjamin Przybocki and John Mackey and Marijn J. H. Heule and Bernardo Subercaseaux},
  year   = {2026},
  eprint = {2604.21187},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.21187v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.21187.svg)](https://codeofpaper.com/paper/2604.21187)

Discussion