Kim Guldstrand Larsen DENMARK

Size: px
Start display at page:

Download "Kim Guldstrand Larsen DENMARK"

Transcription

1 Quantitative Modal Transition Systems Kim Guldstrand Larsen Aalborg University Aalborg University, DENMARK

2 The Early Days Edinburgh Kim Larsen [2] Milner Symposium, Edinburgh, April 16-18, 2012

3 Original Aim Need for sound compositional specification formalisms supporting step-wise development and design of concurrent systems Components are specified in a formal way at a certain abstraction level. Specifications are gradually refined until a concrete system is produced. If the refinement steps preserve certain properties, the final system will as well. STILL HIGHLY RELEVANT! 3

4 Bisimulation Context Dependent Bisimulation Probabilistic MTS Interval Markov Chains Modal Transition Systems 1991 TAU 1995 CWB UPPAAL Constraint Markov Chains 2010 APAC Timed MTS 2009 ECDAR 2011 Parameterized MTS Weighted MTS Dual-Priced MTS Modal Contracts 4

5 Bisimulation [Park according to Milner] R Pr Pr is a (strong) bisimulation iff whenever (P,Q) R then i) whenever P-a-> P then Q-a->Q for some Q with (P,Q ) Q) R ii) whenever Q-a-> Q then P-a->P for some P with (P,Q ) R P Q iff (P,Q) R for some bisimulation R is a congruence relation 5

6 Compositionality Properties of a combined program should be obtained from properties of component! Correctness problem: SYS SPEC Compositional Verification 1. Decompose: SYS = C[SYS 1,,SYS n ] 2. Verify: SYS i SPEC i 3. Combine: SPEC C[SPEC 1,,SPEC n ] Problem: how to obtain simple subspecification? 6

7 A Simple Scheduler d da D cd C bc c A = a! ab! da? A B = ab? b! bc! B C = bc? c! cd! C D = cd? d! da! D a A ab B b SPEC = a! b! c! d! SPEC ( A B C D ) SPEC 7

8 Compositional Verification d da D cd C bc c A = a! ab! da? A B = ab? b! bc! B C = bc? c! cd! C D = cd? d! da! D SPEC = a! b! c! d!. SPEC a A ab B b SYS 1 = D C SYS 2 = A B SPEC 1 = bc? c! d! da! SPEC 1 SPEC 2 = a! b! bc! da? SPEC 2 However SYS i SPEC i 8

9 Compositional Verification d D cd C c SYS 1 = D C SYS 2 = A B da bc SPEC 1 = bc? c! d! da! SPEC 1 SPEC 2 = a! b! bc! da? SPEC 2 A B ab a b da? Clearly SYS 2 SPEC 2 In fact no hope for a a! b! bc! simple SPEC 2 A B bc! bc! da? da? b! a! a! b! However SYS 2 E SPEC 2 where E is an environment capturing behaviour relevant in the context ( [] C D) 9

10 Compositional Verification d D cd C c SYS 1 = D C SYS 2 = A B da bc SPEC 1 = bc? c! d! da! SPEC 1 SPEC 2 = a! b! bc! da? SPEC 2 A B ab a b da? Clearly SYS 2 SPEC 2 In fact no hope for a a! b! bc! simple SPEC 2 A B bc! bc! da? da? b! a! a! b! 10

11 Bisimulation Context Dependent Bisimulation Probabilistic MTS Interval Markov Chains Modal Transition Systems UPPAAL Constraint Markov Chains 2010 APAC Timed MTS 2009 ECDAR 2011 Parameterized MTS Weighted MTS Dual-Priced MTS Modal Contracts 11

12 Environments E = ( Env, Act, ) P E Q E a-> E : E allows (can consume) the action a and become E P -a-> P : P can produce the action a and become P Special Environments O : (O a->) for all actions a. Thus we expect P O Q for all P and Q U : U a-> U for any action a. Thus we expect P U Q iff P Q. 12

13 Environment d D cd C c Environment should cover the behaviour allowed by the context ( [] C D )??? da bc Only a!, b!, da?, bc!, No restrictions ti on a!, b!, a Inhabitant b bc! E a!, b!, da?, E bc! U a!, b!, 13

14 Parameterized Bisimulation Let E =( Env, Act, ). An E-parameterized bisimulation is an Envindexed family R = { R E : E Env } with R E Pr Pr, such that whenever whenever (P,Q) R E and E-a->E then i) whenever P-a->P then Q-a->Q for some Q with (P,Q) R Q ) R E ii) whenever Q-a->Q then P-a->P for some P with (P,Q ) R E P E Q, whenever (P,Q) R E for some parameterized bisimulation R. 14

15 Compositional Verification Revisited da? SPEC 2 a! b! bc! E a!, b!, da? bc! da?, a! b! bc! E bc! U A B bc! bc! da? da? a!, b!, b! Remaining Question a! a! Does b! SPEC 2 E A B imply (SPEC 2 C D ) ( A B C D ) Semantics of contexts as action transducer! 15

16 The Alternating Bit Protocol 16

17 ABP in the TAU Tool CWB 17

18 ABP in the TAU Tool CWB Tatsuya Hagino Professor, Faculty of Environmental Information, Keio University, Japan 18

19 Bisimulation Context Dependent Bisimulation Probabilistic MTS Interval Markov Chains Modal Transition Systems 1991 TAU 1995 CWB UPPAAL Constraint Markov Chains 2010 APAC Timed MTS 2009 ECDAR 2011 Parameterized MTS Weighted MTS Dual-Priced MTS Modal Contracts 19

