Kleene Coalgebra an overview

Size: px
Start display at page:

Download "Kleene Coalgebra an overview"

Transcription

1 Kleene Colgebr n overview Alexndr Silv 1, Mrcello Bonsngue 1,2, nd Jn Rutten 1,3 1 Centrum Wiskunde & Informtic 2 LIACS Leiden Institute of Advnced Computer Science 3 Rdboud Universiteit Nijmegen Abstrct. Colgebrs provide uniform frmework for the study of dynmicl systems, including severl types of utomt. The colgebric view on systems hs recently been proved relevnt by the development of number of expression clculi which generlize clssicl results by Kleene, on regulr expressions, nd by Kozen, on Kleene lgebr. This note contins n overview of the motivtion nd results of the generic frmework we developed Kleene Colgebr to uniformly derive the forementioned clculi. We present n historicl overview of work on regulr expressions nd xiomtiztions, s well discussion of relted work. We show pplictions of the frmework to three types of probbilistic systems: simple Segl, strtified nd Pnueli-Zuck. 1 Introduction Computer systems hve widely spred since their ppernce, nd they now ply crucil role in mny dily ctivities, with their deployment rnging from smll home pplinces to sfety criticl components, such s irplne or utomobile control systems. Accidents cused by either hrdwre or softwre filure cn hve disstrous consequences, leding to the loss of humn lives or cusing enormous finncil drwbcks. One of the gretest chllenges of computer science is to cope with the fst evolution of computer systems nd to develop forml techniques which fcilitte the construction of softwre nd hrdwre systems. Since the erly dys of computer science, mny scientists hve serched for suitble models of computtion nd for specifiction lnguges tht re pproprite for resoning bout such models. When devising model for prticulr system, there is need to encode different fetures which cpture the inherent behvior of the system. For instnce, some systems hve deterministic behvior ( clcultor or n elevtor), wheres others hve inherently non-deterministic or probbilistic behvior (think of csino slot mchine). The rpidly incresing complexity of systems demnds for compositionl nd unifying models of computtion, s well s generl methods nd guidelines to derive specifiction lnguges. In the lst decdes, colgebr hs risen s prominent cndidte for mthemticl frmework to specify nd reson bout computer systems. Colgebric modeling works, on the surfce, s follows: the bsic fetures of system, such s non-determinism or probbility, re collected nd combined in the pproprite

2 wy, determining the type of the system. This type (formlly, functor) is then used to derive suitble equivlence reltion nd universl domin of behviors, which llow to reson bout equivlence of systems. The strength of colgebric modeling lies in the fct tht mny importnt notions re prmetrized by the type of the system. On the one hnd, the colgebric frmework is unifying, llowing for uniform study of different systems nd mking precise the connection between them. On the other hnd, it cn serve s guideline for the development of bsic notions for new models of computtion. One of the simplest models of computtion is tht of deterministic finite utomton. In his seminl pper in 1956, Kleene [32] described finite deterministic utomt (which he clled nerve nets), together with specifiction lnguge: regulr expressions. One of his most importnt results is the theorem which sttes tht ny finite deterministic utomton cn be chrcterized by regulr expression nd tht, conversely, every regulr expression cn be relized by such utomton. This theorem, which is tody referred to s Kleene s theorem, becme one of the cornerstones of theoreticl computer science. In his pper, Kleene left open the question of whether there would exist finite, sound nd complete, xiomtiztion of the equivlence of regulr expressions, which would enble lgebric resoning. The first nswer to this question ws given in 1966 by Slom [47], who presented two complete xiomtiztions. The 1971 monogrph of Conwy [21] presents n extended overview of results on regulr expressions nd their xiomtiztions. Lter, in 1990, Kozen [33] showed tht Slom s xiomtiztion is non-lgebric, in the sense tht it is unsound under substitution of lphbet symbols by rbitrry regulr expressions, nd presented n lgebric xiomtiztion: Kleene lgebrs. McNughton nd Ymd [36] gve lgorithms to build non-deterministic utomton from regulr expression nd bck, nd introduced notion of extended regulr expression with intersection nd complementtion opertors. This enrichment of the lnguge of regulr expressions ws relevnt in the context of the most importnt ppliction of regulr expressions t tht time, in the design of digitl circuits, llowing more esy conversion of nturl lnguge specifiction of problems into regulr expression. Brzozowski [17,18] introduced the notion of derivtive of regulr expressions, which llowed him to prove Kleene s theorem for the extended set of regulr expressions without hving to recur to non-deterministic utomt. Efficient lgorithms to compile regulr expressions to deterministic nd nondeterministic utomt becme crucil when regulr expressions strted to be widely used for pttern mtching. One of the fstest (nd most beutiful) lgorithms to trnslte regulr expressions into utomt ws devised by Berry nd Sethi [8]. This lgorithm becme the bsis of one of the first compilers of the lnguge Esterel [7], synchronous progrmming lnguge, bsed on regulr expressions, dedicted to embedded systems. Esterel is one of the most successful follow ups of Kleene s work: it is used s specifiction lnguge of control-intensive pplictions, such s the ones running in the centrl units of

3 crs or irplnes. In such systems gurnteeing importnt sfety properties is of the utmost importnce nd forml models of computtion ply centrl role. In 1981, Milner dpted Kleene nd Slom s results to lbeled trnsition systems: model of computtion in which non-determinism is llowed [39]. He introduced lnguge for finitely presented behviors, which cn be seen s frgment of the clculus of communicting systems (CCS) [38], nd sound nd complete xiomtiztion with respect to bisimilrity. The pper of Milner served s inspirtion for mny reserchers in the concurrency community. Probbilistic extensions of CCS, together with sound nd complete xiomtiztions (with respect to the pproprite notion of equivlence) hve been presented for instnce in [22,23,51]. In ddition to the models lredy mentioned, other importnt models of computtion include Mely mchines [37] (utomt with input nd output), utomt on gurded strings [34] nd weighted utomt [50]. These three models hve pplictions, for instnce, in digitl circuit design, compiler optimiztion nd imge recognition, respectively. The im of our work is to mke use of the colgebric view on systems to devise frmework where lnguges of specifiction nd xiomtiztions cn be uniformly derived for lrge clss of systems, which include ll the models mentioned bove. As snity check, it should be possible to derive from the generl frmework known results. More importntly, we should be ble to derive new lnguges nd xiomtiztions. We combine the work of Kleene with colgebr, hence the nme Kleene colgebr. The theory of universl colgebr [45] provides stndrd equivlence nd universl domin of behviors, uniquely bsed on the type of the system, given by functor F. It is our min im to show how the type of the system lso llows for uniform derivtion of both set of expressions describing the system s behvior nd corresponding xiomtiztion, sound nd complete with respect to the equivlence induced by F, which enbles lgebric resoning on the specifictions. Furthermore, we wnt to show the correspondence of the behviors denoted by the expressions in the lnguge nd the systems under study, formulting the colgebric nlogue of Kleene s theorem. The clss of systems we study (or in other words, the clss of functors F) is lrge enough to cover finite deterministic utomt nd lbeled trnsition systems. It includes lso other models, such s Mely mchines, utomt on gurded strings, weighted utomt nd severl types of probbilistic utomt, such s Segl, strtified nd Pnueli-Zuck systems. From this generl frmework we will recover known lnguges nd xiomtiztions but, more interestingly, we will lso derive new ones, for the so-clled strtified nd Pnueli-Zuck systems. To give the reder feeling of the type of expressions nd xiomtiztions we will derive, we show in Figure 1 few exmples of systems, together with their type nd exmples of vlid expressions nd xioms.

4 Deterministic utomt Mely mchines b s 1 s 2 b b 0 s s 2 b 0 F = 2 Id A F = (2 Id) A µx.b(x) (µy.b(y) (x) 1) ε ε µx.b(x) (µy.(x) b(y)) 1 µx.ε ε[µx.ε/x] Lbeled trnsition systems s 1 s 2 s 3 b c c s 4 s 5 s 6 1/2 s 2 Segl systems s 1 1/2 s 3 2/3 s 4 1/3 s 5 F = (P ωid) A F = (P ω(d ωid)) A ({b( )} {c({ } { })}) ε ε ε ({1/2 1/2 }) ({1/3 2/3 }) p ε p ε (p + p ) ε Fig. 1. For ech of the systems we show concrete exmple, the corresponding functor type, n expression describing the behvior of s 1, nd n exmple of vlid xiom. 1.1 Relted work The connection between Kleene s regulr expressions, deterministic utomt nd colgebr ws first explored in [44,46]. Rutten studied the colgebric structure of the set of regulr expressions, given by Brzozowski derivtives [18], in order to show tht the colgebric semntics coincides with the stndrd inductive semntics of regulr expressions. He proved the usefulness of the pproch by proving equlities by coinduction. The coinductive proofs turned out to be, in mny cses, more concise nd intuitive thn the lterntive lgebric proof using the xioms of Kleene lgebr. Lter, Jcobs [31] presented bilgebric review on deterministic utomt nd regulr expressions, which llowed him to present n lterntive colgebric proof of Kozen s result on the completeness of Kleene lgebrs for lnguge equivlence [33,34]. We took inspirtion from ll of these ppers: the work of Brzozowski nd Rutten led us to the definition of the colgebric structure on the set of expressions, wheres the work by Jcobs nd Kozen served s guideline to the proof of soundness nd completeness of the xiomtiztion we will introduce for the set of generlized regulr expressions. In the lst few yers severl proposls for specifiction lnguges for colgebrs ppered [40,43,30,29,20,11,12,49,35]. The lnguges derived in our frmework (for detils see the thesis of the first uthor [52] or the joint ppers with the

5 other uthors [13,15,14,54,10,53]) re similr in spirit to tht of Rössiger [43], Jcobs [30], Pttinson nd Schröder [49] in tht we use the ingredients of functor for typing expressions. They differ from the logics presented in [43,30] becuse we do not need n explicit next-stte opertor, s we cn deduce it from the type informtion. Aprt from the logics introduced by Kupke nd Venem in [35], the lnguges mentioned bove do not include fixed point opertors. Our lnguge of generlized regulr expressions is similr to frgment of the logic presented in [35] nd cn be seen s n extension of the colgebric logic of [11] with fixed point opertors, s well s the multi-sorted logics of [49]. However, our gol is rther different: we wnt (1) finitry lnguge tht chrcterizes exctly ll loclly finite colgebrs; (2) Kleene like theorem for the lnguge or, in other words, mp (nd not reltion) from expressions to colgebrs nd vice-vers. Similr to mny of the works bove, we lso derive modulr xiomtiztion, sound nd complete with respect to the equivlence induced by the functor. The lnguges studied in the relm of our work llow for recursive specifictions nd therefore formlize potentilly infinite computtions. This type of computtions were studied lso in the context of itertive theories, which hve been introduced by Elgot [25]. The min exmple of n itertive theory is the theory of regulr trees, tht is trees which hve finitely mny distinct subtrees. Adámek, Milius nd Velebil hve presented Elgot s work from colgebric perspective [1,2], simplified some of his originl proofs, nd generlized the notion of free itertive theory to ny finitry endofunctor of every loclly presentble ctegory. The lnguge ssocited with ech functor, which we introduce in our work, modulo the xioms is closely relted to the work bove: it is n initil itertive lgebr. This lso shows the connection of our work with the work by Bloom nd Ésik on itertive lgebrs/theories [9]. Kleene s theorem hs been extended in vrious wys. Büchi [19] extended it to infinite words nd ω-utomt, introducing n ω opertor on lnguges. Ochmnski [41] introduced concurrent version of the Kleene str opertor, which led him to define notion of co-rtionl lnguges, obtined s the rtionl ones by simply replcing the str by the concurrent itertion. He then generlized Kleene s theorem showing tht the recognizble trce lnguges re exctly the co-rtionl lnguges. Gstin, Petit nd Zielonk [26,27] extended Ochmnski s results to infinite trce lnguges. For weighted utomt, Schützenberger [50] hs shown tht the set of recognizble forml power series (corresponding to the behvior of weighted utomt) coincides with the set of rtionl forml power series. For timed utomt, there were severl proposls, including the ppers by Bouyer nd Petit [16], Asrin, Cspi nd Mler [4], nd Asrin nd Dim [5]. Recently, the results of Bouyer nd Petit s well s those of Schützenberger hve been extended to the clss of weighted timed utomt by Droste nd Qus [24]. Furthermore, Kozen hs extended Kleene s lnguge with Boolen tests s finitry representtion of regulr sets of gurded strings nd proved n nlogue of Kleene s theorem for utomt on gurded strings [34].

6 b 1/2 1/2 2/3 1/3 1 1/2 1/2 1/3 2/3 b 1/3 2/3 b b (i) (ii) (iii) 1 Fig. 2. (i) A simple Segl system, (ii) strtified system nd (iii) Pnueli-Zuck system From the forementioned extensions, only the weighted utomt exmple of Schützenberger nd the utomt on gurded strings of Kozen would fit in the frmework we developed. The lnguge we will derive is, however, different from the ones they proposed. Schützenberger s nd Kozen s lnguges hd full sequentil composition nd str in their syntx, insted of the ction prefixing nd unique fixed point opertors tht we will use in our lnguge. 2 Probbilistic Systems Mny different types of probbilistic systems hve been defined in literture: exmples include rective, genertive, strtified, lternting, (simple) Segl, bundle nd Pnueli-Zuck. Ech type corresponds to functor, nd the systems of certin type re colgebrs of the corresponding functor. A systemtic study of ll these systems s colgebrs ws mde in [6]. In prticulr, Figure 1 of [6] provides full correspondence between types of systems nd functors. By employing this correspondence, we will show the derived expressions nd xioms for three different types of probbilistic systems: simple Segl, strtified, nd Pnueli-Zuck 4. Simple Segl systems Simple Segl systems re trnsition systems where both probbility nd non determinism re present. They re colgebrs of the functor P ω (D ω (Id)) A. Ech lbelled trnsition leds, non-deterministiclly, to probbility distribution of sttes insted of single stte. An exmple is shown in Figure 2(i). For simple Segl systems we derived the following syntx nd xioms. ε:: = ε ε µx.ε x ({ε P }) where A, p i (0, 1] nd p i = 1 i 1...n ε :: = L p i ε i i 1 n (ε 1 ε 2) ε 3 ε 1 (ε 2 ε 3) ε 1 ε 2 ε 2 ε 1 ε ε ε ε ε (ε 1 ε 2) ε 3 ε 1 (ε 2 ε 3) ε 1 ε 2 ε 2 ε 1 (p 1 ε) (p 2 ε) (p 1 + p 2) ε ε[µx.ε/x] µx.ε γ[ε/x] ε µx.γ ε 4 This is prt of our joint work with Filippo Bonchi.

