Reinforcement learning for Lean theorem proving
Project description
LeanReinforcement
Repository for LeanReinforcement (LR), a Monte Carlo Tree Search (MCTS) agent building on the ReProver system.
Gym-like
This repository builds on the gym-like LeanDojo interface for interacting with Lean. See the LeanDojo documentation for more information on how to use it.
Monte Carlo Tree Search
Relevant sources will be added here as the project progresses.
TODO
- Import ReProver weights to Snellius
- Set up premise retrieval code
- Create gym environment with LeanDojo and OpenAI Gym
- Decide PPO vs MCTS => MCTS on top of ReProver
- Update Snellius environment
- Import LeanDojo benchmark to Snellius
- Look into LeanDojo step time, value functions, etc.
- Implement runner script to run MCTS agent on LeanDojo environment
- Implement appropriate DataLoader training and evaluation
- Implement training loop
- Run experiments on Snellius
- Finish in-comment ToDo's
- Checkpoint saving and loading
- Subtree reusage
- Reimplement tactic generator fine-tuning
- Implement ValueHead Dataset creation
- Set up wandb/tensorboard equivalent logging
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lean_reinforcement-0.1.1.tar.gz.
File metadata
- Download URL: lean_reinforcement-0.1.1.tar.gz
- Upload date:
- Size: 36.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3a5b98580ab633c53733747c3d80cea8751738348415f1dbd5dca8b6beeab2b
|
|
| MD5 |
2fcfeb691154ce9e467a7c5090a80c19
|
|
| BLAKE2b-256 |
f30631a4afc84adb6cdafe2e84ba1a205bc614e1924506e635d89c14a8bc652c
|
Provenance
The following attestation bundles were made for lean_reinforcement-0.1.1.tar.gz:
Publisher:
python-publish.yml on GerbenKoopman/LeanReinforcement
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lean_reinforcement-0.1.1.tar.gz -
Subject digest:
b3a5b98580ab633c53733747c3d80cea8751738348415f1dbd5dca8b6beeab2b - Sigstore transparency entry: 743453229
- Sigstore integration time:
-
Permalink:
GerbenKoopman/LeanReinforcement@671630d51d64d4fafd6628f33f28fa3d1f780f32 -
Branch / Tag:
refs/tags/v0.1.1-beta.1 - Owner: https://github.com/GerbenKoopman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@671630d51d64d4fafd6628f33f28fa3d1f780f32 -
Trigger Event:
release
-
Statement type:
File details
Details for the file lean_reinforcement-0.1.1-py3-none-any.whl.
File metadata
- Download URL: lean_reinforcement-0.1.1-py3-none-any.whl
- Upload date:
- Size: 50.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45c48fed5863d02b7586b4e16343d9864a917071ecb5f3bd326732b623d3e29b
|
|
| MD5 |
fa299cf9ea3450f5910edd74967f9902
|
|
| BLAKE2b-256 |
6e401725a11a9bfb6f1eb73f9b7bd43ac4ac009394a922933fe7ffa7ad2516e0
|
Provenance
The following attestation bundles were made for lean_reinforcement-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on GerbenKoopman/LeanReinforcement
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lean_reinforcement-0.1.1-py3-none-any.whl -
Subject digest:
45c48fed5863d02b7586b4e16343d9864a917071ecb5f3bd326732b623d3e29b - Sigstore transparency entry: 743453232
- Sigstore integration time:
-
Permalink:
GerbenKoopman/LeanReinforcement@671630d51d64d4fafd6628f33f28fa3d1f780f32 -
Branch / Tag:
refs/tags/v0.1.1-beta.1 - Owner: https://github.com/GerbenKoopman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@671630d51d64d4fafd6628f33f28fa3d1f780f32 -
Trigger Event:
release
-
Statement type: