cs.AISep 22, 2026

Provably Complete Generalized Planning with LLMs

Authors: Katharina Stein, Chaahat Jain, Jörg Hoffmann, Alexander Koller

Organizations: Saarland Informatics Campus, Saarland University, Saarbrücken, Germany · German Research Center for Artificial Intelligence (DFKI), Saarbrücken, Germany

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.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LeanPlan: Optimal Planning with LLM-Generated Heuristics and Admissibility Proofs

    Oct 6, 2026André G. Pereira, Augusto B. Corrêa, Felipe Meneguzzi +1Automated Heuristic DesignLLM Planning

  2. GenePlan: Evolving Better Generalized PDDL Plans using Large Language Models

    Mar 10, 2026Andrew Murray, Danial Dervovic, Alberto Pozanco +1Symbolic PlanningLLM-Based Program Synthesis

  3. Generating Instance Generators in PDDL Planning

    Sep 5, 2026Nicola J. Müller, Naya Rudolph, Katharina Stein +3LLM-Based Program Synthesis