Compiler-Guided Adaptive Proof Search with Cross-Model Synergy on Context-Dependent Theorem Proving

πŸ“… 2026-06-04
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
ζœ¬ζ–‡ζε‡ΊδΊ†δΈ€η§ηΌ–θ―‘ε™¨εΌ•ε―Όηš„θ―ζ˜Žζœη΄’ζ‘†ζžΆοΌŒι€šθΏ‡εŒζ¨‘εž‹η”Ÿζˆε’Œεœζ»žθ§¦ε‘ι‡ι‡‡ζ ·ζ₯ζŽ’η΄’ε€šζ ·εŒ–ηš„θ΅·η‚ΉοΌŒεΉΆεˆ©η”¨ηΌ–θ―‘ε™¨εŸΊη‘€ηš„ι…ε―Ήζ―”θΎƒζ₯δΌ˜εŒ–ζœ‰εΈŒζœ›ηš„θ―ζ˜ŽηŠΆζ€γ€‚
πŸ“ Abstract
Theorem proving in real-world Lean 4 projects is challenging because proofs often depend on project-specific context. While iterative refinement can use compiler errors to repair failed proofs, reusing failed attempts requires careful search control: some proofs provide better starting points than others, and later revisions may degrade a partially correct proof. We propose a compiler-guided proof search framework that balances exploration and exploitation. It explores diverse starting points through dual-model generation and stagnation-triggered resampling, while exploiting promising proof states through current-best refinement guided by compiler-grounded pairwise comparison. Experiments on seven real-world Lean 4 projects from miniCTX-v2 show that our method achieves a better effectiveness--efficiency tradeoff than pass@k baselines. Within the pass@32 budget, our method improves average pass rate by 12.8 percentage points while reducing LLM calls by 21.9%.
Problem

Research questions and friction points this paper is trying to address.

Theorem Proving
Context-Dependent
Compiler Errors
Iterative Refinement
Proof Search
Innovation

Methods, ideas, or system contributions that make the work stand out.

compiler-guided proof search
dual-model generation
stagnation-triggered resampling
current-best refinement
context-dependent theorem proving
πŸ”Ž Similar Papers