Tool Support for Checking Railway Interlocking Designs

Size: px
Start display at page:

Download "Tool Support for Checking Railway Interlocking Designs"

Transcription

1 Tool Support for Cheking Rilwy Interloking Designs K. Winter W. Johnston P. Roinson P. Strooper L. vn en Berg Shool of Informtion Tehnology n Eletril Engineering University of Queensln Emil: kirsten@itee.uq.eu.u Astrt The evelopment of rilwy interloking systems is urrently very lour-intensive. Speilists evelop the interloking esign for prtiulr re n mnully hek for ompleteness n onsisteny. The interloking is implemente in either softwre or using eletril relys. The interloking hs to e teste ginst the sfety requirements for signlling systems, i.e., the signlling priniples. The whole proess n e supporte y vrious tools, rnging from eitors to nimtors. In this pper we fous on exploiting moel heking to utomtilly hek the esign with respet to sfety. The min onerns of this tehnique re the prolem size n the effiieny of ville tools. We hve investigte oth of these prolems: seeking to work with miniml moel of the interloking esign n to improve effiieny of the moel-heking proess y exploiting omin knowlege of our prtiulr pplition. Keywors: Rilwy interlokings, utomte verifition, symoli moel heking, Binry Deision Digrms 1 Introution Moel heking (Clrke, Grumerg & Pele 2000) is n utomti tehnique use to support the vlition n verifition of system esigns. It is of prtiulr interest to inustry sine its pplition oes not rely on ny expertise in the unerlying verifition tehnique. A moel heker explores the full stte spe of given moel of the system. Similr to omplete test, every possile ehviour is investigte. The tool provies the user with n nswer initing whether the moel violtes given property or requirement. Most tools provie ounter-exmple tht shows possile senrio in the se when violtion ours, whih proves to e very useful when eugging the moel. The following tsks hve to e solve when setting up evelopment proess tht integrtes moel heking to support eugging n verifying system esign. 1. The system esign hs to e moelle formlly in the input lnguge of the tool. 2. Requirements or properties to e heke hve to e ientifie n lso formlise in the tool s input nottion for requirements. 3. Both moel n requirements hve to e refully vlite. Tht is, the user hs to mke sure Copyright 2005, Austrlin Computer Soiety, In. This pper ppere t the 10th Austrlin Workshop on Sfety Relte Progrmmle Systems (SCS 05), Syney. Conferenes in Reserh n Prtie in Informtion Tehnology, Vol. 55. Tony Cnt, E. Reproution for emi, not-for profit purposes permitte provie this text is inlue. tht oth formlistions orrespon with the tul system esign n requirements tht ought to e heke. 4. A thorough nlysis hs to lrify whih prolems in the system esign n e etete with moel heking n whih nnot e etete ue to the given formlistion of system esign n requirements. Within speifi pplition, tsks 1 n 2 of the list ove n often e utomte one the omin of interest is well enough unerstoo. This is possile, if () system esign is lwys provie in stnr formt n () the requirements n e erive in stnr fshion for eh prtiulr se. Rilwy signlling interlokings re sfety ritil systems. They re esigne to permit the sfe movement of trins long rilwy system. We re urrently investigting the use of moel heking for the verifition of rilwy interloking esigns within ollortive projet with Queensln Ril (QR). It is plnne tht the interfe to the moel heker will eome prt of Signlling Design Toolset (Roinson, Brney, Kerney, Niknros & Toms 2001), whih inlues lso trk-lyout eitor, ontrol-tle genertor, n ontrol-tle eitor (CTE). For this pplition, oth onitions ove re stisfie: the system esign (i.e., the interloking esign) is speifie y experts t QR s tles, lle ontrol tles. The trk lyout n route tle (Winter & Roinson 2003) provie itionl informtion out the position of signls, points, trks, n routes etween the signls. From these ouments, our tool support utomtilly genertes forml moel of the interloking esign. The properties we wnt to hek re the sfety requirements of n interloking system s speifie in the Signlling Priniples 1 (SAOS Stnrs 1999). They re generi for our prtiulr moel n n e summrise s () voine of trin ollision n () voine of trin erilment. We use the moel heker NuSMV (Cimtti, Clrke, Giunhigli & Roveri 1999) to hek the sfety properties for interloking esigns. NuSMV is softwre tool for the forml verifition of finite stte trnsition systems. It is reimplementtion n re-engineering of the Symoli Moel Verifier (SMV) evelope y MMilln t Crnegie Mellon University (MMilln 1993). The tool heks whether temporl logi properties re stisfie y given moel. Tht is, the moel hs to e speifie using (type) stte vriles to moel the stte spe n gure trnsitions tht pture the ehviour of the moel. The requirements hve to e speifie in Computtion Tree Logi (CTL), propositionl rnhing type 1 This is oument of the priniples to e pplie to ll signlling works in the Brisne suurn re.

2 temporl logi (Emerson 1990). Both input nottions re well suite for our prolem. Aitionlly, NuSMV is symoli moel heker whih mens moel n requirements re internlly represente y grph strutures, lle Binry Deision Digrms (BDDs) (Brynt 1986). Generlly, BDD-se moel heking hs prove to e very effiient (see e.g., (Burh, Clrke, MMilln, Dill & Hwng 1992)). However, to mke our pproh of moel heking interloking esigns fesile for use in prtise, we hve to trget the issue of effiieny. Wheres smll esign n e utomtilly heke quite fst, s esign size inreses, the time tken to hek the esign inreses t rpi rte n my not return result t ll. This is often referre to s the stte explosion prolem. Run-time n memory usge of the proess hve to e improve. This n e one in two wys: () reuing the moels of esign n requirements y stripping informtion tht is not neessry for the moel heker n () y improving the moel heking proess itself for this prtiulr pplition. This pper resses oth issues. In Setion 2, we esrie our prtiulr moel of the system esign tht llows for generi requirements speifition n how this moel oul e optimise in terms of its size. Setion 3 shows how the hrteristis of the moel heker we use n e exploite to gin signifint spee-up in run-time y using omin knowlege. We report on relte work in Setion 4 n onlue the pper in Setion 5. 2 The Moel of the Interloking Design n its Requirements Run-time n memory-usge of the moel heking proess epen on the size of the moel n the omplexity of the requirements to e heke. Ftors tht etermine the moel s size re the numer of stte vriles, the size of their (enumerte) type, n the numer of trnsitions tht moel the ehviour. The omplexity of the requirements n e mesure in terms of the length of the CTL formul n the numer of neste temporl opertors. To optimise the omplexity of the moel-heking proess we hve to minimise these ftors. 2.1 The Moel Unlike other pprohes for verifying interlokings (see Setion 4), our moel not only inlues moel of the interloking esign ut lso of (one or two) trins moving long the trks (Winter & Roinson 2003). As onsequene, the sfety requirements eome generi n very esy to vlite euse they n e moelle in terms of trins. Trins must not ollie n they must not eril. The heking proess verifies tht trins, tht re moving oring to the onstrints permitte y the ontrol tles, o not violte these sfety requirements. The moel therefore onsists of moel of the ehviour of trins, in terms of how they move from one trk to the next n how they ret to signlling equipment, n moel of signlling equipment ehviour, instntite y the ehviour presrie in the ontrol tles. Our moel is instntite for speifi verifition re whih esries lol prt of the rilwy network. Figure 1 epits the trk lyout of smll verifition re showing the lotion of points, signls n trks within tht re. Eh verifition re shoul e lrge enough to inlue t lest one route n ll its opposing routes. Ielly, verifition re woul inlue ll the routes n opposing routes for prtiulr interloking. For eh verifition re, NG1C NG8D NG5 NG5A NG5A NG5A NG8C NG7 NG8B 511 NG8B NG8B NG8B NG8B NG8 Figure 1: Exmple of Verifition Are n extrt of the ontrol tle whih inlues t relevnt to the re is proue. Figure 1 is n exmple trk lyout. Signls, e.g. NG5, use olour initions (e.g. green for go), to give uthorities for trins to trvel prtiulr route through the lyout. The ifferene etween signls tht hve two irles (e.g. NG5) n those with three n sh (e.g. NG8) is not importnt in this ontext. Points, e.g. 511, re movle omponents in the trk tht permit trin to move from one trk to nother. The position of the points is referre to y the rilwy signlling inustry s points norml or points reverse. A route is pth etween two fing signls ( fing signl is signl tht is fing towrs n pprohing trin), route n e loke reverse mening it is reserve for use, or norml mening it is free. NG1C, NG5A, NG8D n NG8C re trks, while NG5A, NG5A n NG8B re trk-segments, the ltter re introue purely for the purpose of moelling n re not se on tul hrwre esign. Trin ehviour is suh tht trins only proee pst fing signl if tht signl is showing proee. The trins otherwise move from trk to trk oring to t extrte utomtilly from the trk lyout. Signl equipment ehviour is generilly esrie in the Signlling Priniples. For exmple, points n only hnge stte if the trks whih ontin the points re not oupie, n for every route rossing the points, the onitions for holing the points in their urrent lie o not pply. The preise t, giving whih routes n wht loking onitions re neee, is extrte (utomtilly) from the t for the verifition re tht is uner investigtion. Our moel omprises the following entities n entity vlues: trins n their positions, signls n their spets (either stop or proee), points n their lie (either norml or reverse), n routes n their loking n route-usge. These entities re moelle s stte vriles. Their vlues n e hnge t eh stte if the onitions (orresponing to the generl esription in the Signlling Priniples n oring to the ontrol tle entries for the speifi verifition re) re stisfie. We opt synhronous moel, i.e., t eh step ll possile hnges to the stte vriles re onute t the sme time. This moel of synhronous onitionl uptes reflets the ehviour of n interloking system of speifi verifition re s it is permitte y the orresponing ontrol tles. A position of trin is given in terms of segment. Eh trk omprises one or more segments, where eh segment represents unique wy of trversing the trk. For trks NG5A n NG8B figure 1 shows the orresponing segments, nmely NG5A n, n NG8B- re shown. Note tht for the trk

