upvote
I'm actually a little bit miffed about this announcement, because I was working on this in parallel. I'm about 70% done with the proof and it's at 35k lines of Lean right now. However, Anthropic beat me to the punch.

This is PURELY with GPT-6.2 Sol, by the way. On a $100 ChatGPT plan, using only one agent, no subagents. My implementation plan could use subagents, but it ate up my weekly usage too quickly.

Anthropic engineers with access to {way more usage, fast mode, and can afford to use subagents} obviously can move a lot faster than me.

Also, CLEARLY 17 million lines is overkill. At my current rate of progress, I'm pretty sure that I can do it in even less lines of Lean than Anthropic. This is with most the work being done by AI, with me giving it nudges (in ways that helps avoid the common pitfalls that happen if you fully give AI the reins).

reply
Please keep up your effort and write up your approach in a blog post, people would love to read it still!
reply
The most important thing is to take regular Software Engineering skills and apply it to Lean. The basic concepts like DRY still hold. You also want to reuse Mathlib as much as possible.

When you formalize a proof with Lean, you want to start off with the Challenge.lean statement file, which is good standard practice (which is surprising to me that the original proof by Alpoge lacked one). Make sure that's correct, and just replace the proof with a `sorry` statement. If your Challenge.lean is correct, then that means nobody can complain about you "proving the wrong thing". Then, counterintuitively, you want to liberally use `sorry` statements in your proof as you go. For software engineers, just think of `sorry` statements as NotImplemented exceptions. Track all the sorry statements in a centralized location, and have the AI build out the proof with breadth first search, not depth first. That's the biggest rookie mistake; most people tell their AI to do one component at a time, DFS style. You will get a much cleaner codebase if you do BFS.

The other counterintuitive thing is that you DON'T want to compile the Lean code all that often. If you let the AI do what it wants to do, it will try to compile the Lean code after every little change to some random function. That means your entire context is littered with dealing with that. Instead, have the AI do a solid chunk of work without compiling the Lean code, then do a build occasionally. Accept that fact that the AI occasionally will make mistakes and the build will fail and will need to be fixed, but fixing the mistakes is pretty quick and the AI is much smarter if you make it focused on math, rather than handling Lean compiles and checking it.

reply
This is good stuff. Eager to take a look when you opensource it, am interested in seeing how tuned your AGENTS.md/context engineering is to the task or if this is a more or less bald root context. Early on I was playing around with approaching the same problems with different AGENTS.md context and it was interesting to me to see the java code that my kubernetes repo produced vs. my main java repo. It made me wonder about approaching problems from other domains with a root software engineering context.
reply
These are fascinating tips and insights, thanks for sharing.
reply
Yes and what if it is different!!?
reply
Keep going! It's good to have both.
reply
Please keep going!
reply
I mean this just means that in the future we will have to pursue what we want without caring for whether a big lab scoops us.

You did a great job and you should be proud regardless

reply
Doing this with GPT 6.2 Sol is insane. My hat is off!

The GPT-6.2 series seems to truly be bad when it comes to real people doing real stuff. So far we're seeing Sol 6.2 underperform even Mimo v2.6 Flash, a super cheap model that's completing tasks at $0.03 each vs. ~$2. Sol is in last place except for Grok 4.7 (which is a truly bad model). (Data from https://github.com/bottomless/agent-duel.)

reply
Yeah, and I do have a Claude subscription too.

That being said, I picked GPT-6.2 Sol because:

1. I cannot afford Astra

2. I found that GPT-6.2 Sol and Astra are better than Opus 5.5 for mathematics, even though I use Opus 5.5 as my main workhorse for coding. I suspect this is because 6.2 was posttrained a lot on mathematics and not coding... because OpenAI threw a lot of RL for math at 6.2 after Navier Stokes a few months ago, which is why it shines better than Claude at mathematics.

3. Sol has much faster tokens/sec than Astra

reply
Looks like Neon could be good too, but yes OpenAI models seem to overperform and Fable is shockingly low https://epoch.ai/benchmarks/frontiermath-erdos?view=graph&ta...

If you want to collaborate, I'd be interested in giving free Sol / Neon inference to generate head to head battles on who does this work better.

reply
You can’t fight city hall. But you can learn something by doing.
reply
Anthropic also has the AI context from the work that created the original proof. I wonder if that might have helped.
reply
No, I'm working on it with ChatGPT and I am creating a proof that is roughly the same order of magnitude in size.
reply
Just because it's not necessary doesn't mean it wouldn't have helped
reply
Interesting!
reply