This repository contains the implementation of our DoBeVi proposed in the paper: LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation [π arXiv:2505.12031]
We thank LeanDojo for its significant contributions to the ATP community, upon which our DoBeVi framework is proudly built.
llm_base_atp/
βββ README.md # Project documentation
βββ Visual/ # The visualization of tree-search proof results for MiniF2F
βββ DoBeVi/ # Core implementation of DoBeVi
β βββ requirements.txt # Python dependencies
β βββ src/ # Source code
β βββ __init__.py # Package initializer
β βββ dojo/ # Lightweight LeanDojo wrapper for Lean 4 interaction
β βββ search/ # Proof search algorithms and logic
β βββ eval.py # Entry point for evaluation
β βββ config.py # Configuration settings
β βββ utils.py # Utility functions
β βββ .env.template # Template for environment setup
conda create -n dobevi python=3.11 -y
conda activate dobevi
pip install -r requirements.txt
conda install -c conda-forge graphviz
Please download the pretrained policy model from Hugging Face.
Ensure you have a Lean 4 repository that builds successfully using:
lake build
Copy and edit the template config file to match your local setup:
cd src/
cp .env.template .env
Youβll need to set values for:
python -m eval
We welcome issues, feature requests, and feedback from the community. Please feel free to open an issue if you encounter any problems or have suggestions!
If you use this work in your research, please cite:
@article{lai2025llm,
title={LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation},
author={Lai, Junyu and Zhang, Jiakun and Xu, Shuo and Chen, Taolue and Wang, Zihang and Yang, Yao and Zhang, Jiarui and Cao, Chun and Xu, Jingwei},
journal={arXiv preprint arXiv:2505.12031},
year={2025}
}
This repository contains the implementation of our DoBeVi proposed in the paper: LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation [π arXiv:2505.12031]
We thank LeanDojo for its significant contributions to the ATP community, upon which our DoBeVi framework is proudly built.
llm_base_atp/
βββ README.md # Project documentation
βββ Visual/ # The visualization of tree-search proof results for MiniF2F
βββ DoBeVi/ # Core implementation of DoBeVi
β βββ requirements.txt # Python dependencies
β βββ src/ # Source code
β βββ __init__.py # Package initializer
β βββ dojo/ # Lightweight LeanDojo wrapper for Lean 4 interaction
β βββ search/ # Proof search algorithms and logic
β βββ eval.py # Entry point for evaluation
β βββ config.py # Configuration settings
β βββ utils.py # Utility functions
β βββ .env.template # Template for environment setup
conda create -n dobevi python=3.11 -y
conda activate dobevi
pip install -r requirements.txt
conda install -c conda-forge graphviz
Please download the pretrained policy model from Hugging Face.
Ensure you have a Lean 4 repository that builds successfully using:
lake build
Copy and edit the template config file to match your local setup:
cd src/
cp .env.template .env
Youβll need to set values for:
python -m eval
We welcome issues, feature requests, and feedback from the community. Please feel free to open an issue if you encounter any problems or have suggestions!
If you use this work in your research, please cite:
@article{lai2025llm,
title={LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation},
author={Lai, Junyu and Zhang, Jiakun and Xu, Shuo and Chen, Taolue and Wang, Zihang and Yang, Yao and Zhang, Jiarui and Cao, Chun and Xu, Jingwei},
journal={arXiv preprint arXiv:2505.12031},
year={2025}
}