Complexity in Modal Team Logic

Similar documents
Complexity of intuitionistic logic. Martin Mundhenk

Software Engineering using Formal Methods

Reasoning and programming. Lecture 5: Invariants and Logic. Boolean expressions. Reasoning. Examples

Deciding Hyperproperties

Boolean algebra.

Bases for Vector Spaces

Linear Inequalities. Work Sheet 1

First Midterm Examination

Lecture 9: LTL and Büchi Automata

Review of Gaussian Quadrature method

Section 6.1 Definite Integral

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

CS 330 Formal Methods and Models

Homework 3 Solutions

CS5371 Theory of Computation. Lecture 20: Complexity V (Polynomial-Time Reducibility)

p-adic Egyptian Fractions

Revision Sheet. (a) Give a regular expression for each of the following languages:

Evaluating Definite Integrals. There are a few properties that you should remember in order to assist you in evaluating definite integrals.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages

KNOWLEDGE-BASED AGENTS INFERENCE

Handout: Natural deduction for first order logic

Boolean Algebra. Boolean Algebra

State Minimization for DFAs

Parse trees, ambiguity, and Chomsky normal form

First Midterm Examination

STRUCTURE OF CONCURRENCY Ryszard Janicki. Department of Computing and Software McMaster University Hamilton, ON, L8S 4K1 Canada

Regular expressions, Finite Automata, transition graphs are all the same!!

set is not closed under matrix [ multiplication, ] and does not form a group.

Minimal DFA. minimal DFA for L starting from any other

Designing finite automata II

Hennessy-Milner Logic 1.

Modal Team Logic. Leibniz Universität Hannover Fakultät für Elektrotechnik und Informatik Institut für Theoretische Informatik.

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors:

Computing with finite semigroups: part I

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Designing Information Devices and Systems I Discussion 8B

Section: Other Models of Turing Machines. Definition: Two automata are equivalent if they accept the same language.

Lecture 2: January 27

Semantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S.

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER LANGUAGES AND COMPUTATION ANSWERS

Convert the NFA into DFA

COMPOSITIONALITY AND REACHABILITY WITH CONDITIONS ON PATH LENGTHS

CHAPTER 1 PROGRAM OF MATRICES

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT

Semantic reachability for simple process algebras. Richard Mayr. Abstract

80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES. 2.6 Finite State Automata With Output: Transducers

CS 311 Homework 3 due 16:30, Thursday, 14 th October 2010

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

Nenofex: Expanding NNF for QBF Solving

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

CS103 Handout 32 Fall 2016 November 11, 2016 Problem Set 7

Fachgebiet Rechnersysteme1. 1. Boolean Algebra. 1. Boolean Algebra. Verification Technology. Content. 1.1 Boolean algebra basics (recap)

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama

CSCI 340: Computational Models. Transition Graphs. Department of Computer Science

Lecture 2 : Propositions DRAFT

Regular Language. Nonregular Languages The Pumping Lemma. The pumping lemma. Regular Language. The pumping lemma. Infinitely long words 3/17/15

Learning Goals. Relational Query Languages. Formal Relational Query Languages. Formal Query Languages: Relational Algebra and Relational Calculus

1. Extend QR downwards to meet the x-axis at U(6, 0). y

Linear Systems with Constant Coefficients

Bayesian Networks: Approximate Inference

ɛ-closure, Kleene s Theorem,

Coalgebra, Lecture 15: Equations for Deterministic Automata

20 MATHEMATICS POLYNOMIALS

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

Exercises with (Some) Solutions

Model Reduction of Finite State Machines by Contraction

Genetic Programming. Outline. Evolutionary Strategies. Evolutionary strategies Genetic programming Summary

Ehrenfeucht-Fraïssé Games: Applications and Complexity. Department of Mathematics and Computer Science University of Udine, Italy ESSLLI 2010 CPH

The Minimum Label Spanning Tree Problem: Illustrating the Utility of Genetic Algorithms

Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Kleene-*

