DeepSeek-Prover-V1.5

DeepSeek-Prover-V1.5-RL

by DeepSeek · Available as a downloadable open-weight model; legacy research release superseded by newer DeepSeek-Prover models

A 7-billion-parameter DeepSeek model for generating formally verified Lean 4 proofs. It uses reinforcement learning from proof-assistant feedback, supports local deployment with Transformers or vLLM, and can be paired with RMaxTS proof search.

Text Reasoning Coding
DeepSeek-Prover-V1.5-RL is an open-weight theorem-proving model from DeepSeek. It was initialized from DeepSeek-Prover-V1.5-SFT and refined with reinforcement learning using Lean 4 proof verification feedback. The model is designed for formal mathematics and Lean code completion rather than general-purpose conversation, and is intended for local or self-managed deployment.
Outputs

What DeepSeek-Prover-V1.5-RL can produce

Text
Inputs

What it can understand

Text
Model profile

Performance characteristics

8/10 Reasoning
8/10 Coding
5/10 Speed
9/10 Cost efficiency
Specifications

Technical details

Model family DeepSeek-Prover-V1.5
Model type Reasoning
Context window 4K tokens
Maximum output 2K tokens
Release date 2024-08-15
Status Available as a downloadable open-weight model; legacy research release superseded by newer DeepSeek-Prover models
Knowledge cutoff notes

DeepSeek does not publish a specific knowledge-cutoff date for this exact model. Its training is specialized for formal mathematical languages and Lean 4 proof data rather than current general-world knowledge.

Model notes

The exact model is the reinforcement-learning variant of the DeepSeek-Prover-V1.5 series and has 7 billion parameters. It is initialized from DeepSeek-Prover-V1.5-SFT and trained with reinforcement learning from Lean proof-assistant feedback. Official evaluations reported 60.2% on miniF2F-test and 22.6% on ProofNet for single-pass whole-proof generation. RMaxTS is a separate inference-time Monte Carlo tree-search method that can be combined with the model; reported combined results reached 63.5% on miniF2F-test and 25.3% on ProofNet. The official materials provide downloadable weights and local inference instructions, but no model-specific hosted API pricing. The 4096-token context value is indicated by the official repository's vLLM configuration and issue context; the 2048-token output value reflects the documented research sampling configuration rather than a separately published hard architectural maximum. The repository code is MIT licensed, while the model weights use DeepSeek's model license.

Model guide

DeepSeek-Prover-V1.5-RL: An Open-Weight Lean 4 Theorem-Proving Model

DeepSeek-Prover-V1.5-RL is a downloadable 7-billion-parameter language model specialized in generating formally verified mathematical proofs in Lean 4. It uses reinforcement learning from proof-assistant feedback to improve whole-proof generation and can be combined with DeepSeek's RMaxTS Monte Carlo tree-search method.

What is DeepSeek-Prover-V1.5-RL?

DeepSeek-Prover-V1.5-RL is a 7-billion-parameter language model for automated theorem proving in Lean 4. Lean is a proof assistant: software that checks whether a mathematical argument is formally valid. Instead of returning only an informal explanation, the model generates Lean source code that can be submitted to Lean and Mathlib for verification.

The model was released by DeepSeek on August 15, 2024, with downloadable weights hosted on Hugging Face. It belongs to the DeepSeek-Prover-V1.5 family and is specifically the reinforcement-learning variant. The release is best understood as a research model for formal mathematics, proof generation, and verifier-guided language-model experiments, not as a general conversational assistant.

DeepSeek's later model releases may be more appropriate for new projects, and the supplied research describes this model as a legacy research release that has been superseded by newer DeepSeek-Prover models. Nevertheless, DeepSeek-Prover-V1.5-RL remains relevant when a project requires the exact V1.5-RL checkpoint or when reproducible research depends on its published training and evaluation setup.

How the model is trained

DeepSeek-Prover-V1.5-RL was initialized from DeepSeek-Prover-V1.5-SFT, the supervised fine-tuning version in the same series. Its reinforcement-learning stage uses feedback from Lean 4: a generated proof receives useful feedback when the proof assistant accepts it, and unsuccessful proof attempts can be rejected or used to guide further improvement.

The published training approach uses GRPO-style online reinforcement learning. In practical terms, the model learns by producing candidate proofs and receiving signals from the verifier rather than relying only on examples of completed proofs. This is particularly suitable for Lean because correctness can be checked mechanically. A proof that looks convincing to a person but does not compile is not a successful formal proof.

The wider DeepSeek-Prover-V1.5 system also includes RMaxTS, a Monte Carlo tree-search method for exploring multiple proof paths. RMaxTS is not another output modality and is not a separate version of the model. It is an inference-time search procedure that can generate and evaluate alternative paths with proof-assistant feedback and intrinsic rewards.

What the model can do

  • Generate Lean 4 theorem proofs from formal mathematical statements.
  • Complete Lean code and work with intermediate tactic-state information.
  • Produce proof candidates that can be checked with Lean 4 and Mathlib.
  • Support sampling, proof checking, expert iteration, and research into verifier-guided language models.
  • Run locally through tools such as Hugging Face Transformers or vLLM, subject to the required environment and hardware.

Its output is text, primarily Lean code and related textual reasoning. The model does not natively generate images, audio, video, embeddings, or executable actions. It also does not provide a built-in web-search or general tool-use system according to the supplied specifications.

Reported performance

According to the authors' reported evaluation, DeepSeek-Prover-V1.5-RL achieved a 60.2% pass rate on the miniF2F-test benchmark and a 22.6% pass rate on ProofNet in the stated single-pass whole-proof-generation setting. These results measure whether generated formal proofs pass the relevant benchmark checks; they are not general mathematical-ability or software-coding scores.

When the broader DeepSeek-Prover-V1.5 system was combined with the RMaxTS search procedure, the reported results reached 63.5% on miniF2F-test and 25.3% on ProofNet. Those figures should not be attributed to an unmodified single generation from DeepSeek-Prover-V1.5-RL. They reflect a different inference configuration that uses additional search.

Benchmark results depend on the prompt format, sampling budget, proof-search configuration, verifier setup, and benchmark version. They are therefore useful for understanding the research release, but they do not guarantee that a particular theorem will be solved successfully.

Context, output, and deployment

The supplied model information lists a 4,096-token context length and a 2,048-token maximum output value. The context value is indicated by the official repository's vLLM configuration and related issue context. The 2,048-token value reflects the documented research sampling configuration rather than a separately published hard architectural maximum, so users should verify the effective limit in their chosen inference setup.

Deployment is self-managed. The official materials provide downloadable weights, research code, and local inference instructions rather than a model-specific hosted API. A practical setup requires a compatible Linux environment, Python 3.10, Lean 4, Mathlib, the relevant inference dependencies, and suitable GPU resources. The actual generation speed depends on the hardware, quantization or runtime configuration, proof length, and whether additional proof search is enabled.

Because each candidate proof normally needs to be checked by Lean, end-to-end solving speed is not simply the language-model token-generation speed. RMaxTS and other sampling-heavy workflows can improve the chance of finding a valid proof, but they also require more generations and verification work. This creates a direct trade-off between search budget, latency, and compute cost.

Pricing and availability

DeepSeek-Prover-V1.5-RL is distributed as an open-weight model that can be downloaded from its official Hugging Face repository. No model-specific hosted API pricing or managed inference plan is documented in the supplied research. Consequently, there is no verified per-token input or output price to report.

Local use is not free in an operational sense: users must provide compatible hardware, storage, setup time, and electricity or cloud-compute resources. The open-weight distribution can nevertheless be useful for researchers who need control over inference, proof-checking integration, or reproducible experiments instead of a managed endpoint.

Strengths and limitations

Main strengths

  • Specialization: The model is trained for Lean 4 formal proof generation rather than broad language tasks.
  • Verifier-guided development: Lean provides an objective way to check whether generated proof code is accepted.
  • Research accessibility: Downloadable weights and local deployment support allow experiments without depending on a model-specific hosted API.
  • Search compatibility: The model can be paired with the RMaxTS approach to explore multiple proof candidates.
  • Useful output format: Successful results are machine-checkable Lean code, which can be integrated into formalization workflows.

Important limitations

  • Narrow task focus: It is not designed for ordinary chat, general-purpose coding, broad software engineering, or multimodal analysis.
  • Local infrastructure burden: Users must install and connect Lean 4, Mathlib, and the inference stack themselves.
  • No documented managed API: There is no supplied hosted endpoint, service-level commitment, or model-specific token pricing.
  • Finite generation budget: The listed context and output values can constrain long theorem statements, proof context, or multi-step proofs.
  • Search can increase cost and latency: Multiple samples and verifier checks may improve results but require additional computation.
  • Research-release status: Newer DeepSeek-Prover releases may be preferable for fresh work where the latest model or maintained tooling matters.

When to choose DeepSeek-Prover-V1.5-RL

Choose DeepSeek-Prover-V1.5-RL when the primary requirement is local generation of Lean 4 proof code and the project benefits from the specific DeepSeek-Prover-V1.5-RL checkpoint. It is a reasonable fit for experiments involving formal mathematics, proof completion, verifier feedback, proof search, and comparisons between supervised fine-tuning and reinforcement learning.

It is also a better fit than a general-purpose language model when formal verification is central to the workflow. A general model may produce readable mathematical explanations or ordinary programming code, but DeepSeek-Prover-V1.5-RL is trained around the more specific objective of producing proof terms and tactics that can be checked by Lean.

Another option may be more appropriate when the project needs a managed API, current production support, high-throughput general coding, web access, image or audio processing, or a conversational assistant. A newer theorem-proving model may also be preferable when the goal is to adopt the latest capabilities rather than reproduce the V1.5 research release. Within this model's own workflow, using RMaxTS or another search procedure may be worthwhile when proof success matters more than minimum latency and compute usage.

Licensing and final assessment

The accompanying repository code is released under the MIT License. The model weights use DeepSeek's model license, so users should read the license in the model repository before commercial deployment, redistribution, or modification.

DeepSeek-Prover-V1.5-RL is best viewed as a focused, open-weight research tool for Lean 4 theorem proving. Its defining advantage is the connection between language-model generation and an objective proof verifier. Its defining costs are specialization, local deployment work, limited general-purpose usefulness, and the additional compute required for proof search. For researchers who need those formal-proof capabilities, those trade-offs can be acceptable; for general AI workloads, a different type of model is likely to be a better choice.


Answers to Frequently Asked Questions

What is DeepSeek-Prover-V1.5-RL used for?
DeepSeek-Prover-V1.5-RL is a 7-billion-parameter open-weight model designed to generate formal theorem proofs in Lean 4. Its outputs can be checked by Lean 4 and Mathlib, making it useful for formal mathematics, proof completion, verifier-guided language-model research, and proof-search experiments.
How is DeepSeek-Prover-V1.5-RL trained?
The model was initialized from DeepSeek-Prover-V1.5-SFT and further trained with GRPO-style online reinforcement learning. It generates candidate Lean proofs and receives feedback from the Lean 4 proof assistant based on whether those proofs are accepted or rejected.
What benchmark results did DeepSeek-Prover-V1.5-RL achieve?
In the reported single-pass whole-proof-generation evaluation, DeepSeek-Prover-V1.5-RL achieved a 60.2% pass rate on miniF2F-test and a 22.6% pass rate on ProofNet. These results measure formal proof verification performance and do not represent general mathematical or programming ability.
Can DeepSeek-Prover-V1.5-RL run locally?
Yes. The model weights and research code are available for local deployment through tools such as Hugging Face Transformers or vLLM. A typical setup requires a compatible Linux environment, Python 3.10, Lean 4, Mathlib, inference dependencies, and suitable GPU resources.
What are the main limitations of DeepSeek-Prover-V1.5-RL?
The model is specialized for Lean 4 theorem proving and is not intended as a general conversational, coding, multimodal, or web-enabled assistant. Users must manage the local infrastructure themselves, no model-specific hosted API pricing is documented, and proof-search methods such as RMaxTS can increase latency and compute costs.


Sources 5
Provider

About DeepSeek