An Operational Semantics for Model Checking Long Running Transactions

Size: px
Start display at page:

Download "An Operational Semantics for Model Checking Long Running Transactions"

Transcription

1 An Operational Semantics for Model Checking Long Running Transactions Hengbiao Yu, Zhenbang Chen, Ji Wang School of Computer, National University of Defense Technology, Changsha, China National Laboratory for Parallel and Distributed Processing, Changsha, China

2 Long Running Transactions Database Long-lived transactions ACID transactions SAGAS 1987, SIGMOD Compensation

3 Compensation

4 Compensation-based LRTs An activity has its compensation activity Use compensations in case of failures A relaxed atomicity and consistency a1 a2 a3 Failure b1 b2 b3

5 Service-Oriented Computing Services are world wide distributed Coordinate to accomplish a task Highly dynamic, not stable How to ensure consistency in case of a failure? Long running transactions

6 Compensation-based Programming in SOC Industrial service orchestration languages Compensation based fault handling Very flexible recovery mechanisms Fault Handler Compensation Handler WS-BPEL 2.0, OASIS Standard, 11 April 2007

7 Compensation-based Programming in SOC Industrial service orchestration languages Compensation based fault handling Very flexible recovery mechanisms Formal Languages ccsp, StAC, SAGAs Calculi, etc. Theoretical foundations

8 Compensating CSP A CSP variant for modeling LRTs Proposed by Butler et al., 2005 Two types of processes Standard & Compensable Composition operators Choice, sequence, interleaving, etc.

9 Extended ccsp P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Enabling the modeling of non-determinism, deadlock and livelock Stable-failures semantics Zhenbang Chen and Zhiming Liu. An Extended ccsp with Stable Failures Semantics. 7th International Colloquium on Theoretical Aspects of Computing (ICTAC 10), LNCS 6255, 2010.

10 Extended ccsp P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Failure-divergence semantics, refinement Zhenbang Chen, Zhiming Liu and Ji Wang. Failure-Divergence Refinement of Compensating Communicating Processes. 17th International Symposium on Formal Methods (FM 11), LNCS 6664, Zhenbang Chen, Zhiming Liu and Ji Wang. Failure-Divergence Semantics and Refinement of Long Running Transactions. Theoretical Computer Science (TCS), Vol 455, pp:31-65, 2012

11 Current Issue No operational semantics for extended ccsp There is one for ccsp No tool support for modeling and verification Animating Model checking...

12 What we have done in this paper An operational semantics for the extended ccsp Model checking problem w.r.t. regular properties A prototype tool built on PAT Modeling, animating and model checking

13 Operational Semantics P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Compensation Pair P e! P 0 P Q e! P 0 Q (e 2 ) P! 0 P Q! Q P!! 0 P Q!! skip (! 2 {!,?}) Example a1 b1 a1 skip b1 b 1

14 Operational Semantics P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Sequential Composition PP! P ^ QQ! e QQ 0 PP; QQ! e (e 2 ) h QQ 0,Pi PP! P ^ QQ! Q PP; QQ! (! 2 ) Q; P Example a1 b1 ; a2 b2 a1 skip b1 ; a2 b2 a2 skip b2, b1

15 Operational Semantics P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Nested Configuration QQ e! QQ 0 hqq, P i e! h QQ 0,Pi (e 2 ) QQ!! Q hqq, P i!! Q; P (! 2 ) Example a1 a1 b1 ; a2 b2 skip b1 ; a2 b2 skip b2, b1 a2 b2 ; b1

16 Operational Semantics P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Configuration Discussion a1 b1 ; (skip b2 ; a3 b3) a1 PP! P ^ QQ e! QQ 0 PP; QQ e! h QQ 0,Pi skip b1 ; (skip b2 ; a3 b3) (e 2 ) a3 skip b2 ; a3 b3 skip b3, b2 No rule exists in the before semantics a3 skip b1 ; (skip b2 ; a3 b3) skip b3, b2, b1 b3 ; b2 ; b1

17 Operational Semantics P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Parallel Composition PP e! PP 0 ^ QQ e! QQ 0 PP k QQ e! PP 0 k QQ 0 (e 2 ) PP!1! P ^ QQ!2! Q PP k QQ! 1k! 2! P k Q (! 1,! 2 2 ) Example (a1 b1 a2 b2) {a1,a2} deadlock

