Renaissance Labs

Index / Science and mathematics / Mathematics

0541Mathematics

openai/math as Harbor environments

FineEnvs/openai-math

Replace every sorry in one of OpenAI's formalised Lean 4 theorems with a complete proof.

Open on Hugging FaceHow to run it

Good for

  • strict formal-proof RL
  • Lean 4 with Mathlib agents

Reward

How it is scored
Programmatic check
Signal
Pass or fail

Comparator checks the exact statement, standard axioms only and kernel acceptance; reward 1 if all hold, 0 otherwise.

How to run it

1. From the cardcopied from the publisher's own instructions

pip install "harbor[daytona]>=0.24" daytona
hf download FineEnvs/openai-math --repo-type dataset --local-dir openai-math
cd openai-math

2. Get the filesthe whole repository, to a local folder

hf download FineEnvs/openai-math --repo-type dataset --local-dir openai-math

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/FineEnvs/openai-math --agent oracle

If 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: Daytona backend; 4 CPUs, 8 GB RAM, 10 GB disk per task; ~9 GB image.

Evidence

OpenAI's official proofs were verified end to end for all 369 environments.

As reported by the publisher. We have not reproduced it.