Validating Domains and Plans for Temporal Planning via Encoding into Infinite-State Linear Temporal Logic

Alessandro Cimatti, Andrea Micheli, Marco Roveri

Introduction

In automated planning, the objective is to enable systems to autonomously determine a sequence of actions to achieve a specific goal. However, defining the "rules of the world"—the domain model—is a complex and error-prone task. This complexity is significantly magnified in temporal planning, where actions have specific durations and can occur concurrently (e.g., "light a match for 5 seconds while mending a fuse").

Modelers frequently introduce subtle errors, such as missing conditions, impossible constraints, or actions that can never be triggered. While existing tools can verify if a specific plan works, there has been a lack of robust frameworks for validating the underlying domain model itself. This research addresses this gap by translating planning models into a specialized logic called Linear Temporal Logic modulo Rational Arithmetic ($LTL_{RA}$), allowing for automated verification using modern infinite-state model checkers.

Methodology

The framework bridges the gap between planning and formal logic through a multi-step process:

  1. ANML Semantics: The authors utilize the Action Notation Modeling Language (ANML), providing a rigorous mathematical definition for its temporal fragments.
  2. Encoding into $LTL_{RA}$: The core contribution is a "sound-and-complete" translation that maps ANML constructs—such as timed effects, conditions, and goals—into $LTL_{RA}$. This logic is uniquely suited for temporal planning because it handles both temporal sequences (using standard LTL operators) and continuous values (rational numbers) to represent time points and durations.
  3. Validation Queries: Common debugging questions are formalized as logical queries, including action executability (can this action ever be triggered?), action mutual exclusion (are two actions physically impossible to perform simultaneously?), and plan completion (can a partial sequence be extended to reach the goal?).
Temporal intervals and action states in a sample planning domain, illustrating the concurrent execution of actions over a continuous timeline.

To manage the complexity of continuous time, the authors employ an event-based abstraction. Even though time is continuous, the logic only tracks discrete points where state changes occur. Furthermore, they address the "frame problem" by defining specific formulas to ensure that state variables remain stable unless explicitly modified by an action.

Evaluation and Key Results

The approach was evaluated using the classic "Match Cellar" benchmark, custom ANML domains, and temporal domains from the 2014 International Planning Competition (IPC).

  • Correctness and Efficiency: The encoding was proven to be sound and complete. The prototype implementation, using the nuxmv symbolic model checker, handled handcrafted domains quickly and successfully verified action executability for all 2014 IPC domains.
  • Landmark Detection: The system can identify "landmarks"—specific states or values that must be achieved for any valid plan to exist—offering deep insights into the structural requirements of a planning problem.
  • Validation vs. Generation: While the tool can generate plans, its primary strength lies in validation. Unlike heuristic planners, this formal approach can provide diagnostic information on why a domain model might be broken.

Limitations and Future Work

Despite its success, the current approach faces scalability challenges when applied to large-scale IPC problems. This is primarily due to the "grounding" process, which expands all possible object combinations and can lead to a state space explosion. Additionally, the current encoding assumes that a single instance of an action cannot overlap with itself.

Future research aims to extend the framework to handle continuous changes (e.g., a battery draining over time) and uncontrollable durations where the environment determines action length. The authors also plan to integrate these validation checks directly into Integrated Development Environments (IDEs) to assist domain authors in real-time.

Summary updated

BibTeX
@inproceedings{cimatti2017validating,
  author = {Alessandro Cimatti and Andrea Micheli and Marco Roveri},
  title = {{Validating Domains and Plans for Temporal Planning via Encoding into Infinite-State Linear Temporal Logic}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.11018},
}
Figure