Summer School Verification Technology, Systems & Applications

Size: px
Start display at page:

Download "Summer School Verification Technology, Systems & Applications"

Transcription

1 VTSA 2011 Summer School Verifiction Technology, Systems & Applictions 4th edition since 2008: Liège (Belgium), Sep , 2011 free prticiption, limited number of prticipnts ppliction dedline: July 22, 2011 Overll theme: decision procedures A. Armndo: Rewriting Approch to Decision Procedures F. Bder: Resoning in Description Logics B. Blnchet: Automtic Verifiction of Security Protocols F. Jcquemrd: Tree utomt techniques in verifiction J.-P. Ktoen: Verifiction of Continuous-Time Mrkov Models S. Merz (LORIA) Behviorl equivlences VINO / 27

2 Behviorl equivlences Stephn Merz INRIA Nncy & LORIA VINO 2011 S. Merz (LORIA) Behviorl equivlences VINO / 27

3 Outline Notions for compring process specifictions IMPL relizes ( is t lest s good s ) SPEC SPEC 1 nd SPEC 2 re essentilly equivlent Subject to notion of observbility Enjoy robust mthemticl properties Approprite proof techniques S. Merz (LORIA) Behviorl equivlences VINO / 27

4 Pln 1 Introduction to behviorl equivlence 2 Strong bisimilrity 3 Wek bisimilrity S. Merz (LORIA) Behviorl equivlences VINO / 27

5 Wht to expect from process equivlences Ide: processes indistinguishble to ny observer equivlence notions differ in notion of observer sme output, sme trces, modulo hidden ctions,... S. Merz (LORIA) Behviorl equivlences VINO / 27

6 Wht to expect from process equivlences Ide: processes indistinguishble to ny observer equivlence notions differ in notion of observer sme output, sme trces, modulo hidden ctions,... Indistinguishbility must be n equivlence reflexive: symmetric: trnsitive: support refinement Spec 0 R Spec 1 R... R Spec n S. Merz (LORIA) Behviorl equivlences VINO / 27

7 Wht to expect from process equivlences Ide: processes indistinguishble to ny observer equivlence notions differ in notion of observer sme output, sme trces, modulo hidden ctions,... Indistinguishbility must be n equivlence reflexive: symmetric: trnsitive: support refinement Spec 0 R Spec 1 R... R Spec n Indistinguishbility should be congruence P R Q = C[P] R C[Q] for ny context C substitutivity of indistinguishble components in ny context S. Merz (LORIA) Behviorl equivlences VINO / 27

8 Exmple: trce equivlence Definition (trces, trce equivlences) Assume trnsition system T = (Proc, Act, { : α α Act}). A trce of P Proc is sequence α 1 α k Act such tht there exists sequence of trnsitions P α 1 α P 2 1 α k Pk. Trces(P) denotes the set of ll trces of P. Processes P, Q re trce equivlent (P Q) if Trces(P) = Trces(Q). Nturl notion of process equivlence trces re nlogous to lnguges of utomt trce equivlence is necessry for indistinguishbility S. Merz (LORIA) Behviorl equivlences VINO / 27

9 Trce equivlence: exmple CTM : CTM : te te coffee coffee Observe: CTM CTM Trces(CTM) = Trces(CTM ) = ( te + coffee) S. Merz (LORIA) Behviorl equivlences VINO / 27

10 Trce equivlence: exmple CTM : CTM : te te coffee coffee Observe: CTM CTM Trces(CTM) = Trces(CTM ) = ( te + coffee) CA : But: CTM nd CTM re not indistinguishble coffee CTM chooses internlly whether to serve te or coffee CTM CA my dedlock, but CTM CA does not S. Merz (LORIA) Behviorl equivlences VINO / 27

11 Pln 1 Introduction to behviorl equivlence 2 Strong bisimilrity 3 Wek bisimilrity S. Merz (LORIA) Behviorl equivlences VINO / 27

12 Need for stronger equivlence Trce equivlence is not stisfctory for rective systems should tke into ccount brnching behvior of processes potentil evolution from intermedite sttes mtters lso note: is not congruence, cf. CTM CA Ide: P, Q re equivlent iff... they offer the sme ctions to the environment nd whenever P α P then Q α Q for some Q equivlent to P Observe: ductive definition [Prk 1981, Milner 1989] S. Merz (LORIA) Behviorl equivlences VINO / 27

13 Strong simultion Definition (strong simultion) Assume trnsition system T = (Proc, Act, { α : α Act}). A reltion R Proc Proc is strong simultion for T if whenever P R Q nd Q α Q then there exists P Proc such tht P α P nd P R Q. P strongly simultes Q if there exists strong simultion R with P R Q. Strong simultion is pre-order, not n equivlence ide: P is t lest s good s Q P cn mtch ny behvior of Q S. Merz (LORIA) Behviorl equivlences VINO / 27

14 Simultion: pictoril representtion P R Q P Q R If P R Q then... ny move Q α Q of Q cn be mtched by move P α P tht leds to mtching stte P, i.e. P R Q Observe: simultion refers to single trnsition system in prctice, often compre two different systems formlly, tke their (disjoint) union to form single system S. Merz (LORIA) Behviorl equivlences VINO / 27

15 Coffee mchine exmple Q1 CTM : P0 te P1 P2 CTM : Q0 te Q1 Q2 coffee coffee P 0 simultes Q 0 : CTM is t lest s good s CTM strong simultion R = {(P 0, Q 0 ), (P 1, Q 1 ), (P 1, Q 1 ), (P 2, Q 2 )} S. Merz (LORIA) Behviorl equivlences VINO / 27