20 Operations on Specifications Structural Composition: Given S 1 and S 2 construct S 1 par S 2 such that S 1 par S 2 = S 1 par S 2 should be precongruence wrt par to allow for compositional analysis! Logical Conjunction: Given S 1 and S 2 construct S 1 ÆS 2 such that S 1 ÆS 2 = S 1 Å S 2 Quotienting: Given overall specification T and component specification S construct the quotient specification T\S such that S par X T iff X T\S 20

21 Modal Transition Systems [L. & Thomsen 88 Boudol & L. 90] MTS is an automata-based specification formalism MTS allow to express that certain actions may or must happen in their implementation MTS supports all the required operations on specifications (conjunction, parallel composition, quotienting). Applications in component-based software development, interface theories, modal abstractions and program analysis. 21

22 Example Tea-Coffee Machines Specifications tea coin coffee tea coin coffee Refinement Implementations tea coin coffee tea coin tea coin coin coin coffee 22

23 MTS Definition An MTS is a triple (P,, ) where P is a set of states and P Act P If = then the MTS is an implementation. R P P is a modal refinement iff whenever (S,T) R then i) whenever S-a-> S then T-a-> T for some T with (S,T ) R ii) whenever T-a-> T then S-a-> S for some S with (S,T ) R We write S m T whenever (S,T) R for some modal refinement R. 23

24 Example Tea-Coffee Machines Specifications tea coin coffee tea coin coffee Refinement Implementations tea coin coffee tea coin tea coin coin coin coffee 24

25 Compositional Verification Rerevisited d D da cd C bc c A = a! ab! da? A B = ab? b! bc! B C = bc? c! cd! C D = cd? d! da! D a A ab B b SPEC = a! b! c! d! SPEC A B SPEC da? 2 da? a! b! bc! a! b! bc! bc! bc! da? da? b! a! b! a! da? a! b! bc! da? U da? 25

26 Compositional Verification Rerevisited d D cd C c SPEC = a! b! c! d! SPEC (SPEC 1 SPEC 2 ) m SPEC da bc C D m SPEC 1 a A ab B b A B m SPEC 2 Hence (A B C D) m SPEC SPEC 1 SPEC 2 da! da? bc? c! d! a! b! bc! bc? bc? da? da? c! d! bc? da! U a! b! bc! da? U 26

27 Bisimulation Context Dependent Bisimulation Probabilistic MTS Interval Markov Chains Modal Transition Systems 1991 TAU 1995 CWB Constraint Markov Chains 2010 UPPAAL APAC UPPAAL TIGA Timed MTS 2009 ECDAR 2011 Parameterized MTS Weighted MTS Dual-Priced MTS Modal Contracts 27

28 Probabilistic Process System Markov Chain ( P,, A,,, V ) V: P 2 A : P (P [0,1]) Valuation function Transition probability function Atomic Propositions Processes / States 1 write P 0 1 (P 1 )(P 2 ) = 54/199 (P 0 )(P 2 ) = 0 1 P 2 P 1 P 3 Accept submit reject 54/ /199 28

29 Probabilistic Bisimulation [L., Skou 89] Definition write 1 1 An equivalence relation R on process is a probabilistic bisimulation if whenever P R Q then 1. V(P) = V(Q) 2. For all classes C P/R 1/3 2/3 P C (P)(P ) = P C (Q)(P ) sub 22/199 acc sub write 145/ / /199 45/199 sub 54/199 54/ /199 acc rej rej acc rej 1 29

30 Probabilistic Bisimulation [L., Skou 89] Definition write 1 1 An equivalence relation R on process is a probabilistic bisimulation if whenever P R Q then 1. V(P) = V(Q) 2. For all classes C P/R 1/3 2/3 P C (P)(P ) = P C (Q)(P ) sub 22/199 acc sub write 145/ / /199 45/199 sub 54/199 54/ /199 acc rej rej acc rej 1 30

31 Probabilistic MTS [Jonsson, L. 91] write { 1 } { 1 1 } AUTHOR { 1 } acc sub 54/199 [0.25, 1] 145/199 [0, 0.75] rej write { 1 } { 1 1 } PUBLISHER { 1 } write 1 1 acc sub { 1 } { 1 } [0.25, 0.33] [0.67,0.75] 145/199 rej { 1 } AGREEMENT acc sub [0 54/199, 0.33] 145/199 [0.67,1] rej 31

32 Probabilistic Refinement (Informally) T [1/4,1] acc 1/2 acc S [1/8, 1] 1/2 sub Show [0,3/8] [0,3/8] rej rej p 1 + p 2 + p 3 = 1 p 1 [1/4,1] p 2 [0,3/8] p 3 [0,3/8] 1 1 acc rej [1/8, 1] [0,3/4] sub Witness; should work uniformly for any implementation of T ½ * p 1 [1/8,1] ½ * p 1 [1/8,1] 1*p 2 + 1*p 3 [0,3/4] 32

33 Probabilistic Refinement (Informally) T [1/4,1] acc 1/2 acc S [1/8, 1] 1/2 sub Constraint [0,3/8] Markov [1/8, 1] acc Chains [0,3/8] rej 1 to ensure closure under [0,3/4] sub conjunction and parallel 1 compositions rej rej Show Witness; should work uniformly for any implementation of T [2010] p 1 + p 2 + p 3 = 1 p 1 [1/4,1] ½ * p 1 [1/8,1] p [0,3/8] ½ * p 1 [1/8,1] 2 1*p p 3 [0,3/8] 2 + 1*p 3 [0,3/4] 33

34 Bisimulation Context Dependent Bisimulation Probabilistic MTS Interval Markov Chains Modal Transition Systems 1991 TAU 1995 CWB Constraint Markov Chains 2010 UPPAAL APAC UPPAAL TIGA Timed MTS 2009 ECDAR 2011 Parameterized MTS Weighted MTS Dual-Priced MTS Modal Contracts 34

35 Timed Automata SEMANTICS: (A,x=0) 3.14 (A,x=3.14) -a? (B,x=3.14) Clocks (A,x=0) Channels (A,x=5.23) -a? (B,x=5.23) Networks (ERROR, x=5.23) 35

36 Extended Timed Automata const int N = 10; const int D = 30; const int d = 4; typedef int[0,n-1] id_t; Clocks Channels Networks Integer variables Structure variables, clocks, channels User defined types and functíons broadcast chan rec[n]; broadcast chan w[n]; int UT (int X, int Y) { return (X+1)*Y; } 36

37 Timed MTS, Refinements & Implementations 37

38 Real-Time version of Milner s Scheduler S w 0 rec 0 N rec 1 0 w 1 N 1 w 1 rec 2 w i+1 N i+1 N 2 rec i+1 N i w 2 w i rec i 38

39 Real-Time version of Milner s Scheduler S w 0 rec 0 N rec 1 0 w 1 N 1 w 1 rec 2 w i+1 N i+1 N 2 rec i+1 N i w 2 w i rec i 39

40 Simulation & Verification A[] not Env.ERROR A[] forall (i:id_t) forall (j:id_t) ( Node(i).Token and Node(j).Token imply i==j) 40

41 Milner s Scheduler Compositionaly S w 0 rec 0 N 0 rec 1 w1 Find SS i and verify: N 1 rec 2 1. N 1 SS 1 w i+1 N i+1 2. SS 1 N 2 SS 2 N 2 3. SS rec 2 N 3 SS 3 i+1 w N 2 i rec i n. SS n-1 N n SS n w i n+1. SS n N 0 SPEC 41

42 Milner s Scheduler Compositionaly S rec 0 N 0 w 0 rec 1 N 1 w1 rec 2 w i+1 N i+1 N 2 A 1 rec[1]! occurs with > Find N*D SS time i sep. rec i+1 w N 2 i A 2 w i rec i After rec[1]? then rec[i+1]! Gwithin [d*i i,d*i] No new rec[1]! until rec[i+1]? 42

43 Milner s Scheduler Compositionaly S rec 0 N 0 w 0 rec 1 N 1 w1 rec 2 w i+1 N i+1 N 2 A 1 Take SS i = (A 1 & A 2 )>>G rec i+1 w N 2 i A 2 w i rec i G 43

44 Milner s Scheduler Compositionaly S rec 0 N 0 w 0 rec 1 w1 Take SS i = (A 1 & A 2 )>>G N 1 rec 2 w i+1 N i+1 N 2 rec i+1 w 2 N i w i rec i 44

45 Experiments D=30 45

46 Bisimulation Context Dependent Bisimulation Probabilistic MTS Interval Markov Chains Modal Transition Systems 1991 TAU 1995 CWB UPPAAL Constraint Markov Chains 2010 APAC Timed MTS 2009 ECDAR 2011 Parameterized MTS Weighted MTS Dual-Priced MTS Modal Contracts 46

47 Bisimulation Context Dependent Bisimulation Probabilistic MTS Modal Transition Systems 1989 TAU CWB UPPAAL ChainsParameterized MTS Interval Markov Constraint Markov Chains Weighted MTS 2005 Timed MTS Dual-Priced Pi MTS 2009 ECDAR Modal Contracts 2011 APAC Metrics 47

Modelling Real-Time Systems. Henrik Ejersbo Jensen Aalborg University

Modelling Real-Time Systems. Henrik Ejersbo Jensen Aalborg University Modelling Real-Time Systems Henrik Ejersbo Jensen Aalborg University Hybrid & Real Time Systems Control Theory Plant Continuous sensors actuators Task TaskTask Controller Program Discrete Computer Science

More information

Communication and Concurrency: CCS. R. Milner, A Calculus of Communicating Systems, 1980

Communication and Concurrency: CCS. R. Milner, A Calculus of Communicating Systems, 1980 Communication and Concurrency: CCS R. Milner, A Calculus of Communicating Systems, 1980 Why calculi? Prove properties on programs and languages Principle: tiny syntax, small semantics, to be handled on

More information

Fundamentals of Logic

