r/MachineLearning • u/tough-dance • Sep 04 '26
Discussion What is the general design of these new math solving systems? [D]
From what I've seen online so far, the description of these systems is roughly:
They asked the model (often Aster) to generate statements in LEAN and then submit those to a LEAN compiler to be checked. Based on the results of attempting the LEAN compilation, they somehow add those statements as fact. When the full proof in LEAN compiles, the system is finished.
I can imagine trying to jam as much of a proof as possible into the context window but some of the papers these systems have produced are hundreds of pages. To me this would indicate that somehow the paper is being built piece by piece and being assembled before being submitted to LEAN. This resonates with the part of my understanding that after checking LEAN compilation there's some kind of management of "facts."
I would like to try to implement my own janky version and see if it can answer a question I have about higher dimensional geometry. I'm struggling to find a meaningful way to compose larger ideas from smaller ones. I can imagine it's relatively simple if you know what to do.
What things have you seen? Do you have any ideas you haven't seen that might be interesting to try? Is this a fool's errand because you really need huge amounts of hardware to do anything meaningful? I would welcome any thoughts or links on the matter, cheers
5
u/MFingScience Sep 05 '26
Not as rigorous as using LEAN, but I've been letting Claude Code call Mathematica to check its work. After defining the problem/goal, I ask it to:
Using Mathematica keeps it at least partly anchored in reality, rather than just doing its own LLM flailing. But even with Mathematica, it still needs significant guidance.
Of course, this was for a combinatorial problem that was amenable to checking by calculation / analytic integrals. It would struggle with more theoretical work.
1
u/DigThatData Researcher Sep 04 '26
I don't know if those benchmarks are being tackled using this sort of thing, but I've actually been working on a framework for building exactly the kind of fact management system you're describing. I suspect you'll at least find this interesting: https://github.com/dmarx/luria/
2
u/Smallpaul Sep 05 '26
You don’t need to assemble it before submitting to Lean. You can submit each component to Lean and then once it’s proven you can flush the details of the proof from your context window.
Or you can do it the way Anthropic did the recent FTL formalisation: you assign work to sub-agents and they return when they have proven their component. The details of the proof never pollute the parent agent’s context window.
1
u/hexaflexarex Sep 05 '26
I assume folks have seen the recent formalization of FLT? Not proving something new exactly but might be of interest: https://www.anthropic.com/research/formalizing-fermats-last-theorem.
0
u/[deleted] Sep 05 '26
[deleted] — view deleted comment