I set up an AI lab to do math research
I’m learning about eigenvalues in high school. I wasn’t going to tackle an open problem about them on my own, but I knew how to set up a coding agent. I wanted to see what it could find if I gave it a few real math problems and let it keep working between runs.
The first result was a graph that looks like two diamonds connected by a path. A conjecture by Thierry Cazenave said that if you calculate two particular eigenvalues for a graph like this, the gap between them should be at least 2. For this graph it’s about 1.977. One graph below 2 is enough to disprove the claim. The paper shows it’s below 2 without rounding.
The setup is pretty simple. Codex runs in Capy on my Mac mini. It keeps notes on what it tried and what to do next, so when it starts another run I don’t have to catch it up. If it checks a bunch of graphs and finds nothing, the notes say how far it got.
I don’t want to publish a result just because the same agent says it checked its work. For this one, a Python script checks the numbers with exact arithmetic, and Lean 4 checks the proof. Lean only checks the statement you give it, so I also need to make sure that statement is the one Cazenave actually wrote.
The AI found the graph and did the proof work. I set up the lab and decided what needed to be checked before anything went on the site. The paper is on this site, with the Lean proof and Python checker linked at the end.
See the Conjecture Lab project →