16 Coffee mchine exmple Q1 CTM : P0 te P1 P2 CTM : Q0 te Q1 Q2 coffee coffee P 0 simultes Q 0 : CTM is t lest s good s CTM strong simultion R = {(P 0, Q 0 ), (P 1, Q 1 ), (P 1, Q 1 ), (P 2, Q 2 )} Q 0 does not simulte P 0 : CTM cnnot replce CTM cnnot find mtching stte for P 1 in CTM S. Merz (LORIA) Behviorl equivlences VINO / 27

17 Strong simultion: second exmple b P1 Q0 P0 b P2 Q2 b Q1 S. Merz (LORIA) Behviorl equivlences VINO / 27

18 Strong simultion: second exmple b P1 Q0 P0 b P2 Q2 b Q1 P 0 simultes Q 0 : consider reltion R = {(P 0, Q 0 ), (P 0, Q 2 ), (P 1, Q 1 ), (P 2, Q 1 )} S. Merz (LORIA) Behviorl equivlences VINO / 27

19 Strong simultion: second exmple b P1 Q0 P0 b P2 Q2 b Q1 P 0 simultes Q 0 : consider reltion R = {(P 0, Q 0 ), (P 0, Q 2 ), (P 1, Q 1 ), (P 2, Q 1 )} Also, Q 0 simultes P 0 : the inverse reltion R 1 = {(Q 0, P 0 ), (Q 2, P 0 ), (Q 1, P 1 ), (Q 1, P 2 )} is gin strong simultion S. Merz (LORIA) Behviorl equivlences VINO / 27

20 Strong bisimultion & bisimilrity Definition Assume trnsition system T = (Proc, Act, { α : α Act}). A reltion R Proc Proc is strong bisimultion for T if R nd R 1 re strong simultions for T. Processes P nd Q re strongly bisimilr, written P Q, if P R Q for some strong bisimultion R. Exercise: mutul simultion does not imply bisimultion P1 P0 Q0 Q1 Q2 P2 P3 Show tht P0 simultes Q0 nd vice vers, but not P0 Q0. S. Merz (LORIA) Behviorl equivlences VINO / 27

21 Key properties of bisimilrity Theorem 1 The reltion of strong bisimilrity is n equivlence reltion. 2 Bisimilrity is strong bisimultion, nd it is the lrgest such. Proof. 1 Reflexivity nd symmetry: esy. Trnsitivity: if R 1 nd R 2 re bisimultions, then so is R 1 R 2 = {(p, r) : q : (p, q) R 1, (q, r) R 2 }. 2 Assume P Q, so P R Q for some bisimultion R. If Q Q then there is P with P P nd P R Q, hence P Q. Simultion of P by Q is symmetricl. By definition, it follows tht is the lrgest strong bisimultion. Q.E.D. S. Merz (LORIA) Behviorl equivlences VINO / 27

22 Further properties of strong bisimultions Bisimultions re closed under unions Let (R i ) i I be fmily of strong bisimultions. Then i I R i is itself strong bisimultion. Mutul simultion generlizes to sequences of ctions Let σ = α 1 α k Act be sequence of ctions. If P Q nd P σ P then Q σ Q for some Q with P Q. Bisimilrity is stronger thn trce equivlence If P Q then P Q. Some prticulr strong bisimultions {(P Q, Q P) : P, Q CCS processes} {(P 0, P) : P CCS process} {((P Q) R, P (Q R)) : P, Q, R CCS processes} S. Merz (LORIA) Behviorl equivlences VINO / 27

23 Strong bisimilrity is congruence in CCS Theorem Let P, Q be CCS processes where P Q. Then: 1 α.p α.q, for ny ction α 2 P + R Q + R nd R + P R + Q, for ny CCS process R 3 P R Q R nd R P R Q, for ny CCS process R 4 P[f ] Q[f ], for ny relbeling f 5 P \ L Q \ L, for ny set of lbels L Proof (ide). By constructing suitble bisimultion reltions, such s R = {(P R, Q R ) : P Q } nd tedious cse nlysis ccording to which process is responsible for the trnsition. Q.E.D. S. Merz (LORIA) Behviorl equivlences VINO / 27

24 Exmple: buffers Specifiction of one-plce buffer in CCS B 1 0 def = in.b 1 1 B 1 def 1 = out.b 1 0 (bstrcting from stored vlues) S. Merz (LORIA) Behviorl equivlences VINO / 27

25 Exmple: buffers Specifiction of one-plce buffer in CCS B 1 0 def = in.b 1 1 B 1 def 1 = out.b 1 0 (bstrcting from stored vlues) More generlly: n-plce buffer in CCS B n 0 B n i B n n def = in.b n 1 def = in.b n i+1 + out.bn i 1 (0 < i < n) def = out.b n n 1 interprettion B k i : buffer with k plces holding i vlues Wht reltions cn we estblish between these buffers? S. Merz (LORIA) Behviorl equivlences VINO / 27

