Categorical approaches to bisimilarity

Size: px
Start display at page:

Download "Categorical approaches to bisimilarity"

Transcription

1 Ctegoricl pproches to bisimilrity PPS seminr, IRIF, Pris 7 Jérémy Dubut Ntionl Institute of Informtics Jpnese-French Lbortory for Informtics April 2nd Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 1 / 40

2 Bisimilrity of Trnsition Systems Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 2 / 40

3 Trnsition Systems Trnsition system : A TS T = (Q, i, ) on the lphbet Σ is the following dt: set Q (of sttes); n initil stte i Q; set of trnsitions Q Σ Q. Σ = {, b, c}, Q = {0, 1, 2, 3}, b 1 i = 0, 0 b c 3 = {(0,, 0), (0, b, 1), (0,, 2), (1, c, 2), (2, b, 0), (2,, 3)}. 2 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 3 / 40

4 Bisimultions of Trnsition Systems Bisimultions [Prk81] : A bisimultion between T 1 = (Q 1, i 1, 1 ) nd T 2 = (Q 2, i 2, 2 ) is reltion R Q 1 Q 2 such tht: (i) (i 1, i 2 ) R; (ii) if (q 1, q 2 ) R nd (q 1,, q 1 ) 1 then there is q 2 Q 2 such tht (q 2,, q 2 ) 2 nd (q 1, q 2 ) R; (iii) if (q 1, q 2 ) R nd (q 2,, q 2 ) 2 then there is q 1 Q 1 such tht (q 1,, q 1 ) 1 nd (q 1, q 2 ) R. b b c c Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 4 / 40

5 Severl Chrcteristions of Bisimilrity Bisimilrity: Given two TS T nd T, the following re equivlent: [Prk81] There is bisimultion between T nd T. [Stirling96] Defender hs strtegy to never loose in 2-plyer gme on T nd T. [Hennessy80] T nd T stisfy the sme formule of the Hennessy-Milner logic. In this cse, we sy tht T nd T re bisimilr. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 5 / 40

6 Morphisms of Trnsition Systems Morphism of TS: A morphism of TS f : T 1 = (Q 1, i 1, 1 ) T 2 = (Q 2, i 2, 2 ) is function f : Q 1 Q 2 such tht: preserving the initil stte: f (i 1 ) = i 2, preserving the trnsitions: for every (p,, q) 1, (f (p),, f (q)) 2. TS(Σ) = ctegory of trnsition systems nd morphisms b c b c Morphisms re functionl simultions: Morphisms re precisely functions f between sttes whose grph {(q, f (q)) q Q 1 } is simultion. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 6 / 40

7 Ctegoricl Chrcteristions Bisimilrity, using morphisms: Two TS T nd T re bisimilr iff there is spn of functionl bisimultions between them. T f g T T Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 7 / 40

8 Bisimilrity from Colgebr J. Rutten. Universl colgebr: theory of systems. Theoreticl Computer Science 249(1), 3 80 (2000) Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 8 / 40

9 Trnsition systems, s pointed colgebrs Set of trnsitions, s functions: There is bijection between sets of trnsitions Q Σ Q nd functions of type: δ : Q P(Σ Q) where P(X ) is the powerset {U U X }. Initil sttes, s functions: There is bijection between initil sttes i Q nd functions of type: ι : Q where is singleton. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 9 / 40

10 Exmple Σ = {, b, c}, Q = {0, 1, 2, 3}, b 1 i = 0, 0 b c 3 = {(0,, 0), (0, b, 1), (0,, 2), (1, c, 2), (2, b, 0), (2,, 3)}. 2 ι : Q 0 δ : Q P(Σ Q) 0 {(, 0), (b, 1), (, 2)} 1 {(c, 2)} 2 {(b, 0)} 3 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 10 / 40

11 Pointed colgebrs Pointed colgebrs: Given n endofunctor G : C C nd n object I C, pointed colgebr is the following dt: n object Q C, morphism ι : I Q of C, morphism σ : Q G(Q) of C. G is often decomposed s T F, where: T : brnching type, e.g, non-deterministic, probbilistic, weighted. For TS: T = P. F : trnsition type. For TS: F = Σ _. I is often the finl object, but we will see other exmples. For TS: I =, the finl object. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 11 / 40

12 Morphisms of TS, using Pointed Colgebrs Morphisms of TS re lx morphisms of pointed colgebrs A morphism of TS, seen s pointed colgebrs T = (Q 1, ι 1, δ 1 ) nd T = (Q 2, ι 2, δ 2 ) is the sme s function stisfying I Q 1 f : Q 1 Q 2 ι 1 σ 1 ι 2 P(Σ Q 1 ) f P(Σ f ) Q 2 σ 2 P(Σ Q 2 ) Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 12 / 40

13 Lx Morphisms of Pointed Colgebrs Lx Morphisms: Assume there is n order on every Hom-set of the form C(X, G(Y )). A lx morphism from (Q 1, ι 1, δ 1 ) to (Q 2, ι 2, δ 2 ) is morphism of C stisfying I Q 1 f : Q 1 Q 2 ι 1 σ 1 ι 2 G(Q 1 ) f G(f ) Q 2 σ 2 G(Q 2 ) Col lx (G, I ) = ctegory of pointed colgebrs nd lx morphisms. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 13 / 40

14 Wht bout functionl bisimultions? Functionl bisimultions re homomorphisms of pointed colgebrs For two TS, seen s pointed colgebrs T = (Q 1, ι 1, δ 1 ) nd T = (Q 2, ι 2, δ 2 ), nd for function of the form f : Q 1 Q 2, the following re equivlent: The grph {(q, f (q)) q Q 1 } of f is bisimultion. f is homomorphism of pointed colgebrs, tht is, the following digrm commutes: ι 1 σ 1 I Q 1 ι 2 P(Σ Q 1 ) f P(Σ f ) Q 2 σ 2 P(Σ Q 2 ) Bisimilrity, using homomorphisms of pointed colgebrs For two TS T nd T, the following re equivlent: T nd T re bisimilr. There is spn of homomorphisms of pointed colgebrs between T nd T. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 14 / 40

15 Homomorphisms of Pointed Colgebrs Morphisms: A homomorphism from (Q 1, ι 1, δ 1 ) to (Q 2, ι 2, δ 2 ) is morphism of C stisfying I Q 1 f : Q 1 Q 2 ι 1 σ 1 ι 2 G(Q 1 ) f G(f ) Q 2 σ 2 G(Q 2 ) Col(G, I ) = ctegory of pointed colgebrs nd homomorphisms. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 15 / 40

16 Summry [Wißmn, D., Ktsumt, Hsuo FoSSCS 19] Non-deterministic brnching colgebr open mps dt type G : C C, I C on C(X, G(Y )) J : P M systems pointed colgebrs objects of M functionl simultions lx morphisms morphisms of M functionl bisimultions homomorphisms open mps bisimilrity existence of spn of functionl bisimultions [Lsot 02] Smll ctegory of pths Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 16 / 40

17 Bisimilrity from Open Mps A. Joyl, M. Nielsen, G. Winskel. Bisimultion from Open Mps. Informtion nd Computtion 127, (1996) Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 17 / 40

18 Runs in Trnsition System Run A run in trnsition system (Q, i, ) is sequence written s: with: q j Q nd j Σ q 0 = i for every j, (q j, j+1, q j+1 ) q q1... n qn q 0 q 0 b q 1 c q 2 q 1 b q 3 q 0 b c q 3 q 2 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 18 / 40

19 Runs, Ctegoriclly Finite Liner Systems: A finite liner system is TS of the form 1,..., n = ([n], 0, ) where: [n] is the set {0,..., n}; is of the form {(i, i+1, i + 1) i [n 1]} for some 1,..., n in Σ. Runs re morphisms n n 1 n There is bijection between runs of T nd morphisms of TS between finite liner system to T. 0 b c q 0 b b q 1 c q 3 q 2 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 19 / 40

20 Functionl Bisimultions, from Lifting Properties of Pths Functionl bisimultions re open mps: For morphism f of TS from T to T, the following re equivlent: The rechble grph of f, tht is, {(q, f (q)) q rechble} is bisimultion. f hs the right lifting property w.r.t. pth extensions, tht for every commuttive squre (in plin): 1,..., n T inj 1,..., n, n+1,..., n+p T there is lifting (in dot), mking the two tringles commute. Bisimilrity, using open mps For two TS T nd T, the following re equivlent: T nd T re bisimilr. There is spn of open mps between T nd T. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 20 / 40 θ ρ ρ f

