Skip to content

ldilab/numina-lean-agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numina-Lean-Agent


An agent built on Claude Code for formal theorem proving tasks. We used this system to prove all 12 problems from Putnam 2025, and completed a paper-level formalization of Effective Brascamp-Lieb inequalities.

System Overview

Numina-Lean-Agent system overview

Quick Start

1. Environment Setup

Follow the setup guide to install Lean, Claude Code, and numina-lean-lsp-mcp:

Tutorial: Setup Guide

2. Run Our Agent

See the usage guide for detailed instructions on running our agent:

Tutorial: Usage Guide

Quick Example

# Run on a single file
python -m scripts.run_claude run leanproblems/Minif2f/mathd_algebra_478.lean \
  --prompt-file config/prompt_complete_file.txt \
  --max-rounds 5

# Run batch tasks from config
python -m scripts.run_claude batch config/config_minif2f.yaml

# Run all .lean files in a folder
python -m scripts.run_claude from-folder leanproblems/Minif2f \
  --prompt-file config/prompt_complete_file.txt \
  --max-rounds 5

Related Projects

Citation

If you find the content of this project helpful, please cite our paper as follows:

@article{liu2026numina,
  title={Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics},
  author={Junqi Liu and Zihao Zhou and Zekai Zhu and Marco Dos Santos and Weikun He and Jiawei Liu and Ran Wang and Yunzhou Xie and Junqiao Zhao and Qiufeng Wang and Lihong Zhi and Jia Li and Wenda Li},
  journal={arXiv preprint arXiv:2601.14027},
  year={2026}
}

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 87.9%
  • Lean 9.2%
  • Shell 2.9%