Fundamentals of Logic Fundamentals of Logic No.5 Soundness and Completeness Tatsuya Hagino Faculty of Environment and Information Studies Keio University 2015/5/18 Tatsuya Hagino (Faculty of Environment and InformationFundamentals

More information

On Distribution Based Bisimulations for Probabilistic Automata

On Distribution Based Bisimulations for Probabilistic Automata On Distribution Based Bisimulations for Probabilistic Automata AVACS alumni technical talk Lijun Zhang Institute of Software, Chinese Academy of Sciences Joint work with Holger Hermanns, Lei Song, Christian

More information

Communication and Concurrency: CCS

Communication and Concurrency: CCS Communication and Concurrency: CCS R. Milner, A Calculus of Communicating Systems, 1980 cours SSDE Master 1 Why calculi? Prove properties on programs and languages Principle: tiny syntax, small semantics,

More information

Probabilistic Bisimilarity as Testing Equivalence

Probabilistic Bisimilarity as Testing Equivalence Probabilistic Bisimilarity as Testing Equivalence Yuxin Deng a,, Yuan Feng b a Shanghai Key Laboratory of Trustworthy Computing, MOE International Joint Lab of Trustworthy Software, and International Research

More information

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32 A Note on Scope and Infinite Behaviour in CCS-like Calculi GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Joint work with Pablo Giambiagi and Frank Valencia A

More information

An introduction to Uppaal and Timed Automata MVP5 1

An introduction to Uppaal and Timed Automata MVP5 1 An introduction to Uppaal and Timed Automata MVP5 1 What is Uppaal? (http://www.uppaal.com/) A simple graphical interface for drawing extended finite state machines (automatons + shared variables A graphical

More information

Models of Concurrency

Models of Concurrency Models of Concurrency GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Thanks to Frank Valencia Models of Concurrency p.1/57 Concurrency is Everywhere Concurrent

More information

Partial model checking via abstract interpretation

Partial model checking via abstract interpretation Partial model checking via abstract interpretation N. De Francesco, G. Lettieri, L. Martini, G. Vaglini Università di Pisa, Dipartimento di Ingegneria dell Informazione, sez. Informatica, Via Diotisalvi

More information

Timed I/O Automata: A Complete Specification Theory for Real-time Systems

Timed I/O Automata: A Complete Specification Theory for Real-time Systems Timed I/O Automata: A Complete Specification Theory for Real-time Systems Alexandre David Computer Science Aalborg University, Denmark adavid@cs.aau.dk Ulrik Nyman Computer Science Aalborg University,

More information

A logical framework to deal with variability

A logical framework to deal with variability A logical framework to deal with variability (research in progress) M.H. ter Beek joint work with P. Asirelli, A. Fantechi and S. Gnesi ISTI CNR Università di Firenze XXL project meeting Pisa, 21 June

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr Semantic Equivalences and the Verification of Infinite-State Systems Richard Mayr Department of Computer Science Albert-Ludwigs-University Freiburg Germany Verification of Infinite-State Systems 1 c 2004

More information

Robustness Analysis of Networked Systems

Robustness Analysis of Networked Systems Robustness Analysis of Networked Systems Roopsha Samanta The University of Texas at Austin Joint work with Jyotirmoy V. Deshmukh and Swarat Chaudhuri January, 0 Roopsha Samanta Robustness Analysis of Networked

More information

Timed Automata VINO 2011

Timed Automata VINO 2011 Timed Automata VINO 2011 VeriDis Group - LORIA July 18, 2011 Content 1 Introduction 2 Timed Automata 3 Networks of timed automata Motivation Formalism for modeling and verification of real-time systems.

More information

Lecture 11: Timed Automata

Lecture 11: Timed Automata Real-Time Systems Lecture 11: Timed Automata 2014-07-01 11 2014-07-01 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: DC (un)decidability This Lecture:

More information

Real-Time Systems. Lecture 10: Timed Automata Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany main

Real-Time Systems. Lecture 10: Timed Automata Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany main Real-Time Systems Lecture 10: Timed Automata 2013-06-04 10 2013-06-04 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: PLC, PLC automata This Lecture:

More information

Automata-Theoretic Model Checking of Reactive Systems

Automata-Theoretic Model Checking of Reactive Systems Automata-Theoretic Model Checking of Reactive Systems Radu Iosif Verimag/CNRS (Grenoble, France) Thanks to Tom Henzinger (IST, Austria), Barbara Jobstmann (CNRS, Grenoble) and Doron Peled (Bar-Ilan University,

More information

Roberto Bruni, Ugo Montanari DRAFT. Models of Computation. Monograph. May 18, Springer

Roberto Bruni, Ugo Montanari DRAFT. Models of Computation. Monograph. May 18, Springer Roberto Bruni, Ugo Montanari Models of Computation Monograph May 18, 2016 Springer Mathematical reasoning may be regarded rather schematically as the exercise of a combination of two facilities, which

More information

A Context Dependent Equivalence Relation Between Kripke Structures (Extended abstract)

A Context Dependent Equivalence Relation Between Kripke Structures (Extended abstract) A Context Dependent Equivalence Relation Between Kripke Structures (Extended abstract) Bernhard Josko Computer Science Department, University of Oldenburg 2900 Oldenburg, Federal Republic of Germany Abstract

More information

Modal and Temporal Logics

Modal and Temporal Logics Modal and Temporal Logics Colin Stirling School of Informatics University of Edinburgh July 23, 2003 Why modal and temporal logics? 1 Computational System Modal and temporal logics Operational semantics

More information

Timed Games and. Stochastic Priced Timed Games

Timed Games and. Stochastic Priced Timed Games STRATEGO Timed Games and TIGA Stochastic Priced Timed Games Synthesis & Machine Learning Kim G. Larsen Aalborg University DENMARK Overview Timed Automata Decidability (regions) Symbolic Verification (zones)

More information

Their proof is rather lengthy and hard to grasp; it ultimately relies on showing a periodicity for any transition graph generated from normed context-

Their proof is rather lengthy and hard to grasp; it ultimately relies on showing a periodicity for any transition graph generated from normed context- Bisimulation Equivalence is Decidable for all Context-Free Processes Sren Christensen Hans Huttel y Colin Stirling 1 Introduction Over the past decade much attention has been devoted to the study of process

More information

Strong bisimilarity can be opened

Strong bisimilarity can be opened Strong bisimilarity can be opened Henning E. Andersen Hans Hüttel Karina N. Jensen June 7, 2002 Abstract We present an extension of the semantics of the π-calculus without match where strong bisimilarity

More information

Model Checking & Program Analysis

Model Checking & Program Analysis Model Checking & Program Analysis Markus Müller-Olm Dortmund University Overview Introduction Model Checking Flow Analysis Some Links between MC and FA Conclusion Apology for not giving proper credit to

More information

Recent results on Timed Systems

Recent results on Timed Systems Recent results on Timed Systems Time Petri Nets and Timed Automata Béatrice Bérard LAMSADE Université Paris-Dauphine & CNRS berard@lamsade.dauphine.fr Based on joint work with F. Cassez, S. Haddad, D.

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

Performance Analysis of ARQ Protocols using a Theorem Prover

Performance Analysis of ARQ Protocols using a Theorem Prover Performance Analysis of ARQ Protocols using a Theorem Prover Osman Hasan Sofiene Tahar Hardware Verification Group Concordia University Montreal, Canada ISPASS 2008 Objectives n Probabilistic Theorem Proving

More information

State Explosion in Almost-Sure Probabilistic Reachability

State Explosion in Almost-Sure Probabilistic Reachability State Explosion in Almost-Sure Probabilistic Reachability François Laroussinie Lab. Spécification & Vérification, ENS de Cachan & CNRS UMR 8643, 61, av. Pdt. Wilson, 94235 Cachan Cedex France Jeremy Sproston

More information

Reasoning About Bounds In Weighted Transition Systems

Reasoning About Bounds In Weighted Transition Systems Reasoning About Bounds In Weighted Transition Systems QuantLA 2017 September 18, 2017 Mikkel Hansen, Kim Guldstrand Larsen, Radu Mardare, Mathias Ruggaard Pedersen and Bingtian Xue {mhan, kgl, mardare,

More information

Revisiting Timed Specification Theories: A Linear-Time Perspective

Revisiting Timed Specification Theories: A Linear-Time Perspective Revisiting Timed Specification Theories: A Linear-Time Perspective Chris Chilton, Marta Kwiatkowska, and Xu Wang Department of Computer Science, University of Oxford, UK Abstract. We consider the setting

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

Linear Temporal Logic (LTL)

Linear Temporal Logic (LTL) Chapter 9 Linear Temporal Logic (LTL) This chapter introduces the Linear Temporal Logic (LTL) to reason about state properties of Labelled Transition Systems defined in the previous chapter. We will first

More information

Symbolic Real Time Model Checking. Kim G Larsen

Symbolic Real Time Model Checking. Kim G Larsen Smbolic Real Time Model Checking Kim G Larsen Overview Timed Automata Decidabilit Results The UPPAAL Verification Engine Datastructures for zones Liveness Checking Algorithm Abstraction and Compositionalit

More information

Algebraic Trace Theory

Algebraic Trace Theory Algebraic Trace Theory EE249 Roberto Passerone Material from: Jerry R. Burch, Trace Theory for Automatic Verification of Real-Time Concurrent Systems, PhD thesis, CMU, August 1992 October 21, 2002 ee249

More information

Design of Distributed Systems Melinda Tóth, Zoltán Horváth

Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Publication date 2014 Copyright 2014 Melinda Tóth, Zoltán Horváth Supported by TÁMOP-412A/1-11/1-2011-0052

More information

A Faster-Than Relation for Semi-Markov Decision Processes

A Faster-Than Relation for Semi-Markov Decision Processes A Faster-Than Relation for Semi-Markov Decision Processes QAPL 2019 April 7, 2019 Mathias Ruggaard Pedersen, Giorgio Bacci, and Kim Guldstrand Larsen {mrp, grbacci, kgl}@cs.aau.dk Department of Computer

More information

Bisimulation and coinduction in higher-order languages

Bisimulation and coinduction in higher-order languages Bisimulation and coinduction in higher-order languages Davide Sangiorgi Focus Team, University of Bologna/INRIA ICE, Florence, June 2013 Bisimulation Behavioural equality One of the most important contributions

More information

Embedded Systems Development

Embedded Systems Development Embedded Systems Development Lecture 2 Finite Automata & SyncCharts Daniel Kästner AbsInt Angewandte Informatik GmbH kaestner@absint.com Some things I forgot to mention 2 Remember the HISPOS registration

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

A Weak Bisimulation for Weighted Automata

A Weak Bisimulation for Weighted Automata Weak Bisimulation for Weighted utomata Peter Kemper College of William and Mary Weighted utomata and Semirings here focus on commutative & idempotent semirings Weak Bisimulation Composition operators Congruence

More information

Modelling and Analysing Variability in Product Families

Modelling and Analysing Variability in Product Families Modelling and Analysing Variability in Product Families Maurice H. ter Beek ISTI CNR, Pisa, Italy joint work with P. Asirelli A. Fantechi S. Gnesi ISTI CNR University of Florence ISTI CNR University of

More information

Probabilistic testing coverage

Probabilistic testing coverage Probabilistic testing coverage NICOLAE GOGA Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven THE NETHERLANDS Abstract: This paper describes a way to compute the coverage for an on-the-fly

More information

Abstractions and Decision Procedures for Effective Software Model Checking

Abstractions and Decision Procedures for Effective Software Model Checking Abstractions and Decision Procedures for Effective Software Model Checking Prof. Natasha Sharygina The University of Lugano, Carnegie Mellon University Microsoft Summer School, Moscow, July 2011 Lecture

More information

EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories. Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo

EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories. Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories 1 Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo Outline: Contracts and compositional methods for system design Where and why using

More information

Algebraic Trace Theory

Algebraic Trace Theory Algebraic Trace Theory EE249 Presented by Roberto Passerone Material from: Jerry R. Burch, Trace Theory for Automatic Verification of Real-Time Concurrent Systems, PhD thesis, CMU, August 1992 October

More information

Interface Input/Output Automata Larsen, Kim Guldstrand; Nyman, Ulrik Mathias; Wasowski, Andrzej

Interface Input/Output Automata Larsen, Kim Guldstrand; Nyman, Ulrik Mathias; Wasowski, Andrzej Aalborg Universitet Interface Input/Output Automata Larsen, Kim Guldstrand; Nyman, Ulrik Mathias; Wasowski, Andrzej Published in: FM 2006: Formal Methods DOI (link to publication from Publisher): 10.1007/11813040_7

More information

On the specification of modal systems: a comparison of three frameworks

On the specification of modal systems: a comparison of three frameworks On the specification of modal systems: a comparison of three frameworks Luca Aceto a, Ignacio Fábregas b, David de Frutos-Escrig b, Anna Ingólfsdóttir a, Miguel Palomino b a ICE-TCS, School of Computer

More information

Software Verification with Abstraction-Based Methods

Software Verification with Abstraction-Based Methods Software Verification with Abstraction-Based Methods Ákos Hajdu PhD student Department of Measurement and Information Systems, Budapest University of Technology and Economics MTA-BME Lendület Cyber-Physical

More information

Michael Franke Fritz Hamm. January 26, 2011

Michael Franke Fritz Hamm. January 26, 2011 Michael Franke Fritz Hamm Seminar für Sprachwissenschaft January 26, 2011 Three n would, p would, l would, n might p might l might Basic intuition (1) If that match had been scratched, it would have lighted.

More information

A Complete Approximation Theory for Weighted Transition Systems,

A Complete Approximation Theory for Weighted Transition Systems, A Complete Approximation Theory for Weighted Transition Systems, Mikkel Hansen 1, Kim Guldstrand Larsen 1, Radu Mardare 1, Mathias Ruggaard Pedersen 1, and Bingtian Xue 1 Department of Computer Science,

More information

ESE601: Hybrid Systems. Introduction to verification

ESE601: Hybrid Systems. Introduction to verification ESE601: Hybrid Systems Introduction to verification Spring 2006 Suggested reading material Papers (R14) - (R16) on the website. The book Model checking by Clarke, Grumberg and Peled. What is verification?

More information

Discrete abstractions of hybrid systems for verification

Discrete abstractions of hybrid systems for verification Discrete abstractions of hybrid systems for verification George J. Pappas Departments of ESE and CIS University of Pennsylvania pappasg@ee.upenn.edu http://www.seas.upenn.edu/~pappasg DISC Summer School

More information

Aalborg Universitet. Published in: Formal Aspects of Component Software. DOI (link to publication from Publisher): / _5

Aalborg Universitet. Published in: Formal Aspects of Component Software. DOI (link to publication from Publisher): / _5 Aalborg Universitet A Modal Specification Theory for Components with Data Bauer, Sebastian S.; Larsen, Kim Guldstrand; Legay, Axel; Nyman, Ulrik Mathias; Wasowski, Andrzej Published in: Formal Aspects

More information

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Review Goal of logic To check whether given a formula

More information

Energy Centric Quantitative Model Checking

Energy Centric Quantitative Model Checking Energy Centric Quantitative Model Checking Kim G. Larsen Aalborg University DENMARK Axel Legay Inria FRANCE Partners Aalborg University, DK Kim G Larsen RWTH Aachen University, D Joost-Pieter Katoen Inria,

More information

Plan diagnosis with agents

Plan diagnosis with agents Plan diagnosis with agents Nico Roos a Cees Witteveen b c a IKAT, Universiteit Maastricht, P.O. Box 616, NL-6200 MD Maastricht, e-mail: roos@cs.unimaas.nl b Faculty EEMCS Delft University of Technology,

More information

Probabilistic Model Checking of Security Protocols without Perfect Cryptography Assumption

Probabilistic Model Checking of Security Protocols without Perfect Cryptography Assumption Our Model Checking of Security Protocols without Perfect Cryptography Assumption Czestochowa University of Technology Cardinal Stefan Wyszynski University CN2016 Our 1 2 3 Our 4 5 6 7 Importance of Security

More information

Equivalence Notions and Model Minimization in Markov Decision Processes

Equivalence Notions and Model Minimization in Markov Decision Processes Equivalence Notions and Model Minimization in Markov Decision Processes Robert Givan, Thomas Dean, and Matthew Greig Robert Givan and Matthew Greig School of Electrical and Computer Engineering Purdue

More information

Efficient Model-Checking of Weighted CTL with Upper-Bound Constraints

Efficient Model-Checking of Weighted CTL with Upper-Bound Constraints Software Tools for Technology Transfer manuscript No. (will be inserted by the editor) Efficient Model-Checking of Weighted CTL with Upper-Bound Constraints Jonas Finnemann Jensen, Kim Guldstrand Larsen,

More information

Matching Logic: Syntax and Semantics

Matching Logic: Syntax and Semantics Matching Logic: Syntax and Semantics Grigore Roșu 1 and Traian Florin Șerbănuță 2 1 University of Illinois at Urbana-Champaign, USA grosu@illinois.edu 2 University of Bucharest, Romania traian.serbanuta@unibuc.ro

More information

Recent Developments in and Around Coaglgebraic Logics

Recent Developments in and Around Coaglgebraic Logics Recent Developments in and Around Coaglgebraic Logics D. Pattinson, Imperial College London (in collaboration with G. Calin, R. Myers, L. Schröder) Example: Logics in Knowledge Representation Knowledge

More information

03 Review of First-Order Logic

03 Review of First-Order Logic CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of

More information

Adding Symmetry Reduction to Uppaal

Adding Symmetry Reduction to Uppaal Adding Symmetry Reduction to Uppaal Martijn Hendriks 1 Gerd Behrmann 2 Kim Larsen 2 Peter Niebert 3 Frits Vaandrager 1 1 Nijmegen Institute for Computing and Information Sciences, University of Nijmegen,

More information

Boolean bunched logic: its semantics and completeness

Boolean bunched logic: its semantics and completeness Boolean bunched logic: its semantics and completeness James Brotherston Programming Principles, Logic and Verification Group Dept. of Computer Science University College London, UK J.Brotherston@ucl.ac.uk

More information

Formal Techniques for Software Engineering: CCS: A Calculus for Communicating Systems

Formal Techniques for Software Engineering: CCS: A Calculus for Communicating Systems Formal Techniques for Software Engineering: CCS: A Calculus for Communicating Systems Rocco De Nicola IMT Institute for Advanced Studies, Lucca rocco.denicola@imtlucca.it June 2013 Lesson 10 R. De Nicola

More information

Soundness and Completeness of Axiomatic Semantics

Soundness and Completeness of Axiomatic Semantics #1 Soundness and Completeness of Axiomatic Semantics #2 One-Slide Summary A system of axiomatic semantics is sound if everything we can prove is also true: if ` { A } c { B } then ² { A } c { B } We prove

More information

Reachability-Time Games on Timed Automata (Extended Abstract)

Reachability-Time Games on Timed Automata (Extended Abstract) Reachability-Time Games on Timed Automata (Extended Abstract) Marcin Jurdziński and Ashutosh Trivedi Department of Computer Science, University of Warwick, UK Abstract. In a reachability-time game, players

More information

On simulations and bisimulations of general flow systems

On simulations and bisimulations of general flow systems On simulations and bisimulations of general flow systems Jen Davoren Department of Electrical & Electronic Engineering The University of Melbourne, AUSTRALIA and Paulo Tabuada Department of Electrical

More information

QEES lecture 5. Timed Automata. Welcome. Marielle Stoelinga Formal Methods & Tools

QEES lecture 5. Timed Automata. Welcome. Marielle Stoelinga Formal Methods & Tools QEES lecture 5 Timed Automata Welcome Marielle Stoelinga Formal Methods & Tools Agenda 1. Solution to exercises 2. Timed Automata @ QEES content of 4 lectures 3. Formal definitions 4. Work on Assignment:

More information

Trace Refinement of π-calculus Processes

Trace Refinement of π-calculus Processes Trace Refinement of pi-calculus Processes Trace Refinement of π-calculus Processes Manuel Gieseking manuel.gieseking@informatik.uni-oldenburg.de) Correct System Design, Carl von Ossietzky University of

More information

Monotonic Abstraction in Parameterized Verification

Monotonic Abstraction in Parameterized Verification Monotonic Abstraction in Parameterized Verification Parosh Aziz Abdulla 1 Department of Information Technology Uppsala University Sweden Giorgio Delzanno 2 Dipartimento Informatica e Scienze dell Informazione

More information

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark Model Theory of Modal Logic Lecture 5 Valentin Goranko Technical University of Denmark Third Indian School on Logic and its Applications Hyderabad, January 29, 2010 Model Theory of Modal Logic Lecture

More information

Simulations and Bisimulations for Coalgebraic Modal Logics

Simulations and Bisimulations for Coalgebraic Modal Logics Simulations and Bisimulations for Coalgebraic Modal Logics Daniel Gorín and Lutz Schröder Department of Computer Science, Universität Erlangen-Nürnberg Abstract. Simulations serve as a proof tool to compare

More information

Some techniques and results in deciding bisimilarity

Some techniques and results in deciding bisimilarity Some techniques and results in deciding bisimilarity Petr Jančar Dept of Computer Science Technical University Ostrava (FEI VŠB-TU) Czech Republic www.cs.vsb.cz/jancar Talk at the Verification Seminar,

More information

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang Timed Automata Semantics, Algorithms and Tools Zhou Huaiyang Agenda } Introduction } Timed Automata } Formal Syntax } Operational Semantics } Verification Problems } Symbolic Semantics & Verification }