21 Open mps Open mp sitution: An open mp sitution is ctegory M (of systems) together with subctegory J : P M (of pths). M = ctegory of systems (Ex : TS(Σ)), P = sub-ctegory of finite liner systems. Open mps: A morphism f : T T of M is sid to be open if for every commuttive squre (in plin): J(p) J(P) T J(Q) T where p : P Q is morphism of P, there is lifting (in dot) mking the two tringles commute. ρ θ ρ f Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 21 / 40

22 Summry [Wißmn, D., Ktsumt, Hsuo FoSSCS 19] Non-deterministic brnching colgebr open mps dt type G : C C, I C on C(X, G(Y )) J : P M systems pointed colgebrs objects of M functionl simultions lx morphisms morphisms of M functionl bisimultions homomorphisms open mps bisimilrity existence of spn of functionl bisimultions [Lsot 02] Smll ctegory of pths Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 22 / 40

23 From Open Mps to Colgebr S. Lsot. Colgebr morphisms subsume open mps. Theor. Comput. Sci. 280(1 2): (2002) Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 23 / 40

24 Problem Setting Input: An open mp sitution P M such tht: P is smll, P nd M hs common initil object 0 Problem: Construct colgebr sitution: G : C C, I C, on C(X, G(Y )). such tht functor Beh : M Col lx (G, I ) f is n open mp iff Beh(f ) is homomorphism. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 24 / 40

25 Solution C = Set ob(p), G((X P ) P ob(p) ) = ( Q P ( P(XQ )) P(P,Q)) P P I 0 =, I P = otherwise, point-wise inclusion, Beh(X ): XP = set of runs lbelled by P, i.e., the set M(P, X ), ι : (IP ) (X P ) mps to unique morphism from 0 to X, σp = (σ P,Q ) Q : X P Q P ( P(XQ )) P(P,Q), where σ P,Q mps run ρ lbelled by P to the set of runs lbelled by Q tht extend ρ. Theorem [Lsot02]: f is n open mp iff Beh(f ) is homomorphism. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 25 / 40

26 From Colgebr to Open Mps T. Wißmn, J. Dubut, S. Ktsumt, I. Hsuo. Pth Ctegory For Free Open Morphisms From Colgebrs With Non-Deterministic Brnching. FoSSCS 19 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 26 / 40

27 Problem Setting Input: A colgebr sitution: G = T F : C C, I C, on C(X, G(Y )). stisfying some xioms. Problem: Construct n open mp sitution J : P Col lx (G, I ) such tht lx homomorphism f : c 1 c 2 : if f is homomorphism then f is open if f is open nd c 2 is rechble, then f is homomorphism Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 27 / 40

28 THE key notion: F -precise morphisms F -precise morphisms: A morphism s : S FR of C is F -precise if for ll f, g, h: s S FR f Fg FC FD Fh d = s S FR f Fd FC & R d g C D h Intuition: morphism s : S FR is precise iff every element of R is used exctly once in the definition of s. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 28 / 40

29 Exmples FX = X X + X f Y X f Y not precise precise Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 29 / 40

30 The Pth Ctegory P = Pth(I, F ) A pth consists in: finite sequence P 0,..., P n of objects of C with P 0 = I, finite sequence of F + 1-precise mps: f k : P k FP k A morphism between pths, from (P k, p k ) k n to (Q j, q j ) j m consists in sequence of isomorphisms φ k : P k Q k such tht: φ k p k P k FP k q k F φ k+1 +1 Q k FQ k Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 30 / 40

31 Exmples FX = {} X + X X, I =, p k : P k FP k+1 + { } p 1 P p 1 0 P 0 P 2 p 2 P 3 p 3 P 4 P 1 p 1 P 2 p 2 P 3 p 3 P p 4 0 P 0 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 31 / 40

32 The Functor J Assumptions on C nd T : 1 C hs finite coproducts, 2 η : Id C T, 3 : 1 T such tht X C(1, T (X )) is the lest element for, 4 some others. Typicl exmple: the powerset functor P Set hs disjoint unions nd empty set, η is the unit η X (x) = {x}, is given by the empty subset X ( ) =,... Theorem: There is functor J : Pth(I, F ) Col lx (TF, I ) given by J(P k, p k ) := I in 0 k n [ ] inl [F in k+1 p k ] k<n,inr! P k F k n P k + 1 [η, ] TF k n P k Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 32 / 40

33 Wrpping up Theorem: A homomorphism of pointed colgebrs in Col lx (TF, I ) is open. Proposition-Definition: For pointed colgebr c = (Q, ι, σ), the following re equivlent: c hs no proper subcolgebr, the set of ll morphisms of the form J(P k, p k ) c is jointly epic. In this cse, we sy tht c is rechble. Theorem: An open mp h : c c in Col lx (TF, I ) where c is rechble is homomorphism. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 33 / 40

34 Instnces Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 34 / 40

35 Lbelled Trnsition Systems C = Set, F (X ) = Σ X, T = P, I =. Pths re given by words. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 35 / 40

36 Vrious Tree-like Automt C = Set, F nlytic, i.e., F (X ) = X n /G σ, T = P, I =. σ/n Σ Pths re given by prtil trees. P 2 p 2 P p 3 1 p 3 P 1 P p 4 0 P 0 Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 36 / 40

37 Multi-Sorted Trnsition Systems [Lsot 02] C = Set ob(p), F ((X P ) P P ) = ( P(P, Q) X Q )P P, Q P T ((X P ) P P ) = (P(X P )) P P, I 0 =, I P =. Pths re given by sequences of pth extensions from the initil pth ctegory: 0 m1 m P 2 1 P 2 mn P n Consequence: We cnnot expect more generl trnsltion from colgebr to open mps. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 37 / 40

38 Regulr Nondeterministic Nominl Automt [Schröder et l. 17] C = Nom, F (X ) = 1 + A X + [A]X, where [A]_ is binding opertor, T = P ufs, the set of uniformly finitely supported, I = A #n, the set of n-tuples of distincts toms. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 38 / 40

39 Generl Kripke Frmes [Kupke et l. 04] C = Stone, the ctegory of Stone spces F = Id, T = V, the Vietoris topology on the set of compct subsets, I =. Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 39 / 40

40 Conclusion [Wißmn, D., Ktsumt, Hsuo FoSSCS 19] Non-deterministic brnching colgebr open mps dt type G : C C, I C on C(X, G(Y )) J : P M systems pointed colgebrs objects of M functionl simultions lx morphisms morphisms of M functionl bisimultions homomorphisms open mps bisimilrity existence of spn of functionl bisimultions [Lsot 02] Smll ctegory of pths Jérémy Dubut (NII & JFLI) Ctegoricl pproches to bisimilrity April 2nd 40 / 40

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

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

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

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford Probbilistic Model Checking Michelms Term 2011 Dr. Dve Prker Deprtment of Computer Science University of Oxford Long-run properties Lst lecture: regulr sfety properties e.g. messge filure never occurs

More information

Lecture 9: LTL and Büchi Automata

Lecture 9: LTL and Büchi Automata Lecture 9: LTL nd Büchi Automt 1 LTL Property Ptterns Quite often the requirements of system follow some simple ptterns. Sometimes we wnt to specify tht property should only hold in certin context, clled

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

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

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

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

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

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

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

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Mehryr Mohri Cournt Institute nd Google Reserch mohri@cims.nyu.com Preliminries Finite lphet Σ, empty string. Set of ll strings over

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

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

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

Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Kleene-* Regulr Expressions (RE) Regulr Expressions (RE) Empty set F A RE denotes the empty set Opertion Nottion Lnguge UNIX Empty string A RE denotes the set {} Alterntion R +r L(r ) L(r ) r r Symol Alterntion

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

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

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

440-2 Geometry/Topology: Differentiable Manifolds Northwestern University Solutions of Practice Problems for Final Exam