7 We show next n exmple of ppliction of the xioms. The expression ({1/2 1/2 }) ({1/3 2/3 }) b({1 }) is bisimilr to the top-most stte in the simple Segl system depicted in Figure 2(i). Using the xiomtiztion, we cn derive: ({1/2 1/2 }) ({1/3 2/3 }) b({1 }) ({(1/2 + 1/2) }) ({(1/3 + 2/3) }) b({1 }) ({1 }) ({1 }) b({1 }) ({1 }) b({1 }) Thus, we cn conclude tht the system presented in Figure 2(i) is bisimilr to the following one: b 1 1 The lnguge nd xiomtiztion we presented bove re the sme s the one presented in [23] (with the difference tht in [23] prllel composition opertor ws lso considered). This is of course ressuring for the correctness of the generl frmework we presented. In the next two exmples, we will present new results (tht is syntx/xiomtiztions which did not exist). This is where the generlity strts pying off: not only one recovers known results but lso derives new ones, ll of this inside the sme uniform frmework. Strtified systems Strtified systems re colgebrs of the functor D ω (Id) + (B Id) + 1. Ech stte of these systems either performs unlbelled probbilistic trnsitions or one B-lbelled trnsition or it termintes. We first derive expressions nd xioms for R Id + (B P ω (Id)) + 1 nd then we restrict the syntx to chrcterize only D ω (Id) + (B Id) + 1-behviours. This, together with the introduction of some syntctic sugr, leds to the following syntx nd xioms. ε:: = µx.ε x b, ε L i 1 n p i ε i where b B, p i (0, 1] nd P i 1...n p i = 1 (ε 1 ε 2) ε 3 ε 1 (ε 2 ε 3) ε 1 ε 2 ε 2 ε 1 (p 1 ε) (p 2 ε) (p 1 + p 2) ε ε[µx.ε/x] µx.ε γ[ε/x] ε µx.γ ε Here denotes termintion nd b, ε denotes stte which cn mke trnsition lbeled by b to nother stte specified by ε. We cn use these xioms (together with Kleene s theorem) to reson bout the system presented in Figure 2(ii). The topmost stte of this system is bisimilr to the expression 1/2 (1/3, 2/3, ) 1/2 b, which in turn is provbly equivlent to 1/2 (1, ) 1/2 b,. Tht leds us to conclude tht the forementioned system is equivlent to the following

8 simpler one. 1/2 1/2 1 The lnguge of expressions we propose for these systems is subset of the lnguge originlly proposed in [28] (there prllel composition opertor is lso considered). More interestingly, there ws no xiomtiztion of the lnguge in [28] nd thus the xiomtiztion we present here is completely new. Pnueli-Zuck systems These systems re colgebrs of the functor P ω D ω (P ω (Id) A ). Intuitively, the ingredient P ω (Id) A denotes A-lbelled trnsitions to other sttes. Then, D ω (P ω (Id) A ) corresponds to probbility distribution of lbelled trnsitions nd then, ech stte of P ω D ω (P ω (Id) A )-colgebr performs non-deterministic choice mongst probbility distributions of lbelled trnsitions. For n exmple, consider the system depicted in Figure 2(iii). The expressions nd xioms we derive for these systems re the following. ε:: = ε ε µx.ε x {ε P } where A, p i (0, 1] nd p i = 1 ε :: = L i 1 n p i ε i ε :: = ε ε ({ε}) b i 1...n (ε 1 ε 2) ε 3 ε 1 (ε 2 ε 3) ε 1 ε 2 ε 2 ε 1 ε ε ε ε ε (ε 1 ε 2) ε 3 ε 1 (ε 2 ε 3) ε 1 ε 2 ε 2 ε 1 (p 1 ε ) (p 2 ε ) (p 1 + p 2) ε (ε 1 ε 2 ) ε 3 ε 1 (ε 2 ε 3 ) ε 1 ε 2 ε 2 ε 1 ε ε ε ε ε ε[µx.ε/x] µx.ε γ[ε/x] ε µx.γ ε The expression {1/3 (({ }) ({ })) 2/3 (b({ }) ({ }))} {1 b({ })} specifies the Pnueli-Zuck system in Figure 2(iii). Note tht we use the sme symbol for denoting two different kinds of non-deterministic choice. This is sfe, since they stisfy exctly the sme xioms. Both the syntx nd the xioms we propose here for these systems re to the best of our knowledge new. In the pst, these systems were studied using temporl logic [42]. References 1. J. Adámek, S. Milius, nd J. Velebil. Free itertive theories: A colgebric view. Mthemticl Structures in Computer Science, 13(2): , J. Adámek, S. Milius, nd J. Velebil. Itertive lgebrs t work. Mthemticl Structures in Computer Science, 16(6): , R. Amdio, ed, Proceedings of FOSSACS 2008, vol of LNCS. Springer, E. Asrin, P. Cspi, nd O. Mler. A Kleene theorem for timed utomt. In Proceedings of LICS 1997, pp , E. Asrin nd C. Dim. Blnced timed regulr expressions. ENTCS 68(5), 2002.

