LeanPlan: Optimal Planning with LLM-Generated Heuristics and Admissibility Proofs
TL;DR - LeanPlan is an optimal planning system that uses LLM-generated heuristics while formally verifying their admissibility in Lean 4. This combines the search efficiency of learned heuristics with machine-checked guarantees that returned plans are optimal.
- An agentic loop iteratively improves a reusable domain-specific heuristic, its admissibility proof, and required domain assumptions using planner feedback.
- LeanPlan machine-checks heuristic admissibility, problem grounding, and search within Lean 4.
- Evaluations span 10 International Planning Competition domains and three new domains, with test tasks containing up to 57 times more objects than training tasks.
- Using GPT-5.6 Sol, the system produced verified heuristics for every evaluated domain, usually expanded fewer states than Scorpion, and solved more tasks overall.