Signal Flow Graphs. Consider a complex 3-port microwave network, constructed of 5 simpler microwave devices:

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Formal languages, automata, and theory of computation

Chapter 2 Finite Automata

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 6. This homework is due October 11, 2016, at Noon.

Section 4: Integration ECO4112F 2011

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Applied Automata Theory

CSE396 Prelim I Answer Key Spring 2017

Overview of Today s Lecture:

More on automata. Michael George. March 24 April 7, 2014

Surface maps into free groups

September 13 Homework Solutions

MAT137 Calculus! Lecture 27

The Regulated and Riemann Integrals

u(t)dt + i a f(t)dt f(t) dt b f(t) dt (2) With this preliminary step in place, we are ready to define integration on a general curve in C.

Designing Information Devices and Systems I Spring 2018 Homework 7

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 +

Reasoning with Bayesian Networks

IST 4 Information and Logic

Network Analysis and Synthesis. Chapter 5 Two port networks

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018

Transcription:

ThI Theoretische Informtik Complexity in Modl Tem Logic Julin-Steffen Müller Theoretische Informtik 18. Jnur 2012 Theorietg 2012

Theoretische Informtik Inhlt 1 Preliminries 2 Closure properties 3 Model Checking 4 Results 5 Conclusion Preliminries Closure properties Model Checking Results Conclusion Seite 2

Theoretische Informtik Motivtion Modl Dependence Logic MDL descries tomic dependencies etween vriles. Originl introduced y Vänäänen for first-order logic. Studying computle cses. Modl Tem Logic MDL cnnot express tht certin dependence etween vriles does not hold. Tem semtics without dependence tom. Preliminries Closure properties Model Checking Results Conclusion Seite 3

