COMPUTING SCIENCE. University of Newcastle upon Tyne. A Note on the Well-Foundedness of Adequate Orders Used for Truncating Unfoldings

Size: px
Start display at page:

Download "COMPUTING SCIENCE. University of Newcastle upon Tyne. A Note on the Well-Foundedness of Adequate Orders Used for Truncating Unfoldings"

Transcription

1 UNIVERSITY OF NEWCASTLE University of Newcstle upon Tyne COMPUTING SCIENCE A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings T Chtin, V Khomenko TECHNICAL REPORT SERIES No CS-TR-998 Jnury, 2007

2 TECHNICAL REPORT SERIES No CS-TR-998 Jnury, 2007 A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings Thoms Chtin nd Victor Khomenko Astrct Petri net unfolding prefixes re n importnt technique for forml verifiction nd synthesis In this pper we show tht the requirement tht the dequte order used for truncting Petri net unfolding must e well-founded is superfluous in mny importnt cses, ie it logiclly follows from other requirements We give complete nlysis when this is the cse These results concern the very `core' of the unfolding theory 2007 University of Newcstle upon Tyne Printed nd pulished y the University of Newcstle upon Tyne, Computing Science, Clremont Tower, Clremont Rod, Newcstle upon Tyne, NE1 7RU, Englnd

3 Biliogrphicl detils CHATAIN, T, KHOMENKO, V A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings [By] T Chtin, V Khomenko Newcstle upon Tyne: University of Newcstle upon Tyne: Computing Science, 2007 (University of Newcstle upon Tyne, Computing Science, Technicl Report Series, No CS-TR-998) Added entries UNIVERSITY OF NEWCASTLE UPON TYNE Computing Science Technicl Report Series CS-TR-998 Astrct Petri net unfolding prefixes re n importnt technique for forml verifiction nd synthesis In this pper we show tht the requirement tht the dequte order used for truncting Petri net unfolding must e well-founded is superfluous in mny importnt cses, ie it logiclly follows from other requirements We give complete nlysis when this is the cse These results concern the very `core' of the unfolding theory Aout the uthor Thoms Chtin received his PhD in computer science from University of Rennes 1 in 2006 He is currently doing post-doc in the Deprtment of Computer Science of the University of Alorg, Denmrk He is interested in the use of forml models for the supervision, verifiction nd control of distriuted systems In prticulr he studies true concurrency models (including timed models), prtil order semntics, unfoldings nd timed gmes Victor Khomenko Otined MSc with distinction in Computer Science, Applied Mthemtics nd Teching of Mthemtics nd Computer Science in 1998 from Kiev Trs Shevchenko University, nd PhD in Computing Science in 2003 from University of Newcstle upon Tyne From Septemer 2005 Victor is Royl Acdemy of Engineering/EPSRC Post-Doctorl Reserch Fellow, working on the DAVAC project His interests include model checking of Petri nets, Petri net unfolding techniques, self-timed (synchronous) circuits Suggested keywords ADEQUATE ORDER, WELL-FOUNDEDNESS, UNFOLDING PREFIX, PETRI NET

4 A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings Thoms Chtin 1 nd Victor Khomenko 2 1 Deprtment of Computer Science, Alorg University, Alorg, Denmrk E-mil: chtin@csudk 2 School of Computing Science, Newcstle University, Newcstle upon Tyne, United Kingdom E-mil: VictorKhomenko@nclcuk Astrct Petri net unfolding prefixes re n importnt technique for forml verifiction nd synthesis In this pper we show tht the requirement tht the dequte order used for truncting Petri net unfolding must e well-founded is superfluous in mny importnt cses, ie, it logiclly follows from other requirements We give complete nlysis when this is the cse These results concern the very core of the unfolding theory 1 Introduction nd sic notions McMilln s finite nd complete prefixes of Petri net unfoldings [3, 8] re prominent technique for nlysing the ehviour of rective systems modelled y Petri nets It llevites the stte spce explosion prolem, ie, the prolem tht even reltively smll system specifiction cn (nd often does) hve so mny rechle sttes tht the strightforwrd enumertion of them is infesile This technique relies on the prtil order view of concurrent computtion A finite nd complete unfolding prefix of Petri net Ω is finite cyclic net which implicitly represents ll the rechle sttes of Ω together with trnsitions enled t those sttes Intuitively, it cn e otined through unfolding Ω, y successive firing of trnsitions, under the following ssumptions: (i) for ech new firing fresh trnsition (clled n event) is generted; (ii) for ech newly produced token fresh plce (clled condition) is generted Due to its structurl properties (such s cyclicity), the rechle sttes of Ω cn e represented using configurtions of its unfolding A configurtion C is finite downwrdclosed set of events (eing downwrd-closed mens tht if e C nd f is cusl predecessor of e, denoted f e, then f C) without choices (ie, for ll distinct events e,f C, there is no condition c in the unfolding such tht the rcs (c,e) nd (c,f) re in the unfolding) Intuitively, configurtion is prtilly ordered execution, ie, n execution where the order of firing of some of its events (viz concurrent ones) is not importnt We will denote y [e] the locl configurtion of n event e, ie, the smllest (wrt ) configurtion contining e (it is comprised of e nd its cusl predecessors) A finite set of events E is suffix of configurtion C if C E = nd C E is configurtion; in such cse the nottion C E will e used to denote the ltter configurtion, clled n extension of C The unfolding is infinite whenever the originl Petri net hs n infinite run; however, if the Petri net hs finitely mny rechle sttes then the unfolding eventully strts to repet itself nd cn e truncted (y identifying set of cut-off events) without loss of informtion, yielding finite nd complete prefix Intuitively, n event e cn e declred cut-off if the lredy uild prt of the prefix contins configurtion C e (clled the corresponding configurtion of e) such tht Mrk(C e ) = Mrk([e]) (where Mrk(C) denotes the finl mrking of configurtion C) nd C e is smller thn [e] wrt some well-founded prtil order on the configurtions of the unfolding, clled n dequte order [3, 6] The importnce of the ltter condition is illustrted y the exmple in Figure 1, which is tken from [3] The mrking {2 } is rechle

