A Region-based Algorithm for Discovering Petri Nets from Event Logs

Size: px
Start display at page:

Download "A Region-based Algorithm for Discovering Petri Nets from Event Logs"

Transcription

1 A Region-se Algorithm for Disovering Petri Nets from Event Logs J. Crmon 1, J. Cortell 1, n M. Kishinevsky 2 1 Universitt Politèni e Ctluny, Spin 2 Intel Corportion, USA Astrt. The pper presents new metho for the synthesis of Petri nets from event logs in the re of Proess Mining. The metho erives oune Petri net tht over-pproximtes the ehvior of n event log. The most importnt property is tht it proues net with the smllest ehvior tht still ontins the ehvior of the event log. The methos esrie in this pper hve een implemente in tool n teste on set of exmples. 1 Introution The isovery of forml moels from event logs in informtion systems is known s proess mining. Sine the nineties, the re of proess mining hs een fouse in proviing forml support to usiness informtion systems [16]. In the inustril omin, rnging from hospitls n nks to sensor networks or CAD for VLSI, proess mining n e pplie to suintly summrize the ehvior oserve in lrge event logs [14]. Nowys, severl pprohes n e use to mine forml moels, most of them inlue in the ProM frmework [15]. The synthesis prolem [7] is relte to proess mining: it onsists in uiling Petri net tht hs ehvior equivlent to given trnsition system. The prolem ws first resse y Ehrenfeuht n Rozenerg [8] introuing regions to moel the sets of sttes tht hrterize mrke ples. Proess mining iffers from synthesis in the knowlege ssumption: while in synthesis one ssumes omplete esription of the system, only prtil esription of the system is ssume in proess mining. Therefore, isimultion is no longer gol to hieve in proess mining. Inste, otining pproximtions tht suintly represent the log uner onsiertion re more vlule [19]. In the re of synthesis, some pprohes hve een stuie to tke the theory of regions into prtie. In [3] polynomil lgorithms for the synthesis of oune nets were presente. This pproh hs een reently pte for the prolem of proess mining in [4]. In [6], the theory of regions ws pplie for the synthesis of sfe Petri nets with isimilr ehvior. Reently, the theory from [6] hs een extene to oune Petri nets [5]. In this pper we pt the theory from [5] to the prolem of proess mining. The work presente in this pper ims t onstruting (mining) Petri net tht overs the ehvior oserve in the event log, i.e. tres in the event log

