Abstract
This paper presents the first formally verified plan validator for the temporal fragment of PDDL 2.1. Developed using the Isabelle/HOL theorem prover, the validator bridges the gap between ambiguous natural language specifications and executable, trustworthy code. By refining abstract mathematical semantics into an efficient algorithm using snap-action compilation, the authors provide a "gold standard" for plan validation that remains computationally practical across standard benchmarks.
Introduction
In automated planning, the complexity of modern planners makes them inherently prone to bugs. To ensure the reliability of generated plans, the community relies on plan validators—simpler programs designed to check if a plan adheres to domain rules and achieves the target goal. However, temporal planning, where actions have durations and can overlap, introduces significant validation challenges. The current industry standard, VAL, is a complex C++ tool, and the underlying PDDL 2.1 semantics contain ambiguities that can lead to inconsistent validation results. This research addresses these issues by formalizing temporal planning rules within a mathematical framework where correctness is strictly provable.
Methods
The authors utilized the Isabelle/HOL interactive theorem prover to develop the validator through a process of step-wise refinement. The methodology involved three primary phases:
- Formal Semantics: The PDDL 2.1 temporal fragment was translated into higher-order logic (HOL). This process involved simplifying the original definitions by Fox and Long, removing algorithmic dependencies to focus on pure logical validity.
- Snap Action Compilation: To manage overlapping actions with duration, the system decomposes them into "snap actions." As shown in Figure 2, an action is broken down into a start event, an end event, and a set of invariants that must hold true throughout the interval. This discretization allows the validator to check specific time points (boundaries) and the intervals between them.
- Step-wise Refinement: The abstract mathematical definitions were refined into an executable algorithm. Each refinement step was accompanied by a formal proof in Isabelle/HOL, ensuring the final code behaves exactly as the mathematical specification dictates.
Experimental Evaluation
The verified validator was tested against standard benchmarks from the International Planning Competition (IPC 2014), including domains such as elevators, parking, and satellite. Candidate plans were generated using the ITSAT and Temporal Fast Downward (TFD) planners.
Key Results
- Guaranteed Correctness: The validator is mathematically proven to be correct. If it confirms a plan's validity, that plan is guaranteed to follow the formalized PDDL 2.1 semantics.
- Practical Performance: Despite the overhead typically associated with verified software and arbitrary-precision arithmetic, the validator proved highly efficient. Across all tested IPC domains, validation time never exceeded one second per plan.
- Cross-Tool Agreement: The tool achieved 100% agreement with VAL on all test cases, confirming its reliability and readiness for real-world application.
Discussion and Future Work
A significant insight from this work is that formalization forces the resolution of natural language ambiguities, such as the interaction between sub-typing and complex types. Furthermore, by using arbitrary-precision rational numbers, the validator eliminates the need for the hardcoded epsilon ($\epsilon$) time buffers used in traditional tools, making it more robust across different temporal scales.
Future research aims to extend the validator's coverage to PDDL+ features, such as continuous effects and exogenous events. Additionally, the authors plan to leverage this framework to verify "certificates of unsolvability," providing formal proof when no valid plan exists for a given problem. While currently slower than VAL, the validator's performance is already sufficient for most practical planning pipelines.
Summary updated