5 2 T Chtin, V Khomenko t 1 t 2 e 1 t 1 e 2 t 2 p 2 p 3 p 4 p 5 p 2 p 3 p 4 p 5 t 3 t 4 t 5 t 6 e 3 t 3 e 4 t 5 e 5 t 4 e 6 t 6 p 6 p 7 p 8 p 9 p 6 p 7 p 8 p 9 p 6 p 7 p 8 p 9 t 7 t 8 e 7 t 7 e 10 t 8 e 8 t 7 e 9 t () t 9 () 2 Fig 1 A sfe Petri net () nd prefix of its unfolding () in the Petri net in Figure 1() However, one cn generte the prefix shown in Figure 1(), in which this mrking is not represented (The numers of the events indicte the order in which they were dded to the prefix) The events e 8 nd e 10 re mrked s cut-off, ecuse the finl mrkings of the corresponding locl configurtions re {p 7,p 9,0 } nd {p 6,p 8,1 }, which re lso the finl mrkings of [e 7 ] nd [e 9 ], respectively Although no events cn now e dded, the prefix is not complete, ecuse {2 } is not represented in it Efficient lgorithms exist for uilding such prefixes [3, 6], which ensure tht the numer of non-cut-off events in complete prefix cn never exceed the numer of rechle sttes of the Petri net However, complete prefixes re often exponentilly smller thn the corresponding stte grphs, especilly for highly concurrent Petri nets, ecuse they represent concurrency directly rther thn y multidimensionl dimonds s it is done in stte grphs For exmple, if the originl Petri net consists of 100 trnsitions which cn fire once in prllel, the stte grph will e 100-dimensionl hypercue with vertices, wheres the complete prefix will coincide with the net itself In mny pplictions, eg, in synchronous circuit design, the Petri net models usully exhiit lot of concurrency, ut hve rther few choice points, nd so their unfolding prefixes re often exponentilly smller thn the corresponding stte grphs; in fct, in mny of the experiments conducted in [6] they re just slightly igger then the originl Petri nets themselves Therefore, unfolding prefixes re well-suited for lleviting the stte spce explosion prolem Well-foundedness of the dequte order used to truncte the unfolding is n importnt prt of the completeness proof of [3, 7] In this pper, we show tht the requirement of wellfoundedness is superfluous in mny importnt cses More precisely, we show tht in mny cses the well-foundedness of the dequte order is implied y other requirements the dequte order must stisfy First, we introduce severl importnt definitions relted to dequte orders For convenience, their form hs een slightly chnged compred with [3, 6], ut they re esily seen to e equivlent