More information

Making the unobservable, unobservable

Making the unobservable, unobservable ICE 2008 Making the unobservable, unobservable Julian Rathke ecs, University of Southampton awe l Sobociński 1 ecs, University of Southampton Abstract Behavioural equivalences of various calculi for modelling

More information

Towards Lightweight Integration of SMT Solvers

Towards Lightweight Integration of SMT Solvers Towards Lightweight Integration of SMT Solvers Andrei Lapets Boston University Boston, USA lapets@bu.edu Saber Mirzaei Boston University Boston, USA smirzaei@bu.edu 1 Introduction A large variety of SMT

More information

Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST

Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr CS402 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

Overview. 1 Lecture 1: Introduction. 2 Lecture 2: Message Sequence Charts. Joost-Pieter Katoen Theoretical Foundations of the UML 1/32

Overview. 1 Lecture 1: Introduction. 2 Lecture 2: Message Sequence Charts. Joost-Pieter Katoen Theoretical Foundations of the UML 1/32 Overview 1 Lecture 1: Introduction 2 Lecture 2: Message Sequence Charts Joost-Pieter Katoen Theoretical Foundations of the UML 1/32 Theoretical Foundations of the UML Lecture 1: Introduction Joost-Pieter

More information

Concurrent Processes and Reaction

Concurrent Processes and Reaction Concurrent Processes and Reaction Overview External and internal actions Observations Concurrent process expressions Structural congruence Reaction References Robin Milner, Communication and Concurrency

