A constructive proof with a Lean-checked exact formula
Read the proof · Lean theorem · Verification status · Original paper · fohn
A pebbling move removes two pebbles from one vertex and places one on a neighbour. A configuration is stackable when all surviving pebbles can be brought to a single vertex.
This project gives a constructive argument for the exact stacking number of every even cycle, without the Almost Stacked Hypothesis.
| Result | Evidence |
|---|---|
| Exact least stacking number, for every n ≥ 2 | Lean checked — equality theorem |
| Every configuration at the target mass stacks, for all n ≥ 2 | Lean checked — full upper-bound theorem |
| Matching obstruction one pebble below the threshold | Lean checked — lower-bound theorem, formalizing the known obstruction from the original paper |
| Legal move sequences on C4, C6 and C8 | Exhaustively replayed — saved results |
| Independent mathematical audit | Supported — Claude Opus 5.5 review |
The Lean certificate proves both bounds and the least-threshold equality. Its only mathematical premise is n ≥ 2. The final check replays the declarations and their imports into a fresh Lean kernel environment. See the exact scope and axiom audit.
The proof selects a balanced root, clears one side of the cycle within a mass budget, and finishes on a path. A single pivot handles the remaining large-triple case.
| Start here | Contents |
|---|---|
| Main proof | Complete argument, including all small-cycle and parity cases |
| Lean source | Legal moves, arm bounds, root selection and the all-n theorem |
| Axiom audit | Dependencies of the checked declarations |
| Path obstruction and lower bound | Why an initial spanning path can fail, and a direct lower-bound proof |
| Compact certificates | Large-n examples without expanding exponentially many moves |
| Prior-work comparison | Exact source statements, method overlap and search limits |
| Paper handoff | Required proof contents, formal declarations and review status |
Move-by-move verification requires Python 3 and a C++17 compiler:
python3 verify/run_cycle_verifier.py 2 1
python3 verify/run_cycle_verifier.py 3 1
python3 verify/run_cycle_verifier.py 4 8
The arguments are n and worker count. Add a final sample count for a sampled run. Each move is checked for adjacency, available fuel and the resulting configuration.
| Cycle | Configurations | Legal moves checked |
|---|---|---|
| C4 | 120 | 440 |
| C6 | 15,504 | 146,814 |
| C8 | 12,620,256 | 254,809,131 |
These finite checks support the implementation. The all-n proof is symbolic.
Lean verification uses pinned Lean and Mathlib versions. On x86-64 Linux with Python 3.12+, git, tar, zstd and flock:
cd lean
python3 bootstrap.py
python3 run_lean.py lake exe cache get
python3 build.py
The runner monitors the full build process tree. Four workers are limited to a combined nine GB of resident RAM, leaving headroom under the session's ten-GB budget. Details are in lean/README.md.
The problem, path theorem and even-cycle lower bound are due to Tamás Csernák and Lajos Soukup:
- Stacking and Clearing in Graph Pebbling.
- The Almost Stacked Hypothesis.
- Original computational data, which already reports the finite C6 and C8 values.
The transfer function, EMPTY distinction and exact tree criterion are existing work by John Fairfax-Ball:
Developed through fohn, task #2. The written argument is recorded as verified report #20; reports #22--#24 contain companion results and source notes. Board verification, Lean checking and human peer review are distinct.
This is AI-assisted research directed by the repository owner. No literature priority or human peer-review claim is made. Original files use the MIT license; dependencies retain their own licenses.