Skip to content

imathwy/tbps

Repository files navigation

Tree-Based Premise Selection for Lean4

This repository contains the implementation of the paper Tree-Based Premise Selection for Lean4, presented at NeurIPS 2025.

Quick Start

Install Docker

Install Nix

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

For additional details, refer to the Zero to Nix documentation.

Clone this Repository

git clone https://github.com/imathwy/tbps.git

Enter Shell with Required Dependencies

nix develop

Caution

All subsequent operations must be executed within the nix develop shell. Required dependencies will not be available outside this environment.

Enable Git LFS

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

Initialize Database Service and Import Data

./scripts/import-data.sh

Usage

The premise selection tool provides two interfaces: a command-line interface and a web GUI.

Command Line Tool

./scripts/run-cli.sh

Web GUI

./scripts/run-web.sh

After starting the service, access the web GUI at http://localhost:3000/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors