A tableau-based decision procedure for a branching-time interval temporal logic

Similar documents
A Tableau-Based Decision Procedure for Right Propositional Neighborhood Logic (RPNL )

Metric Propositional Neighborhood Logics

Optimal Tableaux for Right Propositional Neighborhood Logic over Linear Orders

An optimal tableau-based decision algorithm for Propositional Neighborhood Logic

Optimal Tableau Systems for Propositional Neighborhood Logic over All, Dense, and Discrete Linear Orders

TUTORIAL Temporal Representation and Reasoning in Interval Temporal Logics. ECAI 2014 Prague, August 18th, 2014

Expressiveness, decidability, and undecidability of Interval Temporal Logic

Tableau-based decision procedures for the logics of subinterval structures over dense orderings

Relational dual tableaux for interval temporal logics *

Guest lecturer: Mark Reynolds, The University of Western Australia

Complete and Terminating Tableau for the Logic of Proper Subinterval Structures Over Dense Orderings

Guest lecturer: Mark Reynolds, The University of Western Australia. May 7, 2014

What s decidable about Halpern and Shoham s interval logic? The maximal fragment AB B L

Interval Temporal Logics over Strongly Discrete Linear Orders: the Complete Picture

Model checking for LTL (= satisfiability over a finite-state program)

Monodic fragments of first-order temporal logics

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

A Decidable Spatial Logic with Cone-Shaped Cardinal Directions

Decision Procedures for CTL

Begin, After, and Later: a Maximal Decidable Interval Temporal Logic

Dario Della Monica Valentin Goranko Angelo Montanari Guido Sciavicco

Model Checking for Combined Logics

First-order resolution for CTL

Computation Tree Logic

CTL-RP: A Computational Tree Logic Resolution Prover

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events

Temporal Logic Model Checking

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events

Decision Procedures for CTL

A Guided Tour through Interval Temporal Logics Mid- and Long-Term Research Agenda

Decidability of the Logics of the Reflexive Sub-interval and Super-interval Relations over Finite Linear Orders

Model Checking: the Interval Way

Chapter 6: Computation Tree Logic

Linear Temporal Logic and Büchi Automata

Model Checking in the Propositional µ-calculus

Chapter 4: Computation tree logic

The Ultimate Undecidability Result for the HalpernShoham Logic

Prompt Interval Temporal Logic

Lecture Notes on Model Checking

Modal logics: an introduction

Prompt Interval Temporal Logic (extended version)

Model Checking & Program Analysis

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

Predicate Logic - Semantic Tableau

A Road Map on Interval Temporal Logics and Duration Calculi

if t 1,...,t k Terms and P k is a k-ary predicate, then P k (t 1,...,t k ) Formulas (atomic formulas)

Principles of Knowledge Representation and Reasoning

The dark side of Interval Temporal Logic: sharpening the undecidability border

Guest lecturer: Mark Reynolds, The University of Western Australia. May 8, 2014

Topics in Verification AZADEH FARZAN FALL 2017

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking

Metric Propositional Neighborhood Logic with an Equivalence Relation

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

A Tableaux Calculus for KLM Preferential and Cumulative Logics

The dark side of Interval Temporal Logic: marking the undecidability border

Semantics and Pragmatics of NLP

Linear-time Temporal Logic

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

Comp487/587 - Boolean Formulas

Propositional Calculus - Semantics (3/3) Moonzoo Kim CS Dept. KAIST

Overview. overview / 357

Model-Checking Games: from CTL to ATL

arxiv: v2 [cs.lo] 22 Jul 2017

Theoretical Foundations of the UML

CS156: The Calculus of Computation

Deciding Modal Logics using Tableaux and Set Theory

An Introduction to Modal Logic III

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Modal and Temporal Logics

Computation Tree Logic (CTL)

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

arxiv: v1 [cs.lo] 13 Jan 2016

A Tableau Proof System with Names for Modal Mu-calculus

Reasoning about Strategies: From module checking to strategy logic

Automatic Verification of Parameterized Data Structures

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Optimal Decision Procedures for Satisfiability in Fragments of Alternating-time Temporal Logics

Learning Goals of CS245 Logic and Computation

Query Reasoning on Data Trees with Counting

