Closing a Gap in the Complexity of Refinement Modal Logic Antonis - - PowerPoint PPT Presentation

closing a gap in the complexity of refinement modal logic
SMART_READER_LITE
LIVE PREVIEW

Closing a Gap in the Complexity of Refinement Modal Logic Antonis - - PowerPoint PPT Presentation

Refinement Modal Logic The existential fragment Full RML Thank you Closing a Gap in the Complexity of Refinement Modal Logic Antonis Achilleos 1 Michael Lampis 2 1. Graduate Center, City University of New York aachilleos@gc.cuny.edu 2. KTH


slide-1
SLIDE 1

Refinement Modal Logic The existential fragment Full RML Thank you

Closing a Gap in the Complexity of Refinement Modal Logic

Antonis Achilleos1 Michael Lampis2

  • 1. Graduate Center, City University of New York

aachilleos@gc.cuny.edu

  • 2. KTH Royal Institute of Technology

mlampis@kth.se

July 18, 2013

slide-2
SLIDE 2

Refinement Modal Logic The existential fragment Full RML Thank you

Outline

Refinement Modal Logic Who? When? What? Why? Defining RML The existential fragment A tableau procedure Full RML Background Closing the Gaps

slide-3
SLIDE 3

Refinement Modal Logic The existential fragment Full RML Thank you

You (we) are here:

Refinement Modal Logic Who? When? What? Why? Defining RML The existential fragment A tableau procedure Full RML Background Closing the Gaps

slide-4
SLIDE 4

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

Who and When?

Defined by Bozzeli, van Ditmarsch and French in 2012. The complexity of RML satisfiability was studied by Bozzeli, van Ditmarsch and Pinchinat in 2012. We give a modification of their methods to close the gaps in complexity from BvDP 2012.

slide-5
SLIDE 5

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

What?

An extension of the basic normal modal logic, K. Includes quantifiers ∃r and ∀r. Intuitively, ∃rφ is true in a state of a model if there is a refinement of the original model where φ is true. Think of refinements as submodels until we define them in a few slides.

slide-6
SLIDE 6

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

Why?

The goal is to model situations where information is added along the way. From BvDP 2012: . . . refinement quantification has applications in many settings: in logics for games . . . it may correspond to a player discarding some moves; for program logics . . . it may correspond to operational refinement; and for logics for spatial reasoning, it may correspond to subspace projections . . .

slide-7
SLIDE 7

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

Syntax

Propositional variables: p, q, . . . φ ::= p | ¬p | φ ∧ φ | φ ∨ φ | ♦φ | φ | ∃rφ | ∀rφ If p is a propositional variable, then p, ¬p are literals. Notice that (for convenience) negations are allowed only at the propositional level. The existential fragment of RML, RML∃r allows only formulas without ∀r. ⊤, ⊥ as short for a tautology and a contradiction respectively.

slide-8
SLIDE 8

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Models

We consider the standard Kripke models for modal logic K: M = (W, R, V )

slide-9
SLIDE 9

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Models

We consider the standard Kripke models for modal logic K: M = (W, R, V ) - (non-empty) Set of worlds/states

slide-10
SLIDE 10

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Models

We consider the standard Kripke models for modal logic K: M = (W, R, V ) - Binary relation on W

slide-11
SLIDE 11

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Models

We consider the standard Kripke models for modal logic K: M = (W, R, V) - Function which assigns to each state in W a set of propositional variables.

slide-12
SLIDE 12

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Models

We consider the standard Kripke models for modal logic K: M = (W, R, V ) For p a propositional variable, φ, ψ formulas and s ∈ W: M, s | = p iff p ∈ V (s); M, s | = ¬φ iff M, s | = φ; M, s | = φ ∧ ψ iff M, s | = φ and M, s | = ψ; M, s | = φ ∨ ψ iff M, s | = φ or M, s | = ψ; M, s | = φ iff for every (s, t) ∈ R, M, t | = φ; M, s | = ♦φ iff there is some (s, t) ∈ R such that M, t | = φ.

slide-13
SLIDE 13

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Models

F = (W, R) is called a frame.

slide-14
SLIDE 14

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Bisimulations and Refinements

For two Kripke models M = (W, R, V ) and M′ = (W ′, R′, V ′) we say that M′ is bisimilar to M (M ≈ M′) if there exists a relation R ⊆ W × W ′ such that:

  • For all (s, s′) ∈ R we have V (s) = V ′(s′).
  • For all s ∈ W, s′, t′ ∈ W ′ such that (s, s′) ∈ R and s′R′t′

there exists t ∈ S such that (t, t′) ∈ R and sRt.

  • For all s, t ∈ W, s′ ∈ W ′ such that (s, s′) ∈ R and sRt