Theoretische Informtik Semntic of MTL Split junction M, T = ϕ ϕ T 1 T 2 = T : M, T 1 = ϕ nd M, T 2 = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Split junction M, T = ϕ ϕ T 1 T 2 = T : M, T 1 = ϕ nd M, T 2 = ϕ Exmples M, {, } = Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Clssicl disjunction M, T = ϕ ϕ M, T = ϕ or M, T = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Clssicl disjunction M, T = ϕ ϕ M, T = ϕ or M, T = ϕ Exmples M, {, } = Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Clssicl disjunction M, T = ϕ ϕ M, T = ϕ or M, T = ϕ Exmples M, {, } = M, {,, } = Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Modl exists M, T = ϕ ˆT T : M, ˆT = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Modl exists M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, {, } = ( ) Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Modl next M, T = ϕ M, R[T ] = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Modl next M, T = ϕ M, R[T ] = ϕ Exmples M, {, } = ( ) Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Modl next M, T = ϕ M, R[T ] = ϕ Exmples M, {, } = ( ) M, {, } = ( ) Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Dependence tom M, T = dep(p 1,..., p n 1 ; p n ) ˆT T : M, ˆT = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Dependence tom M, T = dep(p 1,..., p n 1 ; p n ) ˆT T : M, ˆT = ϕ Exmples M, {, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Dependence tom M, T = dep(p 1,..., p n 1 ; p n ) ˆT T : M, ˆT = ϕ Exmples M, {, } = dep(; ) M, {,, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Clssicl negtion M, T = ϕ M, T = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Clssicl negtion M, T = ϕ M, T = ϕ Exmples M, { } = Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Semntic of MTL Clssicl negtion M, T = ϕ M, T = ϕ Exmples M, { } = M, {, } = Preliminries Closure properties Model Checking Results Conclusion Seite 4

Theoretische Informtik Dul opertor to opertor Let ϕ e MTL formul. Then ϕ is defined y ϕ. Preliminries Closure properties Model Checking Results Conclusion Seite 5

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() M, {, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() M, {, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() M, {, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() M, {, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Semntic of MTL Modl forll M, T = ϕ ˆT T : M, ˆT = ϕ Exmples M, { } = dep() M, {, } = dep(; ) Preliminries Closure properties Model Checking Results Conclusion Seite 6

Theoretische Informtik Closure properties Downwrds closure M, T = ϕ T T : M, T = ϕ Union closure M, T = ϕ nd M, T = ϕ M, T T = ϕ Fltness M, T = ϕ w T : M, w = ϕ Fltness follows from downwrds nd union closure! Preliminries Closure properties Model Checking Results Conclusion Seite 7

Theoretische Informtik Closure properties Downwrds closure ML MDL MTL M, T = ϕ T T : M, T = ϕ Union closure M, T = ϕ nd M, T = ϕ M, T T = ϕ Fltness M, T = ϕ w T : M, w = ϕ Fltness follows from downwrds nd union closure! Preliminries Closure properties Model Checking Results Conclusion Seite 7

Theoretische Informtik Closure properties Downwrds closure ML MDL MTL M, T = ϕ T T : M, T = ϕ Union closure ML MDL MTL M, T = ϕ nd M, T = ϕ M, T T = ϕ Fltness M, T = ϕ w T : M, w = ϕ Fltness follows from downwrds nd union closure! Preliminries Closure properties Model Checking Results Conclusion Seite 7

Theoretische Informtik Closure properties Downwrds closure ML MDL MTL M, T = ϕ T T : M, T = ϕ Union closure ML MDL MTL M, T = ϕ nd M, T = ϕ M, T T = ϕ Fltness ML MDL MTL M, T = ϕ w T : M, w = ϕ Fltness follows from downwrds nd union closure! Preliminries Closure properties Model Checking Results Conclusion Seite 7

Theoretische Informtik ϕ ϕ Theorem Let ϕ e downwrds closed MTL formul. Then ϕ is equivlent to ϕ. Preliminries Closure properties Model Checking Results Conclusion Seite 8

Theoretische Informtik Model Checking Prolem MTL-MC Instnce: MTL formul ϕ, Kripke Modell M, MTL tem T Question: Is ϕ vlid under M nd T (M, T = ϕ)? MTL-SAT Instnce: MTL formul ϕ Question: Is there Kripke Model M nd tem T which stisfies ϕ? Preliminries Closure properties Model Checking Results Conclusion Seite 9

Theoretische Informtik Known Results for MDL Modl dependence logic (MDL) is defined nlogous to modl tem logic, ut without the clssicl negtion. Complexity of Model Checking It ws shown y Eing nd Lohmnn in 2011 tht the model checking prolem for MDL is NP-complete. Complexity of Stisfyility It ws shown y Lohmnn nd Vollmer in 2010 tht the stisfiility prolem for MDL is NEXPTIME-complete. How expressive is MTL in comprsion to MDL? Preliminries Closure properties Model Checking Results Conclusion Seite 10

Theoretische Informtik Result overview k dep Complexity + + + PSPACE-complete + + + PSPACE-complete + + + k 0 + Σ p k+1 -complete + + + k 0 Σ p k -complete + + + P NP[1] -complete + + P-complete + + + + + NC 1 -complete Telle: Complexity results for model checking in MTL Preliminries Closure properties Model Checking Results Conclusion Seite 11

Theoretische Informtik MTL-MC is in PSPACE Non determinism in MDL Let M e Kripke Model nd T tem over M. 1 M, T = ϕ ϕ T 1, T 2 with T = T 1 T 2 : T 1 = ϕ nd T 2 = ϕ 2 M, T = ϕ ˆT T : M ˆT = ϕ 3 M, T = ϕ M, T = ϕ In worst cse ech su formul uses the non determinism to serch through ll worlds. This is polynomil ounded in spce. Preliminries Closure properties Model Checking Results Conclusion Seite 12

Theoretische Informtik MTL-MC is PSPACE-hrd Theorem Let ϕ = x 1 x 2... x m n i=1 C i. Then ϕ 3QBF (M, T, δ 1 ) MTL-MC. Kripke Model M p 1 1 p 1 1 p 1 1 p 1 n 0... n w n n d 1 0... d n 0... d n n 0... n w n n p 0 1 p 0 1 p 0 1 p 0 n Preliminries Closure properties Model Checking Results Conclusion Seite 13

Theoretische Informtik MTL-MC is PSPACE-hrd Theorem Let ϕ = x 1 x 2... x m n i=1 C i. Then ϕ 3QBF (M, T, δ 1 ) MTL-MC. Kripke Model M, strting tem T p 1 1 p 1 1 p 1 1 p 1 n 0... n w n n d 1... d 0 0 n... d n n 0... n w n n p 0 1 p 0 1 p 0 1 p 0 n Preliminries Closure properties Model Checking Results Conclusion Seite 13

Theoretische Informtik MTL-MC is PSPACE-hrd Existentil prt (i is odd) δ i = ((p 1 i p 0 i ) δ i+1) Universl prt (i is even) δ i = ((p 1 i p 0 i ) δ i+1) Evlution (i = n + 1) δ i = m i=1 ( l i1 l i2 l i3 ) Preliminries Closure properties Model Checking Results Conclusion Seite 14

Theoretische Informtik Restricted clssicl negtion Wht hppens if the nesting of clssicl negtion is restricted? Equivilnt with restricting the lterntion of existentil nd universl quntifictions. 3QBF k. MTL-MC(,,, ) is Σ p k -complete. MTL-MC(,,,, dep) is Σ p k+1 -complete. Preliminries Closure properties Model Checking Results Conclusion Seite 15

Theoretische Informtik MTL-MC (, dep, ) is in P NP[1] Ech MTL formul over {, dep, } is of the form ϕ = ϕ or ϕ = ϕ, where: ϕ = i 1 i 2... i k λ λ {dep} VAR ϕ cn e solved with the NP-complete prolem MDL-MC. Orcle Answer is negted if ϕ = ϕ. Preliminries Closure properties Model Checking Results Conclusion Seite 16

Theoretische Informtik MTL-MC(, dep, ) is P NP[1] hrd A generl P NP[1] mchine cn e reduced to: input x f SAT 1 0 cc rej f SAT Preliminries Closure properties Model Checking Results Conclusion Seite 17

Theoretische Informtik MTL-MC(, dep, ) is P NP[1] hrd A generl P NP[1] mchine cn e reduced to: input x f SAT 1 0 cc rej f SAT input x f SAT 1 0 rej cc f SAT Preliminries Closure properties Model Checking Results Conclusion Seite 17

Theoretische Informtik MTL-MC(, dep, ) is P NP[1] hrd A generl P NP[1] mchine cn e reduced to: input x f SAT 1 0 cc rej f SAT input x f SAT 1 0 rej cc f SAT input x f SAT cc 1 cc 0 Accept lwys Preliminries Closure properties Model Checking Results Conclusion Seite 17

Theoretische Informtik MTL-MC(, dep, ) is P NP[1] hrd A generl P NP[1] mchine cn e reduced to: input x input x input x input x f SAT 1 0 cc rej f SAT 1 0 rej cc f SAT cc 1 cc 0 f SAT 1 0 rej rej f SAT f SAT Accept lwys Reject lwys Preliminries Closure properties Model Checking Results Conclusion Seite 17

Theoretische Informtik MTL-MC(, dep, ) is P NP[1] hrd A generl P NP[1] mchine cn e reduced to: input x input x input x input x f SAT 1 0 cc rej f SAT 1 0 rej cc f SAT cc 1 cc 0 f SAT 1 0 rej rej f SAT f SAT Accept lwys Reject lwys Since MDL-MC(, dep) is NP-complete, MTL-MC(, dep) cn simulte the SAT orcle questions. Preliminries Closure properties Model Checking Results Conclusion Seite 17

Theoretische Informtik Conclusion Summry Filure of downwrds closure is not the reson for the complexity lep. Restricting the clssicl negtion is equl to restrict possile quntor lterntions. Open Questions Complexity of MTL-MC(, ). Mye PSPACE-complete. Complexity of MTL stisfiility prolem. Definition nd clssifiction of dependence temporl logic. Preliminries Closure properties Model Checking Results Conclusion Seite 18