Reap: Uncovering Monte-carlo proof search with lightweight model
Abstract
We present Reap, an open framework for learning and analyzing formal proof search in Lean 4. Reap implements policy–value-guided Monte Carlo Tree Search directly in Lean, sharing proof-state transitions, AND–OR search, and replay verification between inference and training rollouts. Structured action logs expose how neural predictions and tactic execution interact during search. Using this framework, we train Reaper-1, a 1.7B-parameter policy–value model, through continued pre-training, supervised tactic learning, and iterative search-based reinforcement learning. Using a separate premise selector, the final system solves 79.9% of miniF2F-test at pass@32, establishing state-of-the-art performance among open provers of comparable size while remaining competitive with substantially larger models. Beyond improved solve rates, our results suggest that RL strengthens the prover’s ability to organize proofs around useful intermediate results, favoring substantial advances over repeated local adjustments. This more directed proof construction is accompanied by increasingly elaborate tactic programs: fewer explicit search decisions are needed, while more work is performed within each decision. The resulting trade-off between search effort and tactic execution cost provides insight into how learning changes the prover’s problem-solving strategy.
Then back it, or bet against it.
Related papers
Open the market on this paper to see 7 more related papers.