6 A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings 3 Definition 11 (Structurl isomorphism) Two finite sets of events of the unfolding of Petri net Ω, E nd E, re structurlly isomorphic, 3 denoted E s E, if the lelled digrphs induced y these two sets of events nd their djcent conditions re isomorphic Definition 12 (Preservtion y finite extensions) A strict prtil order on the finite configurtions of the unfolding of Petri net is strongly (resp wekly) preserved y finite extensions if for every pir of configurtions C, C such tht Mrk(C ) = Mrk(C ) nd C C, nd for every finite suffix E of C nd every (resp there exists ) finite suffix E of C such tht E s E, it holds tht C E C E Definition 13 ((Pre-)dequte orders) A strict prtil order on the finite configurtions of the unfolding of Petri net Ω is clled pre-dequte if: it refines, ie, C C implies C C ; it is wekly preserved y finite extensions A pre-dequte order is clled dequte if it is well-founded We now proceed y showing tht in mny cses the requirement of well-foundedness of the dequte order is superfluous, ie, tht pre-dequte orders re utomticlly dequte We consider, in turn, severl clsses of Petri nets 2 The cse of sfe Petri nets The proposition elow sttes tht the well-foundedness requirement is superfluous for sfe Petri nets Proposition 21 (The requirement of well-foundedness is superfluous for unfoldings of sfe Petri nets) A pre-dequte order on the finite configurtions of the unfolding of sfe Petri net is dequte Proof Since for sfe Petri nets, wek preservtion y finite extensions implies strong preservtion y finite extensions, this is specil cse of Proposition 33 elow 3 The cse of ounded Petri nets The cse of ounded Petri nets differs from the previous cse since the wek nd the strong preservtions y finite extensions no longer coincide, s illustrted y the following counterexmple Counterexmple 31 (The requirement of well-foundedness is not superfluous for unfoldings of ounded Petri nets in the cse of wek preservtion y finite extensions) The pre-dequte order shown in Figure 2(c,d) is not well-founded order on the configurtions of the unfolding shown in Figure 2() Indeed, ny finite execution strts y series of firings of, nd then, optionlly, fires When fires, p 2 contins two tokens, nd cn consume either of them; in the unfolding, the corresponding conditions nd the instnces of cn e esily distinguished We denote for ll n 0 the finite configurtions s n, n nd n Note tht only the configurtions of the form n cn e extended, either to n+k+1 or n+k or n+k, k 0 Suppose m n (ie, m < n) If n is extended to n+k+1 then we cn extend (in structurlly isomorphic wy) m to m+k+1 If n is extended to n+k, k 0, then we cn extend (in structurlly isomorphic wy) m to m+k, nd, y the definition of, m+k n+k If n is extended to n+k, k 0, then we cn extend (in structurlly isomorphic wy) m to m+k, nd, y the definition of, m+k n+k Hence, is wekly preserved y finite extensions However, is not well-founded due to [3] used such n isomorphism without formlly defining it It turns out tht there re severl lterntive nturl isomorphisms which cn e used; we discuss some of them in Section 5

7 4 T Chtin, V Khomenko p 2 p 2 () p 2 () 3 n n n m n when m < n m n when m < n m n when m < n (c) n n n n (d) Fig 2 A 2-ounded Petri net (), its unfolding () nd n order on its configurtions (c,d) Remrk 32 In severl seminl ppers on unfoldings, like [2], the initil mrking is ssumed to e sfe, ie, it should contin t most one token on ech plce The net of Figure 2() does not stisfy this requirement Nevertheless, it is esy to dpt this counterexmple s follows: t p 2 This net strts y firing t, which leds to the sme mrking s in Figure 2() Denote C 0 the initil configurtion The configurtion tht is reched fter firing t corresponds to 0 in Figure 2 We still denote it 0, nd re-use the nottions n, n nd n s efore The order is lso re-used, nd extended with C 0 0 Proposition 33 (The requirement of well-foundedness is superfluous for unfoldings of ounded Petri nets in the cse of strong preservtion y finite extensions) If pre-dequte order on the finite configurtions of the unfolding of ounded Petri net is strongly preserved y finite extensions then is dequte Proof Follows from Proposition A1 with Σ = RM T nd σ(c, e) = (Mrk(C), h(e))

8 A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings 5 p 2 p 2 p 2 () () 3 n n n m when n < m n m when n > m (c) n n n (d) Fig 3 An unounded Petri net (), its unfolding () nd n order on its configurtions (c,d) 4 The cse of unounded Petri nets We complete our nlysis y considering the cse of generl (unounded) Petri nets This cse might e less interesting in prctice, since the complete prefixes of unounded nets re infinite However, this cse is interesting from the theoreticl point of view Moreover, [6] shows tht finite nd complete prefix of n unounded nets cn e otined if insted of the equivlence of finl mrkings corser equivlence is used to compre the configurtions in the cut-off criterion The definition of the preservtion y finite extensions (Definition 12) requires tht is only preserved y extensions of configurtions reching the sme mrkings The counterexmple elow shows tht in this cse the requirement of well-foundedness is not superfluous Counterexmple 41 (The requirement of well-foundedness is not superfluous for unfoldings of unounded Petri nets) Consider Figure 3 The finite configurtions of the unfolding hve the form either n or n, where n rnges over the set of integers The shown order is pre-dequte, s it refines the set inclusion nd it is trivilly preserved y finite extensions of configurtions reching the sme mrking, since no two configurtions rech the sme mrking However, is not well-founded due to Techniclly, this counterexmple settles the cse of unounded Petri nets However, one cn oserve tht this negtive result holds due to the trivil reson tht it is possile to construct n unounded Petri net such tht in its unfolding no two configurtions hve the sme finl mrking Hence, it seems resonle to strengthen the ssumptions out the pre-dequte order in the unounded cse, y requiring tht is preserved not only y configurtions tht rech the sme mrking, ut lso ech time isomorphic finite suffixes cn e dded to two comprle configurtions Definition 42 (Extendile pre-dequte order) A pre-dequte order on the finite configurtions of the unfolding of Petri net Ω is clled extendile if for ll configurtions C nd C such tht C C, nd for ll finite suffixes E nd E of C nd C, resp, such tht E s E, it holds tht C E C E

