Visibly Linear Dynamic Logic

Similar documents
Alternating nonzero automata

Theory of Computation

1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u,

Harvard CS 121 and CSCI E-207 Lecture 10: CFLs: PDAs, Closure Properties, and Non-CFLs

T Reactive Systems: Temporal Logic LTL

Pushdown Automata. We have seen examples of context-free languages that are not regular, and hence can not be recognized by finite automata.

Pushdown automata. Twan van Laarhoven. Institute for Computing and Information Sciences Intelligent Systems Radboud University Nijmegen

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Timo Latvala. February 4, 2004

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

Games with Costs and Delays

Pushdown Automata. Chapter 12

Models of Computation. by Costas Busch, LSU

Theory of Computation (IV) Yijia Chen Fudan University

Deterministic PDA s. Deepak D Souza. 21 October Department of Computer Science and Automation Indian Institute of Science, Bangalore.

Foundations of Informatics: a Bridging Course

Büchi Automata and Linear Temporal Logic

Pushdown Automata. Notes on Automata and Theory of Computation. Chia-Ping Chen

Computer-Aided Program Design

Alan Bundy. Automated Reasoning LTL Model Checking

On Model Checking for Visibly Pushdown Automata

Computability and Complexity

Harvard CS 121 and CSCI E-207 Lecture 10: Ambiguity, Pushdown Automata

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Optimal Bounds in Parametric LTL Games

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.

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

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS

Deterministic PDA s. Deepak D Souza. 08 Nov Department of Computer Science and Automation Indian Institute of Science, Bangalore.

Pushdown Automata (2015/11/23)

Pushdown Automata (Pre Lecture)

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Sri vidya college of engineering and technology

CSE 105 THEORY OF COMPUTATION

From Liveness to Promptness

Computational Models - Lecture 4

MA/CSSE 474 Theory of Computation

Partially Ordered Two-way Büchi Automata

Automata on Infinite words and LTL Model Checking

On the Accepting Power of 2-Tape Büchi Automata

Sums of Palindromes: An Approach via Automata

Theory of Computation Lecture 1. Dr. Nahla Belal

Push-down Automata = FA + Stack

Automata, Logic and Games: Theory and Application

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET

LTL is Closed Under Topological Closure

Classes and conversions

Before We Start. The Pumping Lemma. Languages. Context Free Languages. Plan for today. Now our picture looks like. Any questions?

Automata-based Verification - III

CS Pushdown Automata

Lecture 3: Nondeterministic Finite Automata

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints

Chapter 3: Linear temporal logic

Computational Models - Lecture 5 1

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

Logic Model Checking

Automata Theory (2A) Young Won Lim 5/31/18

CA320 - Computability & Complexity

Regularity Problems for Visibly Pushdown Languages

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

Part I: Definitions and Properties

Formal Languages and Automata

CS 208: Automata Theory and Logic

How to Pop a Deep PDA Matters

CSE 211. Pushdown Automata. CSE 211 (Theory of Computation) Atif Hasan Rahman

Temporal Logic Model Checking

DM17. Beregnelighed. Jacob Aae Mikkelsen

PS2 - Comments. University of Virginia - cs3102: Theory of Computation Spring 2010

Discrete Mathematics and Logic II. Regular Sets

Beyond Regularity for Presburger Modal Logics

Fundamentele Informatica II

Chapter 3. Regular grammars

Finite Automata and Languages

Communicating Multi-Stack Visibly Pushdown Processes

Exam Computability and Complexity

Automata-based Verification - III

Timo Latvala. March 7, 2004

Equivalence of CFG s and PDA s

Einführung in die Computerlinguistik

Pushdown Automata (PDA) The structure and the content of the lecture is based on

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

Applied Automata Theory

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

5 Context-Free Languages

Università degli studi di Napoli Federico II

Additive Number Theory and Automata

Closure Properties of Regular Languages. Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism

Unit 6. Non Regular Languages The Pumping Lemma. Reading: Sipser, chapter 1

Finite State Machines Transducers Markov Models Hidden Markov Models Büchi Automata

Homework 8. a b b a b a b. two-way, read/write

CHURCH SYNTHESIS PROBLEM and GAMES

Pushdown Automata: Introduction (2)

Definition of Büchi Automata

Hubert Comon-Lundh Florent Jacquemard Nicolas Perrin. Tree Automata with Memory, Visibility and Structural Constraints. Research Report LSV-07-01

CS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,

Automata Theory for Presburger Arithmetic Logic

Introduction to Formal Languages, Automata and Computability p.1/42

ECS 120: Theory of Computation UC Davis Phillip Rogaway February 16, Midterm Exam

Transcription:

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

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

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

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

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

Visibly Pushdown Automata Partition input alphabet Σ into Σ c (calls), Σ r (returns), and Σ l (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

Visibly Pushdown Automata Partition input alphabet Σ into Σ c (calls), Σ r (returns), and Σ l (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: a n b n is a VPL, if a is a call and b a return. ww R is not a VPL. Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 3/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 2 P into calls, returns, and local actions. Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 4/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 2 P into calls, returns, and local actions. Semantics w = A ϕ if there exists an n such that w 0 w n is accepted by A and w n w n+1 w n+2 = ϕ. w = [A]ϕ if for every n s.t. w 0 w n is accepted by A we have w n w n+1 w n+2 = ϕ. Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 4/8

Example Every request q is eventually answered by a response p and there are never more responses than requests : where [A true ]( q A true p ) [A]false A true 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

Expressiveness Lemma VLDL and non-deterministic ω-vpa are expressively equivalent. Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

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

Expressiveness Lemma VLDL and non-deterministic ω-vpa are expressively equivalent. Proof Idea VLDL Deterministic Stair Automata [LMS 04] O(2 n ) non-deterministic ω-vpa Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

Expressiveness Lemma VLDL and non-deterministic ω-vpa are expressively equivalent. Proof Idea VLDL Deterministic Stair Automata O(n 2 ) [LMS 04] O(2 n ) non-deterministic ω-vpa Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

Expressiveness Lemma VLDL and non-deterministic ω-vpa are expressively equivalent. Proof Idea VLDL Deterministic Stair Automata O(n 2 ) O(n 2 ) 1-way Alternating Jumping Automata [LMS 04] O(2 n ) non-deterministic ω-vpa Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

Expressiveness Lemma VLDL and non-deterministic ω-vpa are expressively equivalent. Proof Idea VLDL Deterministic Stair Automata O(n 2 ) O(n 2 ) 1-way Alternating Jumping Automata [LMS 04] O(2 n ) non-deterministic ω-vpa O(2 n ) [Bozelli 07] Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 6/8

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

The Competitors If p holds true immediately after entering module m, it shall hold immediately after the corresponding return from m as well VLDL: [A c ](p A r p) with Σ r, A Σ c, A Σ l, Σ c, A Σ r, A Σ c, A Σ l, Σ r, A c A r Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

The Competitors If p holds true immediately after entering module m, it shall hold immediately after the corresponding return from m as well ω-vpa: Σ p Σ c, P Σ c, P c, P Σ p Σ r, P Σ r, P r, P Σ p l, Σ p, Σ p r, P Σ l, l Σ p c, P Σ p c Σ p r, P, P Σ p c, P Σ p r, P Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

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) call m [(q ) (p p)] return m (p q) ] (p q) Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 7/8

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

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

Our Results validity model-checking infinite games LTL PSpace PSpace 2ExpTime LDL PSpace PSpace 2ExpTime VLDL ExpTime ExpTime 3ExpTime VLTL ExpTime ExpTime? VLDL exp ExpTime ExpTime 3ExpTime Martin Zimmermann Saarland University Visibly Linear Dynamic Logic 8/8