there exists t′ ∈ S such that (t, t′) ∈ R and s′R′t′. We call R a bisimulation from M to M′. (M, a) ≈ (M′, b) if additionally aRb.

slide-15
SLIDE 15

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Bisimulations and Refinements

For two Kripke models M = (W, R, V ) and M′ = (W ′, R′, V ′) we say that M′ is bisimilar to M (M ≈ M′) if there exists a relation R ⊆ W × W ′ such that:

  • For all (s, s′) ∈ R we have V (s) = V ′(s′).
  • For all s ∈ W, s′, t′ ∈ W ′ such that (s, s′) ∈ R and s′R′t′

there exists t ∈ S such that (t, t′) ∈ R and sRt.

  • For all s, t ∈ W, s′ ∈ W ′ such that (s, s′) ∈ R and sRt

there exists t′ ∈ S such that (t, t′) ∈ R and s′R′t′. We call R a bisimulation from M to M′. (M, a) ≈ (M′, b) if additionally aRb.

slide-16
SLIDE 16

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Bisimulations and Refinements

For two Kripke models M = (W, R, V ) and M′ = (W ′, R′, V ′) we say that M′ is a refinement of M (M M′) if there exists a relation R ⊆ W × W ′ such that:

  • For all (s, s′) ∈ R we have V (s) = V ′(s′).
  • For all s ∈ W, s′, t′ ∈ W ′ such that (s, s′) ∈ R and s′R′t′

there exists t ∈ S such that (t, t′) ∈ R and sRt. We call R a refinement mapping from M to M′. (M, a) (M′, b) if additionally aRb.

slide-17
SLIDE 17

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Bisimulations and Refinements

bisimilar: refinement:

slide-18
SLIDE 18

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Bisimulations and Refinements

bisimilar: refinement:

slide-19
SLIDE 19

Refinement Modal Logic The existential fragment Full RML Thank you

Models, Bisimulations, Refinements

Bisimulations and Refinements

bisimilar: refinement:

slide-20
SLIDE 20

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

M, s | = ∃rφ iff there is some (M′, s′), refinement of (M, s), such that M′, s′ | = φ; M, s | = ∀rφ iff for all (M′, s′), refinements of (M, s), M′, s′ | = φ.

slide-21
SLIDE 21

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

M, a | = ♦⊤ ∧ ∃r(♦♦⊤ ∧ ♦⊥), where M is:

a

slide-22
SLIDE 22

Refinement Modal Logic The existential fragment Full RML Thank you

Refinement Modal Logic

M, a | = ♦⊤ ∧ ∃r(♦♦⊤ ∧ ♦⊥), where M is:

a

slide-23
SLIDE 23

Refinement Modal Logic The existential fragment Full RML Thank you

You (we) are here:

Refinement Modal Logic Who? When? What? Why? Defining RML The existential fragment A tableau procedure Full RML Background Closing the Gaps

slide-24
SLIDE 24

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau rules for RML∃r

  • Formulas prefixed by (µ, σ), where µ, σ ∈ N∗.
  • Intuitively, µ represents a model, σ a state.
  • (µ.i, σ) is (represents) a refinement of (what is represented

by) (µ, σ).

  • So is (µ.i.j, σ), because the refinement relation is transitive.
  • If (µ.ν, σ.i), (µ.ν, σ) have appeared, then in the model µ.ν,

σRσ.i.

  • By the definition of refinement and induction on σ, in the

model µ, σRσ.i.

  • In general, µ, ν, σ ∈ N∗ and i, j, m, n ∈ N.
slide-25
SLIDE 25

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau rules for RML∃r

The rules

(µ, σ) φ ∧ ψ (µ, σ) φ (µ, σ) ψ

(µ, σ) φ ∨ ψ (µ, σ) φ | (µ, σ) ψ

(µ.ν, σ) l (µ, σ) l

L

(µ, σ) ♦φ (µ, σ.i) φ

(µ, σ) ∃rφ (µ.m, σ) φ

∃r

(µ, σ) φ (µ, σ.i) φ

  • where

σ.i has not appeared where µ.m has not appeared where (µ.ν, σ.i) has appeared

slide-26
SLIDE 26

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau rules for RML∃r

Accepting conditions

A tableau branch is propositionally closed when it includes some (µ, σ) p and (µ, σ) ¬p. The tableau procedure for φ starts from (1, 1) φ and accepts iff we can construct some branch closed under the tableau rules and not propositionally closed.

slide-27
SLIDE 27

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau Example