440-2 Geometry/Topology: Differentiable Manifolds Northwestern University Solutions of Practice Problems for Final Exam 440-2 Geometry/Topology: Differentible Mnifolds Northwestern University Solutions of Prctice Problems for Finl Exm 1) Using the cnonicl covering of RP n by {U α } 0 α n, where U α = {[x 0 : : x n ] RP

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

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

NFAs and Regular Expressions. NFA-ε, continued. Recall. Last class: Today: Fun:

NFAs and Regular Expressions. NFA-ε, continued. Recall. Last class: Today: Fun: CMPU 240 Lnguge Theory nd Computtion Spring 2019 NFAs nd Regulr Expressions Lst clss: Introduced nondeterministic finite utomt with -trnsitions Tody: Prove n NFA- is no more powerful thn n NFA Introduce

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Eugene Weinstein Google, NYU Cournt Institute eugenew@cs.nyu.edu Slide Credit: Mehryr Mohri Preliminries Finite lphet, empty string.

More information

Uninformed Search Lecture 4

Uninformed Search Lecture 4 Lecture 4 Wht re common serch strtegies tht operte given only serch problem? How do they compre? 1 Agend A quick refresher DFS, BFS, ID-DFS, UCS Unifiction! 2 Serch Problem Formlism Defined vi the following

More information

A tutorial on sequential functions

A tutorial on sequential functions A tutoril on sequentil functions Jen-Éric Pin LIAFA, CNRS nd University Pris 7 30 Jnury 2006, CWI, Amsterdm Outline (1) Sequentil functions (2) A chrcteriztion of sequentil trnsducers (3) Miniml sequentil

More information

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Math 520 Final Exam Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008 Mth 520 Finl Exm Topic Outline Sections 1 3 (Xio/Dums/Liw) Spring 2008 The finl exm will be held on Tuesdy, My 13, 2-5pm in 117 McMilln Wht will be covered The finl exm will cover the mteril from ll of

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

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

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

5.1 Definitions and Examples 5.2 Deterministic Pushdown Automata

5.1 Definitions and Examples 5.2 Deterministic Pushdown Automata CSC4510 AUTOMATA 5.1 Definitions nd Exmples 5.2 Deterministic Pushdown Automt Definitions nd Exmples A lnguge cn be generted by CFG if nd only if it cn be ccepted by pushdown utomton. A pushdown utomton

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

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

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

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University CS415 Compilers Lexicl Anlysis nd These slides re sed on slides copyrighted y Keith Cooper, Ken Kennedy & Lind Torczon t Rice University First Progrmming Project Instruction Scheduling Project hs een posted

More information

Lecture 6 Regular Grammars

Lecture 6 Regular Grammars Lecture 6 Regulr Grmmrs COT 4420 Theory of Computtion Section 3.3 Grmmr A grmmr G is defined s qudruple G = (V, T, S, P) V is finite set of vribles T is finite set of terminl symbols S V is specil vrible

More information

Algebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University

Algebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University 1/39 Algebras Larry Moss Indiana University, Bloomington TACL 13 Summer School, Vanderbilt University 2/39 Binary trees Let T be the set which starts out as,,,, 2/39 Let T be the set which starts out as,,,,

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

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

Universal coalgebra: a theory of systems

Universal coalgebra: a theory of systems Theoreticl Computer cience 249 (2000) 3 80 www.elsevier.com/locte/tcs Fundmentl tudy Universl colgebr: theory of systems J.J.M.M. Rutten CWI, P.O. Box 94079, 1090 GB Amsterdm, Netherlnds Communicted by

More information

1.9 C 2 inner variations

1.9 C 2 inner variations 46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for

More information

Entrance Exam, Real Analysis September 1, 2009 Solve exactly 6 out of the 8 problems. Compute the following and justify your computation: lim

Entrance Exam, Real Analysis September 1, 2009 Solve exactly 6 out of the 8 problems. Compute the following and justify your computation: lim 1. Let n be positive integers. ntrnce xm, Rel Anlysis September 1, 29 Solve exctly 6 out of the 8 problems. Sketch the grph of the function f(x): f(x) = lim e x2n. Compute the following nd justify your

More information

Formal Language and Automata Theory (CS21004)

Formal Language and Automata Theory (CS21004) Forml Lnguge nd Automt Forml Lnguge nd Automt Theory (CS21004) Khrgpur Khrgpur Khrgpur Forml Lnguge nd Automt Tle of Contents Forml Lnguge nd Automt Khrgpur 1 2 3 Khrgpur Forml Lnguge nd Automt Forml Lnguge

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

UNIT-2 POLYNOMIALS Downloaded From: [Year] UNIT-2 POLYNOMIALS

UNIT-2 POLYNOMIALS Downloaded From:   [Year] UNIT-2 POLYNOMIALS UNIT- POLYNOMIALS Downloded From: www.jsuniltutoril.weebly.com [Yer] UNIT- POLYNOMIALS It is not once nor twice but times without number tht the sme ides mke their ppernce in the world.. Find the vlue

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

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA)

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA) Finite Automt (FA or DFA) CHAPTER Regulr Lnguges Contents definitions, exmples, designing, regulr opertions Non-deterministic Finite Automt (NFA) definitions, equivlence of NFAs DFAs, closure under regulr

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

Lecture 3. Limits of Functions and Continuity

Lecture 3. Limits of Functions and Continuity Lecture 3 Limits of Functions nd Continuity Audrey Terrs April 26, 21 1 Limits of Functions Notes I m skipping the lst section of Chpter 6 of Lng; the section bout open nd closed sets We cn probbly live

More information

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.) CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts

More information

Adjunctions! Everywhere!

Adjunctions! Everywhere! Adjunctions! Everywhere! Carnegie Mellon University Thursday 19 th September 2013 Clive Newstead Abstract What do free groups, existential quantifiers and Stone-Čech compactifications all have in common?

More information

Conceptual Connections of Circularity and Category Theory

Conceptual Connections of Circularity and Category Theory 1/64 Conceptual Connections of Circularity and Category Theory Larry Moss Indiana University, Bloomington ESSLLI 2012, Opole 2/64 The conceptual comparison chart Filling out the details is my goal for

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Lerning Tom Mitchell, Mchine Lerning, chpter 13 Outline Introduction Comprison with inductive lerning Mrkov Decision Processes: the model Optiml policy: The tsk Q Lerning: Q function Algorithm

More information

9 Direct products, direct sums, and free abelian groups

9 Direct products, direct sums, and free abelian groups 9 Direct products, direct sums, and free abelian groups 9.1 Definition. A direct product of a family of groups {G i } i I is a group i I G i defined as follows. As a set i I G i is the cartesian product

More information

GENERALIZING DETERMINIZATION FROM AUTOMATA TO COALGEBRAS

GENERALIZING DETERMINIZATION FROM AUTOMATA TO COALGEBRAS Logicl Methods in Computer Science Vol. 9(1:09)2013, pp. 1 27 www.lmcs-online.org Submitted Jun. 16, 2011 Published Mr. 4, 2013 GENERALIZING DETERMINIZATION FROM AUTOMATA TO COALGEBRAS ALEANDRA SILVA,

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

a n = 1 58 a n+1 1 = 57a n + 1 a n = 56(a n 1) 57 so 0 a n+1 1, and the required result is true, by induction.