Abstract model theory for extensions of modal logic

Model Checking Fixed Point Logic with Chop

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Classical First-Order Logic

3-Valued Abstraction-Refinement

Socratic Proofs for Some Temporal Logics RESEARCH REPORT

Alternating Time Temporal Logics*

Fuzzy Description Logics

LTL and CTL. Lecture Notes by Dhananjay Raju

Model Checking Algorithms

Counter Automata and Classical Logics for Data Words

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Towards the use of Simplification Rules in Intuitionistic Tableaux

Introduction to Logic in Computer Science: Autumn 2006

CS 486: Applied Logic Lecture 7, February 11, Compactness. 7.1 Compactness why?

On the relationships between theories of time granularity and the monadic second-order theory of one successor

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

FORMAL METHODS LECTURE IV: COMPUTATION TREE LOGIC (CTL)

First-Order Logic. Chapter Overview Syntax

Intelligent Agents. Formal Characteristics of Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University

Semi-Automatic Distributed Synthesis

Transcription:

A tableau-based decision procedure for a branching-time interval temporal logic Davide Bresolin Angelo Montanari Dipartimento di Matematica e Informatica Università degli Studi di Udine {bresolin, montana}@dimi.uniud.it M4M-4, 1-2 December 2005 D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 1 / 28

Outline 1 Introduction 2 A branching-time interval temporal logic 3 A Tableau for BTNL[R] 4 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 2 / 28

Outline 1 Introduction 2 A branching-time interval temporal logic 3 A Tableau for BTNL[R] 4 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 3 / 28

Interval temporal logics Interval temporal logics (HS, CDT, PITL) are very expressive simple syntax and semantics; can naturally express statements that refer to time intervals and continuous processes; the most expressive ones (HS and CDT) are strictly more expressive than every point-based temporal logic. Interval temporal logics are (highly) undecidable The validity problem for HS is not recursively axiomatizable. Problem Find expressive, but decidable, fragments of interval temporal logics. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 4 / 28

