A Decidable Spatial Logic With Cone-shaped Cardinal Directions - - PowerPoint PPT Presentation

a decidable spatial logic with cone shaped cardinal
SMART_READER_LITE
LIVE PREVIEW

A Decidable Spatial Logic With Cone-shaped Cardinal Directions - - PowerPoint PPT Presentation

Introduction Cone Logic Satisiability Interval logics Outline A Decidable Spatial Logic With Cone-shaped Cardinal Directions Angelo Montanari 1 , Gabriele Puppis 2 , Pietro Sala 1 Departement of Mathematics and Computer Science, University of


slide-1
SLIDE 1

Introduction Cone Logic Satisiability Interval logics Outline

A Decidable Spatial Logic With Cone-shaped Cardinal Directions

Angelo Montanari1, Gabriele Puppis2, Pietro Sala1

Departement of Mathematics and Computer Science, University of Udine, Italy {angelo.montanari,pietro.sala}@dimi.uniud.it Computing Laboratory, Oxford University, England gabriele.puppis@comlab.ox.ac.uk

CSL’09

slide-2
SLIDE 2

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

Shortly This talk is about deciding satisfiability of formulas from a suitable modal logic under interpretation over labeled rational planes L : Q × Q → P(A).

slide-3
SLIDE 3

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

An example – Compass Logic (Venema ’90) Formulas of Compass Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ.

slide-4
SLIDE 4

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

An example – Compass Logic (Venema ’90) Formulas of Compass Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ. Formulas are evaluated over labeled points of the rational planes...

L

slide-5
SLIDE 5

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

An example – Compass Logic (Venema ’90) Formulas of Compass Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ. Formulas are evaluated over labeled points of the rational planes...

L p L, p a iff a ∈ L(p)

slide-6
SLIDE 6

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

An example – Compass Logic (Venema ’90) Formulas of Compass Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ. Formulas are evaluated over labeled points of the rational planes...

L p ∃ q L, p ϕ iff L, q ϕ

slide-7
SLIDE 7

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

An example – Compass Logic (Venema ’90) Formulas of Compass Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ. Formulas are evaluated over labeled points of the rational planes...

L p ∀ q L, p ϕ iff L, q ϕ

slide-8
SLIDE 8

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

Satisfiability problem The satisfiability problem consists of deciding, given a formula ϕ, whether there exist a labeled structure L and a point p such that L, p ϕ.

slide-9
SLIDE 9

Introduction Cone Logic Satisiability Interval logics Outline What is this talk about?

Satisfiability problem The satisfiability problem consists of deciding, given a formula ϕ, whether there exist a labeled structure L and a point p such that L, p ϕ. Unfortunately... Theorem (Marx and Reynolds ’99) The satisfiability problem for Compass Logic is undecidable. (one can encode an infinite tiling using , , , ...) Decidability may be recovered by weakening Compass Logic...

slide-10
SLIDE 10

Introduction Cone Logic Satisiability Interval logics Outline Weakening Compass Logic

Cone Logic as a weakening of Compass logic Instead of having modalities for the positive/negative x-/y-axes...

existential modalities:

L

universal modalities:

slide-11
SLIDE 11

Introduction Cone Logic Satisiability Interval logics Outline Weakening Compass Logic

Cone Logic as a weakening of Compass logic Instead of having modalities for the positive/negative x-/y-axes...

existential modalities:

L

universal modalities:

...we introduce modalities for cone-shaped regions:

L

slide-12
SLIDE 12

Introduction Cone Logic Satisiability Interval logics Outline Weakening Compass Logic

Cone Logic as a weakening of Compass logic Instead of having modalities for the positive/negative x-/y-axes...

existential modalities:

L

universal modalities:

...we introduce modalities for cone-shaped regions:

existential modalities:

L

universal modalities:

slide-13
SLIDE 13

Introduction Cone Logic Satisiability Interval logics Outline Syntax

Cone Logic formulas Formulas of Cone Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ The modal operators , , , , , , , quantify over points of the four open quadrants, e.g., Dom

  • =
  • q = (x, y) : x > 0, y > 0
  • .
slide-14
SLIDE 14

Introduction Cone Logic Satisiability Interval logics Outline Syntax

Cone Logic formulas Formulas of Cone Logic are defined by the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ | ϕ |

|

|

|

|

|

|

|

The modal operators , , , , , , , quantify over points of the four open quadrants, e.g., Dom

  • =
  • q = (x, y) : x > 0, y > 0
  • .

The modal operators

+, +, +, +, +, +, +, +

quantify over points of the four semi-closed quadrants, e.g., Dom

  • +

=

  • q = (x, y) : x 0, y 0
  • \
  • (0, 0)
  • .
slide-15
SLIDE 15

Introduction Cone Logic Satisiability Interval logics Outline Expressiveness

Cone Logic makes it easy to express spatial relationships based on (approximate) cardinal directions... Example 1 “For every pair of points p and q labeled, respectively, by a and b, q is to the North-East of p.” is expressed by the Cone Logic formula ϕ =

  • a →

¬b ∧ ¬b ∧ ¬b

  • where

is a shorthand for (equivalent to “for every point of the plane”). ...and it can also express also interesting properties of the plane!

slide-16
SLIDE 16

Introduction Cone Logic Satisiability Interval logics Outline Expressiveness

Example 2 Let A be the lattice

< < < < < <

and consider the Hintikka-like formula ϕA =

  • a∈A

a ∧

  • a=b

¬

  • a ∧ b
  • a∈A
  • a →

ba

b ∧

ba

b ∧

  • ba

b ∧

  • ba

b

  • L
slide-17
SLIDE 17

Introduction Cone Logic Satisiability Interval logics Outline Expressiveness

Example 2 Let A be the lattice

< < < < < <

and consider the Hintikka-like formula ϕA =

  • a∈A

a ∧

  • a=b

¬

  • a ∧ b
  • a∈A
  • a →

ba

b ∧

ba

b ∧

  • ba

b ∧

  • ba

b

  • L
slide-18
SLIDE 18

Introduction Cone Logic Satisiability Interval logics Outline Expressiveness

Example 2 Let A be the lattice

< < < < < <

and consider the Hintikka-like formula ϕA =

  • a∈A

a ∧

  • a=b

¬

  • a ∧ b
  • a∈A
  • a →

ba

b ∧

ba

b ∧

  • ba

b ∧

  • ba

b

  • L
slide-19
SLIDE 19

Introduction Cone Logic Satisiability Interval logics Outline Expressiveness

Example 2 Let A be the lattice

< < < < < <

and consider the Hintikka-like formula ϕA =

  • a∈A

a ∧

  • a=b

¬

  • a ∧ b
  • a∈A
  • a →

ba

b ∧

ba

b ∧

  • ba

b ∧

  • ba

b

  • L
slide-20
SLIDE 20

Introduction Cone Logic Satisiability Interval logics Outline Stripes

To solve the satisfiability problem for Cone Logic, we consider portions of the rational plane: Stripe A stripe of a labeled rational plane L : Q × Q → A is the restriction L[x0,x1] of L to a region of the form [x0, x1] × Q. Fact Any Cone Logic formula ϕ can be translated into a formula ϕ[x0,x1] in such a way that, for every labeled rational plane L, ∃ p ∈ Q × Q. L, p ϕ iff ∃ p ∈ [x0, x1] × Q. L[x0,x1], p ϕ[x0,x1]. ⇒ We can restrict our attention to satisfiability over a stripe L[0,1] (and we forget, for the moment, the operators

+, +, ...).

slide-21
SLIDE 21

Introduction Cone Logic Satisiability Interval logics Outline Decompositions

Decompositions of stripes

L[0,1]

1

By exploiting isomorphism between the orders

  • ver [0, 1] and over

i

2n : n ∈ N, 0 i 2n

, we decompose the stripe L[0,1] into a tree structure T...

slide-22
SLIDE 22

Introduction Cone Logic Satisiability Interval logics Outline Decompositions

Decompositions of stripes

L[0,1] T

1

slide-23
SLIDE 23

Introduction Cone Logic Satisiability Interval logics Outline Decompositions

Decompositions of stripes

L[0,1] T

1

1 2

1

slide-24
SLIDE 24

Introduction Cone Logic Satisiability Interval logics Outline Decompositions

Decompositions of stripes

L[0,1] T

1

1 2 1 4 3 4

· · · · · · · · · · · · · · · · · · · · · · · ·

1 1 1 1 1 1 1

slide-25
SLIDE 25

Introduction Cone Logic Satisiability Interval logics Outline Decompositions

Decompositions of stripes ...In such a way, we can get rid of the interiors of the (sub-)stripes and focus on the formulas (of a certain bounded complexity) that hold along their borders.

T

· · · · · · · · · · · · · · · · · · · · · · · ·

1 1 1 1 1 1 1

slide-26
SLIDE 26

Introduction Cone Logic Satisiability Interval logics Outline Decompositions

Decompositions of stripes ...In such a way, we can get rid of the interiors of the (sub-)stripes and focus on the formulas (of a certain bounded complexity) that hold along their borders.

T

· · · · · · · · · · · · · · · · · · · · · · · ·

1 1 1 1 1 1 1

slide-27
SLIDE 27

Introduction Cone Logic Satisiability Interval logics Outline Filtration

Finite abstractions of stripes Given a (sub-)stripe L[x0,x1], we define an equivalence ≈ over Q such that y ≈ y′ iff, for all formulas α (of bounded complexity), L, (x0, y) α / α / α / α L, (x1, y) α / α / α / α

  • L, (x0, y′)

α / α / α / α L, (x1, y′) α / α / α / α

x0 x1 y ≈ y′

slide-28
SLIDE 28

Introduction Cone Logic Satisiability Interval logics Outline Filtration

Finite abstractions of stripes Given a (sub-)stripe L[x0,x1], we define an equivalence ≈ over Q such that y ≈ y′ iff, for all formulas α (of bounded complexity), L, (x0, y) α / α / α / α L, (x1, y) α / α / α / α

  • L, (x0, y′)

α / α / α / α L, (x1, y′) α / α / α / α

x0 x1 y ≈ y′

slide-29
SLIDE 29

Introduction Cone Logic Satisiability Interval logics Outline Filtration

Finite abstractions of stripes Given a (sub-)stripe L[x0,x1], we define an equivalence ≈ over Q such that y ≈ y′ iff, for all formulas α (of bounded complexity), L, (x0, y) α / α / α / α L, (x1, y) α / α / α / α

  • L, (x0, y′)

α / α / α / α L, (x1, y′) α / α / α / α

x0 x1 y ≈ y′

slide-30
SLIDE 30

Introduction Cone Logic Satisiability Interval logics Outline Filtration

Finite abstractions of stripes Given a (sub-)stripe L[x0,x1], we define an equivalence ≈ over Q such that y ≈ y′ iff, for all formulas α (of bounded complexity), L, (x0, y) α / α / α / α L, (x1, y) α / α / α / α

  • L, (x0, y′)

α / α / α / α L, (x1, y′) α / α / α / α

x0 x1 y ≈ y′

slide-31
SLIDE 31

Introduction Cone Logic Satisiability Interval logics Outline Filtration

Finite abstractions of stripes Given a (sub-)stripe L[x0,x1], we define an equivalence ≈ over Q such that y ≈ y′ iff, for all formulas α (of bounded complexity), L, (x0, y) α / α / α / α L, (x1, y) α / α / α / α

  • L, (x0, y′)

α / α / α / α L, (x1, y′) α / α / α / α

x0 x1 y ≈ y′

slide-32
SLIDE 32

Introduction Cone Logic Satisiability Interval logics Outline Tree pseudo-model property

Since the equivalence relation ≈ has finite index, we have that Proposition (a tree pseudo-model property) Any given stripe L[0,1] can be represented by means of a suitable infinite binary tree T whose vertices are labeled over a finite alphabet (we call the structure T a tree decomposition of L[0,1]).

slide-33
SLIDE 33

Introduction Cone Logic Satisiability Interval logics Outline Tree pseudo-model property

Since the equivalence relation ≈ has finite index, we have that Proposition (a tree pseudo-model property) Any given stripe L[0,1] can be represented by means of a suitable infinite binary tree T whose vertices are labeled over a finite alphabet (we call the structure T a tree decomposition of L[0,1]). ...However, tree decompositions must be properly constrained so that they correctly represents some concrete stripes. Examples of constraints on a tree decomposition For every pair of sibling vertices v = [x0, x1] and v′ = [x′

0, x′ 1]

in T, the labeling of the right border of v has to match with the labeling of the left border of v′ (in such a way, we can assume x1 = x′

0),

There is no infinite path π in T such that, for every vertex v ∈ π, α appears on the left border of v and neither α nor α appear on the right border of v.

slide-34
SLIDE 34

Introduction Cone Logic Satisiability Interval logics Outline Reduction to a CTL fragment

Theorem 1 (reduction to a CTL fragment) Constrained tree decompositions can be defined in a fragment of CTL, which we denote CTL−.

slide-35
SLIDE 35

Introduction Cone Logic Satisiability Interval logics Outline Reduction to a CTL fragment

Theorem 1 (reduction to a CTL fragment) Constrained tree decompositions can be defined in a fragment of CTL, which we denote CTL−. Theorem 2 (deciding satisfiability of CTL−) The satisfiability problem for CTL− ( ⇒ Cone Logic) is in PSPACE. Proof idea CTL− formulas are conjunctions of the following basic formulas:

1

AG(left ∨ right), AG¬(left ∧ right), AG(EXleft ∧ EXright)

2

AG(α), AG(α → AFα′), where α, α′ contains only positive occurrences of the modal operator AX and no other operators. ⇒ Checking satisfiability of these formulas amounts at deciding universality of B¨ uchi automata.

slide-36
SLIDE 36

Introduction Cone Logic Satisiability Interval logics Outline From points to intervals

There is a natural correspondence between intervals I = [x, y], with x < y, and points p = (x, y) of the rational plane... Spatial interpretation of intervals and their relationships

x = y x < y x > y p0 x0 y0

time line

I0

x0 y0 reference interval

slide-37
SLIDE 37

Introduction Cone Logic Satisiability Interval logics Outline From points to intervals

There is a natural correspondence between intervals I = [x, y], with x < y, and points p = (x, y) of the rational plane... Spatial interpretation of intervals and their relationships

x = y x < y x > y p0 x0 y0

time line

I0

x0 y0

I1

reference interval sub-intervals

slide-38
SLIDE 38

Introduction Cone Logic Satisiability Interval logics Outline From points to intervals

There is a natural correspondence between intervals I = [x, y], with x < y, and points p = (x, y) of the rational plane... Spatial interpretation of intervals and their relationships

x = y x < y x > y p0 x0 y0

time line

I0

x0 y0

I1 I2

reference interval sub-intervals super-intervals

slide-39
SLIDE 39

Introduction Cone Logic Satisiability Interval logics Outline From points to intervals

There is a natural correspondence between intervals I = [x, y], with x < y, and points p = (x, y) of the rational plane... Spatial interpretation of intervals and their relationships

x = y x < y x > y p0 x0 y0

time line

I0

x0 y0

I1 I2 I3 I′

3

reference interval sub-intervals super-intervals “younger” intervals

slide-40
SLIDE 40

Introduction Cone Logic Satisiability Interval logics Outline From points to intervals

There is a natural correspondence between intervals I = [x, y], with x < y, and points p = (x, y) of the rational plane... Spatial interpretation of intervals and their relationships

x = y x < y x > y p0 x0 y0

time line

I0

x0 y0

I1 I2 I3 I′

3

I4 I′

4

reference interval sub-intervals super-intervals “younger” intervals “elder” intervals

slide-41
SLIDE 41

Introduction Cone Logic Satisiability Interval logics Outline An interesting interval logic

