PhysProver: Advancing Automatic Theorem Proving for Physics

TL;DR

PhysProver combines RLVR and PhysLeanData, enhancing physics theorem proving by 2.4%.

cs.AI 🔴 Advanced 2026-01-22 2 views
Hanning Zhang Ruida Wang Rui Pan Wenyuan Wang Bingxu Meng Tong Zhang
physics theorem proving RLVR dataset deep learning

Key Findings

Methodology

The paper introduces PhysProver, which integrates Reinforcement Learning with Verifiable Rewards (RLVR) and a dataset specifically designed for physics theorem proving, PhysLeanData. Using DeepSeek-Prover-V2-7B as the base model, it is trained through RLVR to significantly enhance theorem proving capabilities in the physics domain.

Key Results

  • PhysProver achieved a 2.4% overall improvement across multiple physics sub-domains using approximately 5K training samples, demonstrating its effectiveness in physics theorem proving.
  • After physics training, the model showed a 1.3% gain on the MiniF2F-Test benchmark, indicating cross-domain generalization capabilities.
  • Experiments confirmed that PhysProver excels in complex domains like Particle & String Theory, outperforming existing mathematical theorem proving models.

Significance

The introduction of PhysProver fills a gap in the physics theorem proving domain, providing a new tool for formal reasoning in physics. Its approach not only enhances theorem proving capabilities in physics but also shows potential applications in mathematical reasoning, advancing cross-domain research.

Technical Contribution

PhysProver, by integrating RLVR and a physics-specific dataset, is the first to apply reinforcement learning in physics theorem proving, offering new theoretical guarantees and engineering possibilities. Compared to existing mathematical theorem proving methods, PhysProver demonstrates unique advantages in the physics domain.

Novelty

PhysProver is the first model focused on physics theorem proving, utilizing RLVR and PhysLeanData to overcome the limitations of traditional mathematical theorem proving, achieving formal reasoning in the physics domain for the first time.

Limitations

  • PhysProver still faces challenges in handling complex physics theorems, especially with limited dataset sizes.
  • The model's generalization capabilities in certain specific domains may be insufficient, requiring further optimization.

Future Work

Future research directions include expanding dataset sizes, optimizing model generalization capabilities, and exploring applications in more physics domains. The community can build on this model for broader research and application.

AI Executive Summary

Physics theorem proving has long been an underexplored domain, despite its undeniable importance in physics. Existing methods primarily focus on mathematical theorem proving, lacking dedicated attention to the physics domain. The emergence of PhysProver fills this gap by integrating RLVR and a dedicated dataset, PhysLeanData, significantly enhancing theorem proving capabilities in physics.

PhysProver utilizes DeepSeek-Prover-V2-7B as the base model, trained through RLVR, demonstrating exceptional performance across multiple physics sub-domains. Experimental results show that PhysProver achieved a 2.4% improvement in physics theorem proving and a 1.3% cross-domain improvement on the MiniF2F-Test benchmark.

Despite significant progress in physics theorem proving, PhysProver still faces challenges in dataset size and model generalization capabilities. Future research will focus on expanding datasets and optimizing the model to further enhance its potential applications in both physics and mathematics.

Deep Analysis

Background

In recent years, formal reasoning has made significant progress in mathematics and computer science, especially driven by large language models (LLMs). However, formal reasoning in the physics domain remains underexplored. Physics relies on rigorous mathematical foundations and formal derivations, providing a natural extension for formal reasoning.

Core Problem

The core problem in physics theorem proving is the lack of dedicated datasets and methods, leading to poor performance of existing mathematical theorem proving models on physics tasks. The complexity and diversity of physics make formal reasoning more challenging.

Innovation

The core innovation of PhysProver lies in the first application of RLVR to physics theorem proving, combined with a dedicated dataset, PhysLeanData, enhancing reasoning capabilities in the physics domain. Compared to traditional mathematical theorem proving methods, PhysProver demonstrates unique advantages in physics.

Methodology

  • �� Construct training set using PhysLeanData, containing physics theorems and synthetic lemmas.

  • �� Use DeepSeek-Prover-V2-7B as the base model.

  • �� Train using RLVR, leveraging reward signals from the Lean verifier.

  • �� Conduct self-evolving training to enhance physics reasoning capabilities.

Experiments

