Provably Complete Generalized Planning with LLMs
Katharina Stein, Chaahat Jain, Jörg Hoffmann, Alexander Koller
Abstract
Generalized planning aims to compute a plan that solves all instances of a planning domain. Recent work has used LLMs to automatically generate and debug such generalized plans in the form of Python programs and achieved perfect test data coverage for several domains. However, whether these generalized plans are actually complete, i.e. solve all instances of the domain, could only be determined by manual evaluation. Here, we present an approach for automatically generating generalized plans in Lean together with proofs of their completeness relative to a specification of the domain constraints provided as input. We introduce a semantic-preserving PDDL-to-Lean conversion, and use an LLM to generate both the generalized plan and the formal proof that it solves every instance satisfying the domain constraints. The correctness of the completeness proof is determined by Lean's kernel. We evaluate our approach on 13 commonly used benchmark domains, using GPT-5.6-Sol as the LLM. For 12 of the domains we obtain generalized plans together with valid completeness proofs. This is a major advancement of the state of the art in automatic generalized-plan completeness proofs.
Create a lesson
Related papers
Provably Near-Optimal PQ in the Extended Zador Model
Shared title terminologycs.AIEdo Liberty, Ashwin Padaki, Amir Ingber
Revisiting LLMs as Context Engineers
Shared title terminologycs.AIJunrui Zhang, Zeyu Xu, Runchuan Zhu et al.
PseuDRAGON: Knowledge-Guided Local LLMs for Financial-Data Pseudonymization in Closed Networks
Shared title terminologycs.AIGwangui Hong, Seonho An, Seonkyu Lim et al.
AutoSECO: Automated Skill Evolution for Cross-Problem Combinatorial Optimization with General-Purpose LLM Agents
Shared title terminologycs.AIZirui Zhu, Cong Zhang, Ni Zhang et al.
GRASP: Generating, Revising, and Assessing for Strategic Planning with Agentic AI
Shared title terminologycs.AIArunabh Srivastava, Mohammad A., Khojastepour et al.
A General Framework for Budgeted Threshold Incentives on Request
Shared title terminologycs.AIZhuolin Wu, Chengrui Zhu, Wenhua Nie et al.