2 r s em p rj rs p s Fig. 1. Petri net mining to voi overfitting. will e fesile in the Petri net. Moreover, the Petri net my ept tres not oserve in the log. Aitionlly, minimlity property is emonstrte on the mine Petri net: no other net exists tht oth overs the log n epts less tres thn the mine Petri net. This pility of miniml over-pproximtion represents the min theoretil ontriution of this pper. The methos presente in the pper n mine prtiulr k-oune Petri net, for given oun k. We hve implemente the theory of this pper in tool, n some preliminry results from logs re reporte. The pproh tken in this pper is forml one n iffers from the more heuristi methos in the literture. Although the methos presente might hve high omplexity for lrge logs, they n e omine with reent itertive pprohes [18] to llevite their omplexity. This pper shres ommon gols with the previously presente pper [4]. In [4], two proess mining strtegies on region of lnguges re presente, hving the sme minimlity gol s the one tht we hve in this pper. However the strtegy is ifferent: integer liner moels re solve in orer to fin set of speil ples lle fesile ples tht gurntee the inlusion of the tres from the event log. The more ples e, the more tres re forien in the resulting net. If the net ontins ll the possile fesile ples, then the minimlity property n e emonstrte. However, the set of fesile ples might e infinite. In our se, given mximl oun k for the mining of k-oune Petri net, miniml regions of the trnsition system re enough to emonstrte the minimlity property on this oun. Exmple. In [14], smll log is presente to motivte the overfitting proue y synthesis tools. The log ontins the following tivities: r=register, s=ship, s=sen ill, p=pyment, =ounting, p=pprove, =lose, em=express mil, rj=rejete, n rs=resolve. Now ssume tht the event log ontins the tres (r, s, s,p,, p, ), (r,s,em, p,, p, ), (r, s, p, em,, rj, rs, ), (r, em, s, p,, p, ), (r, s, s, p,, rj, rs, ), (r, s, p, s,, p, ) n (r, s, p, em,, p, ). From this log, TS n e otine [13] n PN s the one shown in Figure 1 will e synthesize y tool like petrify [6]. If the log is slightly hnge (for instne, tre (r, s, s, p,, rj, rs, ) is reple y (r, s, s, p,, p, ), the synthesis tool will pt the PN to ount for the hnges, eriving ifferent PN. This mens tht synthesis lgorithms re very sensitive to vritions in the logs. However, the tehniques presente in this pper, s it hppens lso with tritionl min-

3 ing pprohes like the α-lgorithm [16], re less sensitive to vritions in event logs, n will erive the sme PN over the moifie log. The two moels use in this pper re Petri nets n trnsition systems. We will ssume tht trnsition system represents n event log otine from oserving rel system from whih n event-se representtion (e.g. Petri net) pproximting its ehvior must e otine. The erivtion of the trnsition system from n event log is n importnt step, tht my hve ig impt in the finl mine Petri net, s it is emonstrte in [13]. A two-step pproh is presente in [13], emphsizing tht the first step (genertion of the trnsition system) is ruil for the lne etween unerfitting n overfitting. If the esire strtion is ttine in the first step, i.e. the trnsition system represents n strtion of the event log, the seon step is expete to reproue extly this strtion, vi synthesis. The methos presente in this pper exten the possiilities of this two-step pproh, given tht the seon step might lso introue further strtion in ontrolle mnner. The pprohes se on regions of lnguges perform the mining proess in only one step, provie tht logs n e iretly interprete s lnguges [4]. 2 Preliminries: theory of regions 2.1 Finite trnsition systems n Petri nets Definition 1 (Trnsition system). A trnsition system (TS) is tuple (S, E, A, s in ), where S is set of sttes, E is n lphet of tions, suh tht S E =, A S E S is set of (lelle) trnsitions, n s in is the initil stte. Let TS = (S, E, A, s in ) e trnsition system. We onsier onnete TSs tht stisfy the following xioms: S n E re finite sets. Every event hs n ourrene: e E : (s, e, s ) A; Every stte is rehle from the initil stte: s S : s in s. A TS is lle eterministi if for eh stte s n eh lel there n e t most one stte s suh tht s s. The reltion etween TSs will e stuie in this pper. The lnguge of TS, L(TS), is the set of tres fesile from the initil stte. When, L(TS 1 ) L(TS 2 ), we will enote TS 2 s n overpproximtion of TS 1. The notion of simultion etween two TSs is relte to this onept: Definition 2 (Simultion [2]). Let TS 1 = (S 1, E, A 1, s in1 ) n TS 2 = (S 2, E, A 2, s in2 ) e two TSs with the sme set of events. A simultion of TS 1 y TS 2 is reltion π etween S 1 n S 2 suh tht for every s 1 S 1, there exists s 2 S 2 suh tht s 1 πs 2. for every (s 1, e, s 1) A 1 n for every s 2 S 2 suh tht s 1 πs 2, there exists (s 2, e, s 2) A 2 suh tht s 1πs 2.

4 When TS 1 is simulte y TS 2 with reltions π, n vievers with reltion π 1, TS 1 n TS 2 re isimilr [2]. Definition 3 (Petri net [12]). A Petri net (PN) is tuple (P, T, F, M 0 ) where P n T represent finite sets of ples n trnsitions, respetively, n F (P T ) (T P ) is the flow reltion. The initil mrking M 0 P efines the initil stte of the system 3. The sets of input n output trnsitions of ple p re enote y p n p, respetively. The set of ll mrkings of N rehle from the initil mrking m 0 is lle its Rehility Set. The Rehility Grph of PN (RG(PN)) is trnsition system in whih the set of sttes is the Rehility Set, the events re the trnsitions of the net n trnsition (m 1, t, m 2 ) exists if n only if t m 2. We use L(PN) s shortut for L(RG(PN)). m Regions We now review the lssil theory of regions for the synthesis of Petri nets [6 8]. Let S e suset of the sttes of TS, S S. If s S n s S, then we sy tht trnsition s s enters S. If s S n s S, then trnsition s s exits S. Otherwise, trnsition s s oes not ross S. Definition 4. Let TS = (S, E, A, s in ) e TS. Let S S e suset of sttes n e E e n event. The following onitions (in the form of preites) re efine for S n e: noross(e, S ) (s 1, e, s 2 ) A : s 1 S s 2 S enter(e, S ) (s 1, e, s 2 ) A : s 1 S s 2 S exit(e, S ) (s 1, e, s 2 ) A : s 1 S s 2 S The notion of region is entrl for the synthesis of PNs. Intuitively, eh region is set of sttes tht orrespons to ple in the synthesize PN, so tht every stte in the region moels the mrking of the ple. Definition 5 (region). A set of sttes r S in TS = (S, E, A, s in ) is lle region if the following two onitions re stisfie for eh event e E: (i) enter(e, r) noross(e, r) exit(e, r) (ii) exit(e, r) noross(e, r) enter(e, r) A region is suset of sttes in whih ll trnsitions lele with the sme event e hve extly the sme entry/exit reltion. This reltion will eome the preeessor/suessor reltion in the Petri net. The event my lwys e either n enter event for the region (se (i) in the previous efinition), or 3 Although this pper els with oune Petri nets, for the ske of lrity we restrit the theory of urrent n next setions to the simpler lss of sfe (1-oune) Petri nets. Setion 4 isusses how to generlize the metho for oune Petri nets.

5 r 2 r 1 s2 s1 s3 s4 s5 () Miniml Regions r 1= { s1, s2 } r 2= { s1, s3 } r 3= { s2, s4 } r 4= { s3, s4 } r = { s5 } 5 () r 3 r 4 r 5 () Fig. 2. () Trnsition system, () miniml regions, () synthesis pplying Algorithm of Figure 3. lwys e n exit event (se (ii)), or never ross the region s ounries, i.e. eh trnsition lele with e is internl or externl to the region, where the nteeents of neither (i) nor (ii) hol. The trnsition orresponing to the event will e suessor, preeessor or unrelte with the orresponing ple respetively. Exmples of regions re reporte in Figure 2: from the TS of Figure 2(), some regions re enumerte in Figure 2(). For instne, for region r 2, event is n exit event, event is n entry event while the rest of events o not ross the region. Definition 6 (Miniml region). Let r n r e regions of TS. A region r is si to e suregion of r if r r. A region r is miniml region if there is no other region r whih is suregion of r. Going k to the exmple of Figure 2, in Figure 2() we report the set of miniml regions. The union of isjoint regions is region, so for instne the union of the regions r 1 n r 4 is the set {s1, s2, s3, s4} whih is lso (nonminiml) region. Eh TS hs two trivil regions: the set of ll sttes, S, n the empty set. Further on we will lwys onsier only non-trivil regions. The set of non-trivil regions of TS will e enote y R TS. Given set S S n region r, r S represents the projetion of the region r into the set S, i.e. r S = r S. A region r is pre-region of event e if there is trnsition lele with e whih exits r. A region r is post-region of event e if there is trnsition lele with e whih enters r. The sets of ll pre-regions n post-regions of e re enote with e n e, respetively. By efinition it follows tht if r e, then ll trnsitions lele with e exit r. Similrly, if r e, then ll trnsitions lele with e enter r.

6 Algorithm: PN synthesis For eh event e E generte trnsition lele with e in the PN; For eh miniml region r i R TS generte ple r i; Ple r i ontins token in the initil mrking iff the orresponing region r i ontins the initil stte of the TS s in; The flow reltion is s follows: e r i iff r i is pre-region of e n e r i iff r i is post-region of e, i.e., F TS ef = {(r, e) r R TS e E r e} {(e, r) r R TS e E r e } Fig. 3. Algorithm for Petri net synthesis from [11]. 2.3 Genertion of miniml regions The omputtion of the miniml regions is ruil for the synthesis methos in [5, 6]. It is se on the notion of exittion region [10]. Definition 7 (Exittion region 4 ). The exittion region of n event e, ER(e), is the set of sttes in whih e is enle, i.e. ER(e) = {s s : (s, e, s ) A} Miniml regions n e generte from the ERs of the events in TS in the following wy: strting from the ER of eh event, set expnsion is performe on those events tht violte the region onition ( pseuooe of the expnsion lgorithm is given in Figure 10 from [6]). This explortion n e one effiiently y onsiering only sets tht re not supersets of regions lrey ompute [6], euse only miniml regions re require. Eh time region is otine (oring to Definition 5), it is e to the set of regions. Finlly, from the set of regions ompute, non-miniml regions re remove. 2.4 Region-se synthesis The proeure given y [11] to synthesize PN, N TS = (R TS, E, F TS, R sin ), from n elementry trnsition system 5, TS = (S, E, A, s in ), is illustrte in Figure 3. Notie tht only miniml regions re require in the lgorithm [7]. An exmple of the pplition of the lgorithm is shown in Figure 2. The initil TS n the set of miniml regions is reporte in Figures 2() n (), respetively. The synthesize PN is shown in Figure 2(). 4 Exittion regions re not regions in the terms of Definition 5. The term is use ue to historil resons. 5 Elementry trnsition systems re proper sulss of the TS onsiere in this pper, were itionl onitions to the ones presente in Setion 2.1 re require.

7 () () 1 () 2 Fig. 4. () TS, () ECTS y lel-splitting, () synthesize PN. 2.5 Exittion-lose trnsition systems Definition 8 (Exittion-lose TS). A trnsition system TS = (S, E, A, s in ) is lle exittion-lose (ECTS) if it stisfies the following two xioms: Exittion losure: For eh event : r r = ER() Event effetiveness: For eh event : The synthesis lgorithm in Figure 3 pplie to n ECTS erives Petri net with rehility grph isimilr to the initil TS [6]. Note tht the stte seprtion property of elementry trnsition systems, whih enfores every pir of sttes to e istinguishe y the set of regions is not require. The set of regions neee y the lgorithm to preserve isimilrity n e onstrine to miniml pre-regions. When the TS is not exittion lose, then it must e trnsforme to enfore tht property. One possile strtegy is to represent every event y multiple trnsitions with the sme lel. This tehnique is lle lel splitting. Figure 4 illustrtes this tehnique. The initil TS, shown in Figure 4() is trnsforme y splitting the event into the events 1 n 2, s shown in Figure 4(), resulting in n ECTS. The synthesize PN, with two trnsitions for event is shown in Figure 4(). Hene in PN synthesis lel splitting might e ruil for the existene of PN with isimilr ehvior. However, sometimes lel splitting might egre the resulting PN struture signifintly, eriving intrite uslity reltions tht re not helpful for visuliztion. This phenomenon is isusse in [5]. The following setions introue PN mining, version of PN synthesis where the exittion losure is roppe. 3 Algorithm for Petri net mining The gol of Petri net mining is to generte PN tht over-pproximtes ll oserve ehviors in the TS, i.e. L(TS) L(PN), n where L(PN) \ L(TS) is smll [4]. Aitionlly, otining suint PN with nie uslity reltions is esirle. For this purpose, the lssil synthesis onitions must e pte

8 to llow the isovery of ehviors not present in the input TS. In this setion we show simple yet powerful pproh for relxing the region-se synthesis onitions from [5, 6] to otin over-pproximtions of the TS. Formlly, given TS=(S, E, A, s in ), the theory of regions n e pte for mining Petri net PN=(P, T, F, M 0 ) with the following hrteristis: 1. L(TS) L(PN), 2. T = E, i.e. there is no lel splitting, n 3. Miniml lnguge ontinment (MLC) property: PN = (P, T, F, M 0) s.t. T = E : L(TS) L(PN ) L(PN) L(PN ) Therefore the otine Petri net represents the miniml over-pproximtion of the input TS tht n e synthesize without lel splitting. The reminer of this setion will show how to relx the region-se synthesis to erive suh Petri net. 3.1 Mining over-pproximtions of TS Bisimilrity or lnguge equivlene re very restriting equivlene reltions, not very useful for the re of Petri net mining where over-pproximtions of the initil event log re more vlule [4,19]. In [5,6], isimultion etween the TS n the synthesize PN hols ue to the exittion losure onition. Let us ssume in this setion tht the exittion losure onition is roppe, i.e. the set of miniml pre-regions of some events my properly inlue the exittion region of the event. With this simple relxtion, the PN otine y the Algorithm of Figure 3 will stisfy the MLC property (Theorem 2). Theorem 1. Let TS=(S, E, A, s in ) e trnsition system, n PN=(P, T, F, M 0 ) e the synthesize net with the set of miniml regions of TS, using Algorithm of Figure 3. Then L(TS) L(PN). Proof. The proof orrespons to the suffiieny iretion from Theorem 3.4 in [6]. The theorem gurntees isimilrity etween n ECTS n the rehility grph of the synthesize Petri net from the set of miniml regions. From the two simultions neessry for hving isimultion in tht theorem, only one is preserve if the exittion losure onition is roppe. This remining simultion is the one etween the TS n the rehility grph of the PN. Hene every tre in the TS n e simulte y the PN when miniml regions re use, even if the TS is not exittion lose. This suffies to prove the theorem. Moreover, s the following results show, regions re preserve uner lnguge ontinment or simultion. Lemm 1. Let TS=(S, E, A, s in ), TS = (S, E, A, s in ) e two trnsition systems suh tht S S, E E, T T. If r R TS then r S R TS.

9 Proof. If preites (i),(ii) in Definition 5 hol in r for trnsitions in A, then they lso hol for the trnsitions in A when r is restrite to S, given tht A A n S S, i.e. y removing rs, no new violtions of the region onitions n e rete (see Definition 5). We now prove similr lemm on the orresponene of regions etween simulte TSs. Lemm 2. Let TS=(S, E, A, s in ), TS = (S, E, A, s in ) e suh tht there exists simultion reltion of TS y TS with reltion π. If r R TS, then π 1 (r) R TS, n the noross/enter/exit preites for every event t r re preserve in π 1 (r). Proof. The proof for this lemm is similr to the one use in Lemm 1, ut on simulte sttes: for every trnsition (s, e, s ) A there exists trnsition (π(s), e, π(s )) A. Therefore, the preites (i),(ii) in Definition 5 hol in TS for the set π 1 (r). In generl, lnguge ontinment etween two TSs oes not imply simultion [9]. However, if the TS orresponing to the superset lnguge is eterministi then lnguge ontinment gurntees the existene of simultion: Lemm 3. Let TS 1 = (S 1, E 1, A 1, s in1 ) n TS 2 = (S 2, E 2, A 2, s in2 ) e two TSs suh tht TS 2 is eterministi, n L(TS 1 ) L(TS 2 ). Then TS 2 is simultion of TS 1. Proof. The reltion π (S 1 S 2 ) efine s follows: s 1 πs 2 σ : s in1 σ s1 s in2 σ s2 represents simultion of TS 1 y TS 2 : the first item of Definition 2 hols sine L(TS 1 ) L(TS 2 ). If the ontrry is ssume, i.e. s 1 S 1 : s 2 S 2 : s 1 πs 2 then the tre leing to s 1 in TS 1 is not fesile in TS 2, whih ontrits the ssumption. The seon item hols euse the first item n the eterminism of TS 2 : for every s 1 S 1, TS 2 eterministi implies tht there is only one stte possile s 2 S 2 suh tht s 1 πs 2. But now if e is enle in s 1 n not enle σ in s 2 will imply tht the tre σe, with s in1 s1, is not fesile in TS 2, rehing ontrition to L(TS 1 ) L(TS 2 ). An now we n proof the MLC property on the mine Petri net from TS: Theorem 2. Let PN=(P, T, F, M 0 ) e the synthesize net with the set of miniml regions of TS=(S, E, A, s in ), using Algorithm of Figure 3. Then PN stisfies the MLC property. Proof. By ontrition. Let TS = (S, E, A, s in ) e the rehility grph orresponing to PN = (P, T, F, M 0) suh tht E = T, L(TS) L(TS ) n L(PN) L(TS ). The following fts n e oserve:

10 TS n RG(PN) re eterministi euse E = E = T n therefore they orrespon to the rehility grph of Petri nets with ifferent lel for eh trnsition. Sine TS is eterministi n L(TS) L(TS ), then there is simultion π of TS y TS (Lemm 3). r R TS, r = π 1 (r) R TS, n the noross/enter/exit preites of the events is the sme in r n r (Lemm 2). Eh non-miniml region n e esrie s the union of isjoint miniml regions [6], n therefore we n fous only on miniml regions. Eh miniml region r R TS is region in R RG(PN), sine PN hs een otine with Algorithm of Figure 3 from the set of miniml regions in TS. Moreover, sine RG(PN) is eterministi n L(TS) L(PN) (Theorem 1), then there is simultion of TS y RG(PN) (Lemm 3). Now using Lemm 2, together with the ft tht r is region oth in R TS n R RG(PN), the noross/enter/exit preites of events in TS hol lso in RG(PN). Hene, the previous items show tht for region in TS there is orresponing region in RG(PN) with the sme noross/enter/exit preites on the events. In Petri net terms, this ft mens tht the flow reltion of PN is inlue in the flow reltion of PN. Aitionlly, the simultions onneting oth trnsition systems preserve the initil sttes (see Lemm 3). This ontrits the ssumption tht L(PN) L(TS ). 3.2 Relte issues n further extensions Now we isuss the fetures of the mining strtegy n possile extensions. Visuliztion pilities. By removing the exittion losure onition, one gurntees tht there is 1-to-1 orresponene etween the events in the log n the trnsitions in the Petri net. This is importnt in terms of visuliztion. Moreover, the set of miniml regions n inlue reunnt regions: region r is reunnt if the lnguge of the Petri net without r is preserve. Therefore reunnt regions n e sfely remove from the net. The theory in [5, 6] proposes methos to etet reunnt ples, se in the preservtion of the exittion losure. Those methos hve een pte n inlue in the mining pproh presente in this pper. Mining of Petri net sulsses. As it hs een one in synthesis (see [6], Setion 4.4), the pproh presente in this pper might e pte to mine Petri net sulsses. The si ie is to restrit the genertion of regions in orer to generte regions stisfying struturl Petri net onitions. Let us use the exmple in Figure 5 to illustrte this. In Figure 5() we report the mine two-oune Petri net from the TS of Figure 5() (next Setion shows how to generlize the mining metho to the oune se). Now imgine tht we re intereste in the mining of mrke grphs, i.e. Petri nets where ples hve t most one preeessor (suessor) trnsition. Notie tht ple p in Figure 5() oes not stisfy this onition. If the mining of mrke grph is pplie, the

11 p e e () e () () Fig. 5. () Initil TS, () Mine Petri net, () Mine mrke grph. 3 () () () Fig. 6. () Trnsition system, () Mine sfe Petri net, () Mine 3-oune Petri net. Petri net shown in Figure 5() is otine. Critil events. The methos presente n e extene to selet those events tht might e ritil in terms of representtion: for those events, the voine of over-pproximtion might e impose y requiring exittion losure on them. The pplition of lel-splitting n e guie to ttin this gol. 4 Mining oune Petri nets In the literture for the mining of Petri nets from event logs, it is wiely epte the use of orinry n sfe Petri nets for the isovery of proess moels ( remrkle exeption is presente in [4]). Due to the reent results for the synthesis of oune n weighte Petri nets [5], this limittion n e wve, n therefore more suint n urte moel of the log n e otine using the tehniques evelope in this pper. Moreover, the possiility to serh for unsfe regions might e ruil in orer not to over-pproximte the event log

12 p2 2 p1 2 p3 Fig. 7. A trnsition system n n equivlent oune Petri net. too muh. To illustrte this ft, see the exmple in Figure 6. The mining of sfe Petri net from the TS of Figure 6() is shown in Figure 6(), wheres Figure 6() reports the mining of 3-oune net. The lnguge epte y the PN from Figure 6() is ( ) whih might e n over-onservtive pproximtion 6, while the net in Figure 6() epts ( 3 ), whih lthough eing lso n over-pproximtion, it is more urte one. This setion introues informlly how the theory of the previous setions n e generlize to mine oune systems. In [5], n extension of the region-se synthesis of Petri nets hs een presente to support oune nets. The methos ssume tht k is initilly given for the serh of k-oune Petri net. Let us use the exmple in Figure 7 to summrize the theory. In the oune se, the si ie is tht regions re represente y multisets (i.e., stte might hve multipliity greter thn one). Figure 7 epits TS with 9 sttes n 3 events. After synthesis, the Petri net t the right is otine. Eh stte hs 3-igit lel tht orrespons to the mrking of ples p 1, p 2 n p 3 of the Petri net, respetively. The showe sttes represent the generl region tht hrterizes ple p 2. Eh grey tone represents ifferent multipliity of the stte (4 for the rkest n 1 for the lightest). Eh event hs grient with respet to the region (+2 for, -1 for n 0 for ). The grient inites how the event hnges the multipliity of the stte fter firing. For the sme exmple, the equivlent sfe Petri net hs 5 ples n 10 trnsitions. In summry, the generliztion of the theory of Setions 2 n 3 is se on the ie tht regions re no longer sets ut multisets, n the preites for region onitions must tke into ount the grient of eh event on the multisets. The exittion losure notion is efine on the support (sttes with multipliity greter or equl thn one) of the multiset. Finlly, the lgorithm for synthesis of oune Petri nets is generlize to ount for oune mrkings n weighte rs. The intereste reer my refer to [5] for etils. The theory in [5] hs een inorporte in the Petri net mining pproh presente in this pper. Hene the mining of Petri nets n e guie to fin oune Petri nets. An exmple of k-oune mining is shown in Setion 5. 6 The expression e 1 e 2 enotes the set of possile interlevings etween e 1 n e 2.

13 e e e e e e e () () Fig. 8. () Initil TS, () Mine Petri net. 5 Exmples, experiments n tool The theory esrie in this pper hs een inorporte in Genet, tool for the synthesis n mining of onurrent systems [5]. Most of the exmples hve een otine from [1]. Mining of sfe Petri nets Some exmples hve een presente long the pper. An itionl exmple is shown in Figure 8. The lnguge epte y the PN of Figure 8() is e ( ), whih properly inlues the lnguge of the TS of Figure 8(). Remrkly, pplying the α-lgorithm [17] to this event log results in the sme PN. Mining of oune Petri nets An exmple of the power of k-oune PN mining is shown in Figure 9. The system moele represents 5 proesess shring 3 resoures. Every proess requires one resoure, ut there is one proess tht requires two resoures. We ssume tht the TS use for this exmple n e onstrute from set of simultions. The 3-oune PN from the orresponing trnsition system ontins 20 sttes n 74 rs. The synthesis of sfe PN from the trnsition system pplies mny lel splittings in orer to enfore the exittion losure, eriving in PN with 15 ples, 34 trnsitions n 128 rs. Clerly, neither the initil TS nor the synthesize PN re of ny help to relize the ontrol flow of this exmple. However, the mine 3-oune PN is suint representtion of the log.

14 e1 2 2 t1 e2 e3 e4 e5 t2 t3 t4 t5 Fig. 9. Mine 3-oune PN for system of five proesses shring three resoures. synthesis mining petrify Genet Genet ProM ProM sfe sfe 2-oune Prikh Heuristis enhmrk S [S] E P T P [S] P [S] P T U [S] P T I [S] groupefollows groupefollowsl groupefollowsl herstfig6p herstfig6p herstfig6p stffwre pn ex Tle 1. PN mining pplie to event logs from [1]. Experiments The mining of some exmples is summrize in Tle 1. Following the twostep mining pproh from [13], we hve otine the trnsition systems from eh log with the FSM Miner plugin ville in ProM. For eh log, olumns report the numer of sttes of the initil log S, numer of sttes of the miniml isimilr trnsition system [S] (tht gives n ie of the mount of reunny present in the initil log) n numer of events E. Next, the numer of ples P n trnsitions T of the PN otine y synthesis is reporte. For eh version of the mining lgorithm (sfe n 2-oune), the numer of ples of the mine PN n numer of sttes of the orresponing miniml isimilr rehility grph re reporte. The CPU time for the mining of ll exmples ut the lst one hs tken less thn two seons. The mining of pn ex 10, 2- oune version, took one minute. Finlly the sme informtion is provie for two well-known mining lgorithms in ProM: the Prikh Lnguge-se Region n the Heuristis [20] miners. The numer of unonnete trnsitions ( T U )

15 erive y the Prikh miner n the numer of invisile trnsitions introue y the Heuristi miner is lso reporte ( T I ). The numers in Tle 1 suggest some remrks. If the synthesis is ompre with the mining in the se of sfe PNs, it shoul e notie tht even for those smll exmples the numer of trnsitions is reue, ue to the sene of lel splitting (see row for pn ex 10). The numer of ples is lso reue in generl. It shoul lso e notie tht 2-oune mining represents the log more urtely, n thus more ples re neee with respet to the mining of sfe nets. Sometimes the mine PN epts more tres ut the orresponing miniml isimilr trnsition system hs less sttes, e.g. pn ex 10: fter overpproximting the initil TS, severl sttes eome isimilr n n e minimize. The Prikh miner tens to erive very ggressive strtions, s it is emonstrte in the pn ex 10 n herstfig6p21 logs. Sometimes the Petri nets otine with this miner ontin isolte trnsitions, euse the miner oul not fin ples onneting them to the net. The Heuristis miner is se on the frequeny of ptterns in the log. The miner erives heuristi net tht n e fterwrs onverte to Petri net with ProM. Some of the Petri nets otine with this onversion turne out to e unoune (enote with symol in the tle), n ontin signifint mount of invisile trnsitions. This miner is however very roust to noise in the log. In onlusion, ifferent miners n hieve ifferent mining gols, wiening the pplition of Proess mining into severl iretions. 6 Conlusions A strtegy for pting the theory of regions for the re of Proess mining hs een presente. The min ontriution is to llow the genertion of overpproximtions of the event log y mens of oune Petri net, not neessrily sfe. An importnt result is presente tht gurntees the miniml lnguge ontinment property on the mine PN. The theory hs een inorporte in synthesis tool. Aknowlegements We woul like to thnk W. vn er Alst, E. Vereek n B. vn Dongen for helpful isussions n guine, n nonymous referees for their help in improving the finl version of the pper. This work hs een supporte y the projet FORMALISM (TIN ), n grnt y Intel Corportion. Referenes 1. Proess mining A. Arnol. Finite Trnsition Systems. Prentie Hll, 1994.

16 3. E. Bouel, L. Bernrinello, n P. Droneu. Polynomil lgorithms for the synthesis of oune nets. Leture Notes in Computer Siene, 915: , R. Bergenthum, J. Desel, R. Lorenz, n S.Muser. Proess mining se on regions of lnguges. In Pro. 5th Int. Conf. on Business Proess Mngement, pges , Sept J. Crmon, J. Cortell, M. Kishinevsky, A. Konrtyev, L. Lvgno, n A. Ykovlev. A symoli lgorithm for the synthesis of oune Petri nets. In 29th Interntionl Conferene on Applition n Theory of Petri Nets n Other Moels of Conurreny, June J. Cortell, M. Kishinevsky, L. Lvgno, n A. Ykovlev. Deriving Petri nets from finite trnsition systems. IEEE Trnstions on Computers, 47(8): , Aug J. Desel n W. Reisig. The synthesis prolem of Petri nets. At Inf., 33(4): , A. Ehrenfeuht n G. Rozenerg. Prtil (Set) 2-Strutures. Prt I, II. At Informti, 27: , J. Engelfriet. Determiny - (oservtion equivlene = tre equivlene). Theor. Comput. Si., 36:21 25, M. Kishinevsky, A. Konrtyev, A. Tuin, n V. Vrshvsky. Conurrent Hrwre: The Theory n Prtie of Self-Time Design. John Wiley n Sons, Lonon, M. Nielsen, G. Rozenerg, n P. Thigrjn. Elementry trnsition systems. Theoretil Computer Siene, 96:3 33, C. A. Petri. Kommuniktion mit Automten. PhD thesis, Bonn, Institut für Instrumentelle Mthemtik, (tehnil report Shriften es IIM Nr. 3). 13. W. vn er Alst, V. Ruin, H. Vereek, B. vn Dongen, E. Kinler, n C. Günther. Proess mining: A two-step pproh to lne etween unerfitting n overfitting. Tehnil Report BPM-08-01, BPM Center, W. M. P. vn er Alst n C. W. Günther. Fining struture in unstruture proesses: The se for proess mining. In T. Bsten, G. Juhás, n S. K. Shukl, eitors, ACSD, pges IEEE Computer Soiety, W. M. P. vn er Alst, B. F. vn Dongen, C. W. Günther, R. S. Mns, A. K. A. e Meeiros, A. Rozint, V. Ruin, M. Song, H. M. W. E. Vereek, n A. J. M. M. Weijters. ProM 4.0: Comprehensive support for el proess nlysis. In J. Kleijn n A. Ykovlev, eitors, ICATPN, volume 4546 of Leture Notes in Computer Siene, pges Springer, W. M. P. vn er Alst, B. F. vn Dongen, J. Herst, L. Mruster, G. Shimm, n A. J. M. M. Weijters. Workflow mining: A survey of issues n pprohes. Dt Knowl. Eng., 47(2): , W. M. P. vn er Alst, T. Weijters, n L. Mruster. Workflow mining: Disovering proess moels from event logs. IEEE Trns. Knowl. Dt Eng., 16(9): , B. vn Dongen, N. Busi, G. Pinn, n W. vn er Alst. An itertive lgorithm for pplying the theory of regions in proess mining. Tehnil Report Bet rpport 195, Deprtment of Tehnology Mngement, Einhoven University of Tehnology, H. Vereek, A. Pretorius, W.M.P. vn er Alst, n J.J. vn Wijk. On Petri-net synthesis n ttriute-se visuliztion. In Pro. Workshop on Petri Nets n Softwre Engineering (PNSE 07), pges , June A. Weijters, W. vn er Alst, n A. A. e Meeiros. Proess mining with the heuristis miner-lgorithm. Tehnil Report WP 166, BETA Working Pper Series, Einhoven University of Tehnology, 2006.

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite! Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

A Disambiguation Algorithm for Finite Automata and Functional Transducers

A Disambiguation Algorithm for Finite Automata and Functional Transducers A Dismigution Algorithm for Finite Automt n Funtionl Trnsuers Mehryr Mohri Cournt Institute of Mthemtil Sienes n Google Reserh 51 Merer Street, New York, NY 1001, USA Astrt. We present new ismigution lgorithm

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Synthesis of Petri Nets Free-choice PN. Transition System. Burst-mode automata Model transformation. State encoded. Synthesis of asynchronous circuits

Synthesis of Petri Nets Free-choice PN. Transition System. Burst-mode automata Model transformation. State encoded. Synthesis of asynchronous circuits Petrify: tool for mnipulting onurrent speitions n synthesis of synhronous ontrollers Jori Cortell, Univ. Politeni e Ctluny, Brelon, Spin Mihel Kishinevsky, Alex Konrtyev, The University of Aizu, Jpn Luino

More information

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area Journl of Grph Algorithms n Applitions http://jg.info/ vol. 13, no. 2, pp. 153 177 (2009) On Clss of Plnr Grphs with Stright-Line Gri Drwings on Liner Are M. Rezul Krim 1,2 M. Siur Rhmn 1 1 Deprtment of

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

Petri Nets. Rebecca Albrecht. Seminar: Automata Theory Chair of Software Engeneering

Petri Nets. Rebecca Albrecht. Seminar: Automata Theory Chair of Software Engeneering Petri Nets Ree Alreht Seminr: Automt Theory Chir of Softwre Engeneering Overview 1. Motivtion: Why not just using finite utomt for everything? Wht re Petri Nets nd when do we use them? 2. Introdution:

More information

Alpha Algorithm: Limitations

Alpha Algorithm: Limitations Proess Mining: Dt Siene in Ation Alph Algorithm: Limittions prof.dr.ir. Wil vn der Alst www.proessmining.org Let L e n event log over T. α(l) is defined s follows. 1. T L = { t T σ L t σ}, 2. T I = { t

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

Logic, Set Theory and Computability [M. Coppenbarger]

Logic, Set Theory and Computability [M. Coppenbarger] 14 Orer (Hnout) Definition 7-11: A reltion is qusi-orering (or preorer) if it is reflexive n trnsitive. A quisi-orering tht is symmetri is n equivlene reltion. A qusi-orering tht is nti-symmetri is n orer

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

Alpha Algorithm: A Process Discovery Algorithm

Alpha Algorithm: A Process Discovery Algorithm Proess Mining: Dt Siene in Ation Alph Algorithm: A Proess Disovery Algorithm prof.dr.ir. Wil vn der Alst www.proessmining.org Proess disovery = Ply-In Ply-In event log proess model Ply-Out Reply proess

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza An Unfoling Approh to Moel Cheking Jvier Esprz Lbortory for Fountions of Computer Siene University of Einburgh Conurrent progrms Progrm: tuple P T 1 T n of finite lbelle trnsition systems T i A i S i i

More information

Monochromatic Plane Matchings in Bicolored Point Set

Monochromatic Plane Matchings in Bicolored Point Set CCCG 2017, Ottw, Ontrio, July 26 28, 2017 Monohromti Plne Mthings in Biolore Point Set A. Krim Au-Affsh Sujoy Bhore Pz Crmi Astrt Motivte y networks interply, we stuy the prolem of omputing monohromti

More information

Automata and Regular Languages

Automata and Regular Languages Chpter 9 Automt n Regulr Lnguges 9. Introution This hpter looks t mthemtil moels of omputtion n lnguges tht esrie them. The moel-lnguge reltionship hs multiple levels. We shll explore the simplest level,

More information

arxiv: v2 [math.co] 31 Oct 2016

arxiv: v2 [math.co] 31 Oct 2016 On exlue minors of onnetivity 2 for the lss of frme mtrois rxiv:1502.06896v2 [mth.co] 31 Ot 2016 Mtt DeVos Dryl Funk Irene Pivotto Astrt We investigte the set of exlue minors of onnetivity 2 for the lss

More information

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA Common intervls of genomes Mthieu Rffinot CNRS LIF Context: omprtive genomis. set of genomes prtilly/totlly nnotte Informtive group of genes or omins? Ex: COG tse Mny iffiulties! iology Wht re two similr

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)

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

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS Bull. Koren Mth. So. 35 (998), No., pp. 53 6 POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS YOUNG BAE JUN*, YANG XU AND KEYUN QIN ABSTRACT. We introue the onepts of positive

More information

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition Dt Strutures, Spring 24 L. Joskowiz Dt Strutures LEURE Humn oing Motivtion Uniquel eipherle oes Prei oes Humn oe onstrution Etensions n pplitions hpter 6.3 pp 385 392 in tetook Motivtion Suppose we wnt

More information

Bisimulation, Games & Hennessy Milner logic

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

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

Lecture 8: Abstract Algebra

Lecture 8: Abstract Algebra Mth 94 Professor: Pri Brtlett Leture 8: Astrt Alger Week 8 UCSB 2015 This is the eighth week of the Mthemtis Sujet Test GRE prep ourse; here, we run very rough-n-tumle review of strt lger! As lwys, this

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

More information

Transition systems (motivation)

Transition systems (motivation) Trnsition systems (motivtion) Course Modelling of Conurrent Systems ( Modellierung neenläufiger Systeme ) Winter Semester 2009/0 University of Duisurg-Essen Brr König Tehing ssistnt: Christoph Blume In

More information

INTRODUCTION TO AUTOMATA THEORY

INTRODUCTION TO AUTOMATA THEORY Chpter 3 INTRODUCTION TO AUTOMATA THEORY In this hpter we stuy the most si strt moel of omputtion. This moel els with mhines tht hve finite memory pity. Setion 3. els with mhines tht operte eterministilly

More information

Abstraction of Nondeterministic Automata Rong Su

Abstraction of Nondeterministic Automata Rong Su Astrtion of Nondeterministi Automt Rong Su My 6, 2010 TU/e Mehnil Engineering, Systems Engineering Group 1 Outline Motivtion Automton Astrtion Relevnt Properties Conlusions My 6, 2010 TU/e Mehnil Engineering,

More information

Subsequence Automata with Default Transitions

Subsequence Automata with Default Transitions Susequene Automt with Defult Trnsitions Philip Bille, Inge Li Gørtz, n Freerik Rye Skjoljensen Tehnil University of Denmrk {phi,inge,fskj}@tu.k Astrt. Let S e string of length n with hrters from n lphet

More information

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap Prtile Physis Mihelms Term 2011 Prof Mrk Thomson g X g X g g Hnout 3 : Intertion y Prtile Exhnge n QED Prof. M.A. Thomson Mihelms 2011 101 Rep Working towrs proper lultion of ey n sttering proesses lnitilly

More information

Section 2.3. Matrix Inverses

Section 2.3. Matrix Inverses Mtri lger Mtri nverses Setion.. Mtri nverses hree si opertions on mtries, ition, multiplition, n sutrtion, re nlogues for mtries of the sme opertions for numers. n this setion we introue the mtri nlogue

More information

CIT 596 Theory of Computation 1. Graphs and Digraphs

CIT 596 Theory of Computation 1. Graphs and Digraphs CIT 596 Theory of Computtion 1 A grph G = (V (G), E(G)) onsists of two finite sets: V (G), the vertex set of the grph, often enote y just V, whih is nonempty set of elements lle verties, n E(G), the ege

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

Solutions to Problem Set #1

Solutions to Problem Set #1 CSE 233 Spring, 2016 Solutions to Prolem Set #1 1. The movie tse onsists of the following two reltions movie: title, iretor, tor sheule: theter, title The first reltion provies titles, iretors, n tors

More information

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France)

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France) Grph Sttes EPIT 2005 Mehdi Mhll (Clgry, Cnd) Simon Perdrix (Grenole, Frne) simon.perdrix@img.fr Grph Stte: Introdution A grph-sed representtion of the entnglement of some (lrge) quntum stte. Verties: quits

