Index / Science and mathematics / Mathematics
openai/math as Harbor environments
leonflux/FLUX-openai-math-flx-revised
Replace the sorry placeholders in a Lean 4 statement of an openai/math result with a complete proof using Mathlib.
Good for
- Lean theorem proving RL
- strict binary proof checking
Reward
- How it is scored
- Programmatic check
- Signal
- Pass or fail
Comparator checks the exact original statement, only standard axioms and kernel acceptance; reward 1 if so, 0 otherwise.
How to run it
1. From the cardcopied from the publisher's own instructions
harbor run -p tasks -e daytona --ek snapshot_template_name=$SNAP \ -a <agent> -m <model> -i plane-coloring -i hilbert-crouzeix -n 2
2. Get the filesthe whole repository, to a local folder
hf download leonflux/FLUX-openai-math-flx-revised --repo-type dataset --local-dir FLUX-openai-math-flx-revised
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/leonflux/FLUX-openai-math-flx-revised --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: Harbor 0.24+ with Daytona, a built Lean/Mathlib image (~9 GB), 4 CPUs, 8 GB.
Evidence
OpenAI's official proof was verified end to end for each of the 369 environments.
As reported by the publisher. We have not reproduced it.