---
title: "Kimina-Prover-RL"
description: "Kimina-Prover-RL is an open-source GRPO training pipeline, released as a recipe in a fork of verl, that teaches small LLMs to prove Lean 4 theorems using a think-then-code output format."
url: "https://swe.quest/articles/kimina-prover-rl-3205962549f99099"
canonical: "https://huggingface.co/blog/project-numina/kimina-prover-rl"
source: "Hugging Face"
published: "2025-08-14"
difficulty: "hard"
kind: "Research"
reading_minutes: 8
tags: ["model-training","llms","formal-methods","evals"]
---

# Kimina-Prover-RL

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-08-14, 8 min read, Research. Original: [https://huggingface.co/blog/project-numina/kimina-prover-rl](https://huggingface.co/blog/project-numina/kimina-prover-rl)

## Summary

Kimina-Prover-RL is an open-source GRPO training pipeline, released as a recipe in a fork of verl, that teaches small LLMs to prove Lean 4 theorems using a think-then-code output format. The pipeline verifies proofs with kimina-lean-server, applies strict format-checking rewards and adds a single error-correction turn that feeds Lean feedback back to the model. It uses DrGRPO to remove the length bias of GRPO and trains on a filtered set of hard NuminaMath-LEAN problems. After 48 hours on 8 H100s the 1.7B model reaches 76.23% Pass@32 on MiniF2F (77.87% with error fixing), and a 0.6B model reaches 71.30%, both state of the art for open-source models of their size.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Formal methods](https://swe.quest/tags/formal-methods.md) (Architecture & design)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- reinforcement learning for LLMs ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- GRPO
- Lean 4 theorem proving

## Keywords

Kimina-Prover, Lean 4, verl, GRPO, DrGRPO, MiniF2F, kimina-lean-server, DeepSeek-R1

## Related posts

- [Kimina-Prover: Applying Test-time RL Search on Large Formal Reasoning Models](https://swe.quest/articles/kimina-prover-applying-test-time-rl-search-on-large-formal-reasoning-models-321ecfd38f3146da.md): Hugging Face · 2025-07-10 · Hard · 38 min read · Model training, LLMs, Formal methods, Evaluation
  Kimina-Prover-72B, trained with the Kimi k1.5 RL pipeline on Qwen2.5-72B, reaches a 92.2% pass rate on miniF2F-test for Lean 4 theorem proving by combining a lemma-enabled RL pattern, a recursive Test-Time RL search over candidate lemmas, and learned error-fixing from Lean feedback.
- [Building an RL theorem-proving workflow on Modal](https://swe.quest/articles/building-an-rl-theorem-proving-workflow-on-modal-091b48c98bf6e356.md): Modal · 2026-04-29 · Hard · 10 min read · Model training, ML platforms, Sandboxing & isolation, LLMs
  AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume.
- [Advancing science & engineering with Antigravity’s /teamwork](https://swe.quest/articles/advancing-science-engineering-with-antigravity-s-teamwork-0e40d692e8fc9ab5.md): Google Research · 2026-11-13 · Easy · 14 min read · AI agents, LLMs, Formal methods, Algorithms
  Antigravity's /teamwork multi-agent harness pairs parallel exploration with independent falsifiers (Lean 4, unmodified test suites, simulators, hardware counters) and partitions context so each agent sees only the files and tools it needs, with critics and auditors verifying results from clean contexts.
- [Open R1: Update #2](https://swe.quest/articles/open-r1-update-2-8012bcb3a4bd440c.md): Hugging Face · 2025-02-10 · Hard · 14 min read · Model training, LLMs, Evaluation, Inference & serving
  OpenR1-Math-220k is a math reasoning dataset built by generating 800k DeepSeek R1 traces for 400k NuminaMath 1.5 problems on 512 local H100s.
- [Fine-tuning a 350M Model for Better Structured Outputs in 100 GRPO Steps](https://swe.quest/articles/fine-tuning-a-350m-model-for-better-structured-outputs-in-100-grpo-steps-e2ff9bff03d56a9c.md): Hugging Face · 2026-09-03 · Hard · 8 min read · Model training, LLMs, Evaluation
  GRPO fine-tuning of LFM2.5-350M with TRL on about 500 Nemotron structured-output samples for 100 steps raises its IFStruct pass rate from 22.6% to 29.7%.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
