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

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

An optimal tableau-based decision algorithm for Propositional Neighborhood Logic

Metric Propositional Neighborhood Logics

Optimal Tableaux for Right Propositional Neighborhood Logic over Linear Orders

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

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

Relational dual tableaux for interval temporal logics *

Chapter 6: Computation Tree Logic

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

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

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

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

Dario Della Monica Valentin Goranko Angelo Montanari Guido Sciavicco

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

Model Checking in the Propositional µ-calculus

The Ultimate Undecidability Result for the HalpernShoham Logic

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

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

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

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

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

arxiv: v1 [cs.lo] 13 Jan 2016

A Decidable Spatial Logic with Cone-Shaped Cardinal Directions

Overview. overview / 357

Model Checking: the Interval Way

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

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

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

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

Chapter 4: Computation tree logic

Classical First-Order Logic

Guest lecturer: Mark Reynolds, The University of Western Australia

Modal logics: an introduction

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

Linear Temporal Logic and Büchi Automata

Computation Tree Logic

Fuzzy Description Logics

From Liveness to Promptness

On the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic

Monodic fragments of first-order temporal logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

Prompt Interval Temporal Logic

Dipartimento di Scienze dell Informazione

Propositional and Predicate Logic - IV

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

Topics in Verification AZADEH FARZAN FALL 2017

Prompt Interval Temporal Logic (extended version)

A Road Map on Interval Temporal Logics and Duration Calculi

Classical Propositional Logic

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

Deciding Safety and Liveness in TPTL

Model Checking Algorithms

Introduction to Logic in Computer Science: Autumn 2006

Metric Propositional Neighborhood Logic with an Equivalence Relation

Deciding Modal Logics using Tableaux and Set Theory

Semantics and Pragmatics of NLP

An Introduction to Modal Logic III

7 RC Simulates RA. Lemma: For every RA expression E(A 1... A k ) there exists a DRC formula F with F V (F ) = {A 1,..., A k } and

On the bisimulation invariant fragment of monadic Σ 1 in the finite

Model Checking Fixed Point Logic with Chop

Model Checking for Combined Logics

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

Classical First-Order Logic

a Hebrew University b Weizmann Institute c Rice University

Computation Tree Logic

First-Order Logic. Chapter Overview Syntax

Decision Procedures for CTL

Lecture Notes on Model Checking

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems

CS156: The Calculus of Computation

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

A Tableaux Calculus for KLM Preferential and Cumulative Logics

Reasoning about Strategies: From module checking to strategy logic

arxiv: v2 [cs.lo] 22 Jul 2017

Decision Procedures for CTL

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

Socratic Proofs for Some Temporal Logics RESEARCH REPORT

Complexity Theory Part II

Temporal Logic Model Checking

Lecture Notes on Emptiness Checking, LTL Büchi Automata

KE/Tableaux. What is it for?

On the Complexity of the Reflected Logic of Proofs

Graded Computation Tree Logic

Introduction to Logic in Computer Science: Autumn 2006

Decision procedure for Default Logic

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

Labelled Superposition for PLTL. Martin Suda and Christoph Weidenbach

Counter Automata and Classical Logics for Data Words

A refined calculus for Intuitionistic Propositional Logic

Reasoning about Time and Reliability

A tableaux calculus for ALC + T min R

An Inquisitive Formalization of Interrogative Inquiry

Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1

LTL and CTL. Lecture Notes by Dhananjay Raju

SVEN SCHEWE Universität des Saarlandes, Fachrichtung Informatik, Saarbrücken, Germany

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

Axiomatizing Conditional Independence and Inclusion Dependencies

Transcription:

A Tableau-Based Decision Procedure for Right Propositional Neighborhood Logic (RPNL ) Davide Bresolin Angelo Montanari Dipartimento di Matematica e Informatica Università degli Studi di Udine {bresolin, montana}@dimi.uniud.it TABLEAUX 2005 D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 1 / 28 Outline 1 Introduction 2 A Tableau for RPNL 3 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 2 / 28