18 Operational Semantics P ::= a P ;P P u P P P P k P P \ P JRK P B P [PP] skip throw yield µp.f(p) PP ::= P P PP;PP PP u PP PP PP PP k PP PP PP PP \ PPJRK skipp throww yieldd µpp.ff (pp) Parallel Composition PP e! PP 0 ^ QQ e! QQ 0 PP k QQ e! PP 0 k QQ 0 (e 2 ) PP!1! P ^ QQ!2! Q PP k QQ! 1k! 2! P k Q (! 1,! 2 2 ) Example (a1 b1 a1 b2) {a1,a2} a1 (skip b1 skip b2) {a1,a2} b1 b2 {a1,a2}

19 Correspondence with FD Semantics A method for deriving FD semantics from operational semantics Theorem 1 Inspired by the method for CSP For a standard process P, the derived model according to the operational semantics is equal to the FD model of P. Basic idea of proof: induce the structures of processes

20 Correspondence with FD Semantics A method for deriving FD semantics from operational semantics Theorem 2 Inspired by the method for CSP For a compensable process PP, the derived model according to the operational semantics is equal to the FD model of PP.

21 Model Checking Problem General model checking problem with respect to regular properties Theorem 3 Given a standard process P of the extended ccsp and an FSM R, the language inclusion problem L(T(P)) L(R) is undecidable. Basic idea of proof: reduction from the halting problem of Minsky 2-counter machine

22 Tool Implementation Built on Process Analysis Toolkit (PAT) Extended ccsp parser Operational semantics Implementation Features Modeling environment, animating LTL model checking Refinement checking (only standard process)

23 Tool Screenshots

24 Conclusion An operational semantics for extended ccsp Correspondence with FD semantics Model checking problem discussion A tool for modeling and verifying LRTs Animating, LTL model checking Refinement checking

25 Next Step Refinement checking of compensable processes Model checking Algorithms Applications Business process verification: BPMN Service orchestration verification: WS-BPEL Recovery-oriented Computing

26 End Thank you!

IMT Institute for Advanced Studies, Lucca. Lucca, Italy. Formal Specification, Verification and Analysis of Long-running Transactions

IMT Institute for Advanced Studies, Lucca. Lucca, Italy. Formal Specification, Verification and Analysis of Long-running Transactions IMT Institute for Advanced Studies, Lucca Lucca, Italy Formal Specification, Verification and Analysis of Long-running Transactions PhD Program in Computer Science and Engineering XXIV Cycle By Anne Kersten

More information

On the Expressive Power of Process Interruption and Compensation

On the Expressive Power of Process Interruption and Compensation Under consideration for publication in Math. Struct. in Comp. Science On the Expressive Power of Process Interruption and Compensation M A R I O B R A V E T T I 1 and G I A N L U I G I Z A V A T T A R

More information

University of Surrey. Bounded Retransmission in Event-B CSP: A Case Study. Steve Schneider, Helen Treharne and Heike Wehrheim

University of Surrey. Bounded Retransmission in Event-B CSP: A Case Study. Steve Schneider, Helen Treharne and Heike Wehrheim University of Surrey Bounded Retransmission in Event-B CSP: A Case Study Department of Computing Steve Schneider, Helen Treharne and Heike Wehrheim March 21 st 2011 Computing Sciences Report CS-11-04 Bounded

More information

Durham Research Online

Durham Research Online Durham Research Online Deposited in DRO: 08 November 2010 Version of attached file: Published Version Peer-review status of attached file: Peer-reviewed Citation for published item: Luo, C. and Qin, S.

More information

Bounded Retransmission in Event-B CSP: a Case Study

Bounded Retransmission in Event-B CSP: a Case Study Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 280 (2011) 69 80 www.elsevier.com/locate/entcs Bounded Retransmission in Event-B CSP: a Case Study Steve Schneider

More information

Business Process Technology Master Seminar

Business Process Technology Master Seminar Business Process Technology Master Seminar BPT Group Summer Semester 2008 Agenda 2 Official Information Seminar Timeline Tasks Outline Topics Sergey Smirnov 17 April 2008 Official Information 3 Title:

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

Trace semantics: towards a unification of parallel paradigms Stephen Brookes. Department of Computer Science Carnegie Mellon University

Trace semantics: towards a unification of parallel paradigms Stephen Brookes. Department of Computer Science Carnegie Mellon University Trace semantics: towards a unification of parallel paradigms Stephen Brookes Department of Computer Science Carnegie Mellon University MFCSIT 2002 1 PARALLEL PARADIGMS State-based Shared-memory global

More information

Design and Verification of Long Running Transactions in a Timed Framework

Design and Verification of Long Running Transactions in a Timed Framework Design and Verification of Long Running Transactions in a Timed Framework Ruggero Lanotte a, Andrea Maggiolo Schettini b, Paolo Milazzo b, Angelo Troina c, a Dipartimento di Scienze della Cultura, Politiche

More information

Undecidability in Epistemic Planning

Undecidability in Epistemic Planning Undecidability in Epistemic Planning Thomas Bolander, DTU Compute, Tech Univ of Denmark Joint work with: Guillaume Aucher, Univ Rennes 1 Bolander: Undecidability in Epistemic Planning p. 1/17 Introduction

More information

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security Carlos Olarte and Frank D. Valencia INRIA /CNRS and LIX, Ecole Polytechnique Motivation Concurrent

More information

On Compensation Primitives as Adaptable Processes

On Compensation Primitives as Adaptable Processes On Compensation Primitives as Adaptable Processes Jovana Dedeić University of Novi Sad Jovanka Pantović (Novi Sad) and Jorge A. Pérez (Groningen) LAP 2015 - Dubrovnik, September 24, 2015 Outline 1 Context

More information

Agent-Based HOL Reasoning 1

Agent-Based HOL Reasoning 1 Agent-Based HOL Reasoning 1 Alexander Steen Max Wisniewski Christoph Benzmüller Freie Universität Berlin 5th International Congress on Mathematical Software (ICMS 2016) 1 This work has been supported by

More information

Linking Duration Calculus and TLA

Linking Duration Calculus and TLA Linking Duration Calculus and TLA Yifeng Chen and Zhiming Liu Department of Computer Science, University of Leicester, Leicester LE1 7RH, UK Email: {Y.Chen, Z.Liu}@mcs.le.ac.uk Abstract. Different temporal

More information

On the Formal Interpretation of SysML Blocks using a Safety Critical Case Study

On the Formal Interpretation of SysML Blocks using a Safety Critical Case Study On the Formal Interpretation of SysML Blocks using a Safety Critical Case Study Jaco Jacobs & Andrew Simpson Department of Computer Science, University of Oxford Wolfson Building, Parks Road Oxford OX1

More information

Interface Theory based Formalization and Verification of Orchestration in BPEL4WS

Interface Theory based Formalization and Verification of Orchestration in BPEL4WS Interface Theory based Formalization and Verification of Orchestration in BPEL4WS Zhenbang Chen, Ji Wang*, Wei Dong, Zhichang Qi National Laboratory for Parallel and Distributed Processing, Changsha, China

More information

SPATIAL INFORMATION GRID AND ITS APPLICATION IN GEOLOGICAL SURVEY

SPATIAL INFORMATION GRID AND ITS APPLICATION IN GEOLOGICAL SURVEY SPATIAL INFORMATION GRID AND ITS APPLICATION IN GEOLOGICAL SURVEY K. T. He a, b, Y. Tang a, W. X. Yu a a School of Electronic Science and Engineering, National University of Defense Technology, Changsha,

More information

Trace-based Process Algebras for Real-Time Probabilistic Systems

Trace-based Process Algebras for Real-Time Probabilistic Systems Trace-based Process Algebras for Real-Time Probabilistic Systems Stefano Cattani A thesis submitted to The University of Birmingham for the degree of Doctor of Philosophy School of Computer Science The

More information

Stéphane Lafortune. August 2006

Stéphane Lafortune. August 2006 UNIVERSITY OF MICHIGAN DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE LECTURE NOTES FOR EECS 661 CHAPTER 1: INTRODUCTION TO DISCRETE EVENT SYSTEMS Stéphane Lafortune August 2006 References for

More information

Structure Preserving Bisimilarity,

Structure Preserving Bisimilarity, Structure Preserving Bisimilarity, Supporting an Operational Petri Net Semantics of CCSP Rob van Glabbeek NICTA, Sydney, Australia University of New South Wales, Sydney, Australia September 2015 Milner:

More information

Algorithmic verification

Algorithmic verification Algorithmic verification Ahmed Rezine IDA, Linköpings Universitet Hösttermin 2018 Outline Overview Model checking Symbolic execution Outline Overview Model checking Symbolic execution Program verification

More information

Relative Hilbert-Post completeness for exceptions

Relative Hilbert-Post completeness for exceptions Relative Hilbert-Post completeness for exceptions Dominique Duval with J.-G. Dumas, B. Ekici, D. Pous, J.-C. Reynaud LJK University of Grenoble-Alpes and ENS Lyon November 12., 2015 MACIS 2015, Berlin

More information

Undecidability of ground reducibility. for word rewriting systems with variables. Gregory KUCHEROV andmichael RUSINOWITCH

Undecidability of ground reducibility. for word rewriting systems with variables. Gregory KUCHEROV andmichael RUSINOWITCH Undecidability of ground reducibility for word rewriting systems with variables Gregory KUCHEROV andmichael RUSINOWITCH Key words: Theory of Computation Formal Languages Term Rewriting Systems Pattern