More information

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx Applitions of Integrtion Are of Region Between Two Curves Ojetive: Fin the re of region etween two urves using integrtion. Fin the re of region etween interseting urves using integrtion. Desrie integrtion

More information

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework R-17 SASIMI 015 Proeeings Tehnology Mpping Metho for Low Power Consumption n High Performne in Generl-Synhronous Frmework Junki Kwguhi Yukihie Kohir Shool of Computer Siene, the University of Aizu Aizu-Wkmtsu

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

Maximum size of a minimum watching system and the graphs achieving the bound

Maximum size of a minimum watching system and the graphs achieving the bound Mximum size of minimum wthing system n the grphs hieving the oun Tille mximum un système e ontrôle minimum et les grphes tteignnt l orne Dvi Auger Irène Chron Olivier Hury Antoine Lostein 00D0 Mrs 00 Déprtement

More information

Lecture 11 Binary Decision Diagrams (BDDs)

Lecture 11 Binary Decision Diagrams (BDDs) C 474A/57A Computer-Aie Logi Design Leture Binry Deision Digrms (BDDs) C 474/575 Susn Lyseky o 3 Boolen Logi untions Representtions untion n e represente in ierent wys ruth tle, eqution, K-mp, iruit, et

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

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

If the numbering is a,b,c,d 1,2,3,4, then the matrix representation is as follows:

