Index / Science and mathematics / Mathematics
Agentic Prover RL Environments
davinci-prover/agentic-prover-RL-env
Prove Lean 4 theorems by completing a Submission.lean from a Challenge.lean, checked by a Comparator and kernel replay.
Good for
- Lean 4 prover RL
- difficulty-labelled proof tasks
- offline verification
Reward
- How it is scored
- Programmatic check
- Signal
- Pass or fail
A trusted verifier checks statement identity, permitted axioms and Lean kernel replay of the submitted proof.
How to run it
1. From the cardcopied from the publisher's own instructions
TASK_ID=nmp3_0001e8eb-17b3-5bd9-b7ec-fa259a6b2a02 docker build -t agentic-prover-task:lean4.35 "tasks/$TASK_ID/environment"
2. Get the filesthe whole repository, to a local folder
hf download davinci-prover/agentic-prover-RL-env --repo-type dataset --local-dir agentic-prover-RL-env
3. Check it with Harborcommon pattern, not from this card
# the oracle agent runs the reference solution, so no model is called
harbor run --repo https://huggingface.co/datasets/davinci-prover/agentic-prover-RL-env --agent oracleIf every task passes, the environment works on your machine. Then swap in your own agent and model. Some repositories keep the tasks in a subfolder; the card says where.
Framework documentation: Harbor. Needs: Docker and a locally built Lean 4.35 base image.
Evidence
Export checks and representative end-to-end tests are recorded in validation/report.json.
As reported by the publisher. We have not reproduced it.