TLDR: O-Forge is a new AI tool that combines large language models (LLMs) with computer algebra systems (CAS) to rigorously prove complex asymptotic inequalities. It uses LLMs to suggest crucial domain decompositions and then employs Mathematica’s Resolve function for symbolic verification, offering a reliable and time-saving solution for research mathematicians by automating a historically difficult and time-consuming aspect of mathematical proof.
In the intricate world of advanced mathematics, proving asymptotic inequalities often presents a formidable challenge. These inequalities, denoted by symbols like f ≪ g or f = O(g), are fundamental in fields ranging from analysis and number theory to theoretical computer science. However, their proofs frequently hinge on a crucial, non-obvious step: finding the correct way to break down a complex problem into smaller, more manageable parts, known as domain decomposition. This creative step can stump even seasoned mathematicians, consuming countless hours of effort.
Enter O-Forge, a groundbreaking tool developed by Ayush Khaitan from Rutgers University and Vijay Ganesh from Georgia Institute of Technology. O-Forge is designed to tackle this very problem by integrating the advanced capabilities of Large Language Models (LLMs) with the rigorous verification power of Computer Algebra Systems (CAS). This innovative framework, dubbed LLM+CAS, creates an In-Context Symbolic Feedback loop that generates proofs which are both creatively inspired and symbolically verified.
The core idea behind O-Forge is elegantly simple yet profoundly effective. When a mathematician inputs a conjectured asymptotic inequality, either in natural language or LaTeX format, a frontier LLM is prompted to propose an effective decomposition of the problem’s domain into subdomains. This is the ‘creative jump’ that often proves most difficult for humans. Once the LLM suggests these critical breakpoints, a CAS, specifically Mathematica’s powerful Resolve function, takes over. Resolve then rigorously verifies the inequality within each proposed subdomain using quantifier elimination in first-order logic. If all subdomains are successfully verified, the overall inequality is proven.
This approach addresses a significant limitation of current AI tools in mathematics: the issue of verification. While LLMs can generate plausible-looking proofs, they often contain subtle errors that require painstaking manual checking. O-Forge eliminates this need for manual verification, returning a ‘True’ value only when Mathematica has rigorously completed the proof. This means mathematicians can trust the results, saving immense amounts of time and effort.
O-Forge has demonstrated its effectiveness through compelling case studies. One such example involves the rigorous verification of the weak Fenchel-Young inequality, a problem where standard inequality-proving tricks often fall short. Another case study involved a complex research-level series estimate posed on MathOverflow, which would be nearly impossible to prove directly without the correct series decomposition. In both instances, O-Forge successfully identified the necessary decompositions and verified the estimates.
The tool’s design also emphasizes accessibility. Recognizing that not all mathematicians are comfortable with coding, O-Forge offers a user-friendly website, o-forge.com, where users can simply input their formulas or questions and receive the proof status. This ease of use, combined with its powerful capabilities, positions O-Forge as a valuable research companion for professional mathematicians.
While other AI tools like AlphaGeometry have made strides in specific mathematical domains, O-Forge distinguishes itself by leveraging off-the-shelf LLMs and versatile CAS like Mathematica to solve a broader range of research-level problems, particularly those involving transcendental functions like logarithms and exponentials, which many traditional theorem provers struggle with. The developers acknowledge that Mathematica’s Resolve function, being closed-source, does not produce an independently verifiable proof object, but their extensive testing suggests its reliability for this application.
Also Read:
- Ax-Prover: Advancing Automated Theorem Proving Across Science with LLM Agents
- Audit-of-Understanding: A New Framework for Reliable Mathematical Reasoning in Language Models
In essence, O-Forge moves beyond contest mathematics to provide a genuinely useful tool for daily research. By automating the tedious yet critical steps of domain decomposition and symbolic verification, it empowers mathematicians to focus on higher-level conceptual challenges, accelerating the pace of mathematical discovery.


