Leni Aniva
· 2 previous affiliations
- Stanford UniversitySince 2022
- PhD student · 2022–2028
- University of Waterloo2017–2022
- Undergrad student · 2017–2022
Research Overview
Leni Aniva focuses on machine-assisted theorem proving, formal verification, and the evaluation of artificial intelligence coding agents. Early work established robust interfaces between machine learning models and proof assistants like Lean 4 to enable advanced automated reasoning. Recent efforts address the rigorous evaluation of large language models, advocating for proof-based benchmarks over traditional test suites to guarantee code correctness.
Research Trajectory
In 2025, Aniva introduced Pantograph: A Machine-to-Machine Interaction Interface for Advanced Theorem Proving, High Level Reasoning, and Data Extraction in Lean 4. This tool was designed to facilitate machine-assisted theorem proving by providing a versatile interface to the Lean 4 proof assistant. By enabling efficient proof search through algorithms such as Monte Carlo Tree Search and robustly handling Lean 4’s inference steps, Pantograph allows machine learning models to conduct structured, high-level reasoning. This development directly advanced the research direction of Agent Computer Interfaces for Autonomous Software Interaction. Furthermore, the architecture and search capabilities of Pantograph contributed to the broader areas of Bridging Informal Mathematical Intuition and Formal Verification and Recursive Subgoal Decomposition for Automated Formal Verification.
Building on this foundation in formal verification tooling, Aniva's subsequent work shifted toward the rigorous evaluation of artificial intelligence coding agents. With collaborators, Aniva contributed to AI Coding Benchmarks Need Proofs, Not Just Tests, a 2026 paper addressing the saturation of existing coding benchmarks by frontier large language models. The authors argued that passing a suite of tests is no longer a reliable signal of true code correctness. Instead, they advocated for a paradigm shift toward proof-based evaluation, requiring models to provide machine-checkable formal proofs in languages like Lean 4 to guarantee that code satisfies a specification across all possible inputs.
This theoretical argument was empirically grounded in VeriBench: An End-to-End Formal Verification Benchmark for AI Coding Agents in Lean 4. VeriBench introduced an 896-task benchmark challenging AI agents to perform end-to-end formal verification by translating Python code into fully verified Lean 4 artifacts. The evaluation revealed a significant "specification gap": while contemporary models often succeed at writing code that compiles and proofs that pass, they struggle to formulate the correct theorems that accurately cover the program's intended behavior.
Current Directions
The most recent papers in the evidence address the intersection of large language models and formal verification, specifically focusing on the rigorous evaluation of AI-generated code. Recent work investigates the limitations of traditional test-based benchmarks, pushing toward end-to-end formal verification where AI agents must not only generate code but also formally specify and prove its correctness in environments like Lean 4. A major open problem identified in this recent research is the "specification gap"—the challenge of building models that can accurately translate informal programmatic intent into formal mathematical theorems that guarantee correct behavior across all inputs.
Profile updated
| Title | Venue | Year |
|---|---|---|
| VeriBench: An End-to-End Formal Verification Benchmark for AI Coding Agents in Lean 4 | DL4C @ ICML | 2026 |
| Nazrin: An Atomic Neural Proof Automation Tactic in Lean 4 | arXiv | 2026 |
| AI Coding Benchmarks Need Proofs, Not Just Tests | DL4C @ ICML | 2026 |
| VeriBench: End-to-End Formal Verification Benchmark for AI Code Generation in Lean 4 | Openreview | 2026 |
| VeriBench: End-to-End Formal Verification Benchmark for AI Code Generation in Lean 4 | AI4MATH @ ICML | 2025 |
| Pantograph: A Machine-to-Machine Interaction Interface for Advanced Theorem Proving, High Level Reasoning, and Data Extraction in Lean 4 | International Conference on Tools and Algorithms for the Construction and Analysis of Systems | 2025 |
| VeriBench-FTP: A Formal Theorem Proving Benchmark in Lean 4 for Code Verification | MATH-AI @ NeurIPS | 2025 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake