Optimizing the Nominal Introduction Rule in (Hyper)Tableau Calculi

Size: px
Start display at page:

Download "Optimizing the Nominal Introduction Rule in (Hyper)Tableau Calculi"

Transcription

1 Optimizing the Nominl Introdution ule in (Hyper)Tleu Cluli oris Motik, o herer, nd In Horroks Oxford University Computing Lortory 1 Introdution A tleu lulus for HIQ hs een known for some time, nd forms the sis for severl highly suessful implementtions [1, 8, 9]. Extending this lulus to HOIQ, however, ws notoriously diffiult due to n intertion etween nominls, inverse roles, nd numer restritions whih results in (prtil) loss of the forest-model property for models of HOIQ knowledge ses. In this pper, we nlyze the prolems tht rise from this omintion of fetures nd present n overview of two solutions. The first solution, desried in [3], extends the HIQ lulus with n NNrule whih extends the non-forest-like portion of model with new individuls. Applitions of this rule n e highly nondeterministi, however, nd n sustntilly inrese the size of the generted models, whih leds to ineffiieny. We present n lterntive solution sed on new NI-rule. Our pproh does not introdue new individuls; insted, existing individuls re inorported into the non-forest-like portion of the model. We implemented our solution in HermiT. 1 As we disuss in [7], this pproh seems to work well in prtie. 2 Preliminries To show tht desription logi knowledge se K = (, T, A) is stisfile, tleu lgorithm onstruts sequene of Aoxes A = A 0, A 1,..., A n lled derivtion, where eh A i is otined from A i 1 y n pplition of one inferene rule. 2 The inferene rules mke the informtion impliit in the xioms of nd T expliit, nd thus evolve the Aox A towrds (representtion of ) model of K. The lgorithm termintes either if no inferene rule is pplile to some A n, in whih se A n represents model of K, or if A n ontins n ovious ontrdition, in whih se the model onstrution hs filed. The following inferene rules re ommonly used in DL tleu luli. -rule: Given (C 1 C 2 )(s), derive either C 1 (s) or C 2 (s). -rule: Given (C 1 C 2 )(s), derive C 1 (s) nd C 2 (s) ome formliztions of tleu lgorithms work on ompletion grphs, whih hve nturl orrespondene to Aoxes.

2 -rule: Given (.C)(s), derive (s, t) nd C(t) for t fresh individul. -rule: Given (.C)(s) nd (s, t), derive C(t). -rule: Given GCI C D nd n individul s, derive ( C D)(s). -rule: Given n.c(s), (s, t 0 ),..., (s, t n ), nd C(t 0 ),..., C(t n ), hoose t i nd t j for some 0 i < j n, prune t i, nd merge it into t j. The individuls present in the originl Aox A re lled nmed individuls, nd they n e onneted y role ssertions in n ritrry wy. The individuls introdued y the - nd -rules re lled lokle individuls. For exmple, if.c() is expnded into (, s) nd C(s), then s is lled lokle individul nd it is the -suessor of. It is not diffiult to see tht no tleu inferene rule n onnet s with some element of A: the individul s n prtiipte only in inferenes tht derive n ssertion of the form D(s) or rete new suessor or s. Hene, eh Aox A otined from A n e seen s forest : eh nmed individuls n e ritrrily onneted to other nmed individuls nd to tree of lokle suessors. The onept lel L A (s) is defined s the set of ll onepts C suh tht C(s) A, nd the edge lel L A (s, s ) s the set of ll tomi roles suh tht (s, s ) A. A nïve pplition of the tleu rules does not terminte if the Tox ontins existentil quntifiers in yles: given Tox T = {. }, nïve pplitions of the -rule produe n infinite hin of lokle individuls. To ensure termintion is suh ses, tleu lgorithms employ loking [4]. DLs suh s HIQ nd HOIQ llow for inverse roles nd numer restritions, whih require nestor pirwise loking [4]: for s nd t lokle individuls nd s nd t ny individuls of n Aox A, t loks s if nd only t is n nestor of s, L A (s) = L A (t), L A (s ) = L A (t ), L A (s, s ) = L A (t, t ), nd L A (s, s) = L A (t, t). In tleu lgorithms, the - nd -rules re pplile only to nonloked individuls, whih ensures termintion: the numer of different onept nd edge lels is exponentil in K, so n exponentilly long rnh in forest-like Aox must ontin loked individul, thus limiting the length of eh rnh in n Aox. Let A e n Aox to whih no tleu inferene rule is pplile, nd in whih s is loked y t. We n onstrut model from A y unrveling tht is, y repliting the frgment etween s nd t infinitely often. Intuitively, loking ensures tht the prt of the Aox etween s nd s ehves just like the prt etween t nd t, so unrveling indeed genertes model. If our logi were le to onnet lokle individuls in non-tree-like wy, then unrveling would not generte model; in ft, the notion of nestors, desendnts, nd loking would itself e ill-defined. 3 Nominls, Inverse oles, nd Numer estritions We now disuss the diffiulties tht rise when extending tleu luli to hndle nominls, inverse roles, nd numer restritions. We summrize oth the originl solution presented in [3], s well s our novel pproh whih we inorported into our hypertleu lulus.

3 A. A..C s1 s3.c C.{} s2 s4 C.{} A. A..C s1 s3.c C.{} s2 () Non-Tree-Like trutures due to Merging A..{} 2.A d A..{} e.a () loking nd Unrveling Fig. 1: Prolems used y nominls. Nmed individuls re shown in lk, loked individuls in white, nd loking is indited with dshed line. 3.1 The Min Prolems There re two primry prolems tht must e ddressed when extending HIQ tleu lulus with nominls. Nonforest models. Nominls n mke Aoxes non-forest-like, s the following simple exmple demonstrtes. (1) A 1 = { A(), A() } T 1 = { A.,.C, C.{} } uessive rule pplitions on A 1 nd T 1 n produe the Aox A 1 1 shown on the left-hnd side of Figure 1. This Aox is lerly not forest-shped: the two -pths in A 1 1 strt t the nmed individuls nd, respetively, nd end in nmed individul. This y itself is not prolem: termintion of model onstrution on suh extended forest-like Aoxes n e ensured esily if the DL llows for nominls, ut not in the presene of oth inverse roles nd numer restritions [2]. Assume now tht we extend T 1 with the xiom 1. On A 1 1, this might merge s 2 into s 4. Note tht oth s 2 nd s 4 re lokle individuls; furthermore, neither individul is n nestor of the other, so we n merge, sy, s 4 into s 2. This produes the Aox A 2 1 shown on the right-hnd side of Figure 1. The ssertion (s 3, s 2 ) mkes A 2 1 not forest-shped. y extending the exmple, it is possile to use nominls, inverse roles, nd numer restritions to rrnge lokle individuls in yles. This loss of forest-shped models prevents the use of loking nd pruning, thus invlidting the stndrd termintion rguments. loking nd unrveling. Even if the lokle individuls in tleu mintin forest struture, nominls n prevent the suessful pplition of loking nd unrveling. Consider the following knowledge se. (2) A 2 = { A() } T 2 = { A., A.{},.A, 2 }

4 s1 s2 s1 s2 s1 s2 s3 s4 s3 s4 s3 Fig. 2: The Introdution of oot Individuls A tleu expnsion of A 2 nd T 2 would produe the Aox A 1 2 shown in Figure 1. Individul e is loked in A 1 2 y the individul, so the derivtion termintes. Note tht the lst xiom from T 2 is stisfied: is the only individul in A 1 2 tht hs -suessors nd it hs two suh suessors. To onstrut model from A 1 2, we unrvel the loked prts of the Aox tht is, we onstrut n infinite pth tht extends pst e y dupliting the frgment of the model etween nd e n infinite numer of times. This, however, retes dditionl -suessors of e, whih invlidtes the lst xiom from T 2 ; thus, the unrveled Aox does not define model of A 2 nd T A Nïve olution To solve the ove prolems, we need to extend the ritrrily interonneted prt of the Aox: in ddition to nmed nd lokle individuls, we introdue root individuls freshly introdued individuls whih n e ritrrily onneted to nmed individuls nd other root individuls. We pply the following test (*): if n Aox A ontins ssertions (s, ), A(s), nd n.a(), where is root or nmed individul nd s is lokle individul tht is not suessor of, then we hnge s into root individul. Applied to A 2 1, this ondition hnges the sttus of s 2 from lokle individul into root individul. After this hnge, only s 1 nd s 3 re lokle in A 2 1, so the Aox hs the extended forest-like shpe nd we n pply loking nd pruning s usul. This is shemtilly shown in Figure 2. Promotion of lokle individuls to roots lso elegntly solves the loking nd unrveling prolem. In A 2 nd T 2, euse must stisfy n t-most restrition of the form 2, s soon s (d, ) is derived, ondition (*) is fulfilled nd we turn d into root individul. This solution, however, introdues nother prolem: the numer of root individuls n now grow ritrrily, s shown in the following exmple. (3) A 3 = { A() } T 3 = { A.A, A.{} 2 } On A 3 nd T 3, rule pplitions n produe the derivtion sequene shown in Figure 3: fter nd d re introdued s desendents of, they stisfy ondition (*) so we hnge them into root individuls. usequently, the third xiom from T 3 is not stisfied, so we merge two neighors of ; we hoose to merge into. ine d is now not lokle individul, we nnot prune it. The first xiom of T 3 is not stisfied for d, so we n extend the Aox with new suessor e whih lso stisfies (*) nd eomes root individul. If we ontinue to merge suessors of into we n repet the sme inferenes forever.

5 A.A.{} d d d e 3.3 The Existing olution Fig. 3: A Modified Yo-Yo Exmple To gurntee termintion, the lulus from [3] uses n NN -rule whih refines ondition (*). Assume tht n Aox A ontins ssertions (s, ) nd A(s) where s is lokle individul tht is not suessor of root or nmed individul ; furthermore, ssume tht must stisfy n t-most restrition of the form n.a. If A lredy ontins root individuls z 1,..., z n suh tht 1 i n {A(z i), (z i, )} {z i z j 1 i < j m} A, then the -rule simply merges s into some z i ; no new root individul needs to e introdued. If A does not ontin suh z 1,..., z n, the NN -rule nondeterministilly guesses the ext numer m n of -neighors of tht re memers of A, genertes m fresh root individuls w 1,..., w m, nd extends A with the ssertions {A(w i ), (w i, ) 1 i m} {w i w j 1 i < j m} { m.a()}. This llows the NN -rule to e pplied t most one for eh onept of the form n.a nd eh root individul, whih ensures termintion: unlike in the nïve solution outlined in the previous setion, fresh root individuls re not reted whenever root individuls gins lokle neighor. For exmple, Figure 4 shows pplitions of the NN - nd -rules to the Aox A 4 = {..{}(), 3. () }. In A 1 4, shown t the left of the figure, the nmed individul hs lokle -neighor nd must stisfy the restrition 3.. The NN -rule nondeterministilly hooses whether to introdue one, two, or three fresh root individuls; the prllel rnhes of the derivtion re shown in the enter of the figure. The introdution of single individul, shown in the top rnh, results in deterministi pplition of the -rule s the lokle individul is merged into the fresh root individul z 1, shown in the upper right of the figure. For derivtion pths on whih more thn one fresh root individul is introdued, pplition of the -rule is nondeterministi: n e merged into ny of the new root individuls, nd the derivtion rnhes further. Although the N N-rule does ensure termintion of the tleu lgorithm, it is potentil soure of ineffiieny in knowledge ses in whih lrge numers pper within t-most onepts: n pplition of the N N-rule involving onept n.c guesses mong n different possile sizes for the neighor set, nd susequent pplitions of the -rule must hoose how to merge the new roots with lokle individuls. In the se of just single lokle neighor, this

6 ..{}.{} {}.{} {}.{} {}.{} 3...{}.{} {}.{} {}.{} 3...{}.{} 3. z3 z3..{}.{} 3. z3..{}.{} 3. z3 Fig. 4: An pplition of the NN-rule results in derivtion tree with n 2 rnhes. Furthermore, the introdution new root individuls n result in unneessry proessing nd lrge models. 3.4 The NI -rule As replement for the NN -rule desried ove, we introdue new NI - rule, whih refines the genertion of root individuls. Let us gin onsider the Aox A ontining ssertions (s, ) nd A(s), nd n.a(), where s is lokle individul tht is not suessor of root or nmed individul. In ny model of A, we n hve t most n different individuls i tht prtiipte in ssertions of the form ( i, ) nd A( i ). Hene, we ssoite with in dvne set of n fresh root individuls { 1,..., n }. Insted of hoosing some suset of these individuls to introdue nd relying upon the -rule to merge them with lokle neighors, however, we promote lokle individuls to root individuls diretly: to turn s into root individul, we nondeterministilly hoose j from this set nd merge s into j. In this wy, the numer of new root individuls tht n e introdued for numer restrition in the lel of n individul is limited to n. An pplition of our NI-rule to the Aox A 4 = {..{}(), 3. () } is given in Figure 5. y exploiting ound on the length of pths of lokle individuls in n Aox, we n estlish ound on the numer of root individuls introdued in derivtion, whih ensures termintion of the lgorithm. When formulting the NI -rule, we re fed with tehnil prolem: onepts of the form n.a re trnslted in our lulus into DL-luses, whih

7 ..{}.{} 3. z 1..{}.{} 3...{}.{} z {}.{} 3. z 3 Fig. 5: An pplition of the NI-rule mkes testing the ondition from the previous prgrph diffiult. For exmple, n pplition of the Hyp-rule to the third DL-luse in (3) (otined from the xiom 2. ) n produe n equlity suh s. This equlity lone does not reflet the ft tht must stisfy the t-most restrition 2.. To enle the pplition of the NI -rule, we introdue notion of nnotted equlities, in whih the nnottions estlish n ssoition with the t-most restrition. The detils of our proedure re presented in the next setion. 4 A Hypertleu Clulus for HOIQ We now summrize the hypertleu lgorithm tht n e used to hek stisfiility of HOIQ knowledge se K. This is extension of the proedure desried in [6] nd [5], nd full version of the lulus is presented in [7]. Our lgorithm first preproesses HOIQ knowledge se into n Aox nd set of DL-luses implitions of the form n i=1 U i m j=1 V j, where U i re of the form (x, y) or A(x), nd V j re of the form (x, y), A(x),.C(x), n.c(x), or x y. Due to lk of spe, we leve the detils of this trnsformtion to [7]. In ft, the preproessing produes DL-luses of ertin syntti struture, whih gurntees termintion of the model onstrution. In the rest of this pper, we often use the following funtion r. Given role nd vriles or onstnts s nd t, this funtion returns n tom tht is semntilly equivlent to (s, t) ut tht ontins n tomi role. r(, s, t) = { (s, t) if is n tomi role (t, s) if is n inverse role nd = Definition 1 (HT-Cluse). We ssume tht the set of tomi onepts N C ontins nominl gurd onept O for eh individul ; these onepts should not our in ny input knowledge se. An t-most equlity is n tom of the form s u n., where s, t, nd u re onstnts or vriles, n is nonnegtive integer, is role, nd is literl onept. emntilly, this tom is equivlent to s t; the u n. is only used to ensure termintion of the hypertleu lulus.

8 An HT-luse is DL-luse r of the form (4) U 1... U m V 1... V n, in whih it must e possile to seprte the vriles into enter vrile x nd set of rnh vriles y i suh tht the following properties hold, where A is n tomi onept, is literl ut not nominl gurd onept, O is nominl gurd onept, nd re tomi roles, nd T is role. Eh tom in the nteedent of r is of the form A(x), (x, y i ), (y i, x), or A(y i ). Eh tom in the onsequent of r is of the form (x), (y i ), (x, y i ), (y i, x), x y i, or y i y x n T.. For eh tom (x, y i ) or (y i, x) in the onsequent of r, the nteedent of r ontins n tom (x, y i ), (y i, x), O (x), or O (y i ). For eh equlity x y i in the onsequent of r, the nteedent of r ontins n tom O (x) or O (y i ). Eh equlity y i y x h T.A in the onsequent of r must our in suluse of r of the form (5) nd no y k with 1 k h + 1 should our elsewhere in r. (5) h+1... [r(t, x, y k ) A(y k )] k=1 1 k<l h+1 y k y x h T.A... Eh equlity y i y x n T. A in the onsequent of r must our in suluse of r of the form (6) nd no y k with 1 k h + 1 should our elsewhere in r. (6) h+1 h+1... r(t, x, y k ) A(y k ) k=1 k=1 1 k<l h+1 y k y x h T. A... We now present the hypertleu lulus for deiding stisfiility of n Aox A nd set of HT-luses C. In our lgorithm, we ll the individuls tht our in the input Aox nmed. Furthermore, for nmed individul, the NI -rule might need to introdue individuls tht re unique for, role, literl onept, nd some integer i; we represent suh individuls s.,, i. ine the NI -rule might e pplied to these individuls s well, we introdue the notion of root individuls finite strings of the form.γ γ n where is nmed individul nd eh γ l is of the form..i. In stndrd tleu lgorithms, the tree struture of the model is enoded in the edges etween individuls, whih lwys point from prents to hildren. In ontrst, our lgorithm enodes the prent-hild reltionships into individuls themselves: it represents individuls s finite strings of the form s.i 1, i 2,..., i n, where s is root individul nd i j re integers. For exmple,.2 is the seond hild of the nmed individul. Individuls with n 1 re lled lokle.

9 Definition 2 (Hypertleu Algorithm). Individuls. Given set of nmed individuls N I, the set of root individuls N O is the smllest set suh tht N I N O nd, if x N O, then x.,, i N O for eh role, literl onept, nd integer i. The set of ll individuls N A is the smllest set suh tht N O N A nd, if x N A, then x.i N A for eh integer i. The individuls in N A \ N O re lokle individuls. A lokle individul x.i is suessor of x, nd x is predeessor of x.i. Desendnt nd nestor re the trnsitive losures of suessor nd predeessor, respetively. Aoxes. The hypertleu lgorithm opertes on generlized Aoxes, whih re otined y extending the stndrd notion of Aoxes s follows. In ddition to stndrd ssertions, n Aox n ontin t-most equlities nd speil ssertion tht is flse in ll interprettions. Furthermore, ssertions n refer to the individuls from N A nd not only from N I. Eh (in)equlity s t (s t) lso stnds for the symmetri (in)equlity t s (t s). The sme is true for nnotted t-most equlities. An Aox A n ontin renmings of the form where nd re root individuls. The reltion in A must e yli, A n ontin t most one renming for n individul, nd, if A ontins, then should not our in ny ssertion or (in)equlity in A. An individul is the nonil nme of root individul in A, written = n A (), iff + A nd no individul exists suh tht + A, where + A is the trnsitive losure of in A. An Aox tht ontins only nmed individuls nd no t-most equlities is lled n input Aox. Pirwise Anywhere loking. For A n tomi onept nd role, onepts of the form A, n.a, or n. A, re lled loking-relevnt. The lels of n individul s nd of n individul pir s, t in n Aox A re defined s follows: L A (s) = {C C(s) A nd C is loking-relevnt onept} L A (s, t) = { (s, t) A} Let e strit ordering (i.e., trnsitive nd irreflexive reltion) on N A ontining the nestor reltion tht is, if s is n nestor of s, then s s. y indution on, we ssign to eh individul s in A sttus s follows: lokle individul s.i is diretly loked y lokle individul t.j iff t.j is not loked, t.j s.i, L A (s.i) = L A (t.j) nd L A (s) = L A (t), nd L A (s, s.i) = L A (t, t.j) nd L A (s.i, s) = L A (t.j, t); s is indiretly loked iff it hs predeessor tht is loked; nd s is loked iff it is either diretly or indiretly loked.

10 Pruning. The Aox prune A (s) is otined from A y removing ll ssertions ontining desendent of s. Merging. The Aox merge A (s t) is otined from prune A (s) y repling the individul s with the individul t in ll ssertions (ut not in renmings) nd, if oth s nd t re root individuls, dding the renming s t. Derivtion ules. Tle 1 speifies derivtion rules tht, given n Aox A nd set of HT-luses C, derive the Aoxes A 1,..., A n. In the Hyp-rule, σ is mpping from the set of vriles N V to the individuls ourring in the ssertions of A, nd σ(u) is the result of repling eh vrile x in the tom U with σ(x). ule Preedene. The -rule n e pplied to (possily nnotted) equlity s t in n Aox A only if A does not ontin n equlity s u n. to whih the NI-rule is pplile. Clsh. An Aox A ontins lsh iff A; otherwise, A is lsh-free. Derivtion. For set of HT-luses C nd n Aox A, derivtion is pir (T, λ) where T is finitely rnhing tree nd λ is funtion tht lels the nodes of T with Aoxes suh tht, for eh node t T, λ(t) = A if t the root of T, t is lef of T if λ(t) or no derivtion rule is pplile to λ(t) nd C, nd t hs hildren t 1,..., t n suh tht λ(t 1 ),..., λ(t n ) re extly the results of pplying one (ritrrily hosen, ut respeting the rule preedene) pplile rule to λ(t) nd C otherwise. We stress severl importnt spets of Definition 2. The NI -rule is never pplied to n t-most equlity of the form s u n. if u is not root individul, so suh n equlity n e egerly simplified into s t. The NI -rule, however, must e pplied to s u n. even if s = t; hene, suh n equlity must e derived even though it is logil tutology. Finlly, if C hs een otined y trnsltion of DL knowledge se tht does not use nominls, inverse roles, or numer restritions, then the preondition of the NI -rule will never e stisfied, so we need not keep trk of nnottions t ll. Theorem 1. Cheking whether HOIQ knowledge se K is stisfile n e performed y omputing K = (Ω(K)) nd then heking whether some derivtion for Ξ(K ) ontins lef node leled with lsh-free Aox. Furthermore, suh n lgorithm n e implemented in 2NExpTime in K. 5 Conlusion In this pper, we nlyzed the prolems rising in tleu luli due to n intertion etween nominls, inverse roles, nd numer restritions. We lso presented new hypertleu lulus for HOIQ, whih we implemented in our resoner HermiT. As we report in [7], our resoner seems to perform well on mny prtil prolems.

11 Tle 1: Derivtion ules of the Tleu Clulus If 1. U 1... U m V 1... V n C, nd 2. mpping σ of vriles to the individuls of A exists suh tht Hyp-rule 2.1 σ(x) is not indiretly loked for eh vrile x N V, 2.2 σ(u i) A for eh 1 i m, nd 2.3 σ(v j) A for eh 1 j n, then A 1 = A { } if n = 0; A j := A {σ(v j)} for 1 j n otherwise. If 1. n.c(s) A, 2. s is not loked in A, nd -rule 3. A does not ontin individuls u 1,..., u n suh tht 3.1 {r(, s, u i), C(u i) 1 i n} {u i u j 1 i < j n} A, nd 3.2 either s is lokle or no u i, 1 i n, is indiretly loked in A then A 1 := A {r(, s, t i), C(t i) 1 i n} {t i t j 1 i < j n} where t 1,..., t n re fresh distint suessors of s. If 1. s t A (the equlity n possily e nnotted), nd -rule 2. s t then A 1 := merge A (s t) if t is nmed individul, or t is root individul nd s is not nmed individul, or s is desendnt of t; A 1 := merge A (t s) otherwise. If s s A or {A(s), A(s)} A -rule then A 1 := A { }. If 1. s u n. A or t u n. A, 2. u is root individul, NI -rule 3. s is lokle nonsuessor of u, nd 4. t is lokle individul then A i := merge A (s n A(u.,, i )) for eh 1 i n. eferenes 1. V. Hrslev nd. Möller. ACE ystem Desription. In Pro. IJCA 2001, pges , ien, Itly, June I. Horroks nd U. ttler. Ontology esoning in the HOQ(D) Desription Logi. In Pro. IJCAI 2001, pges , I. Horroks nd U. ttler. A Tleux Deision Proedure for HOIQ. In Pro. IJCAI 2005, pges , Edinurgh, UK, July 30 August I. Horroks, U. ttler, nd. Toies. esoning with Individuls for the Desription Logi HIQ. In Pro. CADE-17, pges , Pittsurgh, UA, Motik,. herer, nd I. Horroks. A Hypertleu Clulus for HIQ. In Pro. of the 2007 Desription Logi Workshop (DL 2007), pges , Motik,. herer, nd I. Horroks. Optimized esoning in Desription Logis using Hypertleux. In Pro. CADE-21, volume 4603 of LNAI, pges 67 83, Motik,. herer, nd I. Horroks. Hypertleu esoning for Desription Logis. Tehnil report, University of Oxford, umitted to n interntionl journl Prsi nd E. irin. Pellet: An OWL-DL esoner. Poster, In Pro. IWC 2004, Hiroshim, Jpn, Novemer 7 11, D. Tsrkov nd I. Horroks. FCT++ Desription Logi esoner: ystem Desription. In Pro. IJCA 2006, pges , ettle, WA, UA, 2006.

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

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

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

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

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

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

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

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

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

The Word Problem in Quandles

The Word Problem in Quandles The Word Prolem in Qundles Benjmin Fish Advisor: Ren Levitt April 5, 2013 1 1 Introdution A word over n lger A is finite sequene of elements of A, prentheses, nd opertions of A defined reursively: Given

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

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

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

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

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

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

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

MAT 403 NOTES 4. f + f =

MAT 403 NOTES 4. f + f = MAT 403 NOTES 4 1. Fundmentl Theorem o Clulus We will proo more generl version o the FTC thn the textook. But just like the textook, we strt with the ollowing proposition. Let R[, ] e the set o Riemnn

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

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

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

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

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

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

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

Parse trees, ambiguity, and Chomsky normal form

Parse trees, ambiguity, and Chomsky normal form Prse trees, miguity, nd Chomsky norml form In this lecture we will discuss few importnt notions connected with contextfree grmmrs, including prse trees, miguity, nd specil form for context-free grmmrs

More information

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

Computational Biology Lecture 18: Genome rearrangements, finding maximal matches Saad Mneimneh

Computational Biology Lecture 18: Genome rearrangements, finding maximal matches Saad Mneimneh Computtionl Biology Leture 8: Genome rerrngements, finding miml mthes Sd Mneimneh We hve seen how to rerrnge genome to otin nother one sed on reversls nd the knowledge of the preserved loks or genes. Now

More information

More Properties of the Riemann Integral

More Properties of the Riemann Integral More Properties of the Riemnn Integrl Jmes K. Peterson Deprtment of Biologil Sienes nd Deprtment of Mthemtil Sienes Clemson University Februry 15, 2018 Outline More Riemnn Integrl Properties The Fundmentl

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

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

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

TIME AND STATE IN DISTRIBUTED SYSTEMS

TIME AND STATE IN DISTRIBUTED SYSTEMS Distriuted Systems Fö 5-1 Distriuted Systems Fö 5-2 TIME ND STTE IN DISTRIUTED SYSTEMS 1. Time in Distriuted Systems Time in Distriuted Systems euse eh mhine in distriuted system hs its own lok there is

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

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

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

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

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

More information

A CLASS OF GENERAL SUPERTREE METHODS FOR NESTED TAXA

A CLASS OF GENERAL SUPERTREE METHODS FOR NESTED TAXA A CLASS OF GENERAL SUPERTREE METHODS FOR NESTED TAXA PHILIP DANIEL AND CHARLES SEMPLE Astrt. Amlgmting smller evolutionry trees into single prent tree is n importnt tsk in evolutionry iology. Trditionlly,

More information

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P. Chpter 7: The Riemnn Integrl When the derivtive is introdued, it is not hrd to see tht the it of the differene quotient should be equl to the slope of the tngent line, or when the horizontl xis is time

More information

s the set of onsequenes. Skeptil onsequenes re more roust in the sense tht they hold in ll possile relities desried y defult theory. All its desirle p

s the set of onsequenes. Skeptil onsequenes re more roust in the sense tht they hold in ll possile relities desried y defult theory. All its desirle p Skeptil Rtionl Extensions Artur Mikitiuk nd Miros lw Truszzynski University of Kentuky, Deprtment of Computer Siene, Lexington, KY 40506{0046, frtur mirekg@s.engr.uky.edu Astrt. In this pper we propose

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

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

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras Glol Journl of Mthemtil Sienes: Theory nd Prtil. ISSN 974-32 Volume 9, Numer 3 (27), pp. 387-397 Interntionl Reserh Pulition House http://www.irphouse.om On Implitive nd Strong Implitive Filters of Lttie

More information

Lecture 3: Equivalence Relations

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

More information

Bases for Vector Spaces

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

More information

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

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

12.4 Similarity in Right Triangles

12.4 Similarity in Right Triangles Nme lss Dte 12.4 Similrit in Right Tringles Essentil Question: How does the ltitude to the hpotenuse of right tringle help ou use similr right tringles to solve prolems? Eplore Identifing Similrit in Right

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

Pre-Lie algebras, rooted trees and related algebraic structures

Pre-Lie algebras, rooted trees and related algebraic structures Pre-Lie lgers, rooted trees nd relted lgeri strutures Mrh 23, 2004 Definition 1 A pre-lie lger is vetor spe W with mp : W W W suh tht (x y) z x (y z) = (x z) y x (z y). (1) Exmple 2 All ssoitive lgers

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

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

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α Disrete Strutures, Test 2 Mondy, Mrh 28, 2016 SOLUTIONS, VERSION α α 1. (18 pts) Short nswer. Put your nswer in the ox. No prtil redit. () Consider the reltion R on {,,, d with mtrix digrph of R.. Drw

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

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

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

Hardware Verification 2IMF20

Hardware Verification 2IMF20 Hrdwre Verifition 2IMF20 Julien Shmltz Leture 02: Boolen Funtions, ST, CEC Course ontent - Forml tools Temporl Logis (LTL, CTL) Domin Properties System Verilog ssertions demi & Industrils Proessors Networks

More information

Proving the Pythagorean Theorem

Proving the Pythagorean Theorem Proving the Pythgoren Theorem W. Bline Dowler June 30, 2010 Astrt Most people re fmilir with the formul 2 + 2 = 2. However, in most ses, this ws presented in lssroom s n solute with no ttempt t proof or

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

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then

For a, b, c, d positive if a b and. ac bd. Reciprocal relations for a and b positive. If a > b then a ab > b. then Slrs-7.2-ADV-.7 Improper Definite Integrls 27.. D.dox Pge of Improper Definite Integrls Before we strt the min topi we present relevnt lger nd it review. See Appendix J for more lger review. Inequlities:

More information

CM10196 Topic 4: Functions and Relations

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

More information

Electromagnetism Notes, NYU Spring 2018

Electromagnetism Notes, NYU Spring 2018 Eletromgnetism Notes, NYU Spring 208 April 2, 208 Ation formultion of EM. Free field desription Let us first onsider the free EM field, i.e. in the bsene of ny hrges or urrents. To tret this s mehnil system

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

Behavior Composition in the Presence of Failure

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

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

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

CS 275 Automata and Formal Language Theory

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

More information

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

( ) { } [ ] { } [ ) { } ( ] { }

( ) { } [ ] { } [ ) { } ( ] { } Mth 65 Prelulus Review Properties of Inequlities 1. > nd > >. > + > +. > nd > 0 > 4. > nd < 0 < Asolute Vlue, if 0, if < 0 Properties of Asolute Vlue > 0 1. < < > or

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

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

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

QUADRATIC EQUATION. Contents

QUADRATIC EQUATION. Contents QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,

More information

A Differential Approach to Inference in Bayesian Networks

A Differential Approach to Inference in Bayesian Networks Dierentil pproh to Inerene in Byesin Networks esented y Ynn Shen shenyn@mi.pitt.edu Outline Introdution Oeriew o lgorithms or inerene in Byesin networks (BN) oposed new pproh How to represent BN s multi-rite

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

TOPIC: LINEAR ALGEBRA MATRICES

TOPIC: LINEAR ALGEBRA MATRICES Interntionl Blurete LECTUE NOTES for FUTHE MATHEMATICS Dr TOPIC: LINEA ALGEBA MATICES. DEFINITION OF A MATIX MATIX OPEATIONS.. THE DETEMINANT deta THE INVESE A -... SYSTEMS OF LINEA EQUATIONS. 8. THE AUGMENTED

More information

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true. York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech

More information

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

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

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz University of Southern Cliforni Computer Siene Deprtment Compiler Design Spring 7 Lexil Anlysis Smple Exerises nd Solutions Prof. Pedro C. Diniz USC / Informtion Sienes Institute 47 Admirlty Wy, Suite

More information

CHENG Chun Chor Litwin The Hong Kong Institute of Education

CHENG Chun Chor Litwin The Hong Kong Institute of Education PE-hing Mi terntionl onferene IV: novtion of Mthemtis Tehing nd Lerning through Lesson Study- onnetion etween ssessment nd Sujet Mtter HENG hun hor Litwin The Hong Kong stitute of Edution Report on using

More information

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

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

More information

Probability. b a b. a b 32.

Probability. b a b. a b 32. Proility If n event n hppen in '' wys nd fil in '' wys, nd eh of these wys is eqully likely, then proility or the hne, or its hppening is, nd tht of its filing is eg, If in lottery there re prizes nd lnks,

More information

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches. Propositionl models Historil models of omputtion Steven Lindell Hverford College USA 1/22/2010 ISLA 2010 1 Strt with fixed numer of oolen vriles lled the voulry: e.g.,,. Eh oolen vrile represents proposition,

More information

Hyers-Ulam stability of Pielou logistic difference equation

Hyers-Ulam stability of Pielou logistic difference equation vilble online t wwwisr-publitionsom/jns J Nonliner Si ppl, 0 (207, 35 322 Reserh rtile Journl Homepge: wwwtjnsom - wwwisr-publitionsom/jns Hyers-Ulm stbility of Pielou logisti differene eqution Soon-Mo

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

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction Ling 3701H / Psyh 3371H: Leture Notes 9 Hierrhi Sequentil Predition Contents 9.1 Complex events.................................... 1 9.2 Reognition of omplex events using event frgments................

More information

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then.

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then. pril 8, 2017 Mth 9 Geometry Solving vetor prolems Prolem Prove tht if vetors nd stisfy, then Solution 1 onsider the vetor ddition prllelogrm shown in the Figure Sine its digonls hve equl length,, the prllelogrm

More information

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable INTEGRATION NOTE: These notes re supposed to supplement Chpter 4 of the online textbook. 1 Integrls of Complex Vlued funtions of REAL vrible If I is n intervl in R (for exmple I = [, b] or I = (, b)) nd

More information

Expand the Shares Together: Envy-free Mechanisms with a Small Number of Cuts

Expand the Shares Together: Envy-free Mechanisms with a Small Number of Cuts Nonme mnusript No. (will e inserted y the editor) Expnd the Shres Together: Envy-free Mehnisms with Smll Numer of uts Msoud Seddighin Mjid Frhdi Mohmmd Ghodsi Rez Alijni Ahmd S. Tjik Reeived: dte / Aepted:

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

Exercise sheet 6: Solutions

Exercise sheet 6: Solutions Eerise sheet 6: Solutions Cvet emptor: These re merel etended hints, rther thn omplete solutions. 1. If grph G hs hromti numer k > 1, prove tht its verte set n e prtitioned into two nonempt sets V 1 nd

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

Line Integrals and Entire Functions

Line Integrals and Entire Functions Line Integrls nd Entire Funtions Defining n Integrl for omplex Vlued Funtions In the following setions, our min gol is to show tht every entire funtion n be represented s n everywhere onvergent power series

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

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

Can one hear the shape of a drum?

Can one hear the shape of a drum? Cn one her the shpe of drum? After M. K, C. Gordon, D. We, nd S. Wolpert Corentin Lén Università Degli Studi di Torino Diprtimento di Mtemti Giuseppe Peno UNITO Mthemtis Ph.D Seminrs Mondy 23 My 2016 Motivtion:

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information