This repository contains the implementation of the paper Tree-Based Premise Selection for Lean4, presented at NeurIPS 2025.
- macOS: See OrbStack documentation
- Windows/Linux: See Docker Desktop documentation
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- installFor additional details, refer to the Zero to Nix documentation.
git clone https://github.com/imathwy/tbps.gitnix developCaution
All subsequent operations must be executed within the nix develop shell. Required dependencies will not be available outside this environment.
This repository uses Git LFS. The tool is included in the nix develop shell, or can be installed separately via the Git LFS documentation.
Execute the following command to initialize Git LFS and retrieve data:
git lfs pull./scripts/import-data.shThe premise selection tool provides two interfaces: a command-line interface and a web GUI.
./scripts/run-cli.sh./scripts/run-web.shAfter starting the service, access the web GUI at http://localhost:3000/.