9 6 T Chtin, V Khomenko wek preservtion strong preservtion sfe nets (Proposition 21) ounded nets (Counterexmple 31) (Proposition 33) unounded nets (Counterexmple 41) unounded nets (extendile order) (Counterexmple 31) (Proposition 43) Tle 1 Summry of results Note tht extendile pre-dequte orders re strongly preserved y finite extensions The proposition elow shows tht positive result cn e otined in the cse of n extendile pre-dequte order Proposition 43 (The requirement of well-foundedness is superfluous for unfoldings of unounded Petri nets in the cse of n extendile order) An extendile pre-dequte order on the finite configurtions of the unfolding of (possily unounded) Petri net is dequte Proof Follows from Proposition A1 with Σ = T nd σ(c,e) = h(e) 5 Summry nd further considertions Our results re summrised in Tle 1, where mens tht the requirement of well-foundedness is superfluous, nd mens tht it is not superfluous Moreover, we now show tht these results re roust, ie, they re not ffected if n lterntive notion of preservtion of y extensions is used, or if s is replced y different isomorphism 51 Single-Event Extensions Definition 51 is wekly (resp strongly) preserved y single-event extensions if it is wekly (resp strongly) preserved y finite extensions with singleton suffixes One cn esily show y induction on the size of the configurtion suffixes tht strong preservtion y single-event extension coincides with strong preservtion y finite extensions, nd so Propositions 33 nd 43 still hold for single-event extensions On the other hnd, wek preservtion y single event extensions is even weker thn wek preservtion y finite extensions, nd so Counterexmple 31 lso holds for wek preservtion y single-event extensions Moreover, one cn esily show tht for sfe Petri nets, wek preservtion y single-event extensions is equivlent to strong preservtion y single-event extensions (which is in turn equivlent to wek or strong preservtion y finite extensions), nd so Proposition 21 holds for single-event extensions s well To summrise, using single-event extensions insted of finite ones does not chnge our results 52 Other Isomorphisms So fr, we considered the structurl isomorphism, s, which is in sense strongest possile, s it tkes the full structure of the net into ccount Below we consider other nturl isomorphisms, which re corser then s Definition 52 (Pomset-isomorphism nd Prikh-isomorphism) Let E nd E e two finite sets of events of the unfolding of Petri net Ω

10 A Note on the Well-Foundedness of Adequte Orders Used for Truncting Unfoldings 7 E nd E re pomset-isomorphic, denoted E p E, if the lelled digrphs induced y these two sets of events in the digrph corresponding to the cuslity reltion on the events on the unfolding re isomorphic E nd E re Prikh-isomorphic, denoted E # E, if for every trnsition t of Ω, # t E = # t E, where # t E denotes the numer of instnces of t in E Note tht s refines p, which in turn refines #, ie, E s E E p E E # E Moreover, one cn oserve tht if 1 nd 2 re two isomorphisms such tht 2 refines 1 then: wek preservtion wrt 1 is even weker thn wek preservtion wrt 2 (ie, there exists n E such tht E 1 E nd C E C E, ut mye E 2 E ); strong preservtion wrt 1 is even stronger thn strong preservtion wrt 2 (for ll E such tht E 1 E, C E C E, even for those E such tht E 2 E ) Consequently, Counterexmple 31 (for ounded or unounded nets), s well s Propositions 33 nd 43, still hold for p nd # Moreover, since in the cse of sfe Petri nets it is enough to consider only single-event extensions, nd s, p nd # coincide on such extensions, Proposition 21 holds for either of these isomorphisms Finlly, one cn oserve tht Counterexmple 41 still holds for p nd # To summrise, using p or # (or ny other isomorphism refining # nd refined y s ) insted of s does not chnge our results 6 Conclusions In this pper we hve demonstrted tht the requirement tht the dequte order must e well-founded is superfluous in mny importnt cses, ie, it logiclly follows from other requirements We hve produced complete nlysis when this is the cse, y providing either proof or counterexmple in ech sitution It is noteworthy tht even though the unfolding technique hs een round for more thn decde, these results concerning the very core of the unfolding theory hve een otined only now Acknowledgements The uthors would like to thnk Jvier Esprz nd Wlter Vogler for helpful comments This reserch ws supported y the Royl Acdemy of Engineering/Epsrc post-doctorl reserch fellowship EP/C53400X/1 (Dvc) References 1 E M Clrke, O Grumerg nd D Peled: Model Checking MIT Press (1999) 2 J Engelfriet: Brnching Processes of Petri Nets Act Informtic 28 (1991) J Esprz, S Römer nd W Vogler: An Improvement of McMilln s Unfolding Algorithm Forml Methods in System Design 20(3) (2002) K Heljnko, V Khomenko nd M Koutny: Prlleliztion of the Petri Net Unfolding Algorithm Proc of TACAS 2002, Springer-Verlg, Lecture Notes in Computer Science 2280 (2002) G Higmn: Ordering y Divisiility in Astrct Algers Proc London Mth Soc 2 (1952) V Khomenko: Model Checking Bsed on Prefixes of Petri Net Unfoldings PhD Thesis, School of Computing Science, Newcstle University (2003) 7 V Khomenko, M Koutny nd V Vogler: Cnonicl Prefixes of Petri Net Unfoldings Act Informtic 40(2) (2003) K L McMilln: Using Unfoldings to Avoid Stte Explosion Prolem in the Verifiction of Asynchronous Circuits Proc of CAV 1992, Springer-Verlg, Lecture Notes in Computer Science 663 (1992)