26 Bisimultions between buffers Two one-plce buffers re s good s two-plce buffer dotted lines indicte bisimultion contining (B 2 0, B1 0 B1 0 ) More generlly: B n 0 B1 0 B 1 0 }{{} n times the following reltion is strong bisimultion: { (B n i, B1 i 1 B 1 i n ) : i 1,..., i n {0, 1}, n k=1 } i k = i S. Merz (LORIA) Behviorl equivlences VINO / 27

27 Pln 1 Introduction to behviorl equivlence 2 Strong bisimilrity 3 Wek bisimilrity S. Merz (LORIA) Behviorl equivlences VINO / 27

28 Bisimilrity nd τ trnsitions Strong bisimilrity is good cndidte for indistinguishbility refines trce equivlence from utomt theory tkes into ccount brnching structure congruence reltion w.r.t. ll CCS primitives elegnt proof techniques (co-induction, bisimultion modulo) S. Merz (LORIA) Behviorl equivlences VINO / 27

29 Bisimilrity nd τ trnsitions Strong bisimilrity is good cndidte for indistinguishbility refines trce equivlence from utomt theory tkes into ccount brnching structure congruence reltion w.r.t. ll CCS primitives elegnt proof techniques (co-induction, bisimultion modulo) But cn sometimes be too strong uniform definition w.r.t. ll trnsitions, including τ trnsitions... but the ltter re supposed to be unobservble for exmple,.0.τ.0 S. Merz (LORIA) Behviorl equivlences VINO / 27

30 Cn we simply drop τ trnsitions? Exmple: computer scientist nd flwed coffee mchine CS CM b def = pub..coffee.cs def =.coffee.cm b +.CM b Consider behvior of Strt def = (CS CM b ) \ {, coffee} S. Merz (LORIA) Behviorl equivlences VINO / 27

31 Cn we simply drop τ trnsitions? Exmple: computer scientist nd flwed coffee mchine CS CM b def = pub..coffee.cs def =.coffee.cm b +.CM b Consider behvior of Strt def = (CS CM b ) \ {, coffee} The combined system contins dedlocked stte Ersing the τ trnsition, the dedlock would be hidden S. Merz (LORIA) Behviorl equivlences VINO / 27

32 Extended trnsition reltion Ide: combine visible trnsitions with surrounding τ s Definition Assume trnsition system T = (Proc, Act, { : α α Act}). For P, Q Proc nd α Act, write P = α Q iff if α = τ, we hve P τ P if α = τ, we hve P τ Q. α Q τ Q S. Merz (LORIA) Behviorl equivlences VINO / 27

33 Extended trnsition reltion Ide: combine visible trnsitions with surrounding τ s Definition Assume trnsition system T = (Proc, Act, { : α α Act}). For P, Q Proc nd α Act, write P = α Q iff if α = τ, we hve P τ P if α = τ, we hve P τ Q. α Q τ Q Previous exmple Strt pub = Good Strt pub = Bd Strt pub = Strt Define wek bisimultion in terms of α α = insted of S. Merz (LORIA) Behviorl equivlences VINO / 27

34 Wek bisimultion nd bisimilrity Definition Assume trnsition system T = (Proc, Act, { α : α Act}). A reltion R Proc Proc is wek bisimultion iff, whenever P R Q nd α Act: if P α P then Q = α Q for some Q with P R Q, if Q α Q then P = α P for some P with P R Q. P nd Q re wekly bisimilr, written P Q, if P R Q for some wek bisimultion R. Exmples.0.τ.0 Strt Spec for Spec def = pub.spec S. Merz (LORIA) Behviorl equivlences VINO / 27

35 Wek bisimilrity nd divergence Exmple: polling loop for two input signls A? def =.0 + τ.b? B? def = b.0 + τ.a? process tht my receive input on or b, then termintes Hve: A? B?.0 + b.0 S. Merz (LORIA) Behviorl equivlences VINO / 27

36 Wek bisimilrity nd divergence Exmple: polling loop for two input signls A? def =.0 + τ.b? B? def = b.0 + τ.a? process tht my receive input on or b, then termintes Hve: A? B?.0 + b.0 However, A? my diverge: A? τ τ B? A? Wek bisimilrity ssumes progress Beten, Bergstr & Klop 1987 similrly: Div 0 for Div def = τ.div dedlock nd livelock re equivlent w.r.t. S. Merz (LORIA) Behviorl equivlences VINO / 27

37 Key properties of wek bisimilrity Theorem 1 The reltion of wek bisimilrity is n equivlence reltion. 2 Wek bisimilrity is wek bisimultion, nd it is the lrgest such. Theorem Let P, Q be CCS processes where P Q. Then: 1 α.p α.q, for ny ction α 2 P R Q R nd R P R Q, for ny CCS process R 3 P[f ] Q[f ], for ny relbeling f 4 P \ L Q \ L, for ny set of lbels L However, P Q does not imply P + R Q + R exmple: 0 τ.0 but τ τ τ cnnot be mtched by left-hnd process S. Merz (LORIA) Behviorl equivlences VINO / 27

38 Summry bisimultions: elegnt description of identicl processes clrify semntics of rective systems: brnching behvior mtters supported by proof techniques such s co-induction finite-stte LTS (n sttes, m trnsitions): P Q decidble in O(m log n) however, LTS cn be of size exponentil in length of CCS description deciding wek bisimultion vi sturtion: pre-compute α = mny extensions for certin infinite-stte systems (BPP nd PDA decidble, Petri nets not) S. Merz (LORIA) Behviorl equivlences VINO / 27

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32

More information

Exercises with (Some) Solutions

Exercises with (Some) Solutions Exercises with (Some) Solutions Techer: Luc Tesei Mster of Science in Computer Science - University of Cmerino Contents 1 Strong Bisimultion nd HML 2 2 Wek Bisimultion 31 3 Complete Lttices nd Fix Points

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More

More information

Bisimulation. R.J. van Glabbeek

Bisimulation. R.J. van Glabbeek Bisimultion R.J. vn Glbbeek NICTA, Sydney, Austrli. School of Computer Science nd Engineering, The University of New South Wles, Sydney, Austrli. Computer Science Deprtment, Stnford University, CA 94305-9045,

More information

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh Lnguges nd Automt Finite Automt Informtics 2A: Lecture 3 John Longley School of Informtics University of Edinburgh jrl@inf.ed.c.uk 22 September 2017 1 / 30 Lnguges nd Automt 1 Lnguges nd Automt Wht is

More information

Hennessy-Milner Logic 1.

Hennessy-Milner Logic 1. Hennessy-Milner Logic 1. Colloquium in honor of Robin Milner. Crlos Olrte. Pontifici Universidd Jverin 28 April 2010. 1 Bsed on the tlks: [1,2,3] Prof. Robin Milner (R.I.P). LIX, Ecole Polytechnique. Motivtion

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model?

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model? CS125 Lecture 11 Fll 2016 11.1 Finite Automt Motivtion: TMs without tpe: mybe we cn t lest fully understnd such simple model? Algorithms (e.g. string mtching) Computing with very limited memory Forml verifiction

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

Process Algebra CSP A Technique to Model Concurrent Programs

Process Algebra CSP A Technique to Model Concurrent Programs Process Algebr CSP A Technique to Model Concurrent Progrms Jnury 15, 2002 Hui Shi 1 Contents CSP-Processes Opertionl Semntics Trnsition systems nd stte mchines Bisimultion Firing rules for CSP Model-Checker

More information

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014 CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA

More information

Chapter 2 Finite Automata

Chapter 2 Finite Automata Chpter 2 Finite Automt 28 2.1 Introduction Finite utomt: first model of the notion of effective procedure. (They lso hve mny other pplictions). The concept of finite utomton cn e derived y exmining wht

More information

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

More on automata. Michael George. March 24 April 7, 2014 More on utomt Michel George Mrch 24 April 7, 2014 1 Automt constructions Now tht we hve forml model of mchine, it is useful to mke some generl constructions. 1.1 DFA Union / Product construction Suppose

More information

1 Nondeterministic Finite Automata

1 Nondeterministic Finite Automata 1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you

More information

1.2. Linear Variable Coefficient Equations. y + b "! = a y + b " Remark: The case b = 0 and a non-constant can be solved with the same idea as above.

1.2. Linear Variable Coefficient Equations. y + b ! = a y + b  Remark: The case b = 0 and a non-constant can be solved with the same idea as above. 1 12 Liner Vrible Coefficient Equtions Section Objective(s): Review: Constnt Coefficient Equtions Solving Vrible Coefficient Equtions The Integrting Fctor Method The Bernoulli Eqution 121 Review: Constnt

More information

Formal Methods in Software Engineering

Formal Methods in Software Engineering Forml Methods in Softwre Engineering Lecture 09 orgniztionl issues Prof. Dr. Joel Greenyer Decemer 9, 2014 Written Exm The written exm will tke plce on Mrch 4 th, 2015 The exm will tke 60 minutes nd strt

More information

Bisimulation, Games & Hennessy Milner logic

Bisimulation, Games & Hennessy Milner logic Bisimultion, Gmes & Hennessy Milner logi Leture 1 of Modelli Mtemtii dei Proessi Conorrenti Pweł Soboiński Univeristy of Southmpton, UK Bisimultion, Gmes & Hennessy Milner logi p.1/32 Clssil lnguge theory

More information

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh Finite Automt Informtics 2A: Lecture 3 Mry Cryn School of Informtics University of Edinburgh mcryn@inf.ed.c.uk 21 September 2018 1 / 30 Lnguges nd Automt Wht is lnguge? Finite utomt: recp Some forml definitions

More information

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS. THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.6.: Push Down Automt Remrk: This mteril is no longer tught nd not directly exm relevnt Anton Setzer (Bsed

More information

CS:4330 Theory of Computation Spring Regular Languages. Equivalences between Finite automata and REs. Haniel Barbosa

CS:4330 Theory of Computation Spring Regular Languages. Equivalences between Finite automata and REs. Haniel Barbosa CS:4330 Theory of Computtion Spring 208 Regulr Lnguges Equivlences between Finite utomt nd REs Hniel Brbos Redings for this lecture Chpter of [Sipser 996], 3rd edition. Section.3. Finite utomt nd regulr

More information

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets Concepts of Concurrent Computtion Spring 205 Lecture 9: Petri Nets Sebstin Nnz Chris Poskitt Chir of Softwre Engineering Petri nets Petri nets re mthemticl models for describing systems with concurrency

More information

Theory of Computation Regular Languages. (NTU EE) Regular Languages Fall / 38

Theory of Computation Regular Languages. (NTU EE) Regular Languages Fall / 38 Theory of Computtion Regulr Lnguges (NTU EE) Regulr Lnguges Fll 2017 1 / 38 Schemtic of Finite Automt control 0 0 1 0 1 1 1 0 Figure: Schemtic of Finite Automt A finite utomton hs finite set of control

More information

On Determinisation of History-Deterministic Automata.

On Determinisation of History-Deterministic Automata. On Deterministion of History-Deterministic Automt. Denis Kupererg Mich l Skrzypczk University of Wrsw YR-ICALP 2014 Copenhgen Introduction Deterministic utomt re centrl tool in utomt theory: Polynomil

More information

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1 Non-Deterministic Finite Automt Fll 2018 Costs Busch - RPI 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q q2 1 q 0 q 3 Fll 2018 Costs Busch - RPI 2 Nondeterministic Finite Automton (NFA) Alphbet

More information

1 From NFA to regular expression

1 From NFA to regular expression Note 1: How to convert DFA/NFA to regulr expression Version: 1.0 S/EE 374, Fll 2017 Septemer 11, 2017 In this note, we show tht ny DFA cn e converted into regulr expression. Our construction would work

More information

CS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions

CS 330 Formal Methods and Models Dana Richards, George Mason University, Spring 2016 Quiz Solutions CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2016 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 9 1. (4pts) ((p q) (q r)) (p r), prove tutology using truth tles. p

More information

Temporal logic CTL : syntax. Communication and Concurrency Lecture 6. Φ ::= tt ff Φ 1 Φ 2 Φ 1 Φ 2 [K]Φ K Φ AG Φ EF Φ AF Φ EG Φ A formula can be

Temporal logic CTL : syntax. Communication and Concurrency Lecture 6. Φ ::= tt ff Φ 1 Φ 2 Φ 1 Φ 2 [K]Φ K Φ AG Φ EF Φ AF Φ EG Φ A formula can be Temporl logic CTL : syntx Communiction nd Concurrency Lecture 6 Colin Stirling (cps) Φ ::= tt ff Φ 1 Φ Φ 1 Φ [K]Φ K Φ A formul cn be School of Informtics 7th October 013 Temporl logic CTL : syntx Temporl

More information

MAA 4212 Improper Integrals

MAA 4212 Improper Integrals Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which

More information

Petri Nets and Regular Processes

Petri Nets and Regular Processes Uppsl Computing Science Reserch Report No. 162 Mrch 22, 1999 ISSN 1100 0686 Petri Nets nd Regulr Processes Petr Jnčr y Deprtment of Computer Science, Technicl University of Ostrv 17. listopdu 15, CZ-708

More information

Semantic reachability for simple process algebras. Richard Mayr. Abstract

Semantic reachability for simple process algebras. Richard Mayr. Abstract Semntic rechbility for simple process lgebrs Richrd Myr Abstrct This pper is n pproch to combine the rechbility problem with semntic notions like bisimultion equivlence. It dels with questions of the following

More information

Theory of Computation Regular Languages

Theory of Computation Regular Languages Theory of Computtion Regulr Lnguges Bow-Yw Wng Acdemi Sinic Spring 2012 Bow-Yw Wng (Acdemi Sinic) Regulr Lnguges Spring 2012 1 / 38 Schemtic of Finite Automt control 0 0 1 0 1 1 1 0 Figure: Schemtic of

More information

This lecture covers Chapter 8 of HMU: Properties of CFLs

This lecture covers Chapter 8 of HMU: Properties of CFLs This lecture covers Chpter 8 of HMU: Properties of CFLs Turing Mchine Extensions of Turing Mchines Restrictions of Turing Mchines Additionl Reding: Chpter 8 of HMU. Turing Mchine: Informl Definition B

More information

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.

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. York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech

More information

CISC 4090 Theory of Computation

CISC 4090 Theory of Computation 9/6/28 Stereotypicl computer CISC 49 Theory of Computtion Finite stte mchines & Regulr lnguges Professor Dniel Leeds dleeds@fordhm.edu JMH 332 Centrl processing unit (CPU) performs ll the instructions

More information

Good-for-Games Automata versus Deterministic Automata.

Good-for-Games Automata versus Deterministic Automata. Good-for-Gmes Automt versus Deterministic Automt. Denis Kuperberg 1,2 Mich l Skrzypczk 1 1 University of Wrsw 2 IRIT/ONERA (Toulouse) Séminire MoVe 12/02/2015 LIF, Luminy Introduction Deterministic utomt

More information

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton 25. Finite Automt AUTOMATA AND LANGUAGES A system of computtion tht only hs finite numer of possile sttes cn e modeled using finite utomton A finite utomton is often illustrted s stte digrm d d d. d q

More information

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

CS 311 Homework 3 due 16:30, Thursday, 14 th October 2010 CS 311 Homework 3 due 16:30, Thursdy, 14 th Octoer 2010 Homework must e sumitted on pper, in clss. Question 1. [15 pts.; 5 pts. ech] Drw stte digrms for NFAs recognizing the following lnguges:. L = {w

More information

Refined interfaces for compositional verification

Refined interfaces for compositional verification Refined interfces for compositionl verifiction Frédéric Lng INRI Rhône-lpes http://www.inrilpes.fr/vsy Motivtion Enumertive verifiction of concurrent systems Prllel composition of synchronous processes

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 1. Functional series. Pointwise and uniform convergence. 1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is

More information

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute Victor Admchik Dnny Sletor Gret Theoreticl Ides In Computer Science CS 5-25 Spring 2 Lecture 2 Mr 3, 2 Crnegie Mellon University Deterministic Finite Automt Finite Automt A mchine so simple tht you cn

More information

Finite state automata

Finite state automata Finite stte utomt Lecture 2 Model-Checking Finite-Stte Systems (untimed systems) Finite grhs with lels on edges/nodes set of nodes (sttes) set of edges (trnsitions) set of lels (lhet) Finite Automt, CTL,

More information

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51 Non Deterministic Automt Linz: Nondeterministic Finite Accepters, pge 51 1 Nondeterministic Finite Accepter (NFA) Alphbet ={} q 1 q2 q 0 q 3 2 Nondeterministic Finite Accepter (NFA) Alphbet ={} Two choices

More information

1 Introduction. Abstract

1 Introduction. Abstract LANGUAGES FOR CONCURRENCY Ctusci Plmidessi INRIA nd LIX, École Polytechnique ctusci@lix.polytechnique.fr Frnk D. Vlenci CNRS nd LIX, École Polytechnique frnk.vlenci@lix.polytechnique.fr Abstrct This essy

More information

Deterministic Finite Automata

Deterministic Finite Automata Finite Automt Deterministic Finite Automt H. Geuvers nd J. Rot Institute for Computing nd Informtion Sciences Version: fll 2016 J. Rot Version: fll 2016 Tlen en Automten 1 / 21 Outline Finite Automt Finite

More information

Handout: Natural deduction for first order logic

Handout: Natural deduction for first order logic MATH 457 Introduction to Mthemticl Logic Spring 2016 Dr Json Rute Hndout: Nturl deduction for first order logic We will extend our nturl deduction rules for sententil logic to first order logic These notes

More information

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.

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. 378 Reltions 16.7 Solutions for Chpter 16 Section 16.1 Exercises 1. Let A = {0,1,2,3,4,5}. Write out the reltion R tht expresses > on A. Then illustrte it with digrm. 2 1 R = { (5,4),(5,3),(5,2),(5,1),(5,0),(4,3),(4,2),(4,1),

More information

Introduction to spefication and verification Lecture Notes, autumn 2011

Introduction to spefication and verification Lecture Notes, autumn 2011 Introduction to spefiction nd verifiction Lecture Notes, utumn 2011 Timo Krvi UNIVERSITY OF HELSINKI FINLAND Contents 1 Introduction 1 1.1 The strting point............................ 1 1.2 Globl stte

More information

DFA Minimization and Applications

DFA Minimization and Applications DFA Minimiztion nd Applictions Mondy, Octoer 15, 2007 Reding: toughton 3.12 C235 Lnguges nd Automt Deprtment of Computer cience Wellesley College Gols for ody o Answer ny P3 questions you might hve. o

More information

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

Semantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S. URL: http://www.elsevier.nl/locte/entcs/volume6.html?? pges Semntic Rechbility Richrd Myr Institut fur Informtik Technische Universitt Munchen Arcisstr. 21, D-80290 Munchen, Germny e-mil: myrri@informtik.tu-muenchen.de

More information

Introduction to ω-autamata

Introduction to ω-autamata Fridy 25 th Jnury, 2013 Outline From finite word utomt ω-regulr lnguge ω-utomt Nondeterministic Models Deterministic Models Two Lower Bounds Conclusion Discussion Synthesis Preliminry From finite word

More information

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.

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. Regulr Expressions, Pumping Lemm, Right Liner Grmmrs Ling 106 Mrch 25, 2002 1 Regulr Expressions A regulr expression descries or genertes lnguge: it is kind of shorthnd for listing the memers of lnguge.

More information

Lecture 08: Feb. 08, 2019

Lecture 08: Feb. 08, 2019 4CS4-6:Theory of Computtion(Closure on Reg. Lngs., regex to NDFA, DFA to regex) Prof. K.R. Chowdhry Lecture 08: Fe. 08, 2019 : Professor of CS Disclimer: These notes hve not een sujected to the usul scrutiny

More information

Exercises Chapter 1. Exercise 1.1. Let Σ be an alphabet. Prove wv = w + v for all strings w and v.

Exercises Chapter 1. Exercise 1.1. Let Σ be an alphabet. Prove wv = w + v for all strings w and v. 1 Exercises Chpter 1 Exercise 1.1. Let Σ e n lphet. Prove wv = w + v for ll strings w nd v. Prove # (wv) = # (w)+# (v) for every symol Σ nd every string w,v Σ. Exercise 1.2. Let w 1,w 2,...,w k e k strings,

More information

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

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages 5//6 Grmmr Automt nd Lnguges Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Prof. Mohmed Hmd Softwre Engineering L. The University of Aizu Jpn Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Finite-State Automata: Recap

Finite-State Automata: Recap Finite-Stte Automt: Recp Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute of Science, Bnglore. 09 August 2016 Outline 1 Introduction 2 Forml Definitions nd Nottion 3 Closure under

More information

CS 330 Formal Methods and Models

CS 330 Formal Methods and Models CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 2 1. Prove ((( p q) q) p) is tutology () (3pts) y truth tle. p q p q

More information

An Introduction to Bisimulation and Coinduction

An Introduction to Bisimulation and Coinduction An Introduction to Bisimultion nd Coinduction Dvide Sngiorgi Focus Tem, INRIA (Frnce)/University of Bologn (Itly) Emil: Dvide.Sngiorgi@cs.unibo.it http://www.cs.unibo.it/ sngio/ Microsoft Reserch Summer

More information

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

80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES. 2.6 Finite State Automata With Output: Transducers 80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES 2.6 Finite Stte Automt With Output: Trnsducers So fr, we hve only considered utomt tht recognize lnguges, i.e., utomt tht do not produce ny output on ny input

More information

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

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018 CS 301 Lecture 04 Regulr Expressions Stephen Checkowy Jnury 29, 2018 1 / 35 Review from lst time NFA N = (Q, Σ, δ, q 0, F ) where δ Q Σ P (Q) mps stte nd n lphet symol (or ) to set of sttes We run n NFA

More information

CS375: Logic and Theory of Computing

CS375: Logic and Theory of Computing CS375: Logic nd Theory of Computing Fuhu (Frnk) Cheng Deprtment of Computer Science University of Kentucky 1 Tle of Contents: Week 1: Preliminries (set lger, reltions, functions) (red Chpters 1-4) Weeks

More information

Let's start with an example:

Let's start with an example: Finite Automt Let's strt with n exmple: Here you see leled circles tht re sttes, nd leled rrows tht re trnsitions. One of the sttes is mrked "strt". One of the sttes hs doule circle; this is terminl stte

More information

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

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1 Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more

More information

1 Online Learning and Regret Minimization

1 Online Learning and Regret Minimization 2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in

More information

Fundamentals of Computer Science

Fundamentals of Computer Science Fundmentls of Computer Science Chpter 3: NFA nd DFA equivlence Regulr expressions Henrik Björklund Umeå University Jnury 23, 2014 NFA nd DFA equivlence As we shll see, it turns out tht NFA nd DFA re equivlent,

More information

Formal Languages and Automata

Formal Languages and Automata Moile Computing nd Softwre Engineering p. 1/5 Forml Lnguges nd Automt Chpter 2 Finite Automt Chun-Ming Liu cmliu@csie.ntut.edu.tw Deprtment of Computer Science nd Informtion Engineering Ntionl Tipei University

More information

arxiv: v2 [cs.fl] 23 Apr 2018

arxiv: v2 [cs.fl] 23 Apr 2018 EFFICIENT REDUCTION OF NONDETERMINISTIC AUTOMATA WITH APPLICATION TO LANGUAGE INCLUSION TESTING LORENZO CLEMENTE AND RICHARD MAYR b rxiv:1711.09946v2 [cs.fl] 23 Apr 2018 University of Wrsw, Fculty of Mthemtics,

More information

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

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

3 Regular expressions

3 Regular expressions 3 Regulr expressions Given n lphet Σ lnguge is set of words L Σ. So fr we were le to descrie lnguges either y using set theory (i.e. enumertion or comprehension) or y n utomton. In this section we shll

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2 CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

Designing finite automata II

Designing finite automata II Designing finite utomt II Prolem: Design DFA A such tht L(A) consists of ll strings of nd which re of length 3n, for n = 0, 1, 2, (1) Determine wht to rememer out the input string Assign stte to ech of

More information

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies Stte spce systems nlysis (continued) Stbility A. Definitions A system is sid to be Asymptoticlly Stble (AS) when it stisfies ut () = 0, t > 0 lim xt () 0. t A system is AS if nd only if the impulse response

More information

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

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan CS 267: Automted Verifiction Lecture 8: Automt Theoretic Model Checking Instructor: Tevfik Bultn LTL Properties Büchi utomt [Vrdi nd Wolper LICS 86] Büchi utomt: Finite stte utomt tht ccept infinite strings

More information

Java II Finite Automata I

Java II Finite Automata I Jv II Finite Automt I Bernd Kiefer Bernd.Kiefer@dfki.de Deutsches Forschungszentrum für künstliche Intelligenz Finite Automt I p.1/13 Processing Regulr Expressions We lredy lerned out Jv s regulr expression

More information

CSC 473 Automata, Grammars & Languages 11/9/10

CSC 473 Automata, Grammars & Languages 11/9/10 CSC 473 utomt, Grmmrs & Lnguges 11/9/10 utomt, Grmmrs nd Lnguges Discourse 06 Decidbility nd Undecidbility Decidble Problems for Regulr Lnguges Theorem 4.1: (embership/cceptnce Prob. for DFs) = {, w is

More information

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1 3 9. SEQUENCES AND SERIES 63. Representtion of functions s power series Consider power series x 2 + x 4 x 6 + x 8 + = ( ) n x 2n It is geometric series with q = x 2 nd therefore it converges for ll q =

More information

CM10196 Topic 4: Functions and Relations

CM10196 Topic 4: Functions and Relations CM096 Topic 4: Functions nd Reltions Guy McCusker W. Functions nd reltions Perhps the most widely used notion in ll of mthemtics is tht of function. Informlly, function is n opertion which tkes n input

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 utomt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Prolem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) nton Setzer (Bsed on ook drft y J. V. Tucker nd K. Stephenson)

More information

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck.

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck. Outline Automt Theory 101 Rlf Huuck Introduction Finite Automt Regulr Expressions ω-automt Session 1 2006 Rlf Huuck 1 Session 1 2006 Rlf Huuck 2 Acknowledgement Some slides re sed on Wolfgng Thoms excellent

More information

CHAPTER 1 Regular Languages. Contents

CHAPTER 1 Regular Languages. Contents Finite Automt (FA or DFA) CHAPTE 1 egulr Lnguges Contents definitions, exmples, designing, regulr opertions Non-deterministic Finite Automt (NFA) definitions, euivlence of NFAs nd DFAs, closure under regulr

More information

Nondeterminism. Nondeterministic Finite Automata. Example: Moves on a Chessboard. Nondeterminism (2) Example: Chessboard (2) Formal NFA

Nondeterminism. Nondeterministic Finite Automata. Example: Moves on a Chessboard. Nondeterminism (2) Example: Chessboard (2) Formal NFA Nondeterminism Nondeterministic Finite Automt Nondeterminism Subset Construction A nondeterministic finite utomton hs the bility to be in severl sttes t once. Trnsitions from stte on n input symbol cn

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

Automata and Languages

Automata and Languages Automt nd Lnguges Prof. Mohmed Hmd Softwre Engineering Lb. The University of Aizu Jpn Grmmr Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Expressiveness modulo Bisimilarity of Regular Expressions with Parallel Composition (Extended Abstract)

Expressiveness modulo Bisimilarity of Regular Expressions with Parallel Composition (Extended Abstract) Expressiveness modulo Bisimilrity of Regulr Expressions with Prllel Composition (Extended Abstrct) Jos C. M. Beten Eindhoven University of Technology, The Netherlnds j.c.m.beten@tue.nl Tim Muller University

More information

CS 330 Formal Methods and Models

CS 330 Formal Methods and Models CS 330 Forml Methods nd Models Dn Richrds, section 003, George Mson University, Fll 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Septemer 7 1. Prove (p q) (p q), () (5pts) using truth tles. p q

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb. CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

Harvard University Computer Science 121 Midterm October 23, 2012

Harvard University Computer Science 121 Midterm October 23, 2012 Hrvrd University Computer Science 121 Midterm Octoer 23, 2012 This is closed-ook exmintion. You my use ny result from lecture, Sipser, prolem sets, or section, s long s you quote it clerly. The lphet is

More information

Decidability of Weak Bisimilarity for a Subset of Basic Parallel Processes

Decidability of Weak Bisimilarity for a Subset of Basic Parallel Processes Decidbility of We Bisimilrity for Subset of Bsic Prllel Processes Colin Stirling Division of Informtics University of Edinburgh emil: cps@dcs.ed.c.u 1 Introduction In the pst decde there hs been vriety

More information

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes Jim Lmbers MAT 169 Fll Semester 2009-10 Lecture 4 Notes These notes correspond to Section 8.2 in the text. Series Wht is Series? An infinte series, usully referred to simply s series, is n sum of ll of

More information

First Midterm Examination

First Midterm Examination 24-25 Fll Semester First Midterm Exmintion ) Give the stte digrm of DFA tht recognizes the lnguge A over lphet Σ = {, } where A = {w w contins or } 2) The following DFA recognizes the lnguge B over lphet

More information

Second Lecture: Basics of model-checking for finite and timed systems

Second Lecture: Basics of model-checking for finite and timed systems Second Lecture: Bsics of model-checking for finite nd timed systems Jen-Frnçois Rskin Université Lire de Bruxelles Belgium Artist2 Asin Summer School - Shnghi - July 28 Pln of the tlk Lelled trnsition

More information

Lecture 09: Myhill-Nerode Theorem

Lecture 09: Myhill-Nerode Theorem CS 373: Theory of Computtion Mdhusudn Prthsrthy Lecture 09: Myhill-Nerode Theorem 16 Ferury 2010 In this lecture, we will see tht every lnguge hs unique miniml DFA We will see this fct from two perspectives

More information

Stuttering for Abstract Probabilistic Automata

Stuttering for Abstract Probabilistic Automata Stuttering for Abstrct Probbilistic Automt Benoît Delhye 1, Kim G. Lrsen 2, nd Axel Legy 1 1 INRIA/IRISA, Frnce, {benoit.delhye,xel.legy}@inri.fr 2 Alborg University, Denmrk, kgl@cs.u.dk Abstrct. Probbilistic

More information

CSCI FOUNDATIONS OF COMPUTER SCIENCE

CSCI FOUNDATIONS OF COMPUTER SCIENCE 1 CSCI- 2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2015 My 7, 2015 2 Announcements Homework 9 is due now. Some finl exm review problems will be posted on the web site tody. These re prcqce problems not

More information

Designing and Understanding the Behaviour of Systems

Designing and Understanding the Behaviour of Systems Designing nd Understnding the Behviour of Systems Jn Friso Groote & Michel Reniers Deprtment of Computer Science Eindhoven University of Technology, Eindhoven Emil: J.F.Groote@tue.nl, M.A.Reniers@tue.nl

More information

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!)

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!) CMSC 330: Orgniztion of Progrmming Lnguges DFAs, nd NFAs, nd Regexps (Oh my!) CMSC330 Spring 2018 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All

More information

Parse trees, ambiguity, and Chomsky normal form

Parse trees, ambiguity, and Chomsky normal form Prse trees, miguity, nd Chomsky norml form In this lecture we will discuss few importnt notions connected with contextfree grmmrs, including prse trees, miguity, nd specil form for context-free grmmrs

More information

Mathematics Number: Logarithms

Mathematics Number: Logarithms plce of mind F A C U L T Y O F E D U C A T I O N Deprtment of Curriculum nd Pedgogy Mthemtics Numer: Logrithms Science nd Mthemtics Eduction Reserch Group Supported y UBC Teching nd Lerning Enhncement

More information

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 CMSC 330 1 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All exmples so fr Nondeterministic

More information

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

CS5371 Theory of Computation. Lecture 20: Complexity V (Polynomial-Time Reducibility) CS5371 Theory of Computtion Lecture 20: Complexity V (Polynomil-Time Reducibility) Objectives Polynomil Time Reducibility Prove Cook-Levin Theorem Polynomil Time Reducibility Previously, we lernt tht if

More information