Outline 1 Introduction 2 A Tableau for RPNL 3 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 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 RPNL TABLEAUX 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). 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. begins: begun by: B ϕ {}}{ d 0 d 2 d 1 } {{ } ϕ B ϕ {}}{ d 0 d 1 d 2 } {{ } ϕ ends: ended by: E ϕ {}}{ d 0 d 2 d 1 } {{ } ϕ E ϕ {}}{ d 2 d 0 d 1 } {{ } ϕ D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 5 / 28 Some interesting fragments of HS The B E fragment (undecidable); Goranko, Montanari, and Sciavicco s PNL: based on the derived operators A (meets) and A (met by); Neighborhood Operators meets: A ϕ ϕ {}}{{}}{ d 0 d 1 d 2 met by: ϕ A ϕ {}}{{}}{ d 2 d 0 d 1 decidable (by reduction to 2FO[<]), but no tableau methods. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 6 / 28

A simple path to decidability In propositional interval temporal logics undecidability is the rule and decidability the exception. Interval logics make it possible to express properties of pairs of time points: In most cases, this feature prevents one from the possibility of reducing interval-based temporal logics to point-based ones. There are a few exceptions where suitable syntactic and/or semantic restrictions allows one to reduce interval logics to point-based ones. P.S. truth is not monotonic with respect to inclusion: if ϕ is true over an interval, it is not necessarily true over its subintervals. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 7 / 28 Three different strategies Constraining interval modalities: B B and E E fragments of HS. Constraining temporal structures: Split Structures (any interval can be chopped in at most one way) and Split Logics. Constraining semantic interpretations: Locality principle (a propositional variable is true over an interval if and only if it is true over its starting point) and Local QPITL. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 8 / 28

The B B and E E fragments Decidability of B B and E E can be obtained by embedding them into the propositional temporal logic of linear time LTL[F, P] with temporal modalities F (sometime in the future) and P (sometime in the past). Formulas of B B are simply translated into formulas of LTL[F, P] by replacing B with P and B with F. ϕ {}}{ B ϕ: current interval: B ψ: The case of E E is similar. d 0 d 2 d 1 d 3 } {{ } ψ LTL[F, P] has the finite model property and is decidable. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 9 / 28 An alternative path to decidability A major challenge Identify expressive enough, yet decidable, fragments and/or logics which are genuinely interval-based. What is a genuinely interval-based logic? A logic is genuinely interval-based if it is an interval logic which cannot be directly translated into a point-based logic and does not invoke locality, or any other semantic restriction reducing the interval-based semantics to the point-based one. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 10 / 28

Outline 1 Introduction 2 A Tableau for RPNL 3 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 11 / 28 A Tableau for RPNL (1) We exploited: Syntactic restrictions: no past operators ( A operator only) Semantic restrictions: natural numbers to devise a tableau based decision procedure for the future fragment of (strict) PNL (RPNL for short). D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 12 / 28

We cannot abstract way from intervals Unlike the case of the B B and E E fragments, we cannot abstract way from the left endpoint of intervals: contradictory formulas can hold over intervals with the same right endpoint, but a different left one. A [A]p A [A] p is satisfiable: A [A]p... d 0 d 1 d 2 d 3... A [A] p... For any d > d 3 we have that p holds over [d 2, d] and p holds over [d 3, d]. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 13 / 28 A Tableau for RPNL (2) The proposed tableau method partly resembles the tableau-based decision procedure for LTL, but the tableau for LTL takes advantage of a straightforward fix-point definition of temporal operators: every formula is split in a part related to the current state and a part related to the next state. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 14 / 28

We cannot ignore the past We must keep track of universal and (pending) existential requests coming from the past. [A]p {}}{{}}{ d 0 d 1 d 2 d 3... p } {{ } p Warning: p can be A q! D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 15 / 28 Atoms Definition An atom is a pair (A, C) such that: C is a maximal, locally consistent set of subformulas of ϕ; A is a consistent (but not necessarily complete) set of temporal formulas ( A ψ and [A]ψ); A and C must be coherent: if [A]ψ A, then ψ C. Atoms and Intervals Associate with every interval [d i, d j ] an atom (A, C): C contains the formulas that (should) hold over [di, 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 RPNL TABLEAUX 2005 16 / 28

A Layered Structure for Satisfiability For all j, the sets C [di,d j ], with i < j, must agree on their temporal formulas. d 0 Universal formulas belonging to the sets C [di,d j ] must be satisfied by all sets C [dj,d k ]. A [d0,d 1],C [d0,d 1] d 1 A [d0,d 2],C [d0,d 2] A [d1,d 2],C [d1,d 2] d 2 A [d0,d 3],C [d0,d 3] A [d1,d 3],C [d1,d 3] A [d2,d 3],C [d2,d 3] d 3... A [d0,d j],c [d0,d j] A [d1,d j],c [d1,d j]...... A [dj 1,d j],c [dj 1,d j] d j D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 17 / 28 Tableau Construction Tableau Construction (Idea) Layers of the picture becomes nodes of the tableau. Connects two nodes if they are associated with successive layers. A path in the tableau is a quasi-model of the formula: formulas without temporal operators are satisfied; [A]ψ formulas are satisfied; it is not guaranteed that A ψ formulas are satisfied. Problem To find a model for ϕ, we must guarantee that A ψ formulas get satisfied. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 18 / 28

The X ϕ relation Definition X ϕ is a relation over atoms such that (A, C)X ϕ (A, C ) iff: A A; if [A]ψ A, then [A]ψ A ; if A ψ A, then A ψ A iff ψ C. Connecting intervals X ϕ connects an atom (A, C) associated to an interval [d i, d j ] with the atom (A, C ) associated to [d i, d j+1 ]: universal requests coming from the past are preserved; existential requests are discarded when fulfilled. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 19 / 28 Tableau nodes Definition A node N of the tableau is a set of atoms such that, for every temporal formula A ψ ([A]ψ) and every pair of atoms (A, C),(A, C ) N, A ψ C iff A ψ C ([A]ψ C iff [A]ψ 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. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 20 / 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 formulas) of N; for every (A, C) N there is (A, C ) M N such that (A, C) X ϕ (A, C ); for every (A, C ) M N there is (A, C) N such that (A, C) X ϕ (A, C ). D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 21 / 28 Fulfilling paths and satisfiability Definition (Fulfilling path) A path π is fulfilling iff every A ψ active formula that belongs to a node in π gets satisfied by a descendant node in π. Theorem ϕ is satisfiable iff there exists a fulfilling path in the tableau for ϕ. Problem How to check for the presence of fulfilling paths in the tableau? D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 22 / 28

Strongly Connected Components Definition A strongly connected component S is a subgraph of the tableau such that there exists a path between every two nodes in S. Definition An SCC S is self-fulfilling iff every A ψ active formula that belongs to a node in S gets satisfied by a node in S. Remarks Fulfilling paths can be reduced to self-fulfilling SCCs. We can restrict ourselves to maximal SCCs, MSCCs for short (monotonicity). D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 23 / 28 The Decision Procedure Decision Procedure (Idea) Eliminate those MSCCs that cannot participate in a fulfilling path. The formula is satisfiable iff the final tableau is non-empty. Computational Complexity Checking for self-fulfilling MSCCs can be done in time linear in the size of the tableau. The size of the tableau is doubly exponential in the size of ϕ. The decision procedure takes time doubly exponential in the size of ϕ. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 24 / 28

An Example Tableau for the satisfiable formula ϕ = A [A]. Atoms obtained by combining the following sets of formulas: A 0 = ; C 0 = { A [A], A, }; A 1 = { A [A], A }; C 1 = { A [A], [A], }; A 2 = { A [A] }; C 2 = { ( A [A] ), A, }; A 3 = {[A] A, A }; C 3 = { ( A [A] ), [A], }. A 4 = {[A] A }; A 5 = { A }; (,C 0 ) (,C 0 ) (A 1,C 0 ) (,C 0 ) (A 2,C 0 ) (A 1,C 0 ) (, C 3 ) (A 2, C 3 ) (A 1, C 3 ) D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 25 / 28 Improving the Complexity Lemma If there exists a fulfilling path, then (either it is finite or) there exists an ultimately periodic fulfilling path of prefix and period length bounded by ϕ. By exploiting nondeterminism, such an ultimately periodic path can be built one node at a time: 1 the algorithm nondeterministically guess the next node of the path; 2 it is necessary to store only two nodes at a time: the current one and the next one. Theorem The decidability problem for RPNL, interpreted over the naturals, is in EXPSPACE. D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 26 / 28

Outline 1 Introduction 2 A Tableau for RPNL 3 Future work D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 27 / 28 Future work Extend our tableau to other temporal structures: branching-time temporal structures over N (infinite trees) Done! dense domains (Q, R,...) Extend our logic with other operators: CTL-like path quantifiers (A and E) over branching-time temporal structures Done! A Tableau for full PNL: over the naturals, over the integers, over the reals,... D. Bresolin, A. Montanari (Univ. of Udine) A Tableau for RPNL TABLEAUX 2005 28 / 28