(1, 1) ♦(((p ∨ ♦p) ∧ ∃r⊥) ∧ ∃r♦(¬r ∧ ∃r¬p)) (1, 1.1) ((p ∨ ♦p) ∧ ∃r⊥) ∧ ∃r♦(¬r ∧ ∃r¬p) (1, 1.1) ((p ∨ ♦p) ∧ ∃r⊥) (1, 1.1) ∃r♦(¬r ∧ ∃r¬p) (1.1, 1.1)♦(¬r ∧ ∃r¬p) (1.1, 1.1.1) ¬r (1.1, 1.1.1) ∃r¬p (1.1.1, 1.1.1) ¬p (1, 1.1.1) ¬p (1.1, 1.1.1) ¬p (1, 1.1.1) p ∨ ♦p (1, 1.1.1) ∃r⊥ (1, 1.1.1) ♦p (1, 1.1.1.1) p (1.2, 1.1.1) ⊥ ∃r ♦ ∨ ∧ L ∃r ♦∧ ∃r ∧ ♦

slide-28
SLIDE 28

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau Example

The tree(s) of the prefixes

(1, 1) (1, 1.1) (1.1, 1.1) (1.1, 1.1.1) (1, 1.1.1) (1.1.1, 1.1.1) (1, 1.1.1.1) (1.2, 1.1.1)

slide-29
SLIDE 29

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau

Correctness

Lemma

φ is satisfiable if and only if starting from (1, 1) φ we can make appropriate non-deterministic choices to end up with a complete accepting tableau branch.

slide-30
SLIDE 30

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau

Bounding the prefixes

Lemma

In any branch b such that (µ, σ) ψ ∈ b, we have |µ| ≤ d∃(φ) and |σ| ≤ d♦(φ). This observation gives us the key to give an algorithm for RML∃r-satisfiability.

d∃(φ) is the nesting depth of ∃r in φ and d♦(φ) the modal depth of φ.

slide-31
SLIDE 31

Refinement Modal Logic The existential fragment Full RML Thank you

Tableau

Bounding the prefixes

Lemma

In any branch b such that (µ, σ) ψ ∈ b, we have |µ| ≤ d∃(φ) and |σ| ≤ d♦(φ). This observation gives us the key to give an algorithm for RML∃r-satisfiability.

d∃(φ) is the nesting depth of ∃r in φ and d♦(φ) the modal depth of φ.

slide-32
SLIDE 32

Refinement Modal Logic The existential fragment Full RML Thank you

An algorithm

That is, exploring a branch using only polynomial space

  • A non-deterministic algorithm using polynomial space.
  • Keep a set (P) of prefixed formulas in the branch currently

under consideration and a subset of this which includes all such formulas that have already been used in a tableau rule (called M).

  • For each (µ, σ) ψ ∈ P, where ψ a literal, a disjunction or

conjunction, apply the appropriate rule(s) and mark the formula as used (put it in M).

  • For each α = (µ, σ) ♦ψ ∈ P,

Pα := {(λ, σ.i) χ | (λ, σ) χ ∈ P and λ ⊑ µ} ∪ {(µ, σ.i) ψ} for some new i and explore Pα.

  • For each α = (µ, σ) ∃rψ ∈ P,

Pα := {(λ, σ) χ ∈ P | λ ⊑ µ} ∪ {(µ.i, σ) ψ} for some new i and explore Pα. Keep any (1, σ) l formulas in P.

slide-33
SLIDE 33

Refinement Modal Logic The existential fragment Full RML Thank you

An algorithm

That is, exploring a branch using only polynomial space

  • A non-deterministic algorithm using polynomial space.
  • Keep a set (P) of prefixed formulas in the branch currently

under consideration and a subset of this which includes all such formulas that have already been used in a tableau rule (called M).

  • For each (µ, σ) ψ ∈ P, where ψ a literal, a disjunction or

conjunction, apply the appropriate rule(s) and mark the formula as used (put it in M).

  • For each α = (µ, σ) ♦ψ ∈ P,

Pα := {(λ, σ.i) χ | (λ, σ) χ ∈ P and λ ⊑ µ} ∪ {(µ, σ.i) ψ} for some new i and explore Pα.

  • For each α = (µ, σ) ∃rψ ∈ P,

Pα := {(λ, σ) χ ∈ P | λ ⊑ µ} ∪ {(µ.i, σ) ψ} for some new i and explore Pα. Keep any (1, σ) l formulas in P.

slide-34
SLIDE 34

Refinement Modal Logic The existential fragment Full RML Thank you

An algorithm

That is, exploring a branch using only polynomial space

  • A non-deterministic algorithm using polynomial space.
  • Keep a set (P) of prefixed formulas in the branch currently

under consideration and a subset of this which includes all such formulas that have already been used in a tableau rule (called M).

  • For each (µ, σ) ψ ∈ P, where ψ a literal, a disjunction or