9 6. F. Brtels, A. Sokolov, nd E. de Vink. A hierrchy of probbilistic system types. TCS 327(1-2):3 22, G. Berry. The foundtions of Esterel. In G. Plotkin et l., eds, Proof, Lnguge, nd Interction, pp The MIT Press, G. Berry nd R. Sethi. From regulr expressions to deterministic utomt. TCS 48(3): , S.L. Bloom nd Z. Ésik. Itertion theories: the equtionl logic of itertive processes. EATCS Monogrphs on Theoreticl Computer Science. Springer, F. Bonchi, M M. Bonsngue, J. Rutten, nd A. Silv. Deriving syntx nd xioms for quntittive regulr behviours. In M. Brvetti et l., eds, CONCUR, vol of LNCS, pp Springer, M. Bonsngue nd A. Kurz. Dulity for logics of trnsition systems. In V. Sssone [48], pp M. Bonsngue nd A. Kurz. Presenting functors by opertions nd equtions. In L. Aceto et l., eds, FoSSCS, vol of LNCS, pp Springer, M. Bonsngue, J. Rutten, nd A. Silv. Colgebric logic nd synthesis of Mely mchines. In Amdio [3], pp M. Bonsngue, J. Rutten, nd A. Silv. An lgebr for Kripke polynomil colgebrs. In Proceedings LICS 2009, pp IEEE, M. Bonsngue, J. Rutten, nd A. Silv. A Kleene theorem for polynomil colgebrs. In L. de Alfro, ed., FOSSACS, vol of LNCS, pp Springer, P. Bouyer nd A. Petit. A Kleene/Büchi-like theorem for clock lnguges. Journl of Automt, Lnguges nd Combintorics, 7(2): , J. A. Brzozowski. A survey of regulr expressions nd their pplictions. IRE Trnsctions on Electronic Computers, 11(0): , J. A. Brzozowski. Derivtives of regulr expressions. Journl of the ACM, 11(4): , J. R. Buechi. On decision method in restricted second order rithmetic. In In Proceedings of the Interntionl Congress on Logic, Method, nd Philosophy of Science, pp Stnford University Press, Stnford, CA, C. Cîrste nd D. Pttinson. Modulr construction of modl logics. In P. Grdner et l., eds, CONCUR, vol of LNCS, pp Springer, J.H. Conwy. Regulr lgebr nd finite mchines. Chpmn nd Hll, Y. Deng nd C. Plmidessi. Axiomtiztions for probbilistic finite-stte behviors. In Sssone [48], pp Y. Deng, C. Plmidessi, nd J. Png. Compositionl resoning for probbilistic finite-stte behviors. In A. Middeldorp et l., eds, Processes, Terms nd Cycles, vol of LNCS, pp Springer, M. Droste nd K. Qus. A Kleene-Schützenberger theorem for weighted timed utomt. In Amdio [3], pp C.C. Elgot. Mondic computtion nd itertive lgebric theories. In H.E. Rose nd J.C. Shepherdson, eds, Logic Colloquium 73. North-Hollnd Publishers, P. Gstin, A. Petit, nd W. Zielonk. A Kleene theorem for infinite trce lnguges. In J. Albert et l., eds, ICALP, vol. 510 of LNCS, pp Springer, P. Gstin, A. Petit, nd W. Zielonk. An extension of Kleene s nd Ochmnski s theorems to infinite trces. TCS 125(2): , R. vn Glbbeek, S. A. Smolk, nd B. Steffen. Rective, genertive nd strtified models of probbilistic processes. Inf. Comput., 121(1):59 80, R. Goldbltt. Equtionl logic of polynomil colgebrs. In P. Blbini et l., eds, Advnces in Modl Logic 4, pp King s College Publictions, 2002.