If the numbering is a,b,c,d 1,2,3,4, then the matrix representation is as follows: Reltions. Solutions 1. ) true; ) true; ) flse; ) true; e) flse; f) true; g) flse; h) true; 2. 2 A B 3. Consier ll reltions tht o not inlue the given pir s n element. Oviously, the rest of the reltions

More information

Lecture 2: Cayley Graphs

Lecture 2: Cayley Graphs Mth 137B Professor: Pri Brtlett Leture 2: Cyley Grphs Week 3 UCSB 2014 (Relevnt soure mteril: Setion VIII.1 of Bollos s Moern Grph Theory; 3.7 of Gosil n Royle s Algeri Grph Theory; vrious ppers I ve re

More information

Unfoldings of Networks of Timed Automata

Unfoldings of Networks of Timed Automata Unfolings of Networks of Time Automt Frnk Cssez Thoms Chtin Clue Jr Ptrii Bouyer Serge H Pierre-Alin Reynier Rennes, Deemer 3, 2008 Unfolings [MMilln 93] First efine for Petri nets Then extene to other

More information

arxiv: v1 [cs.dm] 24 Jul 2017

arxiv: v1 [cs.dm] 24 Jul 2017 Some lsses of grphs tht re not PCGs 1 rxiv:1707.07436v1 [s.dm] 24 Jul 2017 Pierluigi Biohi Angelo Monti Tizin Clmoneri Rossell Petreshi Computer Siene Deprtment, Spienz University of Rome, Itly pierluigi.iohi@gmil.om,

More information

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106 8. Problem Set Due Wenesy, Ot., t : p.m. in - Problem Mony / Consier the eight vetors 5, 5, 5,..., () List ll of the one-element, linerly epenent sets forme from these. (b) Wht re the two-element, linerly

More information

Factorising FACTORISING.

Factorising FACTORISING. Ftorising FACTORISING www.mthletis.om.u Ftorising FACTORISING Ftorising is the opposite of expning. It is the proess of putting expressions into rkets rther thn expning them out. In this setion you will

More information

On the Revision of Argumentation Systems: Minimal Change of Arguments Status

On the Revision of Argumentation Systems: Minimal Change of Arguments Status On the Revision of Argumenttion Systems: Miniml Chnge of Arguments Sttus Sylvie Coste-Mrquis, Séstien Koniezny, Jen-Guy Milly, n Pierre Mrquis CRIL Université Artois CNRS Lens, Frne {oste,koniezny,milly,mrquis}@ril.fr

More information

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

On the Spectra of Bipartite Directed Subgraphs of K 4

On the Spectra of Bipartite Directed Subgraphs of K 4 On the Spetr of Biprtite Direte Sugrphs of K 4 R. C. Bunge, 1 S. I. El-Znti, 1, H. J. Fry, 1 K. S. Kruss, 2 D. P. Roerts, 3 C. A. Sullivn, 4 A. A. Unsiker, 5 N. E. Witt 6 1 Illinois Stte University, Norml,

More information

Analysis of Temporal Interactions with Link Streams and Stream Graphs

Analysis of Temporal Interactions with Link Streams and Stream Graphs Anlysis of Temporl Intertions with n Strem Grphs, Tiphine Vir, Clémene Mgnien http:// ltpy@ LIP6 CNRS n Soronne Université Pris, Frne 1/23 intertions over time 0 2 4 6 8,,, n for 10 time units time 2/23

More information

= state, a = reading and q j

= state, a = reading and q j 4 Finite Automt CHAPTER 2 Finite Automt (FA) (i) Derterministi Finite Automt (DFA) A DFA, M Q, q,, F, Where, Q = set of sttes (finite) q Q = the strt/initil stte = input lphet (finite) (use only those

More information

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233, Surs n Inies Surs n Inies Curriulum Rey ACMNA:, 6 www.mthletis.om Surs SURDS & & Inies INDICES Inies n surs re very losely relte. A numer uner (squre root sign) is lle sur if the squre root n t e simplifie.

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

Separable discrete functions: recognition and sufficient conditions

Separable discrete functions: recognition and sufficient conditions Seprle isrete funtions: reognition n suffiient onitions Enre Boros Onřej Čepek Vlimir Gurvih Novemer 21, 217 rxiv:1711.6772v1 [mth.co] 17 Nov 217 Astrt A isrete funtion of n vriles is mpping g : X 1...

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

Fast Learning of Restricted Regular Expressions and DTDs

Fast Learning of Restricted Regular Expressions and DTDs Fst Lerning of Restrite Regulr Expressions n DTDs Dominik D. Freyenerger Institut für Informtik, Goethe-Universität 60054 Frnkfurt.M. freyenerger@em.uni-frnkfurt.e Timo Kötzing Mx-Plnk-Institute for Informtis

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

Solving the Class Diagram Restructuring Transformation Case with FunnyQT

Solving the Class Diagram Restructuring Transformation Case with FunnyQT olving the lss Digrm Restruturing Trnsformtion se with FunnyQT Tssilo Horn horn@uni-kolenz.e Institute for oftwre Tehnology, University Kolenz-Lnu, Germny FunnyQT is moel querying n moel trnsformtion lirry

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

A Primer on Continuous-time Economic Dynamics

A Primer on Continuous-time Economic Dynamics Eonomis 205A Fll 2008 K Kletzer A Primer on Continuous-time Eonomi Dnmis A Liner Differentil Eqution Sstems (i) Simplest se We egin with the simple liner first-orer ifferentil eqution The generl solution

More information

Symbolic Automata for Static Specification Mining

Symbolic Automata for Static Specification Mining Symoli Automt for Stti Speifition Mining Hil Peleg 1, Shron Shohm, Ern Yhv, n Hongseok Yng 1 Tel Aviv University, Isrel Tel Aviv-Yffo Aemi College, Isrel University of Ofor, UK Tehnion, Isrel Astrt. We

More information

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths Intermedite Mth Cirles Wednesdy 17 Otoer 01 Geometry II: Side Lengths Lst week we disussed vrious ngle properties. As we progressed through the evening, we proved mny results. This week, we will look t

More information

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005 RLETON UNIVERSIT eprtment of Eletronis ELE 2607 Swithing iruits erury 28, 05; 0 pm.0 Prolems n Most Solutions, Set, 2005 Jn. 2, #8 n #0; Simplify, Prove Prolem. #8 Simplify + + + Reue to four letters (literls).

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

Aperiodic tilings and substitutions

Aperiodic tilings and substitutions Aperioi tilings n sustitutions Niols Ollinger LIFO, Université Orléns Journées SDA2, Amiens June 12th, 2013 The Domino Prolem (DP) Assume we re given finite set of squre pltes of the sme size with eges

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching CS261: A Seon Course in Algorithms Leture #5: Minimum-Cost Biprtite Mthing Tim Roughgren Jnury 19, 2016 1 Preliminries Figure 1: Exmple of iprtite grph. The eges {, } n {, } onstitute mthing. Lst leture

More information

A Process-Algebraic Semantics for Generalised Nonblocking

A Process-Algebraic Semantics for Generalised Nonblocking A Proess-Algeri Semntis for Generlise Nonloking Simon Wre Roi Mlik Deprtment of Computer Siene The University of Wikto Privte Bg 3105, Hmilton 3240, New Zeln Emil: {siw4,roi}@s.wikto..nz Astrt Generlise

More information

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams Computing ll-terminl reliility of stohsti networks with Binry Deision Digrms Gry Hry 1, Corinne Luet 1, n Nikolos Limnios 2 1 LRIA, FRE 2733, 5 rue u Moulin Neuf 80000 AMIENS emil:(orinne.luet, gry.hry)@u-pirie.fr

More information

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph Inin Institute of Informtion Tehnology Design n Mnufturing, Knheepurm, Chenni 00, Ini An Autonomous Institute uner MHRD, Govt of Ini http://www.iiitm..in COM 0T Design n Anlysis of Algorithms -Leture Notes

More information

Obstructions to chordal circular-arc graphs of small independence number

Obstructions to chordal circular-arc graphs of small independence number Ostrutions to horl irulr-r grphs of smll inepenene numer Mthew Frnis,1 Pvol Hell,2 Jurj Stho,3 Institute of Mth. Sienes, IV Cross Ro, Trmni, Chenni 600 113, Ini Shool of Comp. Siene, Simon Frser University,

More information

Computing on rings by oblivious robots: a unified approach for different tasks

Computing on rings by oblivious robots: a unified approach for different tasks Computing on rings y olivious roots: unifie pproh for ifferent tsks Ginlorenzo D Angelo, Griele Di Stefno, Alfreo Nvrr, Niols Nisse, Krol Suhn To ite this version: Ginlorenzo D Angelo, Griele Di Stefno,

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

arxiv: v1 [cs.cg] 28 Apr 2009

arxiv: v1 [cs.cg] 28 Apr 2009 Orienttion-Constrine Retngulr Lyouts Dvi Eppstein 1 n Elen Mumfor 2 1 Deprtment of Computer Siene, University of Cliforni, Irvine, USA 2 Deprtment of Mthemtis n Computer Siene, TU Einhoven, The Netherlns

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

F / x everywhere in some domain containing R. Then, + ). (10.4.1)

F / x everywhere in some domain containing R. Then, + ). (10.4.1) 0.4 Green's theorem in the plne Double integrls over plne region my be trnsforme into line integrls over the bounry of the region n onversely. This is of prtil interest beuse it my simplify the evlution

More information

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

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

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

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

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

Petri automata for Kleene allegories

Petri automata for Kleene allegories Petri utomt for Kleene llegories Pul Brunet, mien Pous To ite this version: Pul Brunet, mien Pous. Petri utomt for Kleene llegories. Logi in omputer Siene, Jul 205, Kyoto, Jpn. I, pp.68-79, 205, .

More information