---
title: "Kimina-Prover: Applying Test-time RL Search on Large Formal Reasoning Models"
description: "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."
url: "https://swe.quest/articles/kimina-prover-applying-test-time-rl-search-on-large-formal-reasoning-models-321ecfd38f3146da"
canonical: "https://huggingface.co/blog/project-numina/kimina-prover"
source: "Hugging Face"
published: "2025-07-10"
difficulty: "hard"
kind: "Research"
reading_minutes: 38
tags: ["model-training","llms","formal-methods","evals"]
---

# Kimina-Prover: Applying Test-time RL Search on Large Formal Reasoning Models

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

## Summary

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. TTRL search scores lemmas by utilization, builds input variants that are 60% top lemmas and 40% top lemmas plus random extras, prunes lemmas below a 0.10 utilization score after 50 tries, and generates sublemmas recursively after 128 failed attempts. It discards inconsistent lemmas by proving their negation. A Batched Failure Replay strategy trains error correction, and under equal budgets 16 attempts plus 16 fixes beat 32 brute-force samples, 35.6% to 28.8%. Distilled 8B and 1.7B variants are also released.

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))
- Lean 4 theorem proving
- pass@k evaluation ([easy posts on Evaluation](https://swe.quest/tags/evals.md?difficulty=easy))

## Keywords

Kimina-Prover, Lean 4, miniF2F, Kimi k1.5, Qwen2.5-72B, Test-Time Reinforcement Learning, DeepSeek-Prover-V2

## Related posts

- [Kimina-Prover-RL](https://swe.quest/articles/kimina-prover-rl-3205962549f99099.md): Hugging Face · 2025-08-14 · Hard · 8 min read · Model training, LLMs, Formal methods, Evaluation
  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.
- [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.
- [ReasoningBank: Enabling agents to learn from experience](https://swe.quest/articles/reasoningbank-enabling-agents-to-learn-from-experience-c24d005f6ce31b05.md): Google Research · 2026-04-21 · Hard · 5 min read · AI agents, LLMs, Evaluation
  ReasoningBank is an agent memory framework that distills generalizable reasoning strategies from both successful and failed trajectories, stored as structured items (title, description, content) in a closed loop of retrieval, LLM-as-a-judge self-assessment, extraction and append-only consolidation.
- [Putting RL back in RLHF](https://swe.quest/articles/putting-rl-back-in-rlhf-dbdbc5d62840e65d.md): Hugging Face · 2024-06-12 · Hard · 11 min read · Model training, LLMs, Python
  RLOO (REINFORCE Leave-One-Out) is now available as a trainer in Hugging Face TRL.

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)
