arXiv:2610.27046cs.AIOct 2026

Manuscript Offprint

arXiv:2610.27046

ReuF2F: Benchmarking Coding Agents on Formalized Undergraduate Research Problems

Zeyu Zheng, Yiyang Liu, Yuyang Zhao, Congmin Zheng, Jiachen Zhu, Jianian Chen, Kangning Zhang, Kayue Daniel Wong, Lingyu Yang, Rong Shan, Shihao Chen, Thomas Zhu, Wentao Zhang, Xiaopeng Li, Yan Hu, Yongxi Lin, Yuxiang Chen, Zhuoying Ou, Jianghao Lin, Jeremy Avigad, Prasad Tetali, Jingbang Chen, Sean Welleck

Zeyu Zheng1,∗^{1,*}, Yiyang Liu1,∗^{1,*}, Yuyang Zhao2,3,∗^{2,3,*}, Congmin Zheng4^{4}, Jiachen Zhu4^{4}, Jianian Chen2,3^{2,3}, Kangning Zhang4^{4}, Kayue Daniel Wong2^{2}, Lingyu Yang4^{4}, Rong Shan2^{2}, Shihao Chen2^{2}, Thomas Zhu1^{1}, Wentao Zhang5^{5}, Xiaopeng Li2^{2}, Yan Hu2^{2}, Yongxi Lin1^{1}, Yuxiang Chen6^{6}, Zhuoying Ou4^{4}, Jianghao Lin4^{4}, Jeremy Avigad1^{1}, Prasad Tetali1^{1}, Jingbang Chen2,3†^{2,3\dagger}, Sean Welleck1†^{1\dagger}

1^{1}Carnegie Mellon University

2^{2}Chinese University of Hong Kong, Shenzhen

3^{3}Shenzhen Loop Area Institute

4^{4}Shanghai Jiao Tong University

5^{5}Yau Mathematical Sciences Center, Tsinghua University

6^{6}University College London

{zeyuzhen, swelleck}@andrew.cmu.edu,

https://github.com/cmu-13/reuF2F

ABSTRACT

As AI systems begin to resolve open research problems, reliable verification becomes increasingly important. Formal mathematics provides a trusted framework for mathematical reasoning, enabling agents to produce machine-checkable proofs while conducting mathematical exploration. Existing formal mathematics benchmarks often focus on known results or a small set of prominent open problems, which can become difficult to evaluate reliably once solutions are discovered and widely disseminated. Existing evaluation protocols are also not always aligned with how modern coding agents operate. We therefore introduce REUF2F, a Lean 4 benchmark of 244 formalized open problems drawn from Research Experiences for Undergraduates (REU), spanning entry-level open research problems across a broad range of mathematical subfields. We expect these less prominent open problems, which tend to attract less attention and may remain unsolved for longer, to be better suited for held-out evaluation of end-to-end open problem resolution in Lean. We adopt a standard coding-agent evaluation setting, placing each problem and its logical negation into a Lean project in a Docker container. We also build Leanimum-agent 1^{1} on mini-SWE-agent to provide a unified harness for fair comparisons across models. Our evaluation finds that even the best-performing model resolves only ~40% of the problems, leaving substantial room for improvement on formalized open research problems.

REU Paper

Conjecture 3. For every pure labelled k-family, the sum of its t largest Laplacian eigenvalues is at most...

LEAN Workspace

.lake/

abebe2019conjectural.lean

lakefile.toml

lean-toolchain

Coding Agent

Generated Patch

+999 -1

testbed

abebe2019conjectural.lean

Lemmas.lean

lakefile.toml

Comparator

Lean

nanoda

Direction

✓

proof

conjecture_3_brouwer_

✗

refutation

conjecture_3_brouwer__neg

✓

Resolved: either direction accepted

Figure 1: REUF2F draws its task instances from open problems in undergraduate research projects, formalized in Lean. Given a snapshot of the Lean workspace, coding agents generate patches that are evaluated by Comparator using both the Lean kernel and nanoda.

∗^{*}Core contributor

†^{\dagger}Corresponding author

1^{1}Available at https://github.com/cmu-13/Leanimum-agent.

1 INTRODUCTION

Large language models (LLMs) have made remarkable progress over the past few years, particularly in mathematics and coding. In both domains, solutions can be difficult to construct but comparatively easy to verify. This makes them well suited to reinforcement learning with verifiable rewards (RLVR), as demonstrated by (Guo et al., 2025; Yue et al., 2025). In mathematics, progress has extended from solving competition problems to resolving open research problems that had resisted expert efforts for decades (Bukh et al., 2025; Zheng et al., 2026). Notable examples include the disproof of the unit distance conjecture (OpenAI, 2026c), a complex structure on the six-sphere (Alpöge, 2026), the ten advances in mathematics and theoretical computer science reported by OpenAI (OpenAI, 2026d), and the recent finite-time blowup results for the Navier–Stokes equations (OpenAI, 2026a). For human experts, even verifying such results can be a substantial undertaking. Rapid progress in mathematical reasoning therefore creates a corresponding challenge for evaluation, as most research problems are proof-based, and the correctness of a natural-language proof is difficult to assess reliably at scale.

