Run this model with HF Jobs

Run PrincetonPLI/Goedel-Prover-V3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/PrincetonPLI/Goedel-Prover-V3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/PrincetonPLI/Goedel-Prover-V3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/PrincetonPLI/Goedel-Prover-V3. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/PrincetonPLI/Goedel-Prover-V3. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from
Docker Model Runner
docker model run hf.co/PrincetonPLI/Goedel-Prover-V3
Quick Links

Goedel-Prover-V3

Website · Code · FP8 model · Training data

Goedel-Prover-V3 is a 27B Lean 4 theorem-proving agent, fine-tuned from Qwen3.8-27B. It works like a coding agent: in a sandbox holding only the statement file and a shell, it searches Mathlib, writes the proof, compiles it with Lean, reads the errors and tries again, until it submits a proof.

Usage

The model is meant to be run inside its agent harness. The code repository sets up the whole stack: Lean 4.34.0 with Mathlib, the Apptainer sandbox, the vLLM server, the agent and the scoring. It also runs the model on your own statements:

.venv/bin/hf download PrincetonPLI/Goedel-Prover-V3 --local-dir models/Goedel-Prover-V3
.venv/bin/python scripts/prepare_tasks.py my_statements/ --out .cache/mine --samples 4
MODEL_PATH=models/Goedel-Prover-V3 MANIFEST=.cache/mine/run/manifest.json bash scripts/run_local.sh

Serving with vLLM

Tested with vLLM 0.19.0. The bf16 weights take 51 GiB; one server per four 80 GB GPUs holds the full 262,144-token context for 16 concurrent agents.

vllm serve PrincetonPLI/Goedel-Prover-V3 \
    --served-model-name Goedel-Prover-V3 \
    --tensor-parallel-size 4 \
    --max-model-len 262144 \
    --gpu-memory-utilization 0.93 \
    --enable-prefix-caching \
    --gdn-prefill-backend triton \
    --enable-auto-tool-choice --tool-call-parser qwen3_coder \
    --reasoning-parser qwen3

What the model expects:

  • One bash tool in the OpenAI function-calling format; the model answers with native tool calls (qwen3_coder parser). The task is a Lean file /work/Main.lean whose target theorem ends in sorry.
  • Thinking kept across turns. The reasoning parser returns the thinking in the response's reasoning field; send it back with each assistant turn, as the chat template keeps past thinking.
  • Sampling: temperature 0.7 and 32,768 tokens per reply; top-p 0.95 and top-k 20 come from generation_config.json.
  • Long attempts. The harness closes a reply cut off inside its thinking with Qwen3's thinking-budget sentence and lets the model finish, then drops that cut thinking from later requests. When a conversation reaches 180k tokens, the model summarizes its progress and the conversation restarts from the summary. The model was trained on trajectories in this format.

License

Apache License 2.0.

Citation

@misc{park2026GoedelProverV3,
    title   = {Goedel-Prover-V3: A Frontier Lean Agent for Research-level Mathematics on a Single GPU},
    author  = {Simon Park and Tomas Ortega and Rodrigo Porto and Jui-Hui Chung and Yoonsang Lee and Yikai Wu and Qishuo Yin and Ayush Khaitan and Alex Kontorovich and Sanjeev Arora and Danqi Chen and Liam Fowl},
    year    = {2026},
    url     = {https://princeton-pli.github.io/Goedel-Prover-V3},
}

@article{ortega2026miniLeanagent,
    title   = {Do Theorem Provers Need Theorem-Proving Agents? mini-Lean-agent: A Coding-Agent Baseline for Lean},
    author  = {Tomas Ortega and Simon Park and Ayush Khaitan and Liam Fowl and Alex Kontorovich and Sanjeev Arora},
    journal = {arXiv preprint arXiv:2610.17331},
    url     = {https://arxiv.org/abs/2610.17331},
}
Downloads last month
11
Safetensors
Model size
27B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for PrincetonPLI/Goedel-Prover-V3

Base model

Qwen/Qwen3.8-27B
Finetuned
(1,152)
this model
Finetunes
1 model
Quantizations
1 model

Dataset used to train PrincetonPLI/Goedel-Prover-V3

Collection including PrincetonPLI/Goedel-Prover-V3

Paper for PrincetonPLI/Goedel-Prover-V3