3 tht ontins point, NG8B, we n fin four unique wys to trverse it n therefore get four segments, NG8B-. A route my ross numer of trks. The numer of trks very muh epens on the opertionl requirements of the rilwy. A route is in use when one of its trk setions is oupie y trin. As the trin proees into the route, trks re progressively oupie n susequently unoupie, n in so oing progressively relese prts of the route ehin the trin for other trins to use. Thus route my hve vrious stges of usge epening on the numer of trks. This is moelle y n itionl stte vrile lle route usge. For the opertion of rel interloking, route n point settings re requeste y the signller. This is moelle y n input vrile request. When moel heking, the vlue of this input vrile is set ritrrily t eh step. Of ourse, this moel inlues quite unonventionl ehviour of signller, sine every possiility is investigte n no ssumptions hve een me on the ehviour of the signller. It is resonle to proee this wy sine the ontrol tle hs to gurntee sfe opertion in every senrio. We re le to show y exhustive testing tht ny element missing from the t in the route holing setion of the ontrol of the ontrol tles, les to violtion of the sfety requirements (tht is, ollision or erilment ours) A Miniml Moel For our purpose simple moel of trins n their movement is suffiient. We onsier trins to ehve well, i.e., they o not spee or overrun re signls. They move oring to the stte of points n signls. We strt from the spee n length of trin. A trin just oupies one segment t time n n stop instntly. The iretion of trin is etermine through its position, whih is prtiulr segment tht rries informtion out iretion. Signls n show only two spets, stop n proee. This reues the speifie spet type ut it oes prevent us from heking the spet sequening of the interloking esign. Aspet sequening ensures tht the trin river will see sfe sequene of signl spets, for exmple, yellow spet efore re one. This mehnism, however, n lso e heke sttilly within the Control Tle Eitor (CTE) (Roinson et l. 2001). One prt of the ontrol tle logi esries the funtionlity of pproh loking whih is the funtion tht prevents route tht hs een set for trin from hnging until it is eeme sfe to o so. We eie to restrit our heking to moel without pproh loking in orer to erese the moel s stte spe n ehviour. This lso llowe us to simplify the trin movement n signl moel s esrie ove. Approh loking is sfety onern, ut the orresponing entries in the tle n e heke sttilly y the CTE. Our moel oes not istinguish etween norml routes n shunt routes. Shunting is low spee opertion in whih trins re joine together. In terms of our moel, however, this esries trin ollision, i.e., hzr, sine we o not onsier the spee of trin. For simpliity, the shunting ehviour of trins is urrently ignore. This n e justifie in so fr tht shunting oes not provie high sfety onern ue to the low spee tht is involve. Shunting is ertinly hzrous opertion for those iretly involve in the oupling n unoupling of items of rolling stok i.e. signifint workple hzr. It is not however onsiere signifintly hzrous in the rilwy signlling ontext, s the low spees involve shoul llow trins to stop short of ny ostrution, thus using either none or miniml mge An improve Initilistion We lso improve the initilistion of our moel. When setting the route-usge initilly to the lowest vlues, the moel heking proess revels tht the first few itertions re use only to inrese the vlue of the route-usge. To voi these itertions, we initilly set route-usge of eh route to its mximl vlue. A less restritive initilistion tht leves vlues unspeifie where possile n lso help to reue the heking time ue to the ft tht the internl representtion of the initil sttes eomes smller (see lso (Huer & King 2002)). In our pplition we n leve out the initilistion of the points setting. 2.2 Consequenes for the Verifition Tsk Reuing the moel of the interloking esign omes t ost n rries two onsequenes. Firstly, the moel n its ehviour is less intuitive for rilwy signl interloking esigners. The ounter-exmples tht re output y the NuSMV tool, lthough reveling rel errors in the ontrol tle, show in some ses unexpete or unusul ehviour for the trins ue to our simplifie moel of trin movement. In tht sense, the moel heking pproh is very ifferent to testing using simultion tht ims t relisti senrios. Our pproh is not inline to o tht ut rther to hek tht the entries in the ontrol tles prevent trin ollision n erilment. This is prolem tht requires resolution in orer to hieve eptne of the tool support y interloking esigners. We propose to provie the user with n interprettion of the ounter-exmples proue. In most ses, the neessry informtion, on wht the use of the prolem n where the hzr is, n e utomtilly erive from the ounterexmple. This enles us to generte n interprettion tht points the user iretly to the right ple in the ontrol tle where n entry is missing or flwe, without inspetion of the ounter-exmple. We re urrently isussing n testing this pproh with prtitioners from QR. Seonly, the sope of the verifition tsk is reue. As lrey isusse in Setion 2.1.1, ertin prts of the ontrol tles nnot e heke using our simplifie moel. In some ses, e.g., pproh loking n spet sequening, it seems resonle n more effiient to hek those prts using other pprohes, e.g., oing stti heks using the CTE. In other ses, e.g., shunt routes, the enefit of inluing heks on those entries oes not outweigh the enefit of more effiient moel heking proess euse they o not rry signifint sfety onern. However, there re issues tht we wnt to inlue into our moel in the future, like the notion of overlps n level rossings. Overlps re trks eyon signl n re introue s sfety uffer for trins tht overrun re signl. Sine the trins in our moel lwys stop t re signl, missing overlps in the ontrol tle nnot e etete in our urrent pproh. Moreover, inluing the onept of overlps into our moel woul lso llow us to hek for ertin liveness onitions on setting signls n routes. Level rossings lso rry sfety onern. They re not present in every re ut when they re, the orresponing prt of the ontrol tle shoul e heke. Future work will e to inlue neessry onepts, suh s gtes n gte movement, into the moel.

4 All the hnges on our moel re thoroughly isusse with our inustry prtners from QR. The hnges n their impt re well oumente, espeilly the sope of the verifition tht is provie y the moel heking proess. 2.3 The Requirements Sine our moel omprises moel of moving trins, the requirements on n interloking esign re generi. Rther thn expressing, for exmple, possile trin ollision in terms of routes, signls n points, we n stte this in terms of trins tht use the trks oring to the ontrol tle entries. We hek the following sfety hzrs: ollisions etween trins trvelling on the sme trk n in the sme iretion ollisions etween trins trvelling on the sme trk ut in ifferent iretions erilments use y points moving unerneth trin erilments when trin rosses inorretly set triling points trins pssing signls with routes set in the opposite iretion. For heking ollisions on trins, we oviously nee moel with t lest two trins. However, reful nlysis of our pproh shows tht no more thn two trins re neessry to fin ll possile errors in the ontrol tles. Derilment n trins running into wrongly set routes, on the other hn, n e heke using one trin only. Hene, we run ifferent heks with ifferent moels: two-trin moels n one-trin moels, of whih the ltter run signifintly fster. We trnslte the sfety hzrs into requirements formlise in CTL, e.g., it is lwys the se tht the position of trin tr1, pos(tr1), is ifferent to the position of trin tr2, pos(tr2). In CTL syntx (note tht AG moels lwys, in every stte): AG (pos(tr1) pos(tr2)) To hek erilment use y points moving unerneth trin we wnt to hek tht whenever trin tr is on trk setion with point p (i.e., pos(tr) = homet rk(p)) it shoul not e possile to move point p, i.e., to hnge its setting pointset(p). Using CTL this n e formlise s follows: p P oints, vl om(pointset) : AG (pos(tr) = homet rk(p) pointset(p) = vl AX (pointset(p) = vl)) The quntifition on points p n vlues vl hve to e unfole: vl rnges over {setn, setr} n the set of points P oints is speifi for the verifition re uner investigtion. (Note tht AX moels lwys in the next stte). All other requirements n e formlise in CTL in similr fshion. However, lose inspetion revels tht ll CTL requirements in our moel n lso e speifie s simple invrints. NuSMV not only supports moel heking for CTL formuls ut lso for simple invrint heking. Sine the lgorithms for the ltter re muh more effiient, the use of invrints over temporl logi where possile is preferle. If CTL formul ontins only the temporl opertors AG then this formul is equivlent to n invrint (leving out the temporl opertors). In our se the formul on heking erilment ue to moving points (s shown ove) n lso e stte s Figure 2: OBDD for f = ( ) ( ) with orering < < < invrint if we exploit the knowlege from our interloking moel: A point only moves if ertin onitions re stisfie, i.e., if the gur pointn Gur, for setting point norml (to vlue setn), or the gur pointrgur, for setting point reverse (to vlue setr), is true. The following invrint is equivlent to the CTL formul ove: p P oints : pos(tr) homet rk(p) ((pointset(p) = setn pointrgur(p)) (pointset(p) = setr pointn Gur(p))) Agin, the quntifition on point p hs to e unfole n the prmeters pointrgur(p) n pointn Gur(p) reple oring to the verifition re uner investigtion. This n e one utomtilly. 3 The Moel Cheking Proess Our moel heking proess is se on tehnique lle symoli moel heking. Symoli moel heking uses orere inry eision igrms (OB- DDs) s t struture for the internl representtion of the moel n the temporl logi formul to e heke. OBDDs re noni representtion for oolen formuls. They n e reue into reue OBDDs (ROBDDS). ROBDDs provie for most funtions more onise representtion thn other norml forms (e.g., KNF n DNF) (Brynt 1986). Very effiient lgorithms for uiling n omining ROBDDs re ville (Somenzi 1998). 3.1 Vrile Orering of ROBDDs The possiilities for reuing n OBDD epen on the hosen orering of vriles. Figure 2 shows the OBDD for the oolen funtion f = ( ) ( ). 2 Noes of the grph re lelle with the vrile nmes ourring in f. Noes on eh level re lelle with the sme vrile, i.e. the grph is orere. A otte ege from noe mrks the evlution to 0 (or flse) of the vrile the noe is lelle with. A soli ege mrks its evlution to 1 (or true). The leves of the grph re lelle with 0s n 1s initing the evlution of the formul f epening on the evlution of the vriles s represente y the pth in the grph tht les to the lef. In the OBDD shown in Figure 2 the vriles re orere oring to their pperne in the formul, nmely < < <. This orering is reflete in the grph through the levels on whih vrile ppers s noe lel. The reution lgorithm for OBDDs llows us to eliminte reunnt tests on vrile, isomorphi sugrphs, n lef noes with 2 Note the the symols in the formul re s if n only if ( ), n or ( ).

5 the sme lel (n reireting remining eges oringly). The mount of reution tht n e pplie is oviously essentil for the resulting size of the ROBDD: the more we n reue the etter. In our exmple in the figure, we n fin two isomorphi sugrphs s well s severl reunnt tests on vriles. For instne, if vrile n vrile evlutes to 0, then we know tht f evlutes to 1; if oth vriles evlute to 1, f evlutes to 1 too. In these two ses we o not hve to test the evlutions of vriles n. The OBDD in Figure 3 shows ifferent vrile orering: we evlute vrile efore. This grph shows ifferent pttern of sugrphs n lef noes. It llows for less reution. In Figure 4 we show the reue OBDDs for oth orerings. As n e seen the resulting ROBDD for orering < < < is signifintly smller (given the ft tht we re looking t very smll exmple). It hs six (non-lef) noes inste of nine. This numer of noes etermines the omplexity of the lgorithms use when moel heking. 3.2 Applition speifi Vrile Orering The size of the OBDDs influenes the time tken for moel heking n the memory usge. In generl, fining n optiml orering for the vriles is infesile (Clrke et l. 2000). The insight into the issue of vrile orerings n e exploite for generting vrile orerings utomtilly. Aoring to the rules for uiling n reuing n OBDD s esrie ove, the following priniples n e oserve: When orering the vriles tht our in formul, it is enefiil to group vriles together tht re losely interrelte; often the lolity within the formul is hrteristi for lose interreltion etween vriles; ple groups of vriles, tht etermine the overll vlue of the formul, t the top of the orering. As efult, the NuSMV tool genertes vrile orering oring to the orer of pperne of vriles within the SMV oe. We ll this the efult orering. The NuSMV tool lso hs user input option to generte n orering n optimise it uring the run of moel heking proess, referre to s ynmi re-orering (Cv, Cimtti, Olivetti, Pistore & Roveri 2001). However, those utomte orerings i not prove to e suessful for our pplition (see results elow). Therefore, we itionlly use knowlege from our pplition omin, nmely interloking esign, to propose lterntive orering strtegies. These strtegies re not se on the orer of pperne of the vriles in the SMV oe ut rther on the informtion provie through the trk lyout n the ontrol tles Figure 3: OBDD for f with orering < < < 1 0 Figure 4: Two ROBDDs for ( ) ( ) with ifferent orerings. Left: < < <, Right: < < <.) Geogrphil orering: For moel of speifi verifition re we group vriles oring to the lolity within the trk lyout. Signlling equipment, whih etermines the vriles of the OBDDs, is ple together in the orering if it is geogrphilly lose. Tht is, we ollet the signlling equipment ourring in the trk lyout from left to right n ple them in the orer of their position. We ll this orering geogrphil orering..) Cusl orering: We group the vriles for speifi verifition re oring to usl epenenies etween the vriles. More speifilly, we group eh point with those routes tht ross the point in fing iretion n with the signls from whih those routes re entere. Routes tht o not ross points in fing iretion re groupe with routes tht oppose them. This results in groups of vriles, in whih ll memers etermine the stte of ll other memers. The position of group of entities within the overll orering is geogrphilly. We ll this orering the usl orering. Interestingly, this strtegy orrespons with the wy mehnil interloking esign use to e one, s QR rilwy engineers pointe out. To them, our usl orering strtegy seem to e the nturl strtegy to hoose. The position of the trin is relte to the ehviour of ll signlling entities. In oth pplitionspeifi orerings we therefore ple vriles on the trin position n trin movement t the eginning of the orering. Input vriles to the moel, like the request of route or point, re ple in the mile of the vrile orering, preferly etween two neighouring groups of entities. This oinies with the suggestions in (Moon, Hhtel & Somenzi 2000). We hve teste the ifferent strtegies for vrile orerings on vrious verifition res using n Ultr- SPARC II 450 MHz proessor with 2GByte of RAM uner the operting system Solris version 8. For exmple, on meium-size verifition re (29 routes, 13 signls, 22 trks, n 9 points) we get results s shown in Tle 1. orering strtegy run-time (in hours) 1 0 memory usge (in MByte) efult geogrphil usl Tle 1: Sttistis for meium-size prolem The ynmi re-orering ws teste on smll

6 verifition re only (24 routes, 16 signls, 18 trks, n 4 points) 3 n the results were isourging: the moel heking proess with ynmi re-orering runs for 31.9 hours wheres using the usl orering on the sme exmple reues the run-time to 40 min. These results illustrte tht the strtegy of hoosing vrile orering hs signifint impt on the ppliility of moel heking to lrger prolems. 3.3 Setting the Mximum Che Size Limit The NuSMV tool integrtes the Coloro University Deision Digrm (CUDD) pkge (Somenzi 1998) whih provies lirry of effiient lgorithms for ll BDD opertions. The effiient reursive mnipultion of BDDs uses he to store ompute results. This he provies fst ess to BDDs, enles re-usility of grphs n supports n effiient grge olletion if grphs re not use ny more. The CUDD pkge strts y efult with smll he, n inreses its size until either no further enefit is hieve, or limit size is rehe. The user n set the initil n the limit vlue for the he size. The impt of these figures is twofol. Too smll he size will le to frequent overwriting of useful results. Too lrge he size will le to igger overhe use for grge olletion. The CUDD mnul reommens the following: The optiml prmeters epen on the speifi pplition. The efult vlues work resonly well for wie spetrum of pplitions (Somenzi 1998). Although this prmeter nnot e set s user option to the NuSMV tool we hnge its vlue within the NuSMV oe. Inste of using the efult limit for the he size (104 MByte), we hnge this vlue to 512 MByte. These experiments were one on new mhine with two Intel 3192 MHz proessors, n 4GByte RAM, running Re Ht Enterprise Linux AS relese 3. On the meium size verifition re, using the usl orering n he size of 104 MByte, the sttistis re 2.1 hours run-time n 578 MByte memory usge. Inresing the size of the he to 512MByte, the run-time reue to 1.2 hours n the memory usge inrese mrginlly to 596 MByte. Although the memory usge is slightly inrese we gin signifint spee-up in proessor run-time. We re urrently nlysing the optimistion of this vlue in more etil. 4 Relte Work Moel heking hs een pplie efore to the nlysis of interloking systems: Gnesi et. l (Gnesi, Lenzini, Ltell, Aneo, Amenol & Mrmo 2000), Bernreshi et. l (Bernreshi, Fntehi, Gnesi & Mongri 1996), n Cleveln et. l (Cleveln, Luettgen & Ntrjn 1996), for instne, hve resse the prolem of fult-tolerne in interloking systems. In their work, the heking tsk is fouse on ommunition issues etween omponents of the system rther thn the ontrol logi of the interloking. The preferre moelling lnguge for formlising the systems re se on proess lgers (e.g., Communiting Sequentil Proess (CSP), Clulus of Communition Systems (CCS), Proess Met Lnguge (PROMELA)). These lnguges provie suitle fetures for moelling ommunition etween omponents. 3 Although the numers of routes, signls, trks n points in our smll n meium-size moels o not iffer muh, the numer of resulting stte vriles n vlues in the SMV moel re signifintly igger in the meium-size moel. The work of Simpson, Woook n Dvies (Simpson, Woook & Dvies 1997) esries nother pproh tht uses proess lger for moelling. The pper esries how the ontrol logi of n interloking system is moelle using CSP. The refinement heker Filure Divergene Refinement (FDR) (For 1996) is use to hek the sfety properties. However, their moel is t lower level of strtion thn ours. The sfety invrints, nmely no ollision of trins n no erilment, re moelle in terms of the signlling entities suh s points, signls, routes, n segments. This formlistion of sfety invrints hs to e mnully erive from the trk-lyout (in the pper it is not expline how) n, therefore, it is not ovious if given set of invrints is omplete n overs ll eventulities. Closer to our pproh re the ontriutions y Eisner (Eisner 1999) n Huer et. l (Huer & King 2002). Both use symoli moel heker to nlyse the interloking logi of given trk lyout n isuss strtegies for optimistion. In oth works, however, the moel is signifintly ifferent from our moel. Eisner strts her nlysis with moel given s Vitl Logi Coe (VLC) (essentilly of set of Boolen expressions), to speify rilwy interloking softwre whih is then trnslte into ilet of the SMV input nottion. Therefore, optimising the moel is not n issue isusse in the pper. Her optimistions relte to the wy in whih the sfety requirements re formlise in su-lnguge of CTL, lle AGAX formuls. She shows tht the moel use hs ertin generl hrteristis (lle roustness n lolity) tht rener the pplition prtiulrly suitle to symoli moel heking of AGAX formuls. Although this is generlly very interesting oservtion, sine it llows preitions for other pplitions too, in our se the requirements re even simpler thn AGAX formuls. For our moel the requirements n e stte s invrints. Huer et. l moel n hek the Geogrphil Dt of Soli Stte Interloking progrm using NuSMV. Tht is, their pproh for verifition is ple t progrm level rther thn esign level. Moreover, their moel oes not ontin moel for trin position n movement. Consequently, the requirements hve to e formlise se on the signlling entities. The pper suggests n utomte pproh for generting the CTL formuls from the given priniples. In this pproh the numer of requirements to e heke is rther lrge. The generl templte for the formuls hs to e instntite for ll trks, n ll points, n ll routes. To optimise the vrile orering, the pper suggests using the ynmi re-orering of the NuSMV tool. In our se, however, we were le to signifintly improve on this option y using n pplition speifi orering. This work is of prtiulr interest euse it suggests numer of wys to optimise the moelheking proess. In ontrst to our work, the input t is not trnslte into SMV oe ut rther into BDD strutures (irumventing the ompiltion of the NuSMV tool). This provies more iret ess to the BDD strutures. Some of the suggestions n e pplie to our pproh too. For exmple, the optimistion of initilistion of the moel (see Setion 2). Other suggestions will e further investigte in our future work (e.g., the potentil of splitting the trnsition reltion). 5 Conlusion This work esries n pproh to heking the sfety requirements of interloking esigns using