11 8 T Chtin, V Khomenko 9 T Murt: Petri Nets: Properties, Anlysis nd Applictions Proceedings of the IEEE 77(4) (1989) A Vlmri: The Stte Explosion Prolem In: Lectures on Petri Nets I: Bsic Models, W Reisig nd G Rozenerg (Eds) Springer-Verlg, Lecture Notes in Computer Science 1491 (1998) Appendix A The proof of the min result Proposition A1 Let e strict prtil order on configurtions of the unfolding of Petri net Ω, Σ e finite lphet nd σ(c,e) e mpping tht ssigns letter from Σ to ech pir (C,e), where C is configurtion nd e is n event tht extends C, stisfying { } C1 C C 1,e 1,C 2,e 2 : 2 C σ(c 1,e 1 ) = σ(c 2,e 2 ) 1 {e 1 } C 2 {e 2 } Then is well-founded Proof For the ske of contrdiction, ssume tht is not well-founded, ie, there is n infinite descending sequence C 1 C n We ssume tht the configurtions hve strictly incresing sizes (n infinite susequence of C 1,,C n, stisfying this property cn lwys e extrcted) The union of the configurtions C 1,,C n, induces n infinite rnching process, nd the nlog of König s lemm for rnching processes [7] sttes tht it hs n infinite cusl chin of events p Ech configurtion C i hs finite intersection with p, since configurtions re finite y definition On the other hnd, the union of ll these configurtions hs n infinite intersection with p Hence, infinitely mny configurtions hve non-empty intersection with p, nd these intersections cn e ritrrily lrge (since if some event e of p elongs to C i then ll the preceding events of p lso elong to C i ) Therefore, without loss of generlity, we cn ssume tht p C 1 < < p C n < (n infinite susequence of C 1,,C n, stisfying this property cn lwys e extrcted) Let D n C n e the configurtion defined s the cusl pst of the events of p tht re in C n, nd E n = C n \ D n, ie, C n = D n E n We ssume tht the sizes of the E n s re non-decresing (n infinite susequence of C 1,,C n, stisfying this property cn lwys e extrcted) For ech E n, let e n,1,,e n,sn e n ritrry lineristion of the events of E n consistent with the cusl order, s n = E n, E n,k = {e n,1,,e n,k } nd C n,k = D n E n,k We define the word W n = n,1 n,sn with k = σ(c n,k 1,e n,k ) Now we cn pply Higmn s lemm [5] to W 1,,W n,, which re finite words over the finite lphet Σ This returns two integers i < j such tht W i is suword of W j Let 0 = l 0 < l 1 < < l si s j such tht for ll k {1,s i }, i,k = j,lk We hve W j = j,l1 j,l2 j,lsi = i,1 i,2 i,si Strting from C i,0 = D i D j = C j,l0, we show y induction on k tht C i,k C j,lk for ll k s i, which gives C i,si C j,lsi C j,sj, ie, C i C j, which leds to contrdiction We get the inductive step s follows: if C i,k 1 C j,lk 1, then C i,k 1 C j,lk 1 ecuse C j,lk 1 C j,lk 1; moreover σ(c i,k 1,e i,k ) = i,k = j,lk = σ(c j,lk 1,e lk ), so C i,k 1 {e i,k } C j,lk 1 {e j,lk }, ie, C i,k C j,lk

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

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

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

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

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

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

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

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

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

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions

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

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

Lecture 3: Equivalence Relations

Lecture 3: Equivalence Relations Mthcmp Crsh Course Instructor: Pdric Brtlett Lecture 3: Equivlence Reltions Week 1 Mthcmp 2014 In our lst three tlks of this clss, we shift the focus of our tlks from proof techniques to proof concepts

More information

Lecture 09: Myhill-Nerode Theorem

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

More information

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

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

Regular expressions, Finite Automata, transition graphs are all the same!!

Regular expressions, Finite Automata, transition graphs are all the same!! CSI 3104 /Winter 2011: Introduction to Forml Lnguges Chpter 7: Kleene s Theorem Chpter 7: Kleene s Theorem Regulr expressions, Finite Automt, trnsition grphs re ll the sme!! Dr. Neji Zgui CSI3104-W11 1

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

Myhill-Nerode Theorem

Myhill-Nerode Theorem Overview Myhill-Nerode Theorem Correspondence etween DA s nd MN reltions Cnonicl DA for L Computing cnonicl DFA Myhill-Nerode Theorem Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute

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

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

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

2.4 Linear Inequalities and Interval Notation

2.4 Linear Inequalities and Interval Notation .4 Liner Inequlities nd Intervl Nottion We wnt to solve equtions tht hve n inequlity symol insted of n equl sign. There re four inequlity symols tht we will look t: Less thn , Less thn or

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

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

