Visibly Linear Dynamic Logic Joint work with Alexander Weinert - - PowerPoint PPT Presentation

visibly linear dynamic logic
SMART_READER_LITE
LIVE PREVIEW

Visibly Linear Dynamic Logic Joint work with Alexander Weinert - - PowerPoint PPT Presentation

Visibly Linear Dynamic Logic Joint work with Alexander Weinert (Saarland University) Martin Zimmermann Saarland University September 8th, 2016 Highlights Conference, Brussels, Belgium Martin Zimmermann Saarland University Visibly Linear


slide-1
SLIDE 1

Visibly Linear Dynamic Logic

Joint work with Alexander Weinert (Saarland University)

Martin Zimmermann

Saarland University

September 8th, 2016

Highlights Conference, Brussels, Belgium

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 1/8

slide-2
SLIDE 2

The Everlasting Quest for Expressiveness

LTL: “Every request q is eventually answered by a response p” G(q → F p)

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 2/8

slide-3
SLIDE 3

The Everlasting Quest for Expressiveness

LTL: “Every request q is eventually answered by a response p” G(q → F p) LDL: “Every request q is eventually answered by a response p after an even number of steps” [true∗]( q → (true · true)∗p )

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 2/8

slide-4
SLIDE 4

The Everlasting Quest for Expressiveness

LTL: “Every request q is eventually answered by a response p” G(q → F p) LDL: “Every request q is eventually answered by a response p after an even number of steps” [true∗]( q → (true · true)∗p ) VLDL: “Every request q is eventually answered by a response p and there are never more responses than requests”

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 2/8

slide-5
SLIDE 5

The Everlasting Quest for Expressiveness

LTL: “Every request q is eventually answered by a response p” G(q → F p) LDL: “Every request q is eventually answered by a response p after an even number of steps” [true∗]( q → (true · true)∗p ) VLDL: “Every request q is eventually answered by a response p and there are never more responses than requests” This can be expressed using pushdown automata/context-free grammars in the guards.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 2/8

slide-6
SLIDE 6

Visibly Pushdown Automata

Partition input alphabet Σ into Σc (calls), Σr (returns), and Σℓ (local actions). A visibly pushdown automaton (VPA) has to push when processing a call, pop when processing a return while the stack is non-empty (otherwise stack is unchanged), and leave the stack unchanged when processing a local action. Stack height determined by input word ⇒ closure under union, intersection, and complement.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 3/8

slide-7
SLIDE 7

Visibly Pushdown Automata

Partition input alphabet Σ into Σc (calls), Σr (returns), and Σℓ (local actions). A visibly pushdown automaton (VPA) has to push when processing a call, pop when processing a return while the stack is non-empty (otherwise stack is unchanged), and leave the stack unchanged when processing a local action. Stack height determined by input word ⇒ closure under union, intersection, and complement. Examples: anbn is a VPL, if a is a call and b a return. wwR is not a VPL.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 3/8

slide-8
SLIDE 8

Visibly Linear Dynamic Logic (VLDL)

Syntax ϕ := p | ¬ϕ | ϕ ∧ ϕ | ϕ ∨ ϕ | Aϕ | [A]ϕ where p ∈ P ranges over atomic propositions and A ranges over VPA’s. All VPA’s have the same partition of 2P into calls, returns, and local actions.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 4/8

slide-9
SLIDE 9

Visibly Linear Dynamic Logic (VLDL)

Syntax ϕ := p | ¬ϕ | ϕ ∧ ϕ | ϕ ∨ ϕ | Aϕ | [A]ϕ where p ∈ P ranges over atomic propositions and A ranges over VPA’s. All VPA’s have the same partition of 2P into calls, returns, and local actions. Semantics w | = Aϕ if there exists an n such that w0 · · · wn is accepted by A and wnwn+1wn+2 · · · | = ϕ. w | = [A]ϕ if for every n s.t. w0 · · · wn is accepted by A we have wnwn+1wn+2 · · · | = ϕ.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 4/8

slide-10
SLIDE 10

Example