7 symoli moel heker. In orer to minimise the stte explosion prolem n to improve the performne of the moel heker for lrger exmples, we suggest numer of optimistions. We reue the moel to e heke, where this is possile, without loss of reiility regring sfety issues. We esrie strtegy for fining very goo vrile orering se on omin knowlege n we suggest on n improvement of prmeter settings of the NuSMV tool n the CUDD pkge for our speifi pplition. In future work we will ontinue to investigte further improvements to the moel s well s further optimistions to the settings of the tool s prmeters. To utomte the overll proess, we re iming to evelop n utomte genertor for vrile orerings for speifi verifition res, n to provie the user with support for omprehensive ounter-exmple interprettion. Aknowlegements: This work hs een supporte y the ARC Linkge Grnt LP This work enefite gretly from the knowlege n insight into rilwy interloking systems provie y George Niknros, Dvi Brney n Dvi Toms from QR. We lso wish to thnk the reviewers for their helpful omments. Referenes Bernreshi, C., Fntehi, A., Gnesi, S. & Mongri, G. (1996), Proving sfety properties for emee ontrol systems, in Pros. of Conferene on Depenle Computing (EDCC-2), Vol. xvi+440, Springer-Verlg, pp Brynt, R. E. (1986), Grph-se lgorithms for oolen funtion mnipultion, IEEE Trnstions On Computers C-35(8). Burh, J., Clrke, E., MMilln, K., Dill, D. & Hwng, L. (1992), Symoli moel heking sttes n eyon, Informtion n Computtion 98(2), Cv, R., Cimtti, A., Olivetti, E., Pistore, M. & Roveri, M. (2001), NuSMV 2.0 User Mnul, IRST Trento, Cimtti, A., Clrke, E., Giunhigli, F. & Roveri, M. (1999), NuSMV: A new symoli moel verifier, in Pro. of Int. Conf. on Computer Aie Verfition, CAV 99, Vol of LNCS, Springer- Verlg, pp Clrke, E., Grumerg, O. & Pele, D. (2000), Moel Cheking, MIT Press. Cleveln, R., Luettgen, G. & Ntrjn, V. (1996), Moeling n verifying istriute systems using priorities: A se stuy, in Pros. of Int. Workshop on Tools n Algorithms for the Constrution n Anlysis of Systems (TACAS 96), Vol of LNCS, Springer-Verlg, pp Eisner, C. (1999), Using symoli moel heking to verify the rilwy sttions of Hoorn- Kersenooger n Heerhugowr, in Pro. of Conf. on Corret Hrwre Design n Verifition Methos (CHARME 99), Vol of LNCS, Springer-Verlg. Emerson, E. A. (1990), Temporl n mol logi, in J. vn Leeuwen, e., Hnook of Theoretil Computer Siene, Vol. B, Elsevier Siene Pulishers. For (1996), Filure Divergene Refinement, FDR 2.0, User Mnul. Gnesi, S., Lenzini, G., Ltell, D., Aneo, C., Amenol, A. & Mrmo, P. (2000), An utomti SPIN vlition of sfety ritil rilwy ontrol system, in Pros. of IEEE Conferene on Depenle Systems n Networks, IEEE Computer Soiety Press, pp Huer, M. & King, S. (2002), Towrs n integrte moel heker for rilwy signlling t, in L.- H. Eriksson & P. Linsy, es, Pro. on Forml Methos Europe (FME 2002), Vol. 2391, Springer-Verlg, pp MMilln, K. (1993), Symoli Moel Cheking, Kluwer Aemi Pulishers. Moon, I.-H., Hhtel, G. & Somenzi, F. (2000), Borer-lok tringulr form n onjuntion sheule in imge omputtion, in W. A. Hunt & S. D. Johnson, es, Int. Conferene on Forml Methos in Computer Aie Design (FMCAD 2000), Vol of LNCS, Springer-Verlg, pp Roinson, N., Brney, D., Kerney, P., Niknros, G. & Toms, D. (2001), Automti genertion n verifition of esign speifition, in Pro. of Int. Symp. of the Interntionl Counil On Systems Engineering (INCOSE). SAOS Stnrs, (1999), Signlling priniples - Brisne suurn re. Simpson, A., Woook, J. & Dvies, J. (1997), The mehnil verifition of soli stte interloking geogrphi t, in L. Groves & S. Reeves, es, Pro. of Forml Methos Pifi (FMP 97), Disrete Mthemtis n Theoretil Computer Siene Series, Springer-Verlg, pp Somenzi, F. (1998), CU Deision Digrm Pkge: Relese 2.3.0, Deprtment of Eletril n Computer Engineering, University of Coloro t Bouler, Winter, K. & Roinson, N. J. (2003), Moelling lrge rilwy interlokings n moel heking smll ones, in M. Oushoorn, e., Pro. of Austrlsin Computer Siene Conferene (ACSC2003).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10.7 Assessment criteria for the individual investigation

10.7 Assessment criteria for the individual investigation Unit 6 Prtil Biology n Investigtive Skills 10.7 for the iniviul investigtion Reserh n rtionle There is some ttempt to provie rtionle for the hoie of investigtion in terms of its sope n its reltion to iologil

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

The DOACROSS statement

The DOACROSS statement The DOACROSS sttement Is prllel loop similr to DOALL, ut it llows prouer-onsumer type of synhroniztion. Synhroniztion is llowe from lower to higher itertions sine it is ssume tht lower itertions re selete

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

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

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

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

EE 108A Lecture 2 (c) W. J. Dally and P. Levis 2

EE 108A Lecture 2 (c) W. J. Dally and P. Levis 2 EE08A Leture 2: Comintionl Logi Design EE 08A Leture 2 () 2005-2008 W. J. Dlly n P. Levis Announements Prof. Levis will hve no offie hours on Friy, Jn 8. Ls n setions hve een ssigne - see the we pge Register

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

CS 360 Exam 2 Fall 2014 Name

CS 360 Exam 2 Fall 2014 Name CS 360 Exm 2 Fll 2014 Nme 1. The lsses shown elow efine singly-linke list n stk. Write three ifferent O(n)-time versions of the reverse_print metho s speifie elow. Eh version of the metho shoul output

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

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

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

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

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

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

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

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

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

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

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

Algebra 2 Semester 1 Practice Final

Algebra 2 Semester 1 Practice Final Alger 2 Semester Prtie Finl Multiple Choie Ientify the hoie tht est ompletes the sttement or nswers the question. To whih set of numers oes the numer elong?. 2 5 integers rtionl numers irrtionl numers

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

Exam Review. John Knight Electronics Department, Carleton University March 2, 2009 ELEC 2607 A MIDTERM

Exam Review. John Knight Electronics Department, Carleton University March 2, 2009 ELEC 2607 A MIDTERM riting Exms: Exm Review riting Exms += riting Exms synhronous iruits Res, yles n Stte ssignment Synhronous iruits Stte-Grph onstrution n Smll Prolems lso Multiple Outputs, n Hrer omintionl Prolem riting

More information

Section 2.1 Special Right Triangles

Section 2.1 Special Right Triangles Se..1 Speil Rigt Tringles 49 Te --90 Tringle Setion.1 Speil Rigt Tringles Te --90 tringle (or just 0-60-90) is so nme euse of its ngle mesures. Te lengts of te sies, toug, ve very speifi pttern to tem

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

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

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

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

Probability The Language of Chance P(A) Mathletics Instant Workbooks. Copyright

Probability The Language of Chance P(A) Mathletics Instant Workbooks. Copyright Proility The Lnguge of Chne Stuent Book - Series L-1 P(A) Mthletis Instnt Workooks Copyright Proility The Lnguge of Chne Stuent Book - Series L Contents Topis Topi 1 - Lnguge of proility Topi 2 - Smple

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

Test Generation from Timed Input Output Automata

