Pseudo-Boolean Proof Logging for Optimal Classical Planning

Simon Dold, Malte Helmert, Jakob Nordström, Gabriele Röger, Tanja SchindlerarXiv 2025

TL;DR

This paper introduces a general, algorithm-agnostic framework for certifying the optimality of classical plans using pseudo-Boolean proofs. By leveraging cutting planes with reification, the authors demonstrate how to modify the $A^*$ search algorithm to log independently verifiable proofs of optimality with minimal computational overhead, successfully accommodating both forward-looking and backward-looking heuristics.

What Problem Does This Paper Address?

Optimal classical planning algorithms make a bold threefold promise: the plans they find are correct, no cheaper plans exist, and if they declare a task unsolvable, it truly is. While plan correctness is easily verified using standard validation tools, certifying optimality (proving a lower bound on cost) or unsolvability is notoriously difficult.

Previous attempts to generate optimality certificates either suffered from exponential state-space explosion or were tightly coupled to specific forward-search heuristics. Crucially, prior methods struggled to efficiently certify heuristics computed in a backward direction, such as Pattern Databases (PDBs), without completely redoing the abstract state-space exploration. This paper introduces a flexible, efficient, and unified proof-logging framework to bridge this gap.

Methods

The authors propose using Pseudo-Boolean (PB) Proofs based on a cutting planes proof system with reification (CPR). This system allows the planner to output a certificate that can be verified by an off-the-shelf, formally verified proof checker called VeriPB.

The core workflow consists of several key components:

  1. Task Encoding: The STRIPS planning task is translated into linear pseudo-Boolean inequalities. State-cost pairs $\langle s, c \rangle$ are tracked using binary representations for costs.
  2. Reification: To avoid exponential blowup, the system introduces reification variables (variables representing the truth value of a constraint) lazily, creating them only when required by the proof.
  3. Lower-Bound Certificates: The certificate consists of a PB circuit representing an invariant (an overapproximation of reachable state-cost pairs) and three distinct CPR proofs:
  4. Initial state lemma: Proves the invariant holds at the start.
  5. Goal lemma: Proves that any goal state satisfying the invariant must meet or exceed the target cost bound.
  6. Inductivity lemma: Proves the invariant is preserved across action transitions.
  7. Proof-Logging $A^*$: The authors integrate this framework into $A^*$ search and provide concrete recipes for generating heuristic certificates using both the maximum heuristic ($h^\textit{max}$) and Pattern Database (PDB) heuristics.

The interaction between the planning system, validator, and verifier is illustrated in Figure 1:

Figure 1: Interaction of Components

Datasets

Not discussed in the paper. This work is purely theoretical and methodological; it focuses on establishing mathematical frameworks, definitions, and algorithmic proofs rather than empirical benchmarking on datasets.

Key Insights and Ideas

  • Linear Arithmetic is Key: Unlike standard SAT proof systems (such as DRAT) which struggle with optimization problems, pseudo-Boolean cutting planes naturally incorporate linear arithmetic. This makes them uniquely suited for reasoning about action costs and lower bounds.
  • Lazy Variable Generation: By clipping costs to a maximum bound $B$ and only generating variables as the search encounters them, the encoding size remains manageable rather than expanding exponentially.
  • Unifying Forward and Backward Heuristics: The framework successfully unifies structurally different heuristics. It proves that backward-looking abstraction heuristics (like PDBs) can contribute to a global optimality proof without forcing the verifier to replicate the entire abstract search space.

Key Results

  • Soundness and Completeness: The authors provide rigorous mathematical proofs showing that their lower-bound certificates are completely sound (if accepted, optimality holds) and complete (if a plan is optimal, a certificate exists).
  • Low Computational Overhead: The paper demonstrates that modifying $A^*$ to log these proofs introduces only a constant-factor overhead to the original planning algorithm's runtime for both $h^\textit{max}$ and optimized PDB implementations.
  • Efficient Verification: The verification runtime is polynomial relative to the size of the planning task and the generated certificate.

Limitations and Future Work

  • Generality Remains a Conjecture: While the authors show excellent coverage for $A^*$, $h^\textit{max}$, and PDBs, they acknowledge that demonstrating the framework's absolute generality across all diverse planning paradigms remains a conjecture for future empirical validation.
  • Extension to Advanced Techniques: A critical next step is extending this pseudo-Boolean proof-logging method to handle cost partitioning, which is currently the most powerful technique used by state-of-the-art optimal planners.

Summary updated

BibTeX
@misc{dold2025pseudo,
  author = {Simon Dold and Malte Helmert and Jakob Nordström and Gabriele Röger and Tanja Schindler},
  title = {{Pseudo-Boolean Proof Logging for Optimal Classical Planning}},
  year = {2025},
  eprint = {2504.18443},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.18443},
}
Figure