Stanford's Pharos and OSVerify Catch Math Errors OpenAI's Models Missed
A new survey from Stanford maps out four AI systems that now prove theorems and referee math papers, including one that caught errors in eleven OpenAI preprints.
Takeaways
- Stanford notes survey four math AI systems: proving agents Rethlas, Danus, Pharos, and verifier OSVerify.
- Danus and Pharos use a multi-agent fact-graph architecture that mimics a research group tackling long-horizon problems.
- Pharos autonomously produced the main result of a published algebraic geometry paper on rational curves.
- OSVerify cuts invalid solutions needing expert review by 46% versus voting under equal false-rejection constraints.
- OSVerify autonomously found real mathematical errors in all 11 OpenAI math preprints it reviewed.
- Danus and Pharos run on Linux only; Rethlas plus OSVerify costs under 20% of a Danus run.
Stanford researcher Shurui Liu has published Notes on Generative AI for Mathematical Research, an arXiv survey and practical guide to four AI agents for research mathematics. Rethlas, Danus, and Pharos generate candidate proofs; OSVerify checks proofs and audits existing papers. The report documents the orchestration around each system and compares its performance with the underlying model used alone.
Liu supplements the comparisons with case studies, usage and contribution instructions, a short history of AI in mathematics, and reactions from practicing mathematicians.
Fluent proofs leave a verification gap
Language models can produce polished proofs whose hidden gaps take experts hours to find. Mathematical validity depends on every inference, assumption, and cited result, so surface fluency offers weak evidence of correctness. Long arguments deepen the review burden because checking may consume more expert time than drafting.
An agent harness is the orchestration layer around a base model: it assigns roles, preserves intermediate state, schedules repeated attempts, and routes drafts through critics. The systems in Liu’s notes spend additional inference compute on proof search, critique, and error detection while keeping the resulting arguments legible to experts.
Rethlas alternates between one author agent and one referee agent. Danus and Pharos add specialist agents and coordination, creating a workflow closer to a research group. OSVerify provides a dedicated verification stage for generated solutions and existing mathematical writing.
Pharos builds a shared map
Pharos has the most elaborate architecture described in the notes. It targets long-horizon, open-ended problems with no workable route known in advance. Its fact graph records lemmas, assumptions, and intermediate results in a shared structure, allowing several agents to reuse the same mathematical state as the search develops.
Pharos can also write code and run local numerical computations when computing resources are available. Computational experiments can expose useful patterns in fields such as algebraic geometry. An accompanying preprint on rational curves reports that Pharos autonomously found its main result, an algebraic construction of rational curves on projective varieties, from the question as posed. Human authors then verified and rewrote the argument before submission.
OSVerify trims the review queue
OSVerify acts as a one-sided verifier, prioritizing the retention of valid proofs while filtering as many invalid ones as possible. Across competition-level and research-level benchmarks, the OSVerify paper reports a 46% average reduction in invalid solutions reaching expert review compared with model voting under a matched low false-rejection rate. A reinforcement-learning-trained validator increased the reduction to 57%. False rejection means filtering out a correct proof.
The paper also reports an audit of 11 OpenAI preprints, each claiming to solve a central problem in its mathematical area. OSVerify autonomously found nontrivial errors in all 11, and human experts confirmed the mistakes. According to the report, OpenAI’s internal models had missed those errors, some of which could require substantial expert effort to discover. OSVerify also identified errors, proposed repairs, and prompted author revisions in papers submitted to or published in mathematics journals.
Match compute to the problem
| System | Primary role | Operating profile |
|---|---|---|
| Rethlas with OSVerify | Focused proof search with a stricter review pass | Single author-referee loop; 1 to 5 hours; under 20% of the reported cost of a Danus or Pharos run |
| Danus | Problems requiring repeated generation and critique | Coordinated multi-agent workflow with specialist roles |
| Pharos | Long-horizon, open-ended problems and computational experiments | Multi-agent workflow with a fact graph and local code execution |
| OSVerify | Auditing candidate solutions and mathematical papers | One-sided verification with error reports and repair suggestions |
Danus and Pharos default to Linux, with partial macOS support for Pharos. Production deployments that enable generated code need sandboxing and resource limits. The agents work primarily with natural-language mathematics and external checks. Lean-style formalization, in which a proof assistant checks each inference against encoded rules, remains a separate stage, leaving final validation to a human reviewer or formal pipeline.
Orchestration drives the reported gains
The notes attribute the systems’ improvements to author-referee loops, shared state, multi-agent coordination, and additional inference compute around frontier base models. Comparisons with unmodified base models aim to isolate the contribution of that surrounding machinery.
One cited paper on tangent classes of matroids had its main body produced autonomously by Danus, which found a solution before a human-authored treatment appeared on arXiv. Along with the Pharos result, the case shows how these systems are entering research workflows that lead to submitted mathematical papers.
The combined workflow covers candidate generation, internal critique, first-pass verification, and repair suggestions, shifting human effort toward problem selection, formalization, and publication judgment. The current evidence consists of benchmark data for OSVerify and case studies for autonomous Danus and Pharos results. Wider replication, cost reporting, and independent verification will show how reliably the approach transfers across mathematical fields.