Test Generation from Timed Input Output Automata Chpter 8 Test Genertion from Timed Input Output Automt The purpose of this hpter is to introdue tehniques for the genertion of test dt from models of softwre sed on vrints of timed utomt. The tests generted

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

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

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

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

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

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

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

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

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

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

Appendix A: HVAC Equipment Efficiency Tables

Appendix A: HVAC Equipment Efficiency Tables Appenix A: HVAC Equipment Effiieny Tles Figure A.1 Resientil Centrl Air Conitioner FEMP Effiieny Reommention Prout Type Reommene Level Best Aville 11.0 or more EER 14.6 EER Split Systems 13.0 or more SEER

More information

Bi-decomposition of large Boolean functions using blocking edge graphs

Bi-decomposition of large Boolean functions using blocking edge graphs Bi-eomposition of lrge Boolen funtions using loking ege grphs Mihir Chouhury n Krtik Mohnrm Deprtment of Eletril n Computer Engineering, Rie University, Houston {mihir,kmrm}@rie.eu Astrt Bi-eomposition

More information

Outline Data Structures and Algorithms. Data compression. Data compression. Lossy vs. Lossless. Data Compression

Outline Data Structures and Algorithms. Data compression. Data compression. Lossy vs. Lossless. Data Compression 5-2 Dt Strutures n Algorithms Dt Compression n Huffmn s Algorithm th Fe 2003 Rjshekr Rey Outline Dt ompression Lossy n lossless Exmples Forml view Coes Definition Fixe length vs. vrile length Huffmn s

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

Momentum and Energy Review

Momentum and Energy Review Momentum n Energy Review Nme: Dte: 1. A 0.0600-kilogrm ll trveling t 60.0 meters per seon hits onrete wll. Wht spee must 0.0100-kilogrm ullet hve in orer to hit the wll with the sme mgnitue of momentum

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

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

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

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

Automatic Synthesis of New Behaviors from a Library of Available Behaviors

Automatic Synthesis of New Behaviors from a Library of Available Behaviors Automti Synthesis of New Behviors from Lirry of Aville Behviors Giuseppe De Giomo Università di Rom L Spienz, Rom, Itly degiomo@dis.unirom1.it Sestin Srdin RMIT University, Melourne, Austrli ssrdin@s.rmit.edu.u

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

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

"Add"-operator "Mul"-operator "Pow"-operator. def. h b. def

Add-operator Mul-operator Pow-operator. def. h b. def Opertors A sort review of opertors. Te isussions out tetrtion le me to two impressions. ) It my e etter to see opertors using prmeters, inste of two, s it is ommon use upte 4 ) Sering for noter onsistent

More information

1. Logic verification

1. Logic verification . Logi verifition Bsi priniples of OBDD s Vrile ordering Network of gtes => OBDD s FDD s nd OKFDD s Resoning out iruits Struturl methods Stisfiility heker Logi verifition The si prolem: prove tht two iruits

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

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

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

Eigenvectors and Eigenvalues

Eigenvectors and Eigenvalues MTB 050 1 ORIGIN 1 Eigenvets n Eigenvlues This wksheet esries the lger use to lulte "prinipl" "hrteristi" iretions lle Eigenvets n the "prinipl" "hrteristi" vlues lle Eigenvlues ssoite with these iretions.

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

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

Generalization of 2-Corner Frequency Source Models Used in SMSIM

Generalization of 2-Corner Frequency Source Models Used in SMSIM Generliztion o 2-Corner Frequeny Soure Models Used in SMSIM Dvid M. Boore 26 Mrh 213, orreted Figure 1 nd 2 legends on 5 April 213, dditionl smll orretions on 29 My 213 Mny o the soure spetr models ville

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

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic Chpter 3 Vetor Spes In Chpter 2, we sw tht the set of imges possessed numer of onvenient properties. It turns out tht ny set tht possesses similr onvenient properties n e nlyzed in similr wy. In liner

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

Learning Partially Observable Markov Models from First Passage Times

Learning Partially Observable Markov Models from First Passage Times Lerning Prtilly Oservle Mrkov s from First Pssge s Jérôme Cllut nd Pierre Dupont Europen Conferene on Mhine Lerning (ECML) 8 Septemer 7 Outline. FPT in models nd sequenes. Prtilly Oservle Mrkov s (POMMs).

More information

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL:

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL: PYTHAGORAS THEOREM 1 WHAT S IN CHAPTER 1? 1 01 Squres, squre roots nd surds 1 02 Pythgors theorem 1 03 Finding the hypotenuse 1 04 Finding shorter side 1 05 Mixed prolems 1 06 Testing for right-ngled tringles

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

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 22 Reding: Logi Synthesis in Nutshell Setion 2 most

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

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

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

Linear Algebra Introduction

Linear Algebra Introduction Introdution Wht is Liner Alger out? Liner Alger is rnh of mthemtis whih emerged yers k nd ws one of the pioneer rnhes of mthemtis Though, initilly it strted with solving of the simple liner eqution x +

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

Statistics in medicine

Statistics in medicine Sttistis in meiine Workshop 1: Sreening n ignosti test evlution Septemer 22, 2016 10:00 AM to 11:50 AM Hope 110 Ftm Shel, MD, MS, MPH, PhD Assistnt Professor Chroni Epiemiology Deprtment Yle Shool of Puli

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

A Short Introduction to Self-similar Groups

A Short Introduction to Self-similar Groups A Short Introution to Self-similr Groups Murry Eler* Asi Pifi Mthemtis Newsletter Astrt. Self-similr groups re fsinting re of urrent reserh. Here we give short, n hopefully essile, introution to them.

More information

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information