Renaissance Labs

Index / Science and mathematics / Mathematics

0541Mathematics

Desargues Formal Reasoning Sample

desargues-hf/annals-math-rl-sample

Prove one textbook algebra theorem or one research-level theorem in Lean 4 and submit Lean files to a separate verifier.

Open on Hugging FaceHow to run it

Good for

  • sample of Lean proof environments
  • textbook to research difficulty span

Reward

How it is scored
Programmatic check
Signal
Pass or fail

Reward is 1 for a fully accepted proof checked by Comparator against the trusted statement and 0 for incomplete, invalid or timed-out submissions.

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_NAME -m MODEL_NAME -i lean_gap_df_10_2_1 -n 1

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

hf download desargues-hf/annals-math-rl-sample --repo-type dataset --local-dir annals-math-rl-sample

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/desargues-hf/annals-math-rl-sample --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 account; Python 3.12+.