More information

Pei Wang( 王培 ) Temple University, Philadelphia, USA

Pei Wang( 王培 ) Temple University, Philadelphia, USA Pei Wang( 王培 ) Temple University, Philadelphia, USA Artificial General Intelligence (AGI): a small research community in AI that believes Intelligence is a general-purpose capability Intelligence should

More information

Induction in Nonmonotonic Causal Theories for a Domestic Service Robot

Induction in Nonmonotonic Causal Theories for a Domestic Service Robot Induction in Nonmonotonic Causal Theories for a Domestic Service Robot Jianmin Ji 1 and Xiaoping Chen 2 1 Dept. of CSE, The Hong Kong University of Science and Technology, jizheng@mail.ustc.edu.cn 2 Sch.

More information

Integer Linear Programming Based Property Checking for Asynchronous Reactive Systems

Integer Linear Programming Based Property Checking for Asynchronous Reactive Systems IEEE TRANSACTIONS ON SOFTWARE ENGINEERING 1 Integer Linear Programming Based Property Checking for Asynchronous Reactive Systems Stefan Leue Department of Computer and Information Science University of

More information

Can I Find a Partner?

Can I Find a Partner? Can I Find a Partner? Peter Massuthe 1, Alexander Serebrenik 2, Natalia Sidorova 2, and Karsten Wolf 3 1 Humboldt-Universität zu Berlin, Institut für Informatik Unter den Linden 6, 10099 Berlin, Germany

More information

A Modern Mathematical Theory of Co-operating State Machines

A Modern Mathematical Theory of Co-operating State Machines 201 A Modern Mathematical Theory of Co-operating State Machines Antti Valmari Abstract Valmari, Antti (2005). A Modern Mathematical Theory of Co-operating State Machines In Proceedings of the Algorithmic

More information

A Thread Algebra with Multi-level Strategic Interleaving

A Thread Algebra with Multi-level Strategic Interleaving Theory of Computing Systems manuscript No. (will be inserted by the editor) A Thread Algebra with Multi-level Strategic Interleaving J.A. Bergstra 1,2, C.A. Middelburg 3,1 1 Programming Research Group,

More information

Three Analog Neurons Are Turing Universal

Three Analog Neurons Are Turing Universal Three Analog Neurons Are Turing Universal Jiří Šíma Institute of Computer Science, Czech Academy of Sciences, P. O. Box 5, 807 Prague 8, Czech Republic, sima@cs.cas.cz Abstract. The languages accepted

More information

Financial. Analysis. O.Eval = {Low, High} Store. Bid. Update. Risk. Technical. Evaluation. External Consultant

Financial. Analysis. O.Eval = {Low, High} Store. Bid. Update. Risk. Technical. Evaluation. External Consultant ACM PODS98 of CS Dept at Stony Brook University Based Modeling and Analysis of Logic Workows Hasan Davulcu* N.Y. 11794, U.S.A. * Joint with M. Kifer, C.R. Ramakrishnan, I.V. Ramakrishnan Hasan Davulcu

More information

The Complexity of Transducer Synthesis from Multi-Sequential Specifications

The Complexity of Transducer Synthesis from Multi-Sequential Specifications The Complexity of Transducer Synthesis from Multi-Sequential Specifications Léo Exibard 12 Emmanuel Filiot 13 Ismaël Jecker 1 Tuesday, August 28 th, 2018 1 Université libre de Bruxelles 2 LIS Aix-Marseille

More information

Towards a Mechanised Denotational Semantics for Modelica

Towards a Mechanised Denotational Semantics for Modelica Towards a Mechanised Denotational Semantics for Modelica Simon Foster Bernhard Thiele Jim Woodcock Peter Fritzson Department of Computer Science, University of York PELAB, Linköping University 3rd February

More information

CS481F01 Solutions 8

CS481F01 Solutions 8 CS481F01 Solutions 8 A. Demers 7 Dec 2001 1. Prob. 111 from p. 344 of the text. One of the following sets is r.e. and the other is not. Which is which? (a) { i L(M i ) contains at least 481 elements }

More information

Relational Interfaces and Refinement Calculus for Compositional System Reasoning

Relational Interfaces and Refinement Calculus for Compositional System Reasoning Relational Interfaces and Refinement Calculus for Compositional System Reasoning Viorel Preoteasa Joint work with Stavros Tripakis and Iulia Dragomir 1 Overview Motivation General refinement Relational

More information

Parameterised! Linearisability Andrea Cerone

Parameterised! Linearisability Andrea Cerone ised! Linearisability Andrea Cerone Joint work with Alexey Gotsman and Hongseok Yang ICALP - Copenhagen, July 8th, 2014 A Simple Example Converting a sequential data structure into a concurrent one Trivial