10 30. B. Jcobs. Mny-sorted colgebric modl logic: model-theoretic study. ITA, 35(1):31 59, B. Jcobs. A bilgebric review of deterministic utomt, regulr expressions nd lnguges. In K. Futtsugi et l., eds, Essys Dedicted to Joseph A. Goguen, vol of LNCS, pp Springer, S. Kleene. Representtion of events in nerve nets nd finite utomt. Automt Studies, pp. 3 42, D. Kozen. A completeness theorem for Kleene lgebrs nd the lgebr of regulr events. In Proceedings of LICS 1991, pp , IEEE computer Society, D. Kozen. Automt on gurded strings nd pplictions. Mtemátic Contemporâne, 24: , C. Kupke nd Y. Venem. Colgebric utomt theory: Bsic results. Logicl Methods in Computer Science, 4(4), R. McNughton nd H. Ymd. Regulr expressions nd stte grphs for utomt. IRE Trnsctions on Electronic Computers, 9(0):39 47, G.H. Mely. A method for synthesizing sequentil circuits. Bell System Technicl Journl, 34: , R. Milner. A Clculus of Communicting Systems, vol. 92 of LNCS. Springer, R. Milner. A complete inference system for clss of regulr behviours. J. Comput. Syst. Sci., 28(3): , L. Moss. Colgebric logic. Annls of Pure nd Applied Logic, 96, E. Ochmnski. Regulr behviour of concurrent systems. Bulletin of the EATCS, 27:56 67, A. Pnueli nd L. Zuck. Probbilistic verifiction by tbleux. In Proceedings LICS 1986, pp IEEE Computer Society, M. Rößiger. Colgebrs nd modl logic. ENTCS 33, J. Rutten. Automt nd coinduction (n exercise in colgebr). In D. Sngiorgi et l., eds, CONCUR, vol of LNCS, pp Springer, J. Rutten. Universl colgebr: theory of systems. TCS 249(1):3 80, J. Rutten. Behviourl differentil equtions: coinductive clculus of strems, utomt, nd power series. TCS 308(1-3):1 53, A. Slom. Two complete xiom systems for the lgebr of regulr events. J. ACM, 13(1): , V. Sssone, editor. Proceedings of FOSSACS, vol of LNCS. Springer, L. Schröder nd D. Pttinson. Modulr lgorithms for heterogeneous modl logics. In Lrs Arge, Christin Cchin, Tomsz Jurdzinski, nd Andrzej Trlecki, eds, ICALP, vol of LNCS, pp Springer, M. Schützenberger. On the definition of fmily of utomt. Informtion nd Control, 4(2-3): , R. Segl nd N. Lynch. Probbilistic simultions for probbilistic processes. In B. Jonsson et l., eds, CONCUR, vol. 836 of LNCS, pp Springer, A. Silv. Kleene Colgebr. PhD thesis, Rdboud Universiteit Nijmegen, A. Silv, F. Bonchi, M. Bonsngue, nd J. Rutten. Quntittive Kleene colgebrs. Informtion nd Computtion, To pper. 54. A. Silv, M. Bonsngue, nd J. Rutten. Non-deterministic Kleene colgebrs. Logicl Methods in Computer Science, 6(3), 2010.

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

Deriving Syntax and Axioms for Quantitative Regular Behaviours

Deriving Syntax and Axioms for Quantitative Regular Behaviours Deriving Syntx nd Axioms for Quntittive Regulr Behviours Filippo Bonchi 2, Mrcello Bonsngue 1,2, Jn Rutten 2,3, nd Alexndr Silv 2 1 LIACS - Leiden University 2 Centrum voor Wiskunde en Informtic (CWI)

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

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

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

Learning Moore Machines from Input-Output Traces

Learning Moore Machines from Input-Output Traces Lerning Moore Mchines from Input-Output Trces Georgios Gintmidis 1 nd Stvros Tripkis 1,2 1 Alto University, Finlnd 2 UC Berkeley, USA Motivtion: lerning models from blck boxes Inputs? Lerner Forml Model

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

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

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

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

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

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

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

Global Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems

Global Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems Globl Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,

More information

NON-DETERMINISTIC KLEENE COALGEBRAS

NON-DETERMINISTIC KLEENE COALGEBRAS Logicl Methods in Computer Science Vol. 6 (3:23) 2010, pp. 1 1 39 www.lmcs-online.org Submitted Jn. 3, 2010 Published Sep. 9, 2010 NON-DETERMINISTIC KLEENE COALGEBRAS ALEXANDRA SILVA, MARCELLO BONSANGUE

