A tableau-based decision procedure for a branching-time interval - - PowerPoint PPT Presentation

a tableau based decision procedure for a branching time
SMART_READER_LITE
LIVE PREVIEW

A tableau-based decision procedure for a branching-time interval - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

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

slide-2
SLIDE 2

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

slide-3
SLIDE 3

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

slide-4
SLIDE 4

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

slide-5
SLIDE 5

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:

d0 d2 d1 Bϕ

  • ϕ

ends:

d0 d2 d1 Eϕ

  • ϕ

begun by:

d0 d1 d2 Bϕ

  • ϕ

ended by:

d2 d0 d1 Eϕ

  • ϕ

Given a formula ϕ and an interval [d0, d1], Bϕ holds over [d0, d1] if ϕ holds over [d0, d2], for some d0 ≤ d2 < d1, and Eϕ holds

  • ver [d0, d1] if ϕ holds over [d2, d1], for some d0 < d2 ≤ d1.
  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 5 / 28

slide-6
SLIDE 6

Some interesting fragments of HS

The BE fragment (undecidable); The BB and EE fragments (decidable); Goranko, Montanari, and Sciavicco’s PNL:

◮ based on the derived neighborhood operators A (meets) and A

(met by);

meets:

d0 d1 d2 Aϕ

  • ϕ

met by:

d2 d0 d1 ϕ Aϕ

  • ◮ 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

slide-7
SLIDE 7

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

slide-8
SLIDE 8

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

slide-9
SLIDE 9

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

slide-10
SLIDE 10

Branching Time Right-Neighborhood Logic

Syntax of BTNL[R]−

ϕ = p | ¬ϕ | ϕ ∨ ϕ | EAϕ | E[A]ϕ | AAϕ | 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

slide-11
SLIDE 11

BTNL[R]− semantics: EAψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 EAψ

EAψ holds over [d0, d1] if ψ holds over [d1, d2], for some d2 < d1.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 11 / 28

slide-12
SLIDE 12

BTNL[R]− semantics: EAψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 EAψ d2 ψ

EAψ holds over [d0, d1] if ψ holds over [d1, d2], for some d2 < d1.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 11 / 28

slide-13
SLIDE 13

BTNL[R]− semantics: E[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 E[A]ψ

E[A]ψ holds over [d0, d1] if there exists an infinite path d1, d2, . . . such that ψ holds over [d1, di], for all di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 12 / 28

slide-14
SLIDE 14

BTNL[R]− semantics: E[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 E[A]ψ d2 ψ

E[A]ψ holds over [d0, d1] if there exists an infinite path d1, d2, . . . such that ψ holds over [d1, di], for all di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 12 / 28

slide-15
SLIDE 15

BTNL[R]− semantics: E[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 E[A]ψ d2 d3 ψ

E[A]ψ holds over [d0, d1] if there exists an infinite path d1, d2, . . . such that ψ holds over [d1, di], for all di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 12 / 28

slide-16
SLIDE 16

BTNL[R]− semantics: E[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 E[A]ψ d2 d3 d4 ψ

E[A]ψ holds over [d0, d1] if there exists an infinite path d1, d2, . . . such that ψ holds over [d1, di], for all di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 12 / 28

slide-17
SLIDE 17

BTNL[R]− semantics: A[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 A[A]ψ

A[A] is the dual of EA: A[A]ψ holds over [d0, d1] if ψ holds over [d1, d2], for all d2 < d1.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 13 / 28

slide-18
SLIDE 18

BTNL[R]− semantics: A[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 A[A]ψ d2 d3 ψ ψ

A[A] is the dual of EA: A[A]ψ holds over [d0, d1] if ψ holds over [d1, d2], for all d2 < d1.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 13 / 28

slide-19
SLIDE 19

BTNL[R]− semantics: A[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 A[A]ψ d4 d5 d6 d7 ψ ψ ψ ψ

A[A] is the dual of EA: A[A]ψ holds over [d0, d1] if ψ holds over [d1, d2], for all d2 < d1.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 13 / 28

slide-20
SLIDE 20

BTNL[R]− semantics: A[A]ψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 A[A]ψ d8 d9 d10 d11 d12 d13 d14 d15 ψ ψ ψ ψ ψ ψ

A[A] is the dual of EA: A[A]ψ holds over [d0, d1] if ψ holds over [d1, d2], for all d2 < d1.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 13 / 28

slide-21
SLIDE 21

BTNL[R]− semantics: AAψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 AAψ

AA is the dual of E[A]: AAψ holds over [d0, d1] if, for all infinite paths d1, d2, . . ., ψ holds over [d1, di], for some di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 14 / 28

slide-22
SLIDE 22

BTNL[R]− semantics: AAψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 AAψ d2 ψ

AA is the dual of E[A]: AAψ holds over [d0, d1] if, for all infinite paths d1, d2, . . ., ψ holds over [d1, di], for some di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 14 / 28

slide-23
SLIDE 23

BTNL[R]− semantics: AAψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 AAψ d2 d3 ψ

AA is the dual of E[A]: AAψ holds over [d0, d1] if, for all infinite paths d1, d2, . . ., ψ holds over [d1, di], for some di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 14 / 28

slide-24
SLIDE 24

BTNL[R]− semantics: AAψ

. . . . . . . . . . . . . . . . . . . . . . . . d0 d1 AAψ d2 d3 d4 ψ

AA is the dual of E[A]: AAψ holds over [d0, d1] if, for all infinite paths d1, d2, . . ., ψ holds over [d1, di], for some di > d1 in the path.

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 14 / 28

slide-25
SLIDE 25

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

slide-26
SLIDE 26

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 (AAψ, A[A]ψ, EAψ, 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

slide-27
SLIDE 27

Atoms and Intervals

Associate with every interval [di, dj] an atom (A, C):

◮ C contains the formulae that (should) hold over [di, dj]; ◮ 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

slide-28
SLIDE 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 dj of the temporal domain: every atom in N represents an interval [di, dj] ending in dj. A node N representing point d1 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

slide-29
SLIDE 29

Connecting nodes

We put an edge between two nodes if they represent successive time points:

N M

di · · · dj−3 dj−2 dj−1 dj dj+1 · · · · · · · · · (AN, CN) · · · · · · · · · · · · · · · · · ·} M′

N

(AN, CN) is an atom such that AN contains all requests (temporal formulae) of N; for every (A, C) ∈ N representing [di, dj] there is (A′, C′) ∈ M′

N

representing [di, dj+1].

  • D. Bresolin, A. Montanari (Univ. of Udine)

A Tableau for BTNL[R]− M4M-4, 1-2 December 2005 19 / 28

slide-30
SLIDE 30

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]ψ, AAψ,

EAψ, 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

slide-31
SLIDE 31

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

slide-32
SLIDE 32

Pruning the tableau: AAψ

AA-formulas are checked by a marking procedure.

1

For all nodes N, mark all atoms (A, C) ∈ N such that AAψ ∈ 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 AAψ ∈ 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

slide-33
SLIDE 33

Pruning the tableau: EAψ

EA-formulas are checked by searching for a descendant. Given a node N and an atom (A, C) ∈ N, if EAψ ∈ 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

slide-34
SLIDE 34

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

slide-35
SLIDE 35

Building a model for ϕ

An infinite model for ϕ can be build by unfolding the final tableau.

1

Select an initial node N1;

2

finite paths N1N2 . . . Nk 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

slide-36
SLIDE 36

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

slide-37
SLIDE 37

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

slide-38
SLIDE 38

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