Halpern and Shoam s HS HS features four basic unary operators: B (begins) and E (ends), and their transposes B (begun by) and E (ended by). begins: begun by: B ϕ {}}{ } {{ } ϕ d0 d2 d1 B ϕ {}}{ } {{ } ϕ d0 d1 d2 ends: ended by: E ϕ {}}{ } {{ } ϕ d0 d2 d1 E ϕ {}}{ } {{ } ϕ d2 d0 d1 Given a formula ϕ and an interval [d 0, d 1 ], B ϕ holds over [d 0, d 1 ] if ϕ holds over [d 0, d 2 ], for some d 0 d 2 < d 1, and E ϕ holds over [d 0, d 1 ] if ϕ holds over [d 2, d 1 ], for some d 0 < d 2 d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 5 / 28

Some interesting fragments of HS The B E fragment (undecidable); The B B and E E fragments (decidable); Goranko, Montanari, and Sciavicco s PNL: based on the derived neighborhood operators A (meets) and A (met by); meets: A ϕ ϕ {}}{{}}{ d0 d1 d2 met by: ϕ A ϕ {}}{{}}{ d2 d0 d1 decidable (by reduction to 2FO[<]), but no tableau methods. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 6 / 28

The linear case: Right PNL (RPNL) future-only fragment of PNL; interpreted over natural numbers; decidable, doubly exponential tableau-based decision procedure for RPNL (TABLEAUX 2005); recently, we devised an optimal (NEXPTIME) tableau-based decision procedure for RPNL. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 7 / 28

The branching case We developed a branching-time propositional interval temporal logic. Such a logic combines: interval quantifiers A and [A] from RPNL; path quantifiers A and E from CTL. We devised a tableau-based decision procedure for it, combining: the tableau for RPNL (TABLEAUX 2005); Emerson and Halpern s tableau for CTL (J. of Computer and System Sciences, 1985). D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 8 / 28

Outline 1 Introduction 2 A branching-time interval temporal logic 3 A Tableau for BTNL[R] 4 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 9 / 28

Branching Time Right-Neighborhood Logic Syntax of BTNL[R] ϕ = p ϕ ϕ ϕ E A ϕ E[A]ϕ A A ϕ A[A]ϕ. Interpreted over infinite trees. Combines path quantifiers A (for all paths) and E (for any path) with the interval modalities A and [A]. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 10 / 28

BTNL[R] semantics: E A ψ E A ψ d 0 d 1 E A ψ holds over [d 0, d 1 ] if ψ holds over [d 1, d 2 ], for some d 2 < d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 11 / 28

BTNL[R] semantics: E A ψ E A ψ d 0 d 1 ψ d 2 E A ψ holds over [d 0, d 1 ] if ψ holds over [d 1, d 2 ], for some d 2 < d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 11 / 28

BTNL[R] semantics: E[A]ψ E[A]ψ d 0 d 1 E[A]ψ holds over [d 0, d 1 ] if there exists an infinite path d 1, d 2, such that ψ holds over [d 1, d i ], for all d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 12 / 28

BTNL[R] semantics: E[A]ψ d 2 E[A]ψ d 0 d 1 ψ E[A]ψ holds over [d 0, d 1 ] if there exists an infinite path d 1, d 2, such that ψ holds over [d 1, d i ], for all d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 12 / 28

BTNL[R] semantics: E[A]ψ d 2 E[A]ψ d 0 d 1 ψ d 3 E[A]ψ holds over [d 0, d 1 ] if there exists an infinite path d 1, d 2, such that ψ holds over [d 1, d i ], for all d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 12 / 28

BTNL[R] semantics: E[A]ψ d 2 E[A]ψ d 0 d 1 ψ d 3 d 4 E[A]ψ holds over [d 0, d 1 ] if there exists an infinite path d 1, d 2, such that ψ holds over [d 1, d i ], for all d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 12 / 28

BTNL[R] semantics: A[A]ψ A[A]ψ d 0 d 1 A[A] is the dual of E A : A[A]ψ holds over [d 0, d 1 ] if ψ holds over [d 1, d 2 ], for all d 2 < d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 13 / 28

BTNL[R] semantics: A[A]ψ A[A]ψ ψ d 2 d 0 d 1 ψ d 3 A[A] is the dual of E A : A[A]ψ holds over [d 0, d 1 ] if ψ holds over [d 1, d 2 ], for all d 2 < d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 13 / 28

BTNL[R] semantics: A[A]ψ A[A]ψ d 0 d 1 ψ ψ ψ ψ d 4 d 5 d 6 d 7 A[A] is the dual of E A : A[A]ψ holds over [d 0, d 1 ] if ψ holds over [d 1, d 2 ], for all d 2 < d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 13 / 28

BTNL[R] semantics: A[A]ψ A[A]ψ d 0 d 1 ψ ψ ψ ψ ψ ψ d 8 d 9 d 10 d 11 d 12 d 13 d 14 d 15 A[A] is the dual of E A : A[A]ψ holds over [d 0, d 1 ] if ψ holds over [d 1, d 2 ], for all d 2 < d 1. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 13 / 28

BTNL[R] semantics: A A ψ A A ψ d 0 d 1 A A is the dual of E[A]: A A ψ holds over [d 0, d 1 ] if, for all infinite paths d 1, d 2,, ψ holds over [d 1, d i ], for some d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 14 / 28

BTNL[R] semantics: A A ψ A A ψ ψ d 2 d 0 d 1 A A is the dual of E[A]: A A ψ holds over [d 0, d 1 ] if, for all infinite paths d 1, d 2,, ψ holds over [d 1, d i ], for some d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 14 / 28

BTNL[R] semantics: A A ψ A A ψ d 0 d 1 d 2 ψ d 3 A A is the dual of E[A]: A A ψ holds over [d 0, d 1 ] if, for all infinite paths d 1, d 2,, ψ holds over [d 1, d i ], for some d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 14 / 28

BTNL[R] semantics: A A ψ A A ψ d 0 d 1 d 2 ψ d 3 d 4 A A is the dual of E[A]: A A ψ holds over [d 0, d 1 ] if, for all infinite paths d 1, d 2,, ψ holds over [d 1, d i ], for some d i > d 1 in the path. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 14 / 28

Outline 1 Introduction 2 A branching-time interval temporal logic 3 A Tableau for BTNL[R] 4 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 15 / 28

Basic blocks Definition An atom is a pair (A, C) such that: C is a maximal, locally consistent set of subformulae of ϕ; A is a consistent (but not necessarily complete) set of temporal formulae (A A ψ, A[A]ψ, E A ψ, and E[A]ψ); A and C must be coherent: if A[A]ψ A, then ψ C; if E[A]ψ A, then ψ C. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 16 / 28

Atoms and Intervals Associate with every interval [d i, d j ] an atom (A, C): C contains the formulae that (should) hold over [d i, d j ]; A contains temporal requests coming from the past. Connect every pair of atoms that are associated with neighbor intervals. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 17 / 28

Tableau nodes Definition A node N of the tableau is a set of atoms such that, for every temporal formula ψ and every pair of atoms (A, C), (A, C ) N, ψ C iff ψ C. Nodes and points A node N represents a point d j of the temporal domain: every atom in N represents an interval [d i, d j ] ending in d j. A node N representing point d 1 is an initial node: N contains only an atom (, C) with ϕ C. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 18 / 28

Connecting nodes We put an edge between two nodes if they represent successive time points: N (A N, C N) N }M d i d j 3 d j 2 d j 1 d j d j+1 M (A N, C N ) is an atom such that A N contains all requests (temporal formulae) of N; for every (A, C) N representing [d i, d j ] there is (A, C ) M N representing [d i, d j+1 ]. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 19 / 28