More information

On Timed Automata with Discrete Time Structural and Language Theoretical Characterization

On Timed Automata with Discrete Time Structural and Language Theoretical Characterization On Timed Automt with Discrete Time Structurl nd Lnguge Theoreticl Chrcteriztion Hermnn Gruber 1, Mrkus Holzer 1, Astrid Kiehn 2, nd Brbr König 3 1 Institut für Informtik, Technische Universität München,

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

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.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)

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

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

1.3 Regular Expressions

1.3 Regular Expressions 56 1.3 Regulr xpressions These hve n importnt role in describing ptterns in serching for strings in mny pplictions (e.g. wk, grep, Perl,...) All regulr expressions of lphbet re 1.Ønd re regulr expressions,

More information

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

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER LANGUAGES AND COMPUTATION ANSWERS The University of Nottinghm SCHOOL OF COMPUTER SCIENCE LEVEL 2 MODULE, SPRING SEMESTER 2016 2017 LNGUGES ND COMPUTTION NSWERS Time llowed TWO hours Cndidtes my complete the front cover of their nswer ook

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

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

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

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

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

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

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

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

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science CSCI 340: Computtionl Models Kleene s Theorem Chpter 7 Deprtment of Computer Science Unifiction In 1954, Kleene presented (nd proved) theorem which (in our version) sttes tht if lnguge cn e defined y ny

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

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

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn

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

1.4 Nonregular Languages

1.4 Nonregular Languages 74 1.4 Nonregulr Lnguges The number of forml lnguges over ny lphbet (= decision/recognition problems) is uncountble On the other hnd, the number of regulr expressions (= strings) is countble Hence, ll

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

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

New Expansion and Infinite Series

New Expansion and Infinite Series Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University

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

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

Global Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems

Global Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems Globl Session Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,

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

Relating logic to formal languages

Relating logic to formal languages Relting logic to forml lnguges Kml Lody The Institute of Mthemticl Sciences, Chenni October 2018 Reding 1. Howrd Strubing: Forml lnguges, finite utomt nd circuit complexity, birkhäuser. 2. Wolfgng Thoms:

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

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

LTL Translation Improvements in Spot

LTL Translation Improvements in Spot LTL Trnsltion Improvements in Spot Alexndre Duret-Lutz http://www.lrde.epit.fr/~dl/ VECoS'11 16 September 2011 Alexndre Duret-Lutz LTL Trnsltion Improvements 1 / 19 Context High-level

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

Categorical approaches to bisimilarity

Categorical approaches to bisimilarity 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

More information

Review of basic calculus

Review of basic calculus Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below

More information

Kleene Theorems for Free Choice Nets Labelled with Distributed Alphabets

Kleene Theorems for Free Choice Nets Labelled with Distributed Alphabets Kleene Theorems for Free Choice Nets Lbelled with Distributed Alphbets Rmchndr Phwde Indin Institute of Technology Dhrwd, Dhrwd 580011, Indi Emil: prb@iitdh.c.in Abstrct. We provided [15] expressions for

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

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

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 Tble of Contents: Week 1: Preliminries (set lgebr, reltions, functions) (red Chpters 1-4) Weeks

More information

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below. Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we

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

KNOWLEDGE-BASED AGENTS INFERENCE

KNOWLEDGE-BASED AGENTS INFERENCE AGENTS THAT REASON LOGICALLY KNOWLEDGE-BASED AGENTS Two components: knowledge bse, nd n inference engine. Declrtive pproch to building n gent. We tell it wht it needs to know, nd It cn sk itself wht to

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

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

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

Math 1B, lecture 4: Error bounds for numerical methods

Math 1B, lecture 4: Error bounds for numerical methods Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the

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

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

Nondeterminism and Nodeterministic Automata

Nondeterminism and Nodeterministic Automata Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely

More information

Finite Automata Part Three

Finite Automata Part Three Finite Automt Prt Three Hello Hello Wonderful Wonderful Condensed Condensed Slide Slide Reders! Reders! The The first first hlf hlf of of this this lecture lecture consists consists lmost lmost exclusively

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

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

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

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

Advanced Calculus: MATH 410 Uniform Convergence of Functions Professor David Levermore 11 December 2015