More information

Semantic Families for Cyber-physical Systems

Semantic Families for Cyber-physical Systems Semantic Families for Cyber-physical Systems Jan Peleska University of Bremen Verified Systems International GmbH jp@cs.uni-bremen.de 2015-12-07 BCS FACS - Annual Peter Landin Semantics Seminar 2015 Overview

More information

Specifying and Analysing Networks of Processes in CSP T (or In Search of Associativity)

Specifying and Analysing Networks of Processes in CSP T (or In Search of Associativity) Specifying and Analysing Networks of Processes in CSP T (or In Search of Associativity) Paul Howells University of Westminster Mark d Inverno Goldsmiths, University of London Communicating Process Architectures

More information

Probabilistic Action System Trace Semantics

Probabilistic Action System Trace Semantics Probabilistic Action System Trace Semantics Larissa Meinicke April 007 Technical Report SSE-007-0 Division of Systems and Software Engineering Research School of Information Technology and Electrical Engineering

More information

Towards a Failure Model of Software Components

Towards a Failure Model of Software Components Towards a Failure Model of Software Components Ruzhen Dong 1,2, Naijun Zhan 3 1 Dipartmento di Informatica, Università di Pisa, Italy 2 UNU-IIST, Macau ruzhen@iist.unu.edu 3 State Key Lab. of Computer

More information

Choreographies and Behavioural Contracts on the Way to Dynamic Updates

Choreographies and Behavioural Contracts on the Way to Dynamic Updates Choreographies and Behavioural Contracts on the Way to Dynamic Updates Mario Bravetti Gianluigi Zavattaro University of Bologna, Italy / INRIA, France {mario.bravetti,gianluigi.zavattaro}@unibo.it We survey

More information

A Relative Timed Semantics for BPMN

A Relative Timed Semantics for BPMN FOCLASA 2008 A Relative Timed Semantics for BPMN Peter Y. H. Wong and Jeremy Gibbons 1,2 Computing Laboratory, University of Oxford, United Kingdom Abstract We describe a relative-timed semantic model

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

Decentralized Failure Diagnosis of Discrete Event Systems

Decentralized Failure Diagnosis of Discrete Event Systems IEEE TRANSACTIONS ON SYSTEMS, MAN AND CYBERNETICS PART A: SYSTEMS AND HUMANS, VOL., NO., 2005 1 Decentralized Failure Diagnosis of Discrete Event Systems Wenbin Qiu, Student Member, IEEE, and Ratnesh Kumar,

More information

COMPUTING SCIENCE. Modelling and Analysis of Dynamic Reconfiguration in BP-calculus. F. Abouzaid, J. Mullins, M. Mazzara, N.

COMPUTING SCIENCE. Modelling and Analysis of Dynamic Reconfiguration in BP-calculus. F. Abouzaid, J. Mullins, M. Mazzara, N. COMPUTING SCIENCE Modelling and Analysis of Dynamic Reconfiguration in BP-calculus F. Abouzaid, J. Mullins, M. Mazzara, N. Dragoni TECHNICAL REPORT SERIES No. CS-TR-1322 April 2012 TECHNICAL REPORT SERIES

More information

Implementation of the stable revivals model in CSP-Prover

Implementation of the stable revivals model in CSP-Prover in CSP-Prover in CSP-Prover April 4, 2007 The stable Supported by EPSRC grant EP/D037212/1 in CSP-Prover Csp-Prover Motivation and The stable in CSP-Prover Csp is a language to describe processes in concurrent

More information

Formal Verification. Lecture 1: Introduction to Model Checking and Temporal Logic¹

Formal Verification. Lecture 1: Introduction to Model Checking and Temporal Logic¹ Formal Verification Lecture 1: Introduction to Model Checking and Temporal Logic¹ Jacques Fleuriot jdf@inf.ed.ac.uk ¹Acknowledgement: Adapted from original material by Paul Jackson, including some additions

More information

Business Process Verification with Constraint Temporal Answer Set Programming

Business Process Verification with Constraint Temporal Answer Set Programming 1 Online appendix for the paper Business Process Verification with Constraint Temporal Answer Set Programming published in Theory and Practice of Logic Programming Laura Giordano DISIT, Università del

More information

Finite-State Model Checking

Finite-State Model Checking EECS 219C: Computer-Aided Verification Intro. to Model Checking: Models and Properties Sanjit A. Seshia EECS, UC Berkeley Finite-State Model Checking G(p X q) Temporal logic q p FSM Model Checker Yes,

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

Generalised Computation of Behavioural Profiles based on Petri-Net Unfoldings