The decision procedure 1 Build the (unique) initial tableau T ϕ = N ϕ, R ϕ. 2 Delete useless nodes by repeatedly applying the following deletion rules, until no more nodes can be deleted: delete any node which is not reachable from an initial node; delete any node that contains a formula of the form A[A]ψ, A A ψ, E A ψ, or E[A]ψ that is not satisfied. 3 If the final tableau is not empty, return true, otherwise return false. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 20 / 28

Pruning the tableau: A[A]ψ A[A]-formulas are satisfied by construction. Given a node N and an atom (A, C) N: if A[A]ψ C, then, for every right neighbor (A, C ), A[A]ψ A ; hence, by definition of atom, ψ C. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 21 / 28

Pruning the tableau: A A ψ A A -formulas are checked by a marking procedure. 1 For all nodes N, mark all atoms (A, C) N such that A A ψ A and ψ C. 2 For all nodes N, mark all unmarked atoms (A, C) N such that there exists a successor M of N that contains a marked atom (A, C ) that is a right neighbor of (A, C). 3 Repeat this last step until no more atoms can be marked. 4 Delete all nodes that either contain an unmarked atom (A, C) with A A ψ A or have no successors. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 22 / 28

Pruning the tableau: E A ψ E A -formulas are checked by searching for a descendant. Given a node N and an atom (A, C) N, if E A ψ C, search for a descendant M such that: 1 M contains an atom (A, C ) that is a right-neighbor of (A, C); 2 ψ C. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 23 / 28

Pruning the tableau: E[A]ψ E[A]-formulas are checked by searching for a loop. Given a node N and an atom (A, C) N, if E[A]ψ C, search for a path leading to a loop such that: every node in the path and in the loop contains an atom (A, C ) such that: 1 (A, C ) is a right-neighbor of (A, C); 2 ψ C. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 24 / 28

Building a model for ϕ An infinite model for ϕ can be build by unfolding the final tableau. 1 Select an initial node N 1 ; 2 finite paths N 1 N 2 N k starting from the initial node becomes the points of the infinite tree; 3 define the valuation function respecting atoms (this is the key step). D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 25 / 28

Computational Complexity The size of the tableau is doubly exponential in the length of the formula; all checkings of the algorithm can be done in time polynomial in the size of the tableau; after deleting at most N ϕ nodes, the algorithm terminates. Checking the satisfiability for a BTNL[R] formula is doubly exponential in the length of ϕ. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 26 / 28

Outline 1 Introduction 2 A branching-time interval temporal logic 3 A Tableau for BTNL[R] 4 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 27 / 28

Future work Complexity issues: we do not know yet whether the satisfiability problem for BTNL[R] is doubly EXPTIME-complete or not (we conjecture it is not!). Extensions: to combine path quantifiers operators with other sets of interval logic operators, e.g., those of PNL. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for BTNL[R] M4M-4, 1-2 December 2005 28 / 28