The experimental design includes using PhysLeanData as the training set and evaluating on the MiniF2F-Test benchmark. Baselines include existing mathematical theorem proving models and proprietary systems. Pass@16 is used as the primary evaluation metric.

Results

PhysProver achieved a 2.4% improvement across multiple physics sub-domains and a 1.3% cross-domain improvement on the MiniF2F-Test benchmark. Experimental results show that PhysProver excels in complex domains like Particle & String Theory.

Applications

PhysProver can be used for formal reasoning in physics, especially in the automated proving of complex physics theorems. Its methods can also be applied to mathematical reasoning, demonstrating cross-domain application potential.

Limitations & Outlook

Despite significant progress in physics theorem proving, PhysProver still faces challenges in dataset size and model generalization capabilities. Future research will focus on expanding datasets and optimizing the model.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. You have a recipe (PhysLeanData), which is like your dataset. You have a chef assistant (PhysProver) who helps you cook based on the recipe. This assistant is very smart; he adjusts his methods according to your instructions (RLVR) to ensure each dish is perfect. Through continuous practice, he not only makes delicious dishes but also showcases his cooking skills in other kitchens (mathematics domain).

ELI14 Explained like you're 14

Imagine you're playing a video game about physics. The game has many levels, each with different physics puzzles. PhysProver is like your game character, who has a special skill to solve these puzzles through learning and training. Every time he solves a puzzle, he becomes stronger, excelling not only in physics levels but also in math levels. Isn't that cool?

Glossary

PhysProver

A model focused on physics theorem proving, integrating RLVR and PhysLeanData.

Used to enhance theorem proving capabilities in the physics domain.

RLVR

A method combining reinforcement learning and verifiable reward signals for training models.

Used in PhysProver to enhance physics reasoning capabilities.

PhysLeanData

A dataset specifically designed for physics theorem proving, containing physics theorems and synthetic lemmas.

Used as training data for PhysProver.

DeepSeek-Prover-V2-7B

A powerful open-source mathematical theorem proving model used as a base for physics theorem proving.

Used as the base model for PhysProver.

MiniF2F-Test

A benchmark for evaluating formal mathematical reasoning capabilities.

Used to evaluate PhysProver's cross-domain generalization capabilities.

Open Questions Unanswered questions from this research

  • 1 How to further improve the accuracy of physics theorem proving with limited datasets? Existing methods perform poorly with limited dataset sizes, requiring more effective data augmentation strategies.
  • 2 How to optimize the model's generalization capabilities to excel in more physics domains? Existing methods lack sufficient generalization in certain domains.

Applications

Immediate Applications

Automated Physics Theorem Proving

PhysProver can be used for automated physics theorem proving, assisting researchers in verifying complex physics theories.

Long-term Vision

Cross-Domain Formal Reasoning

PhysProver's techniques can be applied to formal reasoning in other scientific fields, promoting interdisciplinary research.

Abstract

The combination of verifiable languages and LLMs has significantly influenced both the mathematical and computer science communities because it provides a rigorous foundation for theorem proving. Recent advancements in the field provide foundation models and sophisticated agentic systems pushing the boundaries of formal mathematical reasoning to approach the natural language capability of LLMs. However, little attention has been given to the formal physics reasoning, which also heavily relies on similar problem-solving and theorem-proving frameworks. To solve this problem, this paper presents, to the best of our knowledge, the first approach to enhance formal theorem proving in the physics domain. We compose a dedicated dataset PhysLeanData for the task. It is composed of theorems sampled from PhysLean and data generated by a conjecture-based formal data generation pipeline. In the training pipeline, we leverage DeepSeek-Prover-V2-7B, a strong open-source mathematical theorem prover, and apply Reinforcement Learning with Verifiable Rewards (RLVR) to train our model PhysProver. Comprehensive experiments demonstrate that, using only $\sim$5K training samples, PhysProver achieves an overall 2.4\% improvement in multiple sub-domains. Furthermore, after formal physics training, we observe 1.3\% gains on the MiniF2F-Test benchmark, which indicates non-trivial generalization beyond physics domains and enhancement for formal math capability as well. The results highlight the effectiveness and efficiency of our approach, which provides a paradigm for extending formal provers outside mathematical domains. To foster further research, we will release both our dataset and model to the community.

cs.AI cs.CL