More information

Computing and Communications 2. Information Theory -Entropy

Computing and Communications 2. Information Theory -Entropy 1896 1920 1987 2006 Computing and Communications 2. Information Theory -Entropy Ying Cui Department of Electronic Engineering Shanghai Jiao Tong University, China 2017, Autumn 1 Outline Entropy Joint entropy

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Communicating and Mobile Systems

Communicating and Mobile Systems Communicating and Mobile Systems Overview:! Programming Model! Interactive Behavior! Labeled Transition System! Bisimulation! The π-calculus! Data Structures and λ-calculus encoding in the π-calculus References:!

More information

Expressiveness, decidability, and undecidability of Interval Temporal Logic

Expressiveness, decidability, and undecidability of Interval Temporal Logic University of Udine Department of Mathematics and Computer Science Expressiveness, decidability, and undecidability of Interval Temporal Logic ITL - Beyond the end of the light Ph.D. Defence Dario Della

More information

Decidable Subsets of CCS

Decidable Subsets of CCS Decidable Subsets of CCS based on the paper with the same title by Christensen, Hirshfeld and Moller from 1994 Sven Dziadek Abstract Process algebra is a very interesting framework for describing and analyzing

More information

Interval Temporal Logics over Strongly Discrete Linear Orders: the Complete Picture

