Hacker News new | ask | show | jobs
by IshKebab 10 days ago
If you actually watch AI writing Lean it is very very far from brute force. Recent models are extremely good at Lean. When I was trying to get them to teach me it, I would paste my failed tactic into a non-agent Opus 5.5 and just say "why doesn't this work" and it could easily tell me the exact error message I was seeing without even running a Lean compiler. Obviously this is on very simple code but still, hardly brute force.

I'm working on a quite expansive project and most of its time actually seems to be spent avoiding accidental complexity blowup in the tactics it writes, rather than any difficulty writing the actual proofs. Obviously it's not Navier-Stokes, but it's still super complex stuff. Easily PhD level and way beyond my skill.

2 comments

How do you know what Opus is doing on the server side?
You have to explicitly use Claude Code and connect a repo to use their cloud VMs and I didn't use that. In fact I'm not even using Anthropic's servers and the tool I am using doesn't support cloud VMs.

Also you can just ask it.

Really? I don't know Claude, but Gemini will run its own private code as part of generating a response, and "asking it" isn't always reliable for LLM system introspection.
its brute force in terms of.. trying mathematical ideas? I guess I can't know without a full transcript of all the tokens generated in solving these problems. How many dead-ends were attempted etc.

I mean in chess pure brute force with no algorithmic elegance can also make no headway. There is alpha/beta pruning, early branch removal etc. many sophisticated tricks to prune the search space. But intuitively I feel that right now genAI is in some sense doing the same thing. Its capabilities definitely make a huge dent in narrowing the search space. But how much is unclear. And lean is the necessary function to know.. is this a valid "legal" position that we traversed to.