“Every request q is eventually answered by a response p and there are never more responses than requests”: [Atrue]( q → Atruep ) ∧ [A]false where Atrue accepts every input, and A accepts every input with more responses than requests. Both languages are visibly pushdown, if {q} is a call, {p} is a return, and ∅ and {p, q} are local actions.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 5/8

slide-11
SLIDE 11

Expressiveness

Lemma

VLDL and non-deterministic ω-VPA are expressively equivalent.

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

slide-12
SLIDE 12

Expressiveness

Lemma

VLDL and non-deterministic ω-VPA are expressively equivalent. Proof Idea VLDL non-deterministic ω-VPA

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

slide-13
SLIDE 13

Expressiveness

Lemma

VLDL and non-deterministic ω-VPA are expressively equivalent. Proof Idea VLDL non-deterministic ω-VPA Deterministic Stair Automata [LMS ’04] O(2n)

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

slide-14
SLIDE 14

Expressiveness

Lemma

VLDL and non-deterministic ω-VPA are expressively equivalent. Proof Idea VLDL non-deterministic ω-VPA Deterministic Stair Automata [LMS ’04] O(2n) O(n2)

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

slide-15
SLIDE 15

Expressiveness

Lemma

VLDL and non-deterministic ω-VPA are expressively equivalent. Proof Idea VLDL non-deterministic ω-VPA Deterministic Stair Automata [LMS ’04] O(2n) O(n2) 1-way Alternating Jumping Automata O(n2)

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

slide-16
SLIDE 16

Expressiveness

Lemma

VLDL and non-deterministic ω-VPA are expressively equivalent. Proof Idea VLDL non-deterministic ω-VPA Deterministic Stair Automata [LMS ’04] O(2n) O(n2) 1-way Alternating Jumping Automata O(n2) [Bozelli ’07] O(2n)

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

slide-17
SLIDE 17

The Competitors

“If p holds true immediately after entering module m, it shall hold immediately after the corresponding return from m as well”

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

slide-18
SLIDE 18

The Competitors

“If p holds true immediately after entering module m, it shall hold immediately after the corresponding return from m as well” VLDL: [Ac ](p → Arp) with Ac Σc, ↓A Σr, ↑A Σℓ, → Σc, ↓A Ar Σc, ↓A Σr, ↑A Σℓ, → Σr, ↑⊥

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

slide-19
SLIDE 19

The Competitors

“If p holds true immediately after entering module m, it shall hold immediately after the corresponding return from m as well” ω-VPA: Σc, ↓P Σr, ↑P Σc, ↓P Σr, ↑P Σℓ, → Σp

ℓ , →

Σp

c, ↓ ¯

P Σp

r , ↑ ¯

P Σp

c, ↓P

Σp

r , ↑P

Σ¬p

ℓ , →

Σ¬p

c , ↓P

Σ¬p

r , ↑P

Σ¬p

c , ↓ ¯

P Σ¬p

r , ↑ ¯

P

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

slide-20
SLIDE 20

The Competitors

“If p holds true immediately after entering module m, it shall hold immediately after the corresponding return from m as well” VLTL: (α; true)|αfalse with visibly rational expression α below: [(p ∪ q)∗callm [(q) ∪ (pp)] returnm(p ∪ q)∗] (p ∪ q)∗

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

slide-21
SLIDE 21

Our Results

validity model-checking infinite games LTL PSpace PSpace 2ExpTime LDL PSpace PSpace 2ExpTime

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 8/8

slide-22
SLIDE 22

Our Results

validity model-checking infinite games LTL PSpace PSpace 2ExpTime LDL PSpace PSpace 2ExpTime VLDL ExpTime ExpTime 3ExpTime VLTL ExpTime ExpTime ?

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 8/8

slide-23
SLIDE 23

Our Results

validity model-checking infinite games LTL PSpace PSpace 2ExpTime LDL PSpace PSpace 2ExpTime VLDL ExpTime ExpTime 3ExpTime VLTL ExpTime ExpTime ? VLDLexp ExpTime ExpTime 3ExpTime

Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 8/8