Generalised Computation of Behavioural Profiles based on Petri-Net Unfoldings Generalised Computation of Behavioural Profiles based on Petri-Net Unfoldings Matthias Weidlich, Felix Elliger, and Mathias Weske Hasso Plattner Institute at the University of Potsdam, Germany {Matthias.Weidlich,Mathias.Weske}@hpi.uni-potsdam.de

More information

Management of Time Requirements in Component-based Systems

Management of Time Requirements in Component-based Systems Management of Time Requirements in Component-based Systems Yi Li 1 Tian Huat Tan 2 Marsha Chechik 1 1. University of Toronto 2. Singapore University of Technology and Design FM 2014 Singapore May 14, 2014

More information

Test Generation for a Protocol Specified in SDL with Complex Loops by Event-based EFSM Modeling

Test Generation for a Protocol Specified in SDL with Complex Loops by Event-based EFSM Modeling 122 IJCSNS International Journal of Computer Science and Network Security, VOL.8 No.3, March 2008 Test Generation for a Protocol Specified in SDL with Complex Loops by Event-based EFSM Modeling Tae-Hyong

More information

Timed Modeling of Web Services Composition for Automatic Testing

Timed Modeling of Web Services Composition for Automatic Testing Timed Modeling of Web Services Composition for Automatic Testing Mounir Lallali, Fatiha Zaidi,, Ana Cavalli Institut National des Télécommunications, INT - CNRS SAMOVAR 9 rue Charles Fourrier, F-91011

More information

Static Program Analysis using Abstract Interpretation

Static Program Analysis using Abstract Interpretation Static Program Analysis using Abstract Interpretation Introduction Static Program Analysis Static program analysis consists of automatically discovering properties of a program that hold for all possible

More information

Testing Distributed Systems

Testing Distributed Systems Testing Distributed Systems R. M. Hierons Brunel University, UK rob.hierons@brunel.ac.uk http://people.brunel.ac.uk/~csstrmh Work With Jessica Chen Mercedes Merayo Manuel Nunez Hasan Ural Model Based Testing

More information

A Turing Machine Distance Hierarchy

A Turing Machine Distance Hierarchy A Turing Machine Distance Hierarchy Stanislav Žák and Jiří Šíma Institute of Computer Science, Academy of Sciences of the Czech Republic, P. O. Box 5, 18207 Prague 8, Czech Republic, {stan sima}@cs.cas.cz

More information

Communicating Parallel Processes. Stephen Brookes

Communicating Parallel Processes. Stephen Brookes Communicating Parallel Processes Stephen Brookes Carnegie Mellon University Deconstructing CSP 1 CSP sequential processes input and output as primitives named parallel composition synchronized communication

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

Slicing Petri Nets. Astrid Rakow. Department für Informatik, Univeristät Oldenburg

Slicing Petri Nets. Astrid Rakow. Department für Informatik, Univeristät Oldenburg Slicing Petri Nets Astrid Rakow Department für Informatik, Univeristät Oldenburg astrid.rakow@informatik.uni-oldenburg.de Abstract. In this paper we introduce the notion of net-slice to describe a subnet

More information

7 RC Simulates RA. Lemma: For every RA expression E(A 1... A k ) there exists a DRC formula F with F V (F ) = {A 1,..., A k } and

7 RC Simulates RA. Lemma: For every RA expression E(A 1... A k ) there exists a DRC formula F with F V (F ) = {A 1,..., A k } and 7 RC Simulates RA. We now show that DRC (and hence TRC) is at least as expressive as RA. That is, given an RA expression E that mentions at most C, there is an equivalent DRC expression E that mentions

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

Reversal-Bounded Counter Machines

Reversal-Bounded Counter Machines Reversal-Bounded Counter Machines Stéphane Demri LSV, CNRS, ENS Cachan Workshop on Logics for Resource-Bounded Agents, Barcelona, August 2015 Overview Presburger Counter Machines Reversal-Bounded Counter

More information

Erly Marsh - a Model-Based Testing tool. Johan Blom, PhD

Erly Marsh - a Model-Based Testing tool. Johan Blom, PhD Erly Marsh - a Model-Based Testing tool Johan Blom, PhD 1 Motivation Mobile Arts Develops server software for mobile telecom operators (Location server, SMSC etc.) Implementations rather big and complicated

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

Shared-Variable Concurrency