Advanced Calculus: MATH 410 Uniform Convergence of Functions Professor David Levermore 11 December 2015 Advnced Clculus: MATH 410 Uniform Convergence of Functions Professor Dvid Levermore 11 December 2015 12. Sequences of Functions We now explore two notions of wht it mens for sequence of functions {f n

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

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. 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

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

Closure Properties of Regular Languages

Closure Properties of Regular Languages Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L

More information

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity Volume 2, Number, July 204, 65-82 ISSN Print: 2345-5853 Online: 2345-586 Dully qusi-de Morgn Stone semi-heyting lgebrs II. Regulrity Hnmntgoud P. Snkppnvr Abstrct. This pper is the second of two prt series.

More information

Improper Integrals, and Differential Equations

Improper Integrals, and Differential Equations Improper Integrls, nd Differentil Equtions October 22, 204 5.3 Improper Integrls Previously, we discussed how integrls correspond to res. More specificlly, we sid tht for function f(x), the region creted

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

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

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

COMPUTER SCIENCE TRIPOS

COMPUTER SCIENCE TRIPOS CST.2011.2.1 COMPUTER SCIENCE TRIPOS Prt IA Tuesdy 7 June 2011 1.30 to 4.30 COMPUTER SCIENCE Pper 2 Answer one question from ech of Sections A, B nd C, nd two questions from Section D. Submit the nswers

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

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

TREE AUTOMATA AND TREE GRAMMARS

TREE AUTOMATA AND TREE GRAMMARS TREE AUTOMATA AND TREE GRAMMARS rxiv:1510.02036v1 [cs.fl] 7 Oct 2015 by Joost Engelfriet DAIMI FN-10 April 1975 Institute of Mthemtics, University of Arhus DEPARTMENT OF COMPUTER SCIENCE Ny Munkegde, 8000

More information

Riemann is the Mann! (But Lebesgue may besgue to differ.)

Riemann is the Mann! (But Lebesgue may besgue to differ.) Riemnn is the Mnn! (But Lebesgue my besgue to differ.) Leo Livshits My 2, 2008 1 For finite intervls in R We hve seen in clss tht every continuous function f : [, b] R hs the property tht for every ɛ >

More information

Theoretical foundations of Gaussian quadrature

Theoretical foundations of Gaussian quadrature Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of

More information

Recitation 3: More Applications of the Derivative

Recitation 3: More Applications of the Derivative Mth 1c TA: Pdric Brtlett Recittion 3: More Applictions of the Derivtive Week 3 Cltech 2012 1 Rndom Question Question 1 A grph consists of the following: A set V of vertices. A set E of edges where ech

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

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata CS103B ndout 18 Winter 2007 Ferury 28, 2007 Finite Automt Initil text y Mggie Johnson. Introduction Severl childrens gmes fit the following description: Pieces re set up on plying ord; dice re thrown or

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

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

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

7.2 The Definite Integral

7.2 The Definite Integral 7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where

More information

Turing Machines Part One

Turing Machines Part One Turing Mchines Prt One Hello Hello Condensed Condensed Slide Slide Reders! Reders! Tody s Tody s lecture lecture consists consists lmost lmost exclusively exclusively of of nimtions nimtions of of Turing

More information

Bernoulli Numbers Jeff Morton

Bernoulli Numbers Jeff Morton Bernoulli Numbers Jeff Morton. We re interested in the opertor e t k d k t k, which is to sy k tk. Applying this to some function f E to get e t f d k k tk d k f f + d k k tk dk f, we note tht since f

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

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a).

The First Fundamental Theorem of Calculus. If f(x) is continuous on [a, b] and F (x) is any antiderivative. f(x) dx = F (b) F (a). The Fundmentl Theorems of Clculus Mth 4, Section 0, Spring 009 We now know enough bout definite integrls to give precise formultions of the Fundmentl Theorems of Clculus. We will lso look t some bsic emples

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

IST 4 Information and Logic

IST 4 Information and Logic IST 4 Informtion nd Logic T = tody x= hw#x out x= hw#x due mon tue wed thr fri 31 M1 1 7 oh M1 14 oh 1 oh 2M2 21 oh oh 2 oh Mx= MQx out Mx= MQx due 28 oh M2 oh oh = office hours 5 3 12 oh 3 T 4 oh oh 19

More information

Hopcroft and Karp s algorithm for Non-deterministic Finite Automata

Hopcroft and Karp s algorithm for Non-deterministic Finite Automata Hopcroft nd Krp s lgorithm for Non-deterministic Finite Automt Filippo Bonchi, Dmien Pous To cite this version: Filippo Bonchi, Dmien Pous. Hopcroft nd Krp s lgorithm for Non-deterministic Finite Automt.

More information

Part 5 out of 5. Automata & languages. A primer on the Theory of Computation. Last week was all about. a superset of Regular Languages

Part 5 out of 5. Automata & languages. A primer on the Theory of Computation. Last week was all about. a superset of Regular Languages Automt & lnguges A primer on the Theory of Computtion Lurent Vnbever www.vnbever.eu Prt 5 out of 5 ETH Zürich (D-ITET) October, 19 2017 Lst week ws ll bout Context-Free Lnguges Context-Free Lnguges superset

More information