Bases for Vector Spaces

Bases for Vector Spaces Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything

More information

Finite Automata-cont d

Finite Automata-cont d Automt Theory nd Forml Lnguges Professor Leslie Lnder Lecture # 6 Finite Automt-cont d The Pumping Lemm WEB SITE: http://ingwe.inghmton.edu/ ~lnder/cs573.html Septemer 18, 2000 Exmple 1 Consider L = {ww

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

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

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

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

Exercises with (Some) Solutions

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

More information

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

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 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations. Lecture 3 3 Solving liner equtions In this lecture we will discuss lgorithms for solving systems of liner equtions Multiplictive identity Let us restrict ourselves to considering squre mtrices since one

More information

CS 275 Automata and Formal Language Theory

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

More information

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

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

More information

CM10196 Topic 4: Functions and Relations

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

More information

1B40 Practical Skills

1B40 Practical Skills B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need

More information

Converting Regular Expressions to Discrete Finite Automata: A Tutorial

Converting Regular Expressions to Discrete Finite Automata: A Tutorial Converting Regulr Expressions to Discrete Finite Automt: A Tutoril Dvid Christinsen 2013-01-03 This is tutoril on how to convert regulr expressions to nondeterministic finite utomt (NFA) nd how to convert

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

Homework Solution - Set 5 Due: Friday 10/03/08

Homework Solution - Set 5 Due: Friday 10/03/08 CE 96 Introduction to the Theory of Computtion ll 2008 Homework olution - et 5 Due: ridy 10/0/08 1. Textook, Pge 86, Exercise 1.21. () 1 2 Add new strt stte nd finl stte. Mke originl finl stte non-finl.

More information

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems Centrum voor Wiskunde en Informtic REPORTRAPPORT Supervisory control for nondeterministic systems A. Overkmp Deprtment of Opertions Reserch, Sttistics, nd System Theory BS-R9411 1994 Supervisory Control

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

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

Tutorial Automata and formal Languages

Tutorial Automata and formal Languages Tutoril Automt nd forml Lnguges Notes for to the tutoril in the summer term 2017 Sestin Küpper, Christine Mik 8. August 2017 1 Introduction: Nottions nd sic Definitions At the eginning of the tutoril we

More information

On Binary Words Being Petri Net Solvable

On Binary Words Being Petri Net Solvable On Binry Words Being Petri Net Solvle Kmil Brylsk 1,, Eike Best 1,, Evgeny Erofeev 1, Luksz Mikulski, Mrcin Pi tkowski 1 Deprtment of Comp. Sci., Crl von Ossietzky Univ. Oldenurg, Germny {eike.est,evgeny.erofeev}@informtik.uni-oldenurg.de

More information

Formal languages, automata, and theory of computation

Formal languages, automata, and theory of computation Mälrdlen University TEN1 DVA337 2015 School of Innovtion, Design nd Engineering Forml lnguges, utomt, nd theory of computtion Thursdy, Novemer 5, 14:10-18:30 Techer: Dniel Hedin, phone 021-107052 The exm

More information

DFA minimisation using the Myhill-Nerode theorem

