Formally Verified Certification of Unsolvability of Temporal Planning Problems
Wang, Abdulaziz
We present an approach to unsolvability certification of temporal planning. Our approach is based on encoding the planning problem into a network of timed automata, and then using an efficient model checker on the network followed by a certificate checker to certify the output of the model checker. Our approach prioritises trustworthiness of the certification: we formally verify our implementation of the encoding to timed automata using the theorem prover Isabelle/HOL and we use an existing certificate checker (also formally verified in Isabelle/HOL) to certify the model checking result.
academic
Formally Verified Certification of Unsolvability of Temporal Planning Problems
This paper proposes a method for certifying the unsolvability of temporal planning problems. The approach is based on encoding planning problems as networks of timed automata, then employing an efficient model checker on the network, followed by a certificate checker to authenticate the model checker's output. The method prioritizes the trustworthiness of certification: it uses the theorem prover Isabelle/HOL to formally verify the implementation of timed automata encoding, and employs an existing certificate checker (also formally verified in Isabelle/HOL) to authenticate model checking results.
The core problem addressed by this research is certification of unsolvability for temporal planning problems. Temporal planning is a richer form of planning that allows actions to have durations and concurrent execution, making it significantly more complex than classical planning.
Trustworthiness Requirements: Existing planning systems are extremely complex at both algorithmic and implementation levels, making it crucial to enhance the credibility of their outputs
Certification Difficulty: Unlike solvable problems (which can be verified by executing a plan), claims of unsolvability or optimality are difficult to obtain compact certificates for
Exponential Complexity: In the worst case, such certificates may grow exponentially relative to the size of the planning task
Lack of Formal Guarantees: Existing methods for detecting temporal planning unsolvability lack formal correctness guarantees
High Complexity: State-of-the-art temporal planning algorithms are technically complex, making it difficult to design practical unsolvability certification schemes
Verification Gap: Compared to existing formal verification work in classical planning, temporal planning lacks such verification efforts
This paper adopts an encoding transformation approach: it encodes temporal planning problems into other computational problems with practical certification algorithms (timed automata), and formally verifies the entire encoding process and certificate checker using a theorem prover to ensure certification trustworthiness.
Formally Verified Encoding Method: First formal verification of Heinz et al.'s encoding from temporal planning to timed automata
Engineering Implementation: Adaptation of the encoding to produce timed automata formats compatible with the Wimmer and von Mutius system
Simplified Semantic Design: Design of simpler temporal planning semantics than existing work, facilitating mathematical reasoning, with proof of equivalence to existing semantics
Complete Certification Framework: Construction of a complete trustworthy certification chain from temporal planning problems to timed automata model checking
Theoretical Correctness Guarantees: Proof of encoding correctness in Isabelle/HOL, providing strong theoretical assurance
Combination of the main automaton and all action automata into a timed automata network (Definition 28), with initial configuration setting all automata to inactive state.
Concurrent Execution Support: Unlike Heinz et al.'s use of global locks, this paper uses clock constraints to allow concurrent snapshot action execution
Instantaneous Action Handling: Support for zero-duration instantaneous actions through addition of iea transitions
Formal Verification: First to provide machine-checked correctness proofs for such encodings
Semantic Simplification: Design of temporal planning semantics more suitable for formal reasoning
Theorem 1 (Main Correctness Theorem):
If plan π is valid and non-self-overlapping (valid(π) ∧ no_self_overlap(π)), then the assertion A ⊨ EF(loc(AM) = goal) holds.
Proof Structure:
Lemma 1: Construction of runs simulating parallel plans
Lemma 2: Reachability from initial configuration to encoded state
Lemma 3: Transition from final state to goal configuration
Completeness Proof: Successfully proved the completeness of the encoding, i.e., every valid plan can find a valid run in the corresponding timed automata network
Machine Checking: All proofs pass machine checking in Isabelle/HOL, providing the highest level of trustworthiness guarantee
Modular Design: Proof structure is modular, facilitating understanding and maintenance
The encoding implementation has been adapted to be compatible with existing verified certificate checkers, forming a complete executable certification chain.
Abdulaziz & Koller (2022): Formal semantics and verifiers for temporal planning
Heinz et al. (2019): Encoding from temporal planning to timed automata
Wimmer & von Mutius (2020): Verified certificate checkers for timed automata
Abdulaziz & Kurz (2023): Verified SAT-based planning systems
This paper makes significant contributions to the field of formal verification of temporal planning, and while there is room for improvement in practical applicability, its theoretical rigor and methodological innovation provide a solid foundation for the development of this field.