conjunction, apply the appropriate rule(s) and mark the formula as used (put it in M).

  • For each α = (µ, σ) ♦ψ ∈ P,

Pα := {(λ, σ.i) χ | (λ, σ) χ ∈ P and λ ⊑ µ} ∪ {(µ, σ.i) ψ} for some new i and explore Pα.

  • For each α = (µ, σ) ∃rψ ∈ P,

Pα := {(λ, σ) χ ∈ P | λ ⊑ µ} ∪ {(µ.i, σ) ψ} for some new i and explore Pα. Keep any (1, σ) l formulas in P.

slide-35
SLIDE 35

Refinement Modal Logic The existential fragment Full RML Thank you

The algorithm is correct

  • The algorithm (non-deterministically) explores a tableau

branch.

  • The union of all the P’s that come up is a branch closed

under the rules.

  • All literals are gathered under prefix (1, σ).
  • So...

Theorem

The satisfiability problem for RML∃r is in PSPACE.

slide-36
SLIDE 36

Refinement Modal Logic The existential fragment Full RML Thank you

The algorithm is correct

  • The algorithm (non-deterministically) explores a tableau

branch.

  • The union of all the P’s that come up is a branch closed

under the rules.

  • All literals are gathered under prefix (1, σ).
  • So...

Theorem

The satisfiability problem for RML∃r is in PSPACE.

slide-37
SLIDE 37

Refinement Modal Logic The existential fragment Full RML Thank you

You (we) are here:

Refinement Modal Logic Who? When? What? Why? Defining RML The existential fragment A tableau procedure Full RML Background Closing the Gaps

slide-38
SLIDE 38

Refinement Modal Logic The existential fragment Full RML Thank you

The Algorithm by Bozzeli, van Ditmarsch and Pinchinat (2012)

Alternation depth and fragments

  • The weak refinement alternation depth of φ (Yw(φ)) is the

quantifier alternation depth of ∃rφ.

  • Yw(∃rφ) = Yw(φ) and Yw(∀rφ) = Yw(¬∀rφ) + 1.
  • RMLk consists of all RML formulas of weak refinement

alternation depth at most k.

  • RML∃r =RML1
slide-39
SLIDE 39

Refinement Modal Logic The existential fragment Full RML Thank you

The Algorithm by Bozzeli, van Ditmarsch and Pinchinat (2012)

The picture

K PSPACE-complete RML∃ = RML1 ∈ NEXPTIME PSPACE-hard RML2 ∈ ΣEXP

2

NEXPTIME-hard RMLk+1 (k ≤ 1) ∈ ΣEXP

k+1

ΣEXP

k

  • hard

RML AEXPpol-complete The complexity of satisfiability for fragments of RML

slide-40
SLIDE 40

Refinement Modal Logic The existential fragment Full RML Thank you

The Algorithm by Bozzeli, van Ditmarsch and Pinchinat (2012)

The algorithm

The algorithm first non-deterministically guesses a tree model

  • f at most an exponential number of states1 for φ and then runs

the following to check that φ is satisfied:

  • Given a tree model and φ, non-deterministically spread its

subformulas tableau-wise on the tree (do not analyse ∃rψ and ∀rψ).

  • Wherever you see an ∃rψ, non-deterministically guess a

tree model of at most an exponential number of states and which is a refinement of the original. Go on to check that ψ is satisfied there.

  • Wherever you see a ∀rψ, use an oracle for ¬∀rψ = ∃r¬ψ

and the subtree with root the current state. Notice that the weak alternation depth of ¬∀rψ is one less than that of ∀rψ.

1Yes, we can do that.

slide-41
SLIDE 41

Refinement Modal Logic The existential fragment Full RML Thank you

Our Variation

  • We do the same thing.
  • Except, when given an RML∃r formula, we do not have to

guess a model. We can deterministically construct it (all of them, actually) using polynomial space, so exponential time.

  • This saves us a step in the exponential hierarchy and closes

the complexity gaps.

slide-42
SLIDE 42

Refinement Modal Logic The existential fragment Full RML Thank you

Our Variation

  • We do the same thing.
  • Except, when given an RML∃r formula, we do not have to

guess a model. We can deterministically construct it (all of them, actually) using polynomial space, so exponential time.

  • This saves us a step in the exponential hierarchy and closes

the complexity gaps.

slide-43
SLIDE 43

Refinement Modal Logic The existential fragment Full RML Thank you

The resulting picture

K PSPACE-complete RML∃ = RML1 PSPACE-complete RML2 NEXPTIME-complete RMLk+1 (k ≤ 1) ΣEXP

k

  • complete

RML AEXPpol-complete The complexity of satisfiability for fragments of RML

slide-44
SLIDE 44

Refinement Modal Logic The existential fragment Full RML Thank you

Thank you. Questions?