Preprint · Zenodo v1 · 20 Nov 2026
Certified Digit Automata for Nonlinear Two-Dimensional Cellular Automata: Kernel-Checked Proofs of OEIS Counting Conjectures in Lean 4
Other Mindset Lab LLC · ORCID 0009-0006-2755-8313
Read it here Open the PDF Download PDF PDF, 588 KB
Abstract
Many entries of the On-Line Encyclopedia of Integer Sequences count the ON cells of two-dimensional outer-totalistic cellular automata with the von Neumann neighborhood, started from one ON cell and sampled at stages 2ⁿ − 1. Their closed forms, and claims that other rules give the same counts, were found by fitting computed terms and are unproved. The rules are nonlinear, so the methods available for linear (odd-rule) automata do not apply. We carry out the guess-and-verify approach used with the Walnut prover in the Lean 4 proof assistant. A finite automaton reading the binary digits of the space and time coordinates is guessed from simulation and is not trusted. Two Boolean certificates, evaluated by the Lean kernel, show that it reproduces the evolution; a general theorem, proved once, turns them into a statement about every cell of the plane at every stage. A third certificate yields the closed form through a linear recurrence for digit sums of the automaton. Applied to 50 entries, the work proves 50 closed forms (44 of them printed conjectures), 41 by this method and nine by explicit descriptions of the configurations. It also shows that 122 further rules have the same counts, settles nine relations between entries and a parity relation that ties two rules to the Ulam–Warburton automaton, and finds errors or index shifts in eight entries. We report costs, a comparison with Walnut, and failures. For Rule 750, whose diagram appears not to be automatic, we prove the count stated by Sloane by a direct induction in Lean.
- Published
- Preprint, Zenodo v1, 20 Nov 2026
- DOI
- 10.5281/zenodo.24384895
- Record
- Zenodo v1
- Licence
- CC BY 4.0
- From the table
- New Terms for OEIS Sequences
- Also
- Software and Lean files
The paper
Loading the paper…
At the Long Table
Proves in Lean 4, with kernel-checked certificates, the closed forms that 50 OEIS entries for two-dimensional cellular automata had only conjectured, and finds errors in seven entries. The work was carried out by AI agents at this table under the author’s direction.