Shared-Variable Concurrency University of Science and Technology of China 12/17/2013 Parallel Composition (or Concurrency Composition) Syntax: (comm) c ::=... c 0 c 1... Note we allow nested parallel composition, e.g., (c 0 ; (c

More information

Lecture 12: Mapping Reductions

Lecture 12: Mapping Reductions Lecture 12: Mapping Reductions October 18, 2016 CS 1010 Theory of Computation Topics Covered 1. The Language EQ T M 2. Mapping Reducibility 3. The Post Correspondence Problem 1 The Language EQ T M The

More information

The Power of One-State Turing Machines

The Power of One-State Turing Machines The Power of One-State Turing Machines Marzio De Biasi Jan 15, 2018 Abstract At first glance, one state Turing machines are very weak: the Halting problem for them is decidable, and, without memory, they

More information

Axiomatic Semantics. Semantics of Programming Languages course. Joosep Rõõmusaare

Axiomatic Semantics. Semantics of Programming Languages course. Joosep Rõõmusaare Axiomatic Semantics Semantics of Programming Languages course Joosep Rõõmusaare 2014 Direct Proofs of Program Correctness Partial correctness properties are properties expressing that if a given program

More information

Business Process Management

Business Process Management Business Process Management Theory: The Pi-Calculus Frank Puhlmann Business Process Technology Group Hasso Plattner Institut Potsdam, Germany 1 What happens here? We discuss the application of a general

More information

A Canonical Contraction for Safe Petri Nets

A Canonical Contraction for Safe Petri Nets A Canonical Contraction for Safe Petri Nets Thomas Chatain and Stefan Haar INRIA & LSV (CNRS & ENS Cachan) 6, avenue du Président Wilson 935 CACHAN Cedex, France {chatain, haar}@lsvens-cachanfr Abstract

More information

Serge Haddad Mathieu Sassolas. Verification on Interrupt Timed Automata. Research Report LSV-09-16

Serge Haddad Mathieu Sassolas. Verification on Interrupt Timed Automata. Research Report LSV-09-16 Béatrice Bérard Serge Haddad Mathieu Sassolas Verification on Interrupt Timed Automata Research Report LSV-09-16 July 2009 Verification on Interrupt Timed Automata Béatrice Bérard 1, Serge Haddad 2, Mathieu

More information

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM

An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM Turing Machines Review An example of a decidable language that is not a CFL Implementation-level description of a TM State diagram of TM Varieties of TMs Multi-Tape TMs Nondeterministic TMs String Enumerators

More information

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr. Simulation Discrete-Event System Simulation Chapter 9 Verification and Validation of Simulation Models Purpose & Overview The goal of the validation process is: To produce a model that represents true

More information

Verification of Artifact-centric Processes

Verification of Artifact-centric Processes Verification of Artifact-centric Processes Dipartimento di Ingegneria Informatica, Automatica e Gestionale Antonio Ruberti Dottorato di Ricerca in Ingegneria Informatica XXV Ciclo Candidate Riccardo De

More information

A Relative Timed Semantics for BPMN

A Relative Timed Semantics for BPMN FOCLASA 2008 A Relative Timed Semantics for BPMN Peter Y. H. Wong 1 and Jeremy Gibbons 2 Computing Laboratory, University of Oxford, United Kingdom Abstract We describe a relative-timed semantic model

More information

Introduction. Pedro Cabalar. Department of Computer Science University of Corunna, SPAIN 2013/2014

Introduction. Pedro Cabalar. Department of Computer Science University of Corunna, SPAIN 2013/2014 Introduction Pedro Cabalar Department of Computer Science University of Corunna, SPAIN cabalar@udc.es 2013/2014 P. Cabalar ( Department Introduction of Computer Science University of Corunna, SPAIN2013/2014

More information

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

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

Model Checking: An Introduction

Model Checking: An Introduction Model Checking: An Introduction Meeting 3, CSCI 5535, Spring 2013 Announcements Homework 0 ( Preliminaries ) out, due Friday Saturday This Week Dive into research motivating CSCI 5535 Next Week Begin foundations

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models

More information

Non-emptiness Testing for TMs

Non-emptiness Testing for TMs 180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to

More information

P systems based on tag operations

P systems based on tag operations Computer Science Journal of Moldova, vol.20, no.3(60), 2012 P systems based on tag operations Yurii Rogozhin Sergey Verlan Abstract In this article we introduce P systems using Post s tag operation on

More information

Program verification using Hoare Logic¹

Program verification using Hoare Logic¹ Program verification using Hoare Logic¹ Automated Reasoning - Guest Lecture Petros Papapanagiotou Part 2 of 2 ¹Contains material from Mike Gordon s slides: Previously on Hoare Logic A simple while language

More information

Averaging in LTL. Patricia Bouyer, Nicolas Markey, and Raj Mohan Matteplackel. LSV CNRS & ENS Cachan France

Averaging in LTL. Patricia Bouyer, Nicolas Markey, and Raj Mohan Matteplackel. LSV CNRS & ENS Cachan France Averaging in LTL Patricia Bouyer, Nicolas Markey, and Raj Mohan Matteplackel LSV CNRS & ENS Cachan France Abstract. For the accurate analysis of computerized systems, powerful quantitative formalisms have

More information

A Theory of Fault Based Testing. Larry J. Morell Presented by: Joonghoon Lee

A Theory of Fault Based Testing. Larry J. Morell Presented by: Joonghoon Lee A Theory of Fault Based Testing Larry J. Morell Presented by: Joonghoon Lee A Reliable Test? A test whose success implies Program Correctness Unattainable in general Quality Measures Desirable to have

More information

Property Specifications for Workflow Modelling

Property Specifications for Workflow Modelling Property Specifications for Workflow Modelling Peter Y. H. Wong and Jeremy Gibbons Abstract Previously we provided two formal behavioural semantics for Business Process Modelling Notation (BPMN) in the

More information

JSCL: a Middleware for Service Coordination

JSCL: a Middleware for Service Coordination JSCL: a Middleware for Service Coordination Gianluigi Ferrari 1, Roberto Guanciale 2, and Daniele Strollo 12 1 Dipartimento di Informatica, Università degli Studi di Pisa, Italy email: {giangi,strollo}@di.unipi.it

More information

Symbolic Model Checking Property Specification Language*

Symbolic Model Checking Property Specification Language* Symbolic Model Checking Property Specification Language* Ji Wang National Laboratory for Parallel and Distributed Processing National University of Defense Technology *Joint Work with Wanwei Liu, Huowang

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

MA/CSSE 474 Theory of Computation

MA/CSSE 474 Theory of Computation MA/CSSE 474 Theory of Computation CFL Hierarchy CFL Decision Problems Your Questions? Previous class days' material Reading Assignments HW 12 or 13 problems Anything else I have included some slides online

More information

Duration Calculus Introduction

Duration Calculus Introduction Duration Calculus Introduction Michael R. Hansen mrh@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark 02240 Computability and Semantics, Spring 05, c Michael R. Hansen

More information

Model Checking CSP Revisited: Introducing a Process Analysis Toolkit

Model Checking CSP Revisited: Introducing a Process Analysis Toolkit Model Checking CSP Revisited: Introducing a Process Analysis Toolkit Jun Sun, Yang Liu and Jin Song Dong School of Computing, National University of Singapore {dongjs,liuyang,sunj}@comp.nus.edu.sg Abstract.

More information

Reversal-Bounded Counter Machines Revisited

Reversal-Bounded Counter Machines Revisited Reversal-Bounded Counter Machines Revisited Alain Finkel 1 and Arnaud Sangnier 1,2 1 LSV, ENS Cachan, CNRS & 2 EDF R&D 61 av. du pdt Wilson 94230 Cachan. France {finkel,sangnier}@lsv.ens-cachan.fr Abstract.

More information

Conversation Protocols: A Formalism for Specification and Verification of Reactive Electronic Services

Conversation Protocols: A Formalism for Specification and Verification of Reactive Electronic Services Conversation Protocols: A Formalism for Specification and Verification of Reactive Electronic Services Xiang Fu Tevfik Bultan Jianwen Su Department of Computer Science, University of California, Santa

More information

A UTP Semantics for Communicating Processes with Shared Variables

A UTP Semantics for Communicating Processes with Shared Variables A UTP Semantics for Communicating Processes with Shared Variables Ling Shi 1, Yongxin Zhao 1, Yang Liu 2, Jun Sun 3, Jin Song Dong 1, and Shengchao Qin 4 1 National University of Singapore 2 Nanyang Technological

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

Verifying Timed BPMN Processes using Maude

Verifying Timed BPMN Processes using Maude Verifying Timed BPMN Processes using Maude Francisco Durán 1 and Gwen Salaün 2 1 University of Málaga, Spain 2 University of Grenoble Alpes, LIG, CNRS, France Abstract. A business process is a collection

More information

Lecture Notes on Inductive Definitions

Lecture Notes on Inductive Definitions Lecture Notes on Inductive Definitions 15-312: Foundations of Programming Languages Frank Pfenning Lecture 2 September 2, 2004 These supplementary notes review the notion of an inductive definition and

More information

Computing Loops with at Most One External Support Rule for Disjunctive Logic Programs

Computing Loops with at Most One External Support Rule for Disjunctive Logic Programs Computing Loops with at Most One External Support Rule for Disjunctive Logic Programs Xiaoping Chen 1, Jianmin Ji 1, and Fangzhen Lin 2 1 School of Computer Science and Technology, University of Science

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