Formal proof assistants such as Lean 4 provide a natural connection between mathematics and coding. Through the Curry–Howard correspondence, Lean represents mathematical statements as types and proofs as terms whose correctness can be checked by its kernel (Moura & Ullrich, 2021). This allows an argument to be verified without first requiring a human reader to develop a detailed understanding of the argument. Progress in coding agents also makes turning mathematical proofs into formal code increasingly practical. Recent projects tackle Fermat's Last Theorem, three-dimensional Kakeya, and sphere packing (Anthropic, 2026; Bailey et al., 2026; The Sphere Packing in Lean Contributors, 2024). Anthropic reports that its agent-assisted formalization of Fermat's Last Theorem took 11 days (Anthropic, 2026), illustrating how agents can make Lean implementation less of an obstacle to mathematical evaluation. Formal proofs are also becoming part of the presentation of new mathematics, as illustrated by the Polynomial Freiman–Ruzsa project (The PFR Formalization Contributors, 2026), work on diagonal Ramsey bounds (Mehta, 2023), and Lean certificates accompanying recent Navier–Stokes and Euler results (OpenAI, 2026b). This development has made Lean-based open-problem benchmarks an increasingly practical setting for evaluating the mathematical reasoning capabilities of language models. While Lean enables verification of candidate solutions, many collections such as FrontierMath Erdős and Formal Conjectures include research questions of substantial community interest (Adamczewski & Bloom, 2026; Firsching et al., 2026). Once one of these problems is solved, its proof is often published or widely shared online. Since mathematical research naturally involves searching the literature, an agent may retrieve that solution during a later evaluation. The same dissemination that benefits mathematical research can thus undermine a problem's value as a held-out test of new problem solving.

To address this problem, we introduce REUF2F, a Lean 4 benchmark of 244 open conjectures from undergraduate research, primarily Research Experiences for Undergraduates (REU) programs. REUs give students the opportunity to conduct original research with a mentor. Their projects are chosen both for their mathematical interest and for their value in training young researchers, and often leave precise conjectures for further investigation. Compared with prominent conjectures that have attracted sustained attention across a field, we expect these questions to attract less concentrated attention and their solutions to circulate less widely. They therefore offer a source of genuine research problems with a lower expected risk of future solution leakage. The mathematicians and formalization experts on our team selected and formalized 244 such conjectures across a broad range of mathematical areas. Table 1 summarizes the features of REUF2F and compares it with existing mathematics benchmarks.

We evaluate REUF2F using the task setup and submission workflow of modern coding-agent benchmarks. Each task is placed in an independent sandbox where the agent develops its solution. Because an open conjecture can be false, each task provides both the original conjecture and its full logical negation. The agent is free to pursue either direction during its attempt. After the agent submits its solution, we then check the submitted code in a separate evaluation container. We use Comparator to check that the submission establishes the original statement or its negation without changing the underlying definitions or introducing unproved assumptions. A problem counts as solved when a proof of either direction passes both Lean's kernel and the independent nanoda checker. Both the problem and its accepted solution are thus entirely formal. Following miniF2F (Zheng et al., 2021), the F2F in REUF2F refers to this formal-to-formal setup.

Table 1: Comparison with representative mathematics benchmarks.

Benchmark# TasksSettingFormalized?Open?Diverse subfields?Lower leakage risk?
AIME30Competition✕✕✕✕
IMO-Bench (Luong et al., 2025)400/60/1,000/60Competition△✕✕✕
MathArena Apex (Dekoninck et al., 2026)12Competition✕✕✕✕
ArXivMath (Dekoninck et al., 2026)30/48Research✕✕✓✕
First Proof (Abouzaid et al., 2026a;b)10/10Research✕△✓✓
Soohak (Son et al., 2026)439Research✕△✓✓
FrontierMath (Glazer et al., 2024)350Research✕△✓✓
miniF2F (Zheng et al., 2021)244Competition✓✕✕✕
PutnamBench (Tsoukalas et al., 2024)640Competition✓✕✕✕
FATE (Jiang et al., 2026)150/100/100Research✓✕✕✕
ProofNet (Azerbayev et al., 2023)371Undergraduate✓✕✓✕
FormalProofBench (Ravi et al., 2026)100Research✓✕✓✕
ArXivLean (Dekoninck et al., 2026)41/46Research✓✕✓✕
Lean-eval (Lean FRO, 2026b)128Research✓✕✓✕
FrontierMath Erdős (Adamczewski & Bloom, 2026)68Research✓✓✕✕
OEIS Open (Adamczewski, 2026)492Research✓✓✕✓
Formal Conjectures (Firsching et al., 2026)2,615Research✓△✓✕
REUF2F (ours)244Research✓✓✓✓

√ yes; ✕ no; △ mixed. Research includes advanced graduate and research-facing tasks, not necessarily unsolved problems. Open? means open at collection. Diverse subfields means substantial coverage beyond one specialized area. Lower leakage risk is a qualitative assessment of whether solutions, once available, are less likely to be readily retrievable online during the benchmark's evaluation lifecycle. Counts: First Proof first/second batch; IMO-Bench Answer/Proof/Grading/LeanProof; ArXivMath and ArXivLean Mar./Jun. 2026; FrontierMath original Tiers 1–4 total (300 core + 50 Tier 4); miniF2F test; FATE M/H/X; Lean-eval v1.

For fair comparisons across models, we also build Leanimum-agent, a lightweight adaptation of mini-SWE-agent (Yang et al., 2024) for formal theorem proving. It provides every model with the same task instructions, shell interface, context handling, and interaction loop. Through Leanimum-agent, models can read and edit files, search Mathlib, run computations, and revise proofs using Lean kernel feedback. This setup retains the capabilities of a modern coding-agent harness while minimizing performance differences attributable to model-specific tools or agent designs.

We evaluate frontier models on REUF2F. Under the tested budgets, the best-performing model, Gemini 4 Argon at high reasoning effort, achieves the highest pass@1 of 42.42%42.42\% and pass@2 of 44.67%44.67\%, resolving 109 of 244 problems in at least one of two attempts. These results leave substantial room for improvement and show that REUF2F remains challenging for current coding agents. Progress on REUF2F would therefore provide a concrete indicator of agents' ability to resolve open mathematical questions with machine-checkable proofs.