Proving my leftover PhD conjectures with AI and Lean
The Riemann Hypothesis is a 167-year-old math problem wherein mathematicians are 99% sure that the solutions to a certain function are always 1/2. Mathematics is an exact science, however, so mathematicians are only satisfied when something is 100% assured. Furthermore, thousands of mathematical results are conditioned on the Riemann Hypothesis being true, making it one of the most important conjectures in history. On November 20, 2026, Levent Alpöge announced a Lean-verified AI-assisted proof of the Riemann Hypothesis.
Having a couple of leftover conjectures from my PhD, I was inspired to try to prove them the same way. I simply pointed Claude Opus 5.5 and Lean, an automated theorem verifier, at the mysterious polynomial from my thesis. The AI wrote the proofs and Lean checked them. Some of my conjectures are now proved, and one turned out to be false as stated.
Lean is a programming language for mathematics. You write definitions, statements and proofs, and a small program at its core checks that every step follows from the rules of logic and from facts already proved, most of them from Mathlib, the community's library of formalized mathematics. Nothing gets waved through as "clearly" or "similarly". So the AI writes a proof, Lean checks it, and a human only has to make sure the statements say what was meant.
The mysterious polynomial
My PhD was about tatami coverings: tilings of a grid by dominoes and monominoes (1×1 squares) in which no four tiles meet at a point, the old rule for laying tatami mats. Take an n×n grid, use as many monominoes as you can (that's n of them), put two of them in the top corners, and sort the coverings by how many vertical dominoes they have. Here they all are for small n; click one to see it bigger.
Coverings appear here when JavaScript runs.
- monomino
- vertical domino (counted)
- horizontal domino
Each column is one coefficient of a polynomial, VHn(z). In December 2010 Don Knuth found, by computer, that for small n these polynomials break into a pile of small cyclotomic factors, made of pieces like 1 + z and 1 + z2, and one big leftover factor. Frank Ruskey and I proved where the cyclotomic part comes from. The leftover is Pn(z), which my thesis calls the mysterious polynomial (I wrote about it once before, in Connecting tatami tilings with other areas of math).
In 2013 I wrote that perhaps the most striking thing about Pn is the picture of its zeros. Here it is, live. Press Play or drag the slider: for odd n exactly one zero lands on the real line, in the shaded stretch between −1 and −1/2, and it creeps left as n grows. Switch to even n and none ever does.
- 131zeros in all
- 1real zeros
- −0.836real zero at
What Lean checked
| Part | The conjecture, roughly | Now |
|---|---|---|
| (a) | Certain pairs Pn, Pn+j start with the same coefficients | Proved, once correctedfalse as stated |
| (b) | For odd n, exactly one real zero, between −1 and −1/2, moving left as n grows | Half proved"exactly one" and "moving left" are open |
| (c) | For even n, no real zeros | Proved |
| (d) | Pn is irreducible over the integers | Opentrue for every n up to 245 |
| (e) | A formula for Pn(−1) | Proved |
| (f) | For even n ≥ 20, the absolute values of the coefficients add up to Pn(−1) | Opentrue for every even n up to 460 |
Part (a), as stated, says that P4 and P6 start the same way, up to their z2 terms. They don't: P4 = 1 + z + 2z2, and P6 = 1 + z2 + 2z3 + 2z4 − 2z5 + 2z6 has no z term. The AI spotted it, and here is the refutation in Lean:
theorem P_four : P 4 = 1 + X + 2 * X ^ 2 := by
apply P_eq_of_VH_eq
simp [VH, D, Finset.prod_Icc_succ_top, S_one]
ring
theorem conjA_as_printed_false : ¬ ConjA_as_printed := by
intro h
have := h 1 4 1 2 le_rfl (by norm_num) (by norm_num) (by norm_num)
rw [P_four, show 4 + 2 = 6 from rfl, P_six] at this
simp [coeff_one, coeff_X] at thisThe first theorem has Lean work out P4 exactly from the definitions. In the second, ¬ means "not": the proof feeds n = 4 to my conjecture, swaps in the exact values of P4 and P6, and simp is left claiming that 1 = 0. Changing one ≤ in the statement to a < fixes it (for n ≥ 3), and Lean proved the corrected version.
Lean also checked the theorem from my thesis that everything rests on: that the cyclotomic part really does divide VHn.
Parts (b) and (c) are what the explorer above shows. Lean proved that for even n no zero is ever real, and that for odd n there is always one in the shaded stretch and never one outside it. That there is only one, and that it keeps moving left, is still open, though it holds for every odd n up to 399.
The proofs and all of the Lean code are in the full write-up.
Two problems are still wide open. Is Pn irreducible over the integers for every n ≥ 3? And for even n ≥ 20, do the absolute values of its coefficients always add up to Pn(−1)?