Cone Interval Logic We can introduce a new interval temporal logic by means of the following grammar: ϕ := a | ¬ϕ | ϕ ∨ ϕ | ϕ ∧ ϕ |

  • sub
  • ϕ

|

  • super
  • ϕ

|

  • younger
  • ϕ

|

  • elder
  • ϕ

|

  • sub
  • ϕ

|

  • super
  • ϕ

|

  • younger
  • ϕ

|

  • elder
  • ϕ.

Formulas are evaluated over labeled intervals of the rational line. Note: sub and super correspond to Allen’s interval relations D and ¯ D, while younger and elder are unions of other Allen’s interval relations (e.g., elder = O ∪ E ∪ A ∪ L). Moreover, Cone Interval Logic generalizes previous interval temporal logics (cf. [Bresolin, Goranko, Montanari, Sala ’08]).

slide-42
SLIDE 42

Introduction Cone Logic Satisiability Interval logics Outline Definability in Cone Logic

Fact 1 The modal operators

  • sub
  • ,
  • super
  • ,
  • younger
  • ,
  • elder
  • , ... are

definable by means of the modal operators , , , , ...

slide-43
SLIDE 43

Introduction Cone Logic Satisiability Interval logics Outline Definability in Cone Logic

Fact 1 The modal operators

  • sub
  • ,
  • super
  • ,
  • younger
  • ,
  • elder
  • , ... are

definable by means of the modal operators , , , , ... Fact 2 The “yellow region” of valid intervals (i.e.,

  • p = (x, y) : x < y
  • )

is definable (up to “deformations”) inside the rational plane: (⊤ ∨ ⊥ ∨ π) ∧ (¬⊤ ∨ ¬⊥) ∧ (¬⊤ ∨ ¬π) ∧ (¬⊥ ∨ ¬π) ∧ (⊤ → ⊤ ∧ ⊤) ∧ (⊥ → ⊥ ∧ ⊥) ∧ (π →

+⊤ ∧ +⊥) ∧

( π ∧ π → π ∨ π ∨ π).

π ⊤ ⊥

slide-44
SLIDE 44

Introduction Cone Logic Satisiability Interval logics Outline Satisfiability

From previous results we have: Corollary (decidability of Cone Interval Logic) The satisfiability problem for Cone Interval Logic is in PSPACE.

slide-45
SLIDE 45

Introduction Cone Logic Satisiability Interval logics Outline Satisfiability

From previous results we have: Corollary (decidability of Cone Interval Logic) The satisfiability problem for Cone Interval Logic is in PSPACE. Theorem (Shapirovsky and Shehtman ’03) The satisfiability problem for the fragment of Cone Interval Logic that comprised only the modal operators

  • sub
  • and
  • sub
  • is

PSPACE-hard. ⇒ This also implies that the decision procedure for satisfiability of Cone Logic formulas is optimal.

slide-46
SLIDE 46

Introduction Cone Logic Satisiability Interval logics Outline Outline

Summary In conclusion, Cone Logic is a weakening of Venema’s Compass Logic, has a PSPACE-complete satisfiability problem, subsumes interesting interval temporal logics.

slide-47
SLIDE 47

Introduction Cone Logic Satisiability Interval logics Outline Outline

Summary In conclusion, Cone Logic is a weakening of Venema’s Compass Logic, has a PSPACE-complete satisfiability problem, subsumes interesting interval temporal logics. Possible generalizations? spaces with more than 2 dimensions (e.g., Q3), modal operators based on “narrow” cones, satisfiability with different underlying orders (e.g., real plane, discrete grid).

slide-48
SLIDE 48

Introduction Cone Logic Satisiability Interval logics Outline Outline

Summary In conclusion, Cone Logic is a weakening of Venema’s Compass Logic, has a PSPACE-complete satisfiability problem, subsumes interesting interval temporal logics. Possible generalizations? spaces with more than 2 dimensions (e.g., Q3), modal operators based on “narrow” cones, satisfiability with different underlying orders (e.g., real plane, discrete grid).