a n = 1 58 a n+1 1 = 57a n + 1 a n = 56(a n 1) 57 so 0 a n+1 1, and the required result is true, by induction. MAS221(216-17) Exm Solutions 1. (i) A is () bounded bove if there exists K R so tht K for ll A ; (b) it is bounded below if there exists L R so tht L for ll A. e.g. the set { n; n N} is bounded bove (by

More information

Non-Deterministic Finite Automata

Non-Deterministic Finite Automata Non-Deterministic Finite Automt http://users.comlb.ox.c.uk/luke. ong/teching/moc/nf2up.pdf 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q1 q2 2 Alphbet ={} Two choices q1 q2 3 Alphbet ={} Two choices

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

Summer School Verification Technology, Systems & Applications

Summer School Verification Technology, Systems & Applications VTSA 2011 Summer School Verifiction Technology, Systems & Applictions 4th edition since 2008: Liège (Belgium), Sep. 19 23, 2011 free prticiption, limited number of prticipnts ppliction dedline: July 22,

More information

Review of category theory

Review of category theory Review of category theory Proseminar on stable homotopy theory, University of Pittsburgh Friday 17 th January 2014 Friday 24 th January 2014 Clive Newstead Abstract This talk will be a review of the fundamentals

More information

Downloaded from

Downloaded from POLYNOMIALS UNIT- It is not once nor twice but times without number tht the sme ides mke their ppernce in the world.. Find the vlue for K for which x 4 + 0x 3 + 5x + 5x + K exctly divisible by x + 7. Ans:

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

Software Engineering using Formal Methods

Software Engineering using Formal Methods Softwre Engineering using Forml Methods Propositionl nd (Liner) Temporl Logic Wolfgng Ahrendt 13th Septemer 2016 SEFM: Liner Temporl Logic /GU 160913 1 / 60 Recpitultion: FormlistionFormlistion: Syntx,

More information

Towards a Mathematical Operational Semantics

Towards a Mathematical Operational Semantics Towrds Mthemticl Opertionl Semntics Dniele Turi Gordon Plotkin Deprtment of Computer Science Lbortory for Foundtions of Computer Science University of Edinburgh, The

More information

Non-deterministic Finite Automata

Non-deterministic Finite Automata Non-deterministic Finite Automt From Regulr Expressions to NFA- Eliminting non-determinism Rdoud University Nijmegen Non-deterministic Finite Automt H. Geuvers nd J. Rot Institute for Computing nd Informtion

More information

Non Deterministic Automata. Formal Languages and Automata - Yonsei CS 1

Non Deterministic Automata. Formal Languages and Automata - Yonsei CS 1 Non Deterministic Automt Forml Lnguges nd Automt - Yonsei CS 1 Nondeterministic Finite Accepter (NFA) We llow set of possible moves insted of A unique move. Alphbet = {} Two choices q 1 q2 Forml Lnguges

More information

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages Deprtment of Computer Science, Austrlin Ntionl University COMP2600 Forml Methods for Softwre Engineering Semester 2, 206 Assignment Automt, Lnguges, nd Computility Smple Solutions Finite Stte Automt nd

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

Automata, Games, and Verification

Automata, Games, and Verification Automt, Gmes, nd Verifiction Prof. Bernd Finkbeiner, Ph.D. Srlnd University Summer Term 2015 Lecture Notes by Bernd Finkbeiner, Felix Klein, Tobis Slzmnn These lecture notes re working document nd my contin

More information

Finite Nondeterministic Automata: Simulation and Minimality

Finite Nondeterministic Automata: Simulation and Minimality Finite Nondeterministic Automt: Simultion nd Minimlity Cristin S. Clude, Elen Clude, Bkhdyr Khoussinov Abstrct Motivted by recent pplictions of finite utomt to theoreticl physics, we study the minimiztion

More information

Lexical Analysis Finite Automate

Lexical Analysis Finite Automate Lexicl Anlysis Finite Automte CMPSC 470 Lecture 04 Topics: Deterministic Finite Automt (DFA) Nondeterministic Finite Automt (NFA) Regulr Expression NFA DFA A. Finite Automt (FA) FA re grph, like trnsition

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

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

Disjunctive Probabilistic Modal Logic is Enough for Bisimilarity on Reactive Probabilistic Systems

Disjunctive Probabilistic Modal Logic is Enough for Bisimilarity on Reactive Probabilistic Systems Disjunctive Probbilistic Modl Logic is Enough for Bisimilrity on Rective Probbilistic Systems Mrco Bernrdo 1 nd Mrino Miculn 2 1 Dip. di Scienze Pure e Applicte, Università di Urbino, Itly 2 Dip. di Scienze

More information

C. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's

C. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's Journl of utomt, Lnguges n Combintorics u (v) w, x{y c OttovonGuerickeUniversitt Mgeburg Tight lower boun for the stte complexity of shue of regulr lnguges Cezr C^mpenu, Ki Slom Computing n Informtion

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

Contents. Bibliography 25

Contents. Bibliography 25 Contents 1 Bisimultion nd Logic pge 2 1.1 Introduction........................................................ 2 1.2 Modl logic nd bisimilrity......................................... 4 1.3 Bisimultion

More information

Non-deterministic Finite Automata

Non-deterministic Finite Automata Non-deterministic Finite Automt Eliminting non-determinism Rdoud University Nijmegen Non-deterministic Finite Automt H. Geuvers nd T. vn Lrhoven Institute for Computing nd Informtion Sciences Intelligent

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

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

The Cayley-Hamilton Theorem For Finite Automata. Radu Grosu SUNY at Stony Brook

The Cayley-Hamilton Theorem For Finite Automata. Radu Grosu SUNY at Stony Brook The Cyley-Hmilton Theorem For Finite Automt Rdu Grosu SUNY t Stony Brook How did I get interested in this topic? Convergence of Theories Hyrid Systems Computtion nd Control: - convergence etween control

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016 CS125 Lecture 12 Fll 2016 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple

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

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

Model Reduction of Finite State Machines by Contraction

Model Reduction of Finite State Machines by Contraction Model Reduction of Finite Stte Mchines y Contrction Alessndro Giu Dip. di Ingegneri Elettric ed Elettronic, Università di Cgliri, Pizz d Armi, 09123 Cgliri, Itly Phone: +39-070-675-5892 Fx: +39-070-675-5900

More information

Joint distribution. Joint distribution. Marginal distributions. Joint distribution

Joint distribution. Joint distribution. Marginal distributions. Joint distribution Joint distribution To specify the joint distribution of n rndom vribles X 1,...,X n tht tke vlues in the smple spces E 1,...,E n we need probbility mesure, P, on E 1... E n = {(x 1,...,x n ) x i E i, i

More information

Chapter 3. Vector Spaces

Chapter 3. Vector Spaces 3.4 Liner Trnsformtions 1 Chpter 3. Vector Spces 3.4 Liner Trnsformtions Note. We hve lredy studied liner trnsformtions from R n into R m. Now we look t liner trnsformtions from one generl vector spce

More information

How to simulate Turing machines by invertible one-dimensional cellular automata

How to simulate Turing machines by invertible one-dimensional cellular automata How to simulte Turing mchines by invertible one-dimensionl cellulr utomt Jen-Christophe Dubcq Déprtement de Mthémtiques et d Informtique, École Normle Supérieure de Lyon, 46, llée d Itlie, 69364 Lyon Cedex

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

Best Approximation in the 2-norm

Best Approximation in the 2-norm Jim Lmbers MAT 77 Fll Semester 1-11 Lecture 1 Notes These notes correspond to Sections 9. nd 9.3 in the text. Best Approximtion in the -norm Suppose tht we wish to obtin function f n (x) tht is liner combintion

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014 CS125 Lecture 12 Fll 2014 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple

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

AUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB

AUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB AUTOMATED REASONING Agostino Dovier Università di Udine CLPLAB Udine, Novemer 2017 AGOSTINO DOVIER (CLPLAB) AUTOMATED REASONING UDINE, NOVEMBER 2017 1 / 15 Semntics of Logic Progrms AGOSTINO DOVIER (CLPLAB)

More information

a n+2 a n+1 M n a 2 a 1. (2)

a n+2 a n+1 M n a 2 a 1. (2) Rel Anlysis Fll 004 Tke Home Finl Key 1. Suppose tht f is uniformly continuous on set S R nd {x n } is Cuchy sequence in S. Prove tht {f(x n )} is Cuchy sequence. (f is not ssumed to be continuous outside

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

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

Axioms for Set Theory

Axioms for Set Theory Axioms for Set Theory The following is a subset of the Zermelo-Fraenkel axioms for set theory. In this setting, all objects are sets which are denoted by letters, e.g. x, y, X, Y. Equality is logical identity:

More information

Decision Networks. CS 188: Artificial Intelligence Fall Example: Decision Networks. Decision Networks. Decisions as Outcome Trees

Decision Networks. CS 188: Artificial Intelligence Fall Example: Decision Networks. Decision Networks. Decisions as Outcome Trees CS 188: Artificil Intelligence Fll 2011 Decision Networks ME: choose the ction which mximizes the expected utility given the evidence mbrell Lecture 17: Decision Digrms 10/27/2011 Cn directly opertionlize

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