DFA minimisation using the Myhill-Nerode theorem DFA minimistion using the Myhill-Nerode theorem Johnn Högerg Lrs Lrsson Astrct The Myhill-Nerode theorem is n importnt chrcteristion of regulr lnguges, nd it lso hs mny prcticl implictions. In this chpter,

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

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

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A. 378 Reltions 16.7 Solutions for Chpter 16 Section 16.1 Exercises 1. Let A = {0,1,2,3,4,5}. Write out the reltion R tht expresses > on A. Then illustrte it with digrm. 2 1 R = { (5,4),(5,3),(5,2),(5,1),(5,0),(4,3),(4,2),(4,1),

More information

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

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows: Improper Integrls The First Fundmentl Theorem of Clculus, s we ve discussed in clss, goes s follows: If f is continuous on the intervl [, ] nd F is function for which F t = ft, then ftdt = F F. An integrl

More information

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors:

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors: Vectors 1-23-2018 I ll look t vectors from n lgeric point of view nd geometric point of view. Algericlly, vector is n ordered list of (usully) rel numers. Here re some 2-dimensionl vectors: (2, 3), ( )

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

State Minimization for DFAs

State Minimization for DFAs Stte Minimiztion for DFAs Red K & S 2.7 Do Homework 10. Consider: Stte Minimiztion 4 5 Is this miniml mchine? Step (1): Get rid of unrechle sttes. Stte Minimiztion 6, Stte is unrechle. Step (2): Get rid

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

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

Compiler Design. Fall Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Fall Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz University of Southern Cliforni Computer Science Deprtment Compiler Design Fll Lexicl Anlysis Smple Exercises nd Solutions Prof. Pedro C. Diniz USC / Informtion Sciences Institute 4676 Admirlty Wy, Suite

More information

Continuous Random Variables Class 5, Jeremy Orloff and Jonathan Bloom

Continuous Random Variables Class 5, Jeremy Orloff and Jonathan Bloom Lerning Gols Continuous Rndom Vriles Clss 5, 8.05 Jeremy Orloff nd Jonthn Bloom. Know the definition of continuous rndom vrile. 2. Know the definition of the proility density function (pdf) nd cumultive

More information

Ehrenfeucht-Fraïssé Games: Applications and Complexity. Department of Mathematics and Computer Science University of Udine, Italy ESSLLI 2010 CPH

Ehrenfeucht-Fraïssé Games: Applications and Complexity. Department of Mathematics and Computer Science University of Udine, Italy ESSLLI 2010 CPH Ehrenfeucht-Frïssé Gmes: Applictions nd Complexity Angelo Montnri Nicol Vitcolonn Deprtment of Mthemtics nd Computer Science University of Udine, Itly ESSLLI 2010 CPH Outline Introduction to EF-gmes Inexpressivity

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

Revision Sheet. (a) Give a regular expression for each of the following languages:

Revision Sheet. (a) Give a regular expression for each of the following languages: Theoreticl Computer Science (Bridging Course) Dr. G. D. Tipldi F. Bonirdi Winter Semester 2014/2015 Revision Sheet University of Freiurg Deprtment of Computer Science Question 1 (Finite Automt, 8 + 6 points)

More information

Linear Systems with Constant Coefficients

Linear Systems with Constant Coefficients Liner Systems with Constnt Coefficients 4-3-05 Here is system of n differentil equtions in n unknowns: x x + + n x n, x x + + n x n, x n n x + + nn x n This is constnt coefficient liner homogeneous system

More information

Simplifying Discovered Process Models in a Controlled Manner

Simplifying Discovered Process Models in a Controlled Manner Simplifying Discovered Process Models in Controlled Mnner Dirk Fhlnd, Wil M.P. vn der Alst Eindhoven University of Technology, The Netherlnds Astrct Process models discovered from process log using process

More information

UniversitaireWiskundeCompetitie. Problem 2005/4-A We have k=1. Show that for every q Q satisfying 0 < q < 1, there exists a finite subset K N so that

UniversitaireWiskundeCompetitie. Problem 2005/4-A We have k=1. Show that for every q Q satisfying 0 < q < 1, there exists a finite subset K N so that Problemen/UWC NAW 5/7 nr juni 006 47 Problemen/UWC UniversitireWiskundeCompetitie Edition 005/4 For Session 005/4 we received submissions from Peter Vndendriessche, Vldislv Frnk, Arne Smeets, Jn vn de

More information

STRUCTURE OF CONCURRENCY Ryszard Janicki. Department of Computing and Software McMaster University Hamilton, ON, L8S 4K1 Canada

STRUCTURE OF CONCURRENCY Ryszard Janicki. Department of Computing and Software McMaster University Hamilton, ON, L8S 4K1 Canada STRUCTURE OF CONCURRENCY Ryszrd Jnicki Deprtment of Computing nd Softwre McMster University Hmilton, ON, L8S 4K1 Cnd jnicki@mcmster.c 1 Introduction Wht is concurrency? How it cn e modelled? Wht re the

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

expression simply by forming an OR of the ANDs of all input variables for which the output is

expression simply by forming an OR of the ANDs of all input variables for which the output is 2.4 Logic Minimiztion nd Krnugh Mps As we found ove, given truth tle, it is lwys possile to write down correct logic expression simply y forming n OR of the ANDs of ll input vriles for which the output

More information

AN INEQUALITY OF OSTROWSKI TYPE AND ITS APPLICATIONS FOR SIMPSON S RULE AND SPECIAL MEANS. I. Fedotov and S. S. Dragomir

AN INEQUALITY OF OSTROWSKI TYPE AND ITS APPLICATIONS FOR SIMPSON S RULE AND SPECIAL MEANS. I. Fedotov and S. S. Dragomir RGMIA Reserch Report Collection, Vol., No., 999 http://sci.vu.edu.u/ rgmi AN INEQUALITY OF OSTROWSKI TYPE AND ITS APPLICATIONS FOR SIMPSON S RULE AND SPECIAL MEANS I. Fedotov nd S. S. Drgomir Astrct. An

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

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 UNIFORM CONVERGENCE Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 Suppose f n : Ω R or f n : Ω C is sequence of rel or complex functions, nd f n f s n in some sense. Furthermore,

More information

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 4 1. UsetheproceduredescriedinLemm1.55toconverttheregulrexpression(((00) (11)) 01) into n NFA. Answer: 0 0 1 1 00 0 0 11 1 1 01 0 1 (00)

More information

Semigroup of generalized inverses of matrices

Semigroup of generalized inverses of matrices Semigroup of generlized inverses of mtrices Hnif Zekroui nd Sid Guedjib Abstrct. The pper is divided into two principl prts. In the first one, we give the set of generlized inverses of mtrix A structure

More information

Lecture 3: Curves in Calculus. Table of contents

Lecture 3: Curves in Calculus. Table of contents Mth 348 Fll 7 Lecture 3: Curves in Clculus Disclimer. As we hve textook, this lecture note is for guidnce nd supplement only. It should not e relied on when prepring for exms. In this lecture we set up

More information

Random subgroups of a free group

Random subgroups of a free group Rndom sugroups of free group Frédérique Bssino LIPN - Lortoire d Informtique de Pris Nord, Université Pris 13 - CNRS Joint work with Armndo Mrtino, Cyril Nicud, Enric Ventur et Pscl Weil LIX My, 2015 Introduction

More information

dx dt dy = G(t, x, y), dt where the functions are defined on I Ω, and are locally Lipschitz w.r.t. variable (x, y) Ω.

dx dt dy = G(t, x, y), dt where the functions are defined on I Ω, and are locally Lipschitz w.r.t. variable (x, y) Ω. Chpter 8 Stility theory We discuss properties of solutions of first order two dimensionl system, nd stility theory for specil clss of liner systems. We denote the independent vrile y t in plce of x, nd

More information

KRASNOSEL SKII TYPE FIXED POINT THEOREM FOR NONLINEAR EXPANSION

KRASNOSEL SKII TYPE FIXED POINT THEOREM FOR NONLINEAR EXPANSION Fixed Point Theory, 13(2012), No. 1, 285-291 http://www.mth.ubbcluj.ro/ nodecj/sfptcj.html KRASNOSEL SKII TYPE FIXED POINT THEOREM FOR NONLINEAR EXPANSION FULI WANG AND FENG WANG School of Mthemtics nd

More information

A negative answer to a question of Wilke on varieties of!-languages

A negative answer to a question of Wilke on varieties of!-languages A negtive nswer to question of Wilke on vrieties of!-lnguges Jen-Eric Pin () Astrct. In recent pper, Wilke sked whether the oolen comintions of!-lnguges of the form! L, for L in given +-vriety of lnguges,

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

Decomposition of terms in Lucas sequences

Decomposition of terms in Lucas sequences Journl of Logic & Anlysis 1:4 009 1 3 ISSN 1759-9008 1 Decomposition of terms in Lucs sequences ABDELMADJID BOUDAOUD Let P, Q be non-zero integers such tht D = P 4Q is different from zero. The sequences

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

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

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

More information

Genetic Programming. Outline. Evolutionary Strategies. Evolutionary strategies Genetic programming Summary

Genetic Programming. Outline. Evolutionary Strategies. Evolutionary strategies Genetic programming Summary Outline Genetic Progrmming Evolutionry strtegies Genetic progrmming Summry Bsed on the mteril provided y Professor Michel Negnevitsky Evolutionry Strtegies An pproch simulting nturl evolution ws proposed

More information

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

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

More information

The practical version

The practical version Roerto s Notes on Integrl Clculus Chpter 4: Definite integrls nd the FTC Section 7 The Fundmentl Theorem of Clculus: The prcticl version Wht you need to know lredy: The theoreticl version of the FTC. Wht

More information

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9. Regulr Expressions, Pumping Lemm, Right Liner Grmmrs Ling 106 Mrch 25, 2002 1 Regulr Expressions A regulr expression descries or genertes lnguge: it is kind of shorthnd for listing the memers of lnguge.

More information

Free groups, Lecture 2, part 1

Free groups, Lecture 2, part 1 Free groups, Lecture 2, prt 1 Olg Khrlmpovich NYC, Sep. 2 1 / 22 Theorem Every sugroup H F of free group F is free. Given finite numer of genertors of H we cn compute its sis. 2 / 22 Schreir s grph The

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

Frobenius numbers of generalized Fibonacci semigroups

Frobenius numbers of generalized Fibonacci semigroups Frobenius numbers of generlized Fiboncci semigroups Gretchen L. Mtthews 1 Deprtment of Mthemticl Sciences, Clemson University, Clemson, SC 29634-0975, USA gmtthe@clemson.edu Received:, Accepted:, Published:

More information

QUADRATURE is an old-fashioned word that refers to

QUADRATURE is an old-fashioned word that refers to World Acdemy of Science Engineering nd Technology Interntionl Journl of Mthemticl nd Computtionl Sciences Vol:5 No:7 011 A New Qudrture Rule Derived from Spline Interpoltion with Error Anlysis Hdi Tghvfrd

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

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

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

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

More information

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)

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

arxiv: v2 [cs.lo] 26 Dec 2016

arxiv: v2 [cs.lo] 26 Dec 2016 On Negotition s Concurrency Primitive II: Deterministic Cyclic Negotitions Jvier Esprz 1 nd Jörg Desel 2 1 Fkultät für Informtik, Technische Universität München, Germny 2 Fkultät für Mthemtik und Informtik,

More information

ɛ-closure, Kleene s Theorem,

ɛ-closure, Kleene s Theorem, DEGefW5wiGH2XgYMEzUKjEmtCDUsRQ4d 1 A nice pper relevnt to this course is titled The Glory of the Pst 2 NICTA Resercher, Adjunct t the Austrlin Ntionl University nd Griffith University ɛ-closure, Kleene

More information