Interval Temporal Logics over Strongly Discrete Linear Orders: the Complete Picture Interval Temporal Logics over Strongly Discrete Linear Orders: the Complete Picture D.Bresolin, D. Della Monica, A. Montanari, P. Sala, G. Sciavicco ICE-TCS, School of Computer Science, Reykjavik University,

More information

Hoare Logic (I): Axiomatic Semantics and Program Correctness

Hoare Logic (I): Axiomatic Semantics and Program Correctness Hoare Logic (I): Axiomatic Semantics and Program Correctness (Based on [Apt and Olderog 1991; Gries 1981; Hoare 1969; Kleymann 1999; Sethi 199]) Yih-Kuen Tsay Dept. of Information Management National Taiwan

More information

An introduction to process calculi: Calculus of Communicating Systems (CCS)

An introduction to process calculi: Calculus of Communicating Systems (CCS) An introduction to process calculi: Calculus of Communicating Systems (CCS) Lecture 2 of Modelli Matematici dei Processi Concorrenti Paweł Sobociński University of Southampton, UK Intro to process calculi:

More information

On closures of lexicographic star-free languages. E. Ochmański and K. Stawikowska

On closures of lexicographic star-free languages. E. Ochmański and K. Stawikowska On closures of lexicographic star-free languages E. Ochmański and K. Stawikowska Preprint No 7/2005 Version 1, posted on April 19, 2005 On closures of lexicographic star-free languages Edward Ochma ski

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

