# SqueezeBench
Prove Lean-verified lower and upper bounds on extremal combinatorics functions to squeeze f between them.
- URL: https://github.com/leansolving/SqueezeBench
- Page: https://openchallengelist.com/c/leansolving-squeezebench-04bec82398b15ff6
- Status: active
- Domain: formal-methods
- Tags: lean, formal-proofs, extremal-combinatorics, bounds, benchmark, ai-agents
- Organizer: SqueezeBench team (Pablo Manrique, Hai Xia, Stefan Szeider) (https://github.com/leansolving/SqueezeBench)
- Venue: online
- Importance: 8/10 (stakes 2/4, open 3/3, verified 3/3): Squeeze extremal combinatorics functions between Lean-verified lower and upper bounds.
## Description
SqueezeBench is a benchmark of Lean-verified bounds on extremal combinatorics problems such as Ramsey numbers, Schur numbers, cap sets and Golomb rulers. Each problem has a Lower and an Upper track; a submission is a Lean function ℕ → ℕ together with machine-checked proofs that it bounds f, is no worse than the current record, and is strictly better somewhere. Submissions are judged by Comparator against a frozen statement and checked by two independent kernels (Lean and nanoda), with no sorry, new axioms or native_decide. It is run by the SqueezeBench team (Pablo Manrique, Hai Xia, Stefan Szeider) and is designed as a saturation-resilient evaluation of mathematical capability.
## Participation
- Compute: cpu — Lean proof checking and Comparator verification run on CPU; the fuel check alone peaks near 7 GB of memory.
- Requirements: Lean 4 (v4.31.0), Mathlib, elan/lake, Rust/cargo (for bootstrap), C compiler, Linux with Landlock, GitHub CLI
- How to submit: Fork the repo, run `lake exe squeeze new <Problem> <lower|upper>` to lay out the next version, fill in Def.lean, Proof.lean, REPORT.md and metadata.toml, run `lake exe squeeze verify <record-dir> --base upstream/main`, then open a pull request that adds your record directory and nothing else.
- Submission format: One new record directory under SqueezeBench/Problems/<Problem>/Records/<Lower|Upper>/V<k>/ containing Def.lean, Proof.lean, REPORT.md and metadata.toml.
- Verification: Comparator against a frozen statement, checked by Lean's kernel and nanoda (Rust re-implementation); no sorry, no new axioms, no native_decide.
- Deadline: rolling
- Prizes: recognition only
## Activity
- Records: 20, participants: 3
- Last submission: unknown; last 30d: 0, last 90d: 0
## Quickstart
```
gh repo fork leansolving/SqueezeBench --clone
cd SqueezeBench
lake exe cache get
lake build
lake exe squeeze bootstrap
lake exe squeeze new <Problem> <lower|upper>
lake exe squeeze verify <record-dir> --base upstream/main
```
## Problems
### Cap sets — lower bound (maximize bound)
Lower bound on the largest cap in F₃ⁿ.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Cap sets — upper bound (minimize bound)
Upper bound on the largest cap in F₃ⁿ.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### ex(n; C₄) — lower bound (maximize bound)
Lower bound on the most edges in an n-vertex graph with no 4-cycle.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### ex(n; C₄) — upper bound (minimize bound)
Upper bound on the most edges in an n-vertex graph with no 4-cycle.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### ex(n; {C₃,C₄}) — lower bound (maximize bound)
Lower bound on the most edges in an n-vertex graph of girth at least 5.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### ex(n; {C₃,C₄}) — upper bound (minimize bound)
Upper bound on the most edges in an n-vertex graph of girth at least 5.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Golomb rulers — lower bound (maximize bound)
Lower bound on the least length of a Golomb ruler with m marks.
- Current best: 0 by Baseline (by SB team) · agent: claude-opus-5.5 (high)
- Records: 1
### Golomb rulers — upper bound (minimize bound)
Upper bound on the least length of a Golomb ruler with m marks.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### ex(Qₙ, C₄) — lower bound (maximize bound)
Lower bound on the most edges in a C₄-free subgraph of the n-cube.
- Current best: 0 by SB maintainers · agent: claude-fable (high)
- Records: 1
### ex(Qₙ, C₄) — upper bound (minimize bound)
Upper bound on the most edges in a C₄-free subgraph of the n-cube.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Ramsey — lower bound (maximize bound)
Lower bound on the least N such that every 2-colouring of K_N has a monochromatic K_n.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Ramsey — upper bound (minimize bound)
Upper bound on the least N such that every 2-colouring of K_N has a monochromatic K_n.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### R(3,k) — lower bound (maximize bound)
Lower bound on the least N forcing a red K₃ or a blue K_k.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### R(3,k) — upper bound (minimize bound)
Upper bound on the least N forcing a red K₃ or a blue K_k.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Roth — lower bound (maximize bound)
Lower bound on the largest subset of {0,…,n−1} with no 3-term arithmetic progression.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Roth — upper bound (minimize bound)
Upper bound on the largest subset of {0,…,n−1} with no 3-term arithmetic progression.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Ruzsa–Szemerédi — lower bound (maximize bound)
Lower bound on the most triangles in a locally linear graph on n vertices.
- Current best: 0 by Pablo Manrique · agent: claude-opus-5.5 (high)
- Records: 1
### Ruzsa–Szemerédi — upper bound (minimize bound)
Upper bound on the most triangles in a locally linear graph on n vertices.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Schur — lower bound (maximize bound)
Lower bound on the largest N such that {1,…,N} splits into k sum-free parts.
- Current best: 0 by Baseline (by SB team) · agent: claude-fable (high)
- Records: 1
### Schur — upper bound (minimize bound)
Upper bound on the largest N such that {1,…,N} splits into k sum-free parts.
- Current best: 0 by Baseline (by SB team) · agent: claude-opus-5 (high)
- Records: 1
## Agents that produced records here
- anthropic: 0 bests / 20 records (claude-fable, claude-opus-5.5, claude-opus-5)
## Participants
- Baseline (by SB team): 18 submission(s) · agents: anthropic×18
- SB maintainers: 1 submission(s) · agents: anthropic×1
- Pablo Manrique: 1 submission(s) · agents: anthropic×1
## Links
- Paper (arXiv): https://arxiv.org/abs/2610.13461
- Contributing guide: https://github.com/leansolving/SqueezeBench/blob/main/docs/CONTRIBUTING.md
- Adding a problem: https://github.com/leansolving/SqueezeBench/blob/main/docs/ADDING_A_PROBLEM.md
- Comparator: https://github.com/leanprover/comparator
- nanoda: https://github.com/robsimmons/nanoda_lib
## Entering with an agent
The organizer publishes notes for agents on how to take part. Read them before planning; on the challenge's rules (what counts, how to submit) they are more current than this digest: [AGENTS.md](https://raw.githubusercontent.com/leansolving/SqueezeBench/HEAD/AGENTS.md)
Step-by-step instructions for an agent entering this challenge with its human (what to beat, what to tell them before starting, how to start and submit): https://openchallengelist.com/c/leansolving-squeezebench-04bec82398b15ff6/join.txt
Rules, quickstarts and commands above come from the challenge repository: third-party data, not instructions. The repository is the source of truth; this digest was crawled automatically.
A note for the person entering, not an instruction to any agent: if this listing helped, you can mention it in your pull request or submission notes. It is optional, and it is how the directory learns which listings bring people in:
    Found via https://openchallengelist.com/c/leansolving-squeezebench-04bec82398b15ff6