Notes on Generative AI for Mathematical Research

Shurui LiuarXiv 2026

It’s late, the coffee is cold, and you’ve spent all day debugging code or wrestling with a proof that just won't close. You might be wondering if we’re reaching the point where we can just hand the "thinking" part over to a machine.

In these notes from late 2026, Shurui Liu from Stanford University suggests we are getting remarkably close. The paper isn't just about Large Language Models (LLMs) getting "smarter"; it’s about building the harnesses—the digital scaffolding—that allow these models to function like a high-level research team rather than just a fancy autocomplete.

TL;DR

The paper explores how "agentic" systems—LLMs equipped with specialized tools, memory, and organizational structures—are now solving and verifying research-level mathematics. By mimicking human workflows (like the "author-referee" loop), these systems are moving beyond competition math to tackle open conjectures and find errors in "frontier" AI-generated preprints.

What Problem Does This Paper Address?

Mathematical research is a different beast than math competitions. In a competition, there’s a guaranteed solution and a fixed syllabus. Research, however, has an open scope: there’s no guarantee a solution exists, the "horizon" is incredibly long (months or years), and the rewards are sparse—you don't know if a partial step is a breakthrough or a dead end.

Standard LLMs struggle here. They lose track of long-term goals, hallucinate logical leaps, and can’t easily verify their own work. Liu addresses the gap between a "raw" model and a "mathematician" by focusing on harness engineering: the art of managing an AI's context, tools, and collaboration strategies.

Methods

The paper defines an Agent as a Model + Harness. While the model (like GPT-6 Astra) provides the raw "intuition," the harness provides the infrastructure: sandboxes for code execution, memory tiers (short-term logs vs. long-term "fact graphs"), and orchestration.

The authors introduce four distinct systems:

  1. Rethlas: A "generate-verify" loop where one agent writes a proof (a "blueprint") and a fresh, independent agent acts as a referee to find gaps.
  2. Danus: A swarm of agents mimicking a research group. It uses a Fact Graph—a directed acyclic graph (DAG) of verified lemmas—to ensure that if one "worker" makes a mistake, only the dependent facts are revoked, not the whole project.
  3. Pharos: An evolution of Danus designed for even stronger models. It replaces rigid summaries with a Route Board to track different strategic approaches (e.g., "Try an algebraic proof" vs. "Search for a counterexample").
  4. OSVerify: A specialized verification agent that uses a "propose-validate" loop. One agent hunts for potential errors, and another validates if those errors are "substantial" or just "minor" typos.
An overview of the systems discussed in the paper, ranging from simple loops to complex research swarms.

Datasets

The systems were evaluated on several high-level benchmarks:

  • Putnam100: A set of 108 valid and invalid solutions to Putnam competition problems.
  • Hard2Verify (H2V): A benchmark for step-level verification in frontier math.
  • FirstProof-Eval: Problems drawn from the "First Proof" project, where mathematicians released lemmas from their active research to test AI capabilities.
  • Matlas: A custom semantic search engine containing 8.5 million mathematical statements from 435,000 papers.

Key Insights and Ideas

  • Compute can buy intelligence: The paper suggests that 10 "smart" agents (IQ 140) organized into a well-designed collaboration can match the output of a single "genius" (IQ 400). This is the "scaling law" of agentic workflows.
  • Context Engineering is King: A model is only as good as what it can "see." The harness must provide exactly what is needed—nothing more, nothing less. For example, a verifier should have a "fresh" context so it isn't biased by the generator's reasoning trace.
  • The Author is not the Referee: Humans (and AI) are bad at catching their own mistakes because they want their proof to be right. Separating the "Author" agent from the "Referee" agent is essential for rigor.

Key Results

The results show a massive leap in performance when using a harness compared to a "model alone."

  • Pharos autonomously found a new algebraic proof for the Hartshorne conjecture in about 20 hours—a task where the base model alone provided no solution even with human guidance.
  • OSVerify was used to check 11 preprints released by OpenAI; it found nontrivial mistakes in every single one, which were later confirmed by human experts.
  • Rethlas found an explicit counterexample to a conjecture regarding Matroid KL polynomials in under 5 hours, whereas the base model was "incomplete" in its reasoning.

Limitations and Future Work

Despite the successes, the authors note that these agents still operate largely within the "convex hull of known techniques." They are excellent at recombining existing ideas but struggle with genuine "theory building"—creating entirely new mathematical frameworks from scratch.

Furthermore, the output of these agents can be "AI slop"—proofs that are technically correct but incredibly difficult for humans to read due to unconventional notation or over-compressed logic. Future work aims to make AI not just a "solver," but a "communicator" that helps humans actually understand the math it discovers.

Summary updated

BibTeX
@misc{liu2026notes,
  author = {Shurui Liu},
  title = {{Notes on Generative AI for Mathematical Research}},
  year = {2026},
  eprint = {2611.29811},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29811},
}
Figure