Definability in Boolean bunched logic

Definability in Boolean bunched logic Definability in Boolean bunched logic James Brotherston Programming Principles, Logic and Verification Group Dept. of Computer Science University College London, UK J.Brotherston@ucl.ac.uk Logic Summer

More information

Trace Diagnostics using Temporal Implicants

Trace Diagnostics using Temporal Implicants Trace Diagnostics using Temporal Implicants ATVA 15 Thomas Ferrère 1 Dejan Nickovic 2 Oded Maler 1 1 VERIMAG, University of Grenoble / CNRS 2 Austrian Institute of Technology October 14, 2015 Motivation

More information

A note on coinduction and weak bisimilarity for while programs

A note on coinduction and weak bisimilarity for while programs Centrum voor Wiskunde en Informatica A note on coinduction and weak bisimilarity for while programs J.J.M.M. Rutten Software Engineering (SEN) SEN-R9826 October 31, 1998 Report SEN-R9826 ISSN 1386-369X

More information

Duality in Probabilistic Automata

Duality in Probabilistic Automata Duality in Probabilistic Automata Chris Hundt Prakash Panangaden Joelle Pineau Doina Precup Gavin Seal McGill University MFPS May 2006 Genoa p.1/40 Overview We have discovered an - apparently - new kind

More information

03 Propositional Logic II

03 Propositional Logic II Martin Henz February 12, 2014 Generated on Wednesday 12 th February, 2014, 09:49 1 Review: Syntax and Semantics of Propositional Logic 2 3 Propositional Atoms and Propositions Semantics of Formulas Validity,

More information

Formalising the π-calculus in Isabelle

Formalising the π-calculus in Isabelle Formalising the π-calculus in Isabelle Jesper Bengtson Department of Computer Systems University of Uppsala, Sweden 30th May 2006 Overview This talk will cover the following Motivation Why are we doing

More information

EMBEDDED SYSTEMS WILLIAM C. ROUNDS AND HOSUNG SONG

EMBEDDED SYSTEMS WILLIAM C. ROUNDS AND HOSUNG SONG THE φ-calculus A HYBRID EXTENSION OF THE π-calculus TO EMBEDDED SYSTEMS WILLIAM C. ROUNDS AND HOSUNG SONG 1. Introduction Embedded systems are software systems which reside in a physical environment and

More information