Edinburgh Research Explorer
|
|
- Doris Daniels
- 5 years ago
- Views:
Transcription
1 Einugh Reseh Exploe Chteizing XML Twig Queies with Exmples Cittion fo pulishe vesion: Stwoko, S & Wiezoek, P 2015, Chteizing XML Twig Queies with Exmples. in 18th Intentionl Confeene on Dtse Theoy, ICDT 2015, Mh 23-27, 2015, Bussels, Belgium. pp DOI: /LIPIs.ICDT Digitl Ojet Ientifie (DOI): /LIPIs.ICDT Link: Link to pulition eo in Einugh Reseh Exploe Doument Vesion: Pulishe's PDF, lso known s Vesion of eo Pulishe In: 18th Intentionl Confeene on Dtse Theoy, ICDT 2015, Mh 23-27, 2015, Bussels, Belgium Genel ights Copyight fo the pulitions me essile vi the Einugh Reseh Exploe is etine y the utho(s) n / o othe opyight ownes n it is onition of essing these pulitions tht uses eognise n ie y the legl equiements ssoite with these ights. Tke own poliy The Univesity of Einugh hs me evey esonle effot to ensue tht Einugh Reseh Exploe ontent omplies with UK legisltion. If you elieve tht the puli isply of this file ehes opyight plese ontt openess@e..uk poviing etils, n we will emove ess to the wok immeitely n investigte you lim. Downlo te: 24. Sep. 2018
2 Chteizing XML Twig Queies with Exmples Słwek Stwoko 1 n Piot Wiezoek 2 1 Univesity of Lille 3, INRIA LINKS, CNRS Lille, Fne slwomi.stwoko@ini.f 2 Univesity of Wołw, Institute of Compute Siene Wołw, Poln piotek@s.uni.wo.pl Astt Typilly, (Boolen) quey is finite fomul tht efines possily infinite set of tse instnes tht stisfy it (positive exmples), n impliitly, the set of instnes tht o not stisfy the quey (negtive exmples). We investigte the following ntul question: fo given lss of queies, is it possile to hteize evey quey with finite set of positive n negtive exmples tht no othe quey is onsistent with. We stuy this question fo twig queies n XML tses. We show tht while twig queies e hteizle, they genelly equie exponentil sets of exmples. Consequently, we fous on ptil sulss of nhoe twig queies n show tht not only e they hteizle ut lso with polynomilly-size sets of exmples. This esult is otine with the use of geneliztion opetions on twig queies, whose pplition to n nhoe twig quey yiels popely ontine n minimlly iffeent quey. Ou esults illustte futhe inteesting n stong onnetions etween the stutue n the semntis of nhoe twig queies tht the lss of ity twig queies oes not enjoy. Finlly, we show tht the lss of unions of twig queies is not hteizle ACM Sujet Clssifition H.2.3 Quey lnguges, H.2.1 Noml foms Keywos n phses Quey hteiztion, Quey exmples, Quey fitting, Twig queies Digitl Ojet Ientifie /LIPIs.ICDT Intoution One of the entl, if not efining, instuments in ompute siene is using fomul, finite syntti ojet, to efine (possily infinite) set of its moels. A typil exmple e egul expessions tht efine lnguges of wos. Dtse queies lso fll into this tegoy, whih is est illustte with Boolen queies: quey q efines the set of instnes stisfying q, positive exmples, n impliitly the set of instnes tht o not stisfy q, negtive exmples. In this ppe, we stuy the question of (finite) hteizility: Cn evey quey e hteize with finite set of exmples? Moe peisely, given lss of queies Q is it possile fo evey q Q to fin set of exmples suh tht q is the only quey (moulo equivlene) in Q onsistent with it i.e., quey stisfying ll positive exmples n none of negtive exmples. An if it is possile, n we sy nything out the nume n the sizes of the neessy exmples? The question of hteizility ises ntully in the ontext of lening/tehing [9, 6] whih els with the polem of onstuting fomul (quey) onsistent with given set of exmples. Howeve, eseh on hteizility hs nume of potentil pplitions of inepenent inteest euse it yiels wy to genete set of exmples onsistent with Słwek Stwoko n Piot Wiezoek; liense une Cetive Commons Liense CC-BY 18th Intentionl Confeene on Dtse Theoy (ICDT 15). Eitos: Melo Aens n Mtín Ugte; pp Leiniz Intentionl Poeeings in Infomtis Shloss Dgstuhl Leiniz-Zentum fü Infomtik, Dgstuhl Pulishing, Gemny
3 S. Stwoko n P. Wiezoek 145 given quey. Suh exmples n e use, fo instne, fo elementy quey engine eugging, n quey visuliztion n explntion. The exhustive ntue of the exmples povie y hteizility i.e., thee is extly one quey stisfying the exmples, my lso e useful in finl, veifition, stges of evese engineeing of tse queies. In this ppe, we investigte the polem of hteizility fo XML tses n twig queies [2, 14]. XML ouments n e seen s lele unnke tees n twig queies e tee-shpe pttens tht itionlly use wil lel (mthing ny lel) n esennt eges (mthing pth of positive length). Twig queies e the oe of vitully ny XML quey lnguge n hve een extensively stuie in the litetue [4]. In ptiul, lening twig queies fom exmples hs een peviously investigte [19, 5] n the uent ppe n e seen s ontinution of this line of wok n n ttempt t eepening ou unestning of the eltionship etween quey n its exmples. In essene, ou esults show tht hteizility is mesue of ihness of the quey lss, whih is losely elte to its expessive powe. We show tht unions of twig queies e not hteizle euse vitully ny set of exmples hs infinitely mny onsistent queies i.e., the lss of unions of twig queies is vey ih. On the othe hn, the lss of twig queies is less ih, given tee the nume of twig queies stisfie in it is finite, whih llows to show tht twig queies e hteizle. While twig queies e hteizle with finite sets of exmples, we show tht the nume of neessy exmples my e exponentil. The min ontiution of this ppe is showing tht (polynomilly) smll sets of exmples e suffiient to hteize nhoe twig queies [19]. In essene, this sulss of twig queies fois esennt eges inient to noe, whih meely pevents fom imposing onitions on nesty with lowe oun on epth: noe x is nesto of noe y n the pth fom x to y is of length k, whee k > 1. While the expessive powe oes not seem to e signifintly estite fom the ptil point of view, this lss of twig queies exhiits vey lose eltionship etween the stutue n the semntis: ontinment of two twig queies is equivlent to the existene of n emeing etween the queies, n equivlene tht oes not hol fo ity twig queies [13]. This eltionship etween the stutue of the quey n its semntis goes even futhe [19]: the use of two positive exmples of n nhoe quey q llows to ientify ll queies tht ontin q. We ontinue to exploe this eltionship n eepen its unestning y hteizing the stutue of the semi-lttie of nhoe twig queies: fo given nhoe twig quey q we e inteeste in the nume n the sizes of the most speifi nhoe twig queies popely ontining q, n inteestingly, we show tht thei nume n thei sizes e polynomilly smll (w..t. the size of q). This esult is essentil in showing tht nhoe twig queies hve polynomilly-size hteizing sets of exmples. To unestn the existene of n emeing, n hene the ontinment, etween two nhoe twig queies, we stuy thee geneliztion opetions pplie to twig queies (f. Fig. 5): 1) hnging lel to, 2) hnging the type of n ege fom hil to esennt, n 3) emoving noe. While ntul n elementy, these opetions ptue peisely the sulss of injetive (nesto-peseving) emeings etween queies: quey p n e otine fom quey q y pplying sequene of geneliztion opetions if n only if thee is n injetive emeing of q into p. Consequently, when pplie, in iligent mnne, to nhoe twig queies they llow to hteize the semi-lttie of nhoe twig queies une injetive semntis. We lso show tht nhoe twig queies hve unique nonil foms whih n e effiiently otine y itetively pplying the opetions n the unique nonil fom is in ft the (size-)miniml equivlent quey. This futhe I C D T
4 146 Chteizing XML Twig Queies with Exmples illusttes the esile popeties of nhoe twig queies s minimiztion fo ity twig queies is known to e inttle [2, 13]. We point out, howeve, tht lsses of twig queies popely ontining nhoe twig queies e known to hve ttle minimiztion se on opetions euing the quey [11]. To exten the hteiztion esults fom injetive to stn semntis, we ientify mpping ovelp s the essentil iffeene etween the oesponing two type of emeings: unlike the injetive emeing, the stn emeing of quey q into quey p my mp iffeent fgments of q into the sme fgment of p eting n ovelp of the imges of the iffeent fgments of q. To ess this iffeene we exploe using uplition opetion tht etes septe opies of the fgment of p thus eliminting the ovelp. Howeve, this opetion intoues eunnies n my inese itily the size of the quey. Consequently, it is pplie togethe with iffeent geneliztion opetions to voi intouing eunnies n to voi unesile gowth of the quey we evise eusive ptten of pplying uplition opetions tht llows to polynomilly oun the nume of intoue opies. The nume of the geneliztions is line in the size of the oiginl quey, n thnks to pplying the uplition opetion in ontolle mnne, the size of eh geneliztion is t most quti. The geneliztions e then use to onstut set of hteizing exmples onsisting of polynomil nume of exmples eh of polynomilly oune size. The min ontiutions of the ppe e: We fomulte the polem of hteizility of Boolen lss of XML queies with exmples n stuy it fo lsses of twig queies. We show tht unions of twig queies e not hteizle while twig queies lone e ut the nume of exmples neessy to hteize twig quey my e exponentil in the size of the quey. We investigte hteizility of ih sulss of nhoe twig queies, n popose set of ntul geneliztion opetions tht llows to hteize with polynomillysize set of exmples ny nhoe twig quey une the injetive (nesto-peseving) semntis. We popose uplition opetion whose iligent use llows to exten the hteizility to nhoe twig queies to the stn semntis. Relte wok. Ou wok is losely elte to the senio of tehing [10, 9, 16] whee the set of exmples to e pesente is selete y helpful tehe. Golmn n Kens [9] efine sequene of positive n negtive exmples to e tehing sequene fo given onept if it uniquely speifies in the onept lss C. Hene, this is essentilly the sme ie s in ou se. They stuy the popeties of tehing imension of onept lss tht is minimum nume of exmples tehe hs to evel in oe to uniquely ientify ny onept in the lss. They onsie, howeve, iffeent onept lsses then ous, nmely othogonl etngles n oolen fomuls. Also, tehing sequenes fo othe lsses of oolen fomuls hs een stuie in [18, 3]. Reently, lening n veifition of qhon queies ws stuie in [1]. qhon is speil lss of Boolen quntifie queies whose unelying fom is onjuntions of quntifie Hon expessions. In oe to veify tht given quey is equivlent to the one intene y use, unique veifition set of polynomil size is onstute. The veifition set onsists of exmples uniquely etemining the given quey. The veifition lgoithm lssifies some questions in the set s nswes (positive exmples) n othes s non-nswes (negtive exmples). The quey is inoet if the use isgees with ny of the quey s lssifition of questions in the veifition set.
5 S. Stwoko n P. Wiezoek 147 A nume of notions of hteizility hs een stuie in the ontext of gmmtil infeene [6]. Thei wok is elte to Gol s lssil moel [7, 8]. In the fist ppoh hteisti smples e onstute fo given lgoithm. The lgoithm must etun onept onsistent with the given smple n fo ny smple extening the hteisti smple fo the onept, it hs to etun. In nothe vint hteizility is pmetize with set I of lgoithms, i.e., fo eh onept, its hteisti set must llow ny lgoithm fom I to ientify. Finlly, they intoue the following notion: onept lss C is polynomilly hteizle iff fo eh onept thee exists hteisti smple S of polynomil size suh tht if nothe non-equivlent onept is omptile with S then is not omptile with the hteisti smple fo. In ou se q is the only quey tht is onsistent with the hteisti smple fo q. In the lening senio the min ojetive is to fin lening lgoithm tht poues fomul (quey) onsistent with given set of exmples [7, 8, 6, 19, 20]. One typilly uses weke notion of hteisti smple w..t. given lening lgoithm. This llows lene is, ollusion, e.g., using fixe oe on the lphet in lnguge infeene. Chteizility is stonge euse it implies the existene of hteizing smple inepenent of the lening lgoithm (no is). Ogniztion. In Setion 2 we ell si notions on XML n twig queies. In Setion 3 we fomlize the polem of hteizing queies with exmples n show tht unions of twig queies e not hteizle. In Setion 4 we show tht twig queies e hteizle ut my equie exponentilly mny exmples. In Setion 5 we ell nhoe twig queies n thei funmentl popeties. In Setion 6 we pesent si geneliztion opetions, show thei onnetion with injetive emeings, n show how to use them to hteize nhoe twig queies une the injetive semntis with polynomilly smll exmples. In Setion 7 we show tht the geneliztion opetions n e use to minimize nhoe twig quey n then show how to exten the ppoh use in Setion 6 to onstut polynomilly smll sets of exmples hteizing nhoe twig queies in the stn semntis. In Setion 8 we summize ou esults n outline futue ietions of stuy. Aknowlegments. This ppe is ptilly suppote y the Polish Ntionl Siene Cente gnt DEC-2013/09/B/ST6/ Bsi notions In this setion we ell si notions use to moel XML ouments n twig queies. Thoughout this ppe we ssume n infinite set of noe lels Σ whih llows us to moel ouments with textul vlues. Also, we fix one speil lel Σ tht we use on the oot noes of ll tees n queies. Tees. We moel XML ouments with unnke tees whose noes e lele with elements of Σ. Fomlly, tee t is tuple (N t, oot t, pent t, l t ), whee N t is nonempty finite set of noes, oot t N t is the oot noe, pent t : N t \{oot t } N t is hil-to-pent funtion, n l t : N t Σ is leling funtion. By Tee we enote the set of ll tees. An exmple of tee is pesente in Fig. 1. We efine nume of itionl notions. A lef is ny noe tht hs no hilen. A pth in t fom n to m (of length k) is sequene of noes n = n 1,..., n k = m suh tht pent t (n i ) = n i 1 fo 1 < i k. Then we lso sy tht n is n nesto of m n m is esennt of n. Note tht those two tems e eflexive: evey I C D T
6 148 Chteizing XML Twig Queies with Exmples () Tee t 0. () Twig quey q 0. () Emeings of q 0 in t 0. Figue 1 Tee, twig quey, n emeings. noe is its own nesto n esennt. We the jetive pope to inite tht n n m e iffeent noes. The epth of noe is the length of the pth fom the oot to the noe. The height of tee t, enote height(t), is the epth of its eepest lef. The size of t, enote size(t), is the nume of its noes. Queies. In genel, lss of Boolen queies is set Q with n impliitly given funtion L : Q 2 Tee tht mps evey quey q Q to the set L(q) Tee of tees tht stisfy q. The se lss of queies, tht we stuy in this ppe, e (Boolen) twig queies, known lso s tee pttens [2]. Bsilly, twig quey is n unnke tee tht my itionlly use istinguishe wil symol s lel n hs two types of eges, hil n pope esennt, oesponing to the stn XPth xes. Fig. 1 ontins exmple of twig queies: hil eges e wn with single line n esennt eges with oule line. Fomlly, twig quey q is tuple (N q, oot q, pent q, l q, ege q ), whee N q is nonempty finite set of noes, oot q is the oot noe, pent q : N q \ {oot q } N q is hil-to-pent funtion, l p : N q Σ {} is leling funtion, n ege q : N q \ {oot q } {hil, es} is the funtion tht inites the type of the inoming ege of non-oot noe. By Twig we enote the set of ll twig queies. We pt the stn notions efine fo tees (lef, pth, et.) to twig queies y ignoing the ege q omponent of the quey. Emeings. We efine the semntis of twig queies using the notion of n emeing whih essentilly mps noes of the twig quey to the noes of the tee in mnne onsistent with the semntis of the eges n the noe lels. In the sequel, fo two x, y Σ {} we sy tht x mthes y if y implies x = y. Note tht this eltion is not symmeti: the lel mthes ut oes not mth. Fomlly, n emeing of twig quey q in tee t is funtion λ : N q N t suh tht: 1. λ(oot q ) = oot t, 2. l t (λ(n)) mthes l q (n) fo evey noe n of q, 3. λ(n) is pope esennt of λ(pent q (n)) fo evey n N q \ {oot q }, 4. λ(n) is hil of λ(pent q (n)) fo evey n N t \ {oot q } suh tht ege q (n) = hil. Then, we sy tht t is stisfies q. Fig. 6 pesents ll emeings of the quey q 0 in tee t 0. The lnguge of quey q Twig is the set of ll tees stisfying q L(q) = {t Tee t stisfies q}. The notion of n emeing extens in ntul fshion to pi of queies q, p Twig: n emeing of q in p is funtion λ : N q N p tht stisfies the onitions 1, 2, n 3 ove (with t eing eple y p) n the following onition (whih ensues tht hil eges e mppe to hil eges only):
7 S. Stwoko n P. Wiezoek λ(n) is hil of λ(pent q (n)) n ege p (λ(n)) = hil fo evey n N q \ {oot q } suh tht ege q (n) = hil. Then, we wite q p. Beuse tee n e seen s twig quey, we often use the nottion n wite t q to inite tht thee is n emeing of q in t. Quey ontinment n equivlene. Given two queies q n p, q is ontine in p, in symols q p, iff L(q) L(p). We sy tht q n p e equivlent, enote q p, if L(q) = L(p). It is well known tht fo twig queies, the existene of n emeing implies ontinment ut the onvese oes not hol in genel [13]. Thee e lso signifint omputtionl iffeenes: the ontinment of twig queies is onp-omplete [17, 15] whees testing the existene of n emeing is in PTIME. 3 Chteizing queies with exmples In this setion we fomlly efine hteizility of queies n show tht unions of twig queies e not hteizle. An exmple is n element of Tee {+, }, pi onsisting of tee n n inito of whethe the exmple is positive (+) o negtive ( ). Evey quey q efines the set of its exmples L ± (q): L ± (q) = L(q) {+} (Tee \ L(q)) { }. Given set of exmples S, we enote y S + = {t Tee (t, +) S} n y S = {t Tee (t, ) S} the sets of espetively positive n negtive exmples in S. A quey q is onsistent with exmples S iff S + L(q) n S L(q) = (o simply S L ± (q)). Definition 3.1. A lss of queies Q is hteizle iff fo evey quey q Q, thee exists finite set of exmples Ch(q) hteizing q i.e., suh tht q is the only quey in Q onsistent with Ch(q) (moulo quey equivlene). Chteizility lone oes not ensue ny oun on the inlity of the set of hteizing exmples no ny oun on thei size. As we show lte on, twig queies e hteizle ut the nume of neessy exmples my e exponentil, whih my e unesile fo ptil puposes. Theefoe, we fomlize vint of hteizility tht ensues moe mngele size of the hteizing set of exmples. Definition 3.2. A lss of queies Q is suintly hteizle iff thee exists polynomil poly(x) suh tht fo evey quey q Q thee exists set of exmples Ch(q) hteizing q n suh tht its inlity is oune y poly(size(q)) n so is the size of evey of its elements. 3.1 Non-hteizility of unions of twig queies We now onsie the lss UTwig onsists of finite susets of twig queies Q = {q 1,..., q k } Twig intepete in the ntul fshion: L(Q) = {L(q) q Q}. The height of nonempty union of twig queies Q is the mximum height of quey in Q. Note tht if the height of tee t is supeio to the height of twig quey q, then q is not stisfie in t. Ntully, the sme neessy onition hol fo unions of twig queies. We sy tht quey Q UTwig is unstute if the set of its negtive exmples Tee \ L(Q) is infinite n ontins tees of ity height. The univesl quey {} is not unstute euse it hs no negtive exmples. One n, howeve, esily see tht UTwig I C D T
8 150 Chteizing XML Twig Queies with Exmples ontins unstute queies e.g., the singleton quey Q 0 = {q 0 } with q 0 fom Fig. 1 is unstute euse ny tee tht whose oot noe oes not hve hil is negtive exmple of Q 0. Now, tke ny unstute quey Q UTwig n set of exmples S onsistent with Q. Let U = (Tee \ L(Q)) \ S e the set of ll negtive exmples of Q tht e not use in S. Fom U we pik ny element t whose height is gete thn the height of ny negtive exmple in S. We tet t s twig quey n onstut Q = Q {t}. Clely, Q is onsistent with S euse ll positive exmples S + e stisfie y Q Q n none of the negtive exmples stisfy the newly e quey omponent t euse the height of t is gete thn the height of ny of the negtive exmples. Also, Q n Q e not equivlent euse t stisfies Q ut not Q. Theoem 3.3. Unions of twig queies e not hteizle. Finlly, we point out tht when pplie with iligene the ove poeue n e itete infinitely thus geneting n infinite sequene of queies onsistent with the given set of exmples. 4 Chteizility of Twig queies In this setion we show tht Twig queies e hteizle ut my equie nume of exmples exponentil in the size of the quey. Poposition 4.1. Twig queies e hteizle. Poof. Fo tee t Tee we efine the Twig-theoy it genetes Th(t) = {q Twig t L(q)}, the set of ll twig queies tht e stisfie y t. Fist, we show tht fo ny tee its Twig-theoy is finite moulo quey equivlene. We oseve tht the height of ny quey q Th(t) is oun y the height of t n the nume of iffeent lels in q is lso oune y the nume of iffeent lels in t. Beuse we onsie only non-equivlent memes of Th(t), no noe of q hs two ientil sutees oote t ny two hilen of the noe. The two osevtions ove llow us to inutively pove tht the nume of non-equivlent iffeent queies in Th(t) is inee finite. Next, fo given twig quey q we outline the onstution of hteizing set of exmples. Fo this, we onstut positive exmple t q 0 otine fom q y epling evey esennt ege y hil ege n using fesh lel 0 (not use in q) to eple evey. Note tht q Th(t q 0 ) n tht fo ny p Th(tq 0 ) tht is not equivlent to q thee exists witness t of the non-equivlene of p n q, whih we n use s positive exmple, if t stisfies q ut not p, o s negtive exmple, if t stisfies p ut not q. Sine Th(t q 0 ) ontins finite nume of queies moulo equivlene, only finite nume of exmples is neessy to onstut set of exmples hteizing q. Now, we show tht twig queies my equie exponentil nume of exmples to hteize them. Poposition 4.2. Fo ny ntul nume n thee exists twig quey q suh tht ny set hteizing q ontins t lest 2 n exmples. Poof. Fo given ntul nume n we onstut quey q n set of twig queies U suh tht: 1. fo eh p U we hve p q;
9 S. Stwoko n P. Wiezoek 151 A 0 i : i q: B 0 i : i p v : A 1 i : i i i A 1 1 A 0 2 A 0 3 A 0 1 A 1 2 A A 0 1 A 0 2 A 0 3 B 1 i : i i B k1 1 B k2 2 i i A 0 n A 0 n A 1 n B kn n () Quey q () Quey p v fo v = (k 1,..., k n). Figue 2 Twig quey q equiing exponentilly mny exmples w..t. p v. 2. fo eh p U we hve q p; Moeove, no single positive exmple t n witness the ft tht ny two istint p 1, p 2 U e not equivlent to q; 3. U ontins 2 n queies. Hene ny set of exmples S hteizing q will hve t lest 2 n negtive exmples use to istinguish q fom queies in U. We onstut the quey q ove the set of lels { 1,... n, } s illustte in Fig. 2. We lso onstut n uxiliy set of queies W onsists of pttens p v with v nging ove ll {0, 1}-vetos of length n, onstute s pesente in Fig. 2. We show tht the set W stisfies the onitions 2 n 3 n lte we use it to onstut the set U tht stisfies ll onitions. Clely, fo evey veto v we hve q p v essentilly euse A 1 i Bi k fo ny i {1,..., n} n k {0, 1}. Now, tke two {0, 1}-vetos v = (k 1,..., k n ) n w = (k 1,..., k n) tht iffe t position j {1,..., n} n w.l.o.g. ssume tht k j = 0 n k j = 1. Suppose now tht thee exists tee t tht witnesses oth the fts q p v n q p w i.e., t stisfies q ut neithe p v n p w. Let s j e the j-th nh of q i.e., the nh using A 1 j. Sine thee is n emeing of q into t, tke the pth in whih the nh s j is emee into π = j 1 j 1 j 1 j τ j j+1 j+1 j+1... n n n, whee τ is possily empty pth fgment. Note tht if τ is empty, then π p v, n thus, t p v. Howeve, if τ is not empty then π p w, n thus, t p w. This ontits the ssumption tht t oes not stisfy oth p v n p w. Consequently, evey quey p W equies unique positive exmple to istinguish it fom q. Now, fo two twig queies p n q y p q we enote the twig quey otine y joining p n q t the oot noe (whih hs the sme lel). The set of queies U is efine s U = {q p p W }. Beuse L(p q) = L(p) L(q), evey element of U is popely ontine in q n evey element of U still equies septe exmple to istinguish it fom q. 5 Anhoe twig queies In this setion, we pesent the lss of nhoe twig queies n gue tht they onstitute sulss tht is funtionlly vey lose to twig queies. We lso pesent the onstution I C D T
10 152 Chteizing XML Twig Queies with Exmples q 0 q 0 q 1 p 0 p 0 p 0 not nhoe nhoe nhoe not nhoe Figue 3 Anhoe n non-nhoe twig queies. of epesenttive ouments fo given nhoe twig quey n ell the eltionships etween thei stutue n semntis with thei impotnt omputtionl implitions. The lss of nhoe twig queies imposes estitions on the mutul use of n the esennt eges. Definition 5.1. A twig quey is nhoe if the following two onitions e stisfie: 1. A //-ege n e inient to -noe only if the noe is lef. 2. A -noe my e lef only if it is inient to //-ege. By AnhTwig we enote the set of ll nhoe twig queies. A nume of nhoe n non-nhoe queies is pesente in Fig. 3. Note tht the seon onition equiing lef to e inient to esennt ege is meely tehnil: if the ule is violte y some lef, we n hnge its ege to esennt ege n otin n equivlent quey (f. q 0 q 0 in Fig. 3). In essene, nhoe twig queies o not llow the esennt eges touh exept fo leves n thus nnot expess onitions on nesty of noes with miniml istne etween them. Fo instne the quey p 0 (Fig. 3) heks fo the existene of noe lele t epth 2. We o not elieve this estition to e signifint one fom the ptil point of view. The eson we use nhoe queies is the lose eltionship etween the stutue of the quey n its semntis [19]: ontinment is equivlent to the existene of emeing. Moe peisely, fo ny p, q AnhTwig we hve p q iff p q. The sme eltionship oes not hol fo queies tht e not nhoe e.g., the non-nhoe quey q 0 n the nhoe quey q 0 in Fig. 3 e equivlent n in ptiul q 0 q 0 ut thee is no emeing of q 0 into q 0. Consequently, testing the ontinment is eue to testing the existene of n emeing, n theefoe, is in PTIME. This stns in ontst with onp-ompleteness of the ontinment of ity twigs [17, 15]. The min tool use in poving the equivlene of ontinment n emeing fo nhoe queies e ontinment hteizing tees [13, 19]. Fo n nhoe quey q of height k we onstut two tees: t q 0 is otine fom q y epling evey esennt ege y hil ege n evey with fesh lel 0 tht is not use y q. t q 1 is otine fom q y epling evey y 1 n evey esennt ege y 2 -pth of length k, 1 n 2 e two iffeent fesh lels not use in q n iffeent fom 0. An exmple of the onstution is pesente in Fig. 4. The instumentl esult follows. Lemm 5.2 ([19]). Tke ny nhoe quey q n onstut t 1 q s esie ove. Fo ny quey p whose height is oune y the height of q n tht oes not use the lels 1 n 2, t q 1 p implies q p.
11 S. Stwoko n P. Wiezoek 153 q 0 t q 0 0 t q { Figue 4 Constution of ontinment hteizing tees. x δ 1 y δ 2 x y x y z z x z z Figue 5 One-step geneliztion opetions ( ). The poof onsists of n nhoing tehnique tht nomlizes the emeing of p into t q 1 n then tnsltes it to n emeing of p into q. Note tht if t q 0 p, then the height of p is oune y the height of q n p oes not use 1 n 2. Theefoe if oth t q 0 n tq 1 stisfy p, then q p. The most impotnt implition of Lemm 5.2 is tht y using only two positive exmples t q 0 n tq 1 we only nee to e out the queies tht popely ontin q n povie negtive exmples to istinguish q fom queies popely ontining q. Although thei nume might e quite lge, we fous only on the most speifi ones: Φ(q) = {q AnhTwig q q q. q q q }. Fom the view of the semi-lttie of nhoe twig queies, we wish to gin n unestning of its topology to hteize the (outoun) neighohoo of quey. 6 Geneliztion opetions In this setion, we intoue set of geneliztion opetions n show thei onnetion with n injetive emeings n how the opetions llow us to nvigte the semi-lttie of nhoe twig queies une injetive semntis. We use those finings to suintly hteize nhoe twig queies une the injetive semntis. We employ simple geneliztion opetions tht we fist efine on ity twig queies n lte on tilo them to nhoe twig queies. Thee e 3 opetions, pesente in Fig. 5, whee she lines inite optionl ity eges, x, y n z my hve ity lels in Σ {} while nges ove Σ: δ 1 hnges the lel of non- noe to ; δ 2 hnges hil ege to esennt eges; emoves noe n onnets ll its hilen to the pent noe with esennt ege; We sy tht q is one-step geneliztion of p, in symols p q, iff q is otine y pefoming one of the 3 geneliztion opetions. I C D T
12 154 Chteizing XML Twig Queies with Exmples t 0 q 0 t 1 q 1 o o o o o q 2 o o o o Figue 6 Injetive emeings t 0 q 0 n q 2 q Injetive emeings Thee is lose onnetion etween pplying sequenes of geneliztion opetions n the existene of speil kin of injetive emeings. Fomlly, n emeing of λ of q into p is injetive if it itionlly stisfies the onition: 5. λ(n 1 ) is n nesto of λ(n 2 ) in p if n only if n 1 is n nesto of n 2 in q, fo ny two noes n 1 n n 2 of q. We wite p q if thee is n injetive emeing of q into p. We efine nlogously the injetive emeings of twig quey into tee. Fig. 6 pesents n exmple of n injetive emeing of q 0 into t 0. We point out tht ny injetive emeing is n injetive funtion ut the onvese oes not neessily hols (f. q 0 n t 1 in Fig. 6). This howeve will not le to onfusion s we o not onsie emeings tht e injetive funtions while violting onition 5. We efine the injetive semntis of twig queies s L (q) = {t Tee t q} n y q p enote L (q) L (p). The nhoing tehnique of Lemm 5.2 n e esily pte to injetive emeings euse injetive emeings e une lose omposition. Coolly 6.1. Fo ny p, q AnhTwig, p q iff p q iff p q. The onnetion etween the geneliztion opetions n injetive emeings is quite ntul. While it is quite ovious tht p q implies p q, the onvese is lso tue euse the existene of n injetive emeing of q into p ensues tht ll fgments of q mth es of p in onfigution tht llows to esily ientify the geneliztion opetions equie to tnsfom p into q, f. the injetive emeing of q 1 into q 2 in Fig. 6. Hene, Lemm 6.2. Fo ity twig queies p, q Twig we hve p q iff p q. Finlly, we point out, howeve, ltentive types of injetive emeings hve een ientifie n use in the litetue (f. [12]), fo ou puposes ny type of injetive emeings n e use. Howeve, the set of neessy si geneliztion opetions (Fig. 5) epens on the hosen type of injetive emeing, n we hve hosen the type of injetive emeings known s nesto-peseving emeings euse the geneliztion opetions seems to e the most ntul. 6.2 Geneliztions of nhoe twig queies We wish to use the onnetion etween geneliztion opetions n the ontinment in oe to mp out the semi-lttie AnhTwig, of nhoe twig queies une the injetive
13 S. Stwoko n P. Wiezoek 155 q 1 q 1 q 1 q 2 q 2 q 2 q 3 q 3 q 3 δ 1 δ 1 δ 1 δ 1 δ 2 δ 2 not nhoe not nhoe not nhoe q 4 q 4 q 4 q 4 q 4 q 5 q 5 q 5 δ 2 δ 1 δ 2 q 6 q 6 q 6 q 6 q 6 e f e f e f e f e f Figue 7 Applying geneliztion opetions to nhoe twig queies. semntis. Moe peisely, fo given nhoe quey p we wish to know the set of nhoe queies Φ (p) in the immeite (outgoing) neighohoo of p. Φ (q) = {q AnhTwig q q q AnhTwig. q q q }. Lemm 6.2 enouges us to ppoh this hllenge with the use of geneliztion opetions tiloe to nhoe queies. Given two nhoe queies p, q AnhTwig, we sy tht q is n immeite nhoe geneliztion of p, in symols p q, iff p + q n thee is no z AnhTwig suh tht p + z n z + q. Essentilly, the immeite nhoe geneliztion eltion efines the Hsse igm of the semi-lttie of the nhoe twig queies une injetive semntis, n theefoe, Φ (p) = {p AnhTwig p p }. We next show how n e efine in tems of smll nume of mos onsisting of sequenes of geneliztion opetions. To otin n immeite nhoe geneliztion of n nhoe twig quey we pply iligently the geneliztions opetions, mking sue tht: 1) the en esult is n nhoe twig quey n 2) thee is no intemeite nhoe twig quey tht n e otine on n ltentive pth. In ptiul, the fist two geneliztion opetions δ 1 n δ 2 n e use s long s they o not yiel quey tht is not nhoe (f. q 1, q 2, n q 3 in Fig. 7). The is moe involve. Fist of ll, une etin onitions pplying is not uthoize euse n intemeite quey n e ehe with opetions δ 1 o δ 2 (f. q 4 n q 5 in Fig. 7). Futhemoe, while possily violting the stutul onstints of nhoe queies, n e pplie to non-lef noe povie tht is pplie to ll neighoing -noes (f. q 6 in Fig. 7). We stte fomlly the mnne in whih the geneliztions shoul e use on nhoe twig queies. Lemm 6.3 ( -opetions). Fo ny nhoe twig queies p, q AnhTwig we hve tht p q iff q is otine fom p y pplying: I C D T
14 156 Chteizing XML Twig Queies with Exmples p 0 p0 Φ p 0 p 0 Figue 8 Immeite nhoe geneliztions. p 0 t p 0 0, + t p 0 1, + t p 0 1, t p 0 1, t p 0 1, Figue 9 Chteizing quey une the injetive semntis. 1. δ 1 to n inne noe inient to hil eges only; 2. δ 1 to lef noe inient to esennt ege; 3. δ 2 to n ege tht is not inient to noe; 4. to lef noe only if it is noe o if its pent is noe with othe hilen; 5. to non- noe inient to esennt eges only; 6. in exhustive mnne to onnete e of noes. In the sequel we efe to the mos fom Lemm 6.3 s -opetions. We point out tht fom the point of view of -opetions, ny onnete e of noes is seen s one ptiul noe n we ientify it with its top most noe. Note tht the nume of possile iffeent pplitions of -opetions to quey p is O(size(p)), n onsequently, the Φ (p) ontins polynomil nume of queies eh of size oune y the size of p. An exmple of onstution of Φ is pesente in Fig Chteizility of AnhTwig une injetive semntis Beuse the nume of possile immeite nhoe geneliztions of quey p is O(size(p)), we n hteize ny nhoe twig quey p une injetive semntis with the following set of exmples (with ll t q 1 s tees using 2-hins of the sme length s t p 1 ): Ch (p) = {(t p 0, +), (tp 1, +)} {(t q 1, ) q Φ (p)}. An exmple of onstution of the hteizing set of exmples is pesente in Fig. 9 fo the quey p 0 fom Fig. 8. To show tht Ch (p) oes inee hteizes p, tke ny quey q onsistent with Ch (p). Sine q is stisfie y oth t p 0 n tp 1, p q n if p woul e popely ontine y q, then q woul stisfy one of the negtive exmples in Ch (p). Theoem 6.4. Anhoe twig queies e suintly hteizle une injetive semntis.
15 S. Stwoko n P. Wiezoek 157 δ 1 Figue 10 Reuing quey. 7 Chteizility of Anhoe Twig queies In this setion, we exten the ppoh pesente in the pevious setion to the stn semntis of twig queies. The min hllenge is to hnle possile ovelps of non-injetive emeings n we intoue uplition opetion whose ontolle use ensues suint hteizility. Thee is, howeve, lesse hllenge tht we nee to hnle fist, mking sue tht pplying -opetion yiels moe genel quey. Solving this hllenge lso shows tht minimiztion of nhoe twig queies is ttle n n e implemente using geneliztion opetions whih futhe illusttes the goo ehvio of the lss of nhoe twig queies. 7.1 Reuing nhoe twig queies If we e to se the solution of hteizility on -opetions, we must e we of the iffeene etween the two semntis, how it n ffet the use of -opetions, n how to oveome the iffiulties tht ise. The iffeene etween the semntis n e illustte on the exmple of quey q 0 in Fig. 1: une the injetive semntis it ensues the existene of noe with t lest two iffeent hilen, while suh onstint nnot e expesse with the stn semntis (note tht neithe of the emeings in Fig. 6 n is nesto-peseving). In ft, the lef noe in the quey q 0 is eunnt, n e emove, n smlle equivlent quey (une the stn semntis) is otine. The implitions on use of -opetions e s follows: if we tke n nhoe quey p n ny p otine y pplying -opetion., then p nees not popely inlue in p euse p n p my e equivlent une the stn semntis. To ess this ostle we eue the quey p: itetively pply geneliztion opetions (f. Fig. 10), following t eh step, s long s the quey emins equivlent to the oiginl one. Note tht -opetion my emove some noes, enme noes to, n hnge hil eges to esennt eges. Essentilly, it is monotone poess tht finishes fte O(size(p)) steps. An nhoe twig quey p is eue if it is the en esult of this poeue, o moe peisely, if fo no p Φ (p) we hve p p. Inteestingly, not only e eue queies suitle fo use in Φ n n e otine effiiently, ut lso they e the unique miniml nonil epesenttives of ll equivlent queies. Inee, we show tht n nhoe twig quey p is not miniml iff thee exists n emeing of p into p othe thn the ientity mp, n futhemoe it mps t lest two noes to the sme tget (n ovelp). We n then efully onstut the imge p of this emeing, n nhoe quey whose set of noes is the nge of the emeing (see exmple in Fig. 10). I C D T
16 158 Chteizing XML Twig Queies with Exmples p 0 p 0 p 0 p 0 q 0 p 0 Figue 11 Immeite nhoe geneliztions vesus n emeing with ovelp p 0 q 0. This quey is smlle thn p n the ientity mp is n injetive emeing of p into p, thus p p. We point out tht ttility of minimiztion of nhoe twig queies is not novel esult. [11] pesents lss of twig queies popely ontining AnhTwig fo whih minimiztion is ttle. While the tehnique is simil to the pesente ove (ut not ientil), it n possily e use s moe effiient ltentive only euse we shown tht ou euing metho lso poues the miniml quey. Theoem 7.1. Fo evey nhoe twig quey q thee exists unique eue equivlent nhoe twig quey. Futhemoe, this quey is the size-miniml quey equivlent to q n n e otine in time polynomil in the size of q. 7.2 Duplition opetion Fom now on, we use the stn semntis only. While using -opetions on eue quey p oes onstut set of most speifi queies popely ontining p, it oes not ontin ll suh queies. Tke fo instne the quey p 0 in Fig. 11 togethe with its immeite nhoe geneliztions Φ (p 0 ) = {p 0, p 0, p 0 }. Now tke the quey q 0 (Fig. 11) tht hs n emeing into p 0, is not equivlent to p 0 (thee is no emeing of p 0 into q 0 ), n note tht it nnot e emee into ny of the immeite nhoe geneliztions of p 0. This is euse the emeing of q 0 into p 0 ovelps t two noes of q 0 whose suqueies hve een otine with pplying iffeent geneliztion opetions. We ess the polem of the ovelp with wht oul e seen s ing uplition opetion to ou system: this opetion eples suquey oote t given noe y nume of ientil opies (inluing the sme type of the ege to the pent). Suh n opetion woul not, howeve, yiel quey moe genel thn the oiginl quey, ut meely n equivlent quey with eunnies, n theefoe, not even eue. Consequently, we investigte n ugmente vint tht pplies the uplition opetion n then genelizes evey opy. In Fig. 11 the quey p 0 is quey otine s esult of pplying this opetion to p 0 t noe. We point out, howeve, tht the efinition of this opetion is not suffiiently peise: it is mutully epenent on the efinition of geneliztion, whih ielly shoul use the new opetion. Also, unlike peviously use opetions whih oul only eese the size of the input quey, this opetion hs the potentil to inese the size the quey n when use eusively multiple time, the ouns on the size of the output quey e not le. We next settle these onens with n ppopite eusive efinition of quey geneliztion. We efine geneliztions of quey eusively on its suqueies. A suquey p of q t noe n N q \ {oot q } is essentilly the quey oote t n ut hving itionlly the inoming ege (fom the pent) whih n e ltee y pplying -opetions to the oot noe of q. Ntully, we pply only those opetions tht e llowe in the ontext of the omplete quey q (thus s if knowing the lel of the pent of the oot noe of p). We fix quey q n let p e its suquey. A miniml geneliztion of p is ny quey otine y eithe:
17 S. Stwoko n P. Wiezoek 159 q q e f e f e f e f e f Figue 12 Constuting the miniml geneliztion q of quey q (q q ). 1. pplying -opetion t the oot noe of p (ppopitely to the ontext of the oot noe in q) 2. epling the suquey p oote t hil of the oot noe of p with the set of ll miniml geneliztions of p. The miniml geneliztions of q e otine y using only the seon pt of the efinition (euse we o not pply geneliztion opetion to the oot noe). We wite q q to inite tht q is miniml geneliztion of q. An exmple of onstuting the miniml geneliztion of quey is pesente in Fig. 12. A eue nhoe twig quey q hs t most line nume of miniml geneliztions (equl to the nume of hilen of the oot noe). It is not le how ig they n e given tht uplition tkes ple. We pove polynomil oun on the size of q suh tht q q. Let n e noe of q, with the pth n = n 0, n 1,..., n k = oot q fom n to the oot of q, n let l i e the nume of hilen of n i fo i {1,..., k}. We show with n inutive poof tht q ontins O(l l k ) opies of the noe n. Sine l l k is oune y the nume of noes of q, eh noe is uplite t most size(q) times, n theefoe, q is of size O(size(q) 2 ). With n inutive poof on the stutue of n ity emeing etween two queies tht e not equivlent, we show tht the miniml geneliztions of quey q e the only outoun neighos of q in the semi-lttie of nhoe twig queies une the stn semntis. Lemm 7.2. Fo ny nhoe twig quey q, Φ(q) = {q AnhTwig q q }. Consequently, ny nhoe twig quey q n e hteize with polynomilly-size set of exmples Ch(q) = {(t q 0, +), (tq 1, +)} {(t p 1, ) p Φ(q)} n thei sizes e polynomilly oune y the size of q. Theoem 7.3. Anhoe twig queies e suintly hteizle. 8 Conlusions n futue wok In the pesent ppe, we hve ientifie n stuie novel polem of hteizing queies with exmples. Ou esults hve emonstte tht hteizility is mesue of ihness of the quey lss, whih is losely elte to its expessive powe. We hve show tht while union of twig queies e not hteizle, twigs lone e ut my equie exponentil numes of exmples. Though the stuy of emeings n geneliztion opetions we hve shown tht the lss of nhoe twig queies is hteizle with polynomilly size sets of exmples. Futue wok. We envision nume of possile futue ietions. We woul like to exten ou stuy of emeings to othe types of queies tht employ this mehnism of efining I C D T
18 160 Chteizing XML Twig Queies with Exmples thei semntis: onjuntive eltionl queies n egul pth queies fo gphs. Ntully, the gol woul to e investigte the polem of hteizility of those tse moels. We lso inten to exploe the use of the popose onstutions of hteizing sets of exmples in the ontext of gmmtil infeene [6, 7, 19]. Refeenes 1 A. Aouzie, D. Angluin, Ch. Ppimitiou, J. M. Hellestein, n A. Sileshtz. Lening n veifying quntifie oolen queies y exmple. In Poeeings of the 32N Symposium on Piniples of Dtse Systems, PODS 13, pges ACM, S. Ame-Yhi, S. Cho, L. V. S. Lkshmnn, n D. Sivstv. Tee ptten quey minimiztion. VLDB Jounl, 11(4): , M. Anthony, G. Bightwell, D. Cohen, n J. Shwe-Tylo. On ext speifition y exmples. In Poeeings of the Fifth Annul Wokshop on Computtionl Lening Theoy, COLT 92, pges , New Yok, NY, USA, ACM. 4 S. Cho, S. Ame-Yhi, L. V. S. Lkshmnn, n D. Sivstv. Optimizing the seue evlution of twig queies. In Intentionl Confeene on Vey Lge Dt Bses (VLDB), pges , S. Cohen n Y. Y. Weiss. Cetin n possile XPth nswes. In Intentionl Confeene on Dtse Theoy (ICDT), C. e l Higue. Chteisti sets fo polynomil gmmtil infeene. Mhine Lening, 27(2): , E. M. Gol. Lnguge ientifition in the limit. Infomtion n Contol, 10(5): , E. M. Gol. Complexity of utomton ientifition fom given t. Infomtion n Contol, 37(3): , S. A. Golmn n M. J. Kens. On the omplexity of tehing. Jounl of Compute n System Sienes, 50(1):20 31, S. A. Golmn, R. L. Rivest, n R. E. Shpie. Lening iny eltions n totl oes. SIAM J. Comput., 22(5): , B. Kimelfel n Y. Sgiv. Revisiting eunny n minimiztion in n xpth fgment. In EDBT 2008, 11th Intentionl Confeene on Extening Dtse Tehnology, pges 61 72, J. Mihliszyn, A. Musholl, S. Stwoko, P. Wiezoek, n Z. Wu. On injetive emeings of tee pttens. CoRR, s/ , G. Miklu n D. Suiu. Continment n equivlene fo fgment of XPth. Jounl of the ACM, 51(1):2 45, F. Neven. Automt, logi, n XML. In Wokshop on Compute Siene Logi (CSL), volume 2471 of Letue Notes in Compute Siene, pges Spinge, F. Neven n T. Shwentik. XPth ontinment in the pesene of isjuntion, DTDs, n viles. In Intentionl Confeene on Dtse Theoy (ICDT), pges Spinge-Velg, S. Slzeg, A. L. Delhe, D. G. Heth, n S. Ksif. Lening with helpful tehe. In Poeeings of the 12th Intentionl Joint Confeene on Atifiil Intelligene., pges , T. Shwentik. XPth quey ontinment. SIGMOD Reo, 33(1): , A. Shinoh n S. Miyno. Tehility in omputtionl lening. New Genetion Comput., 8(4): , S. Stwoko n P. Wiezoek. Lening twig n pth queies. In Intentionl Confeene on Dtse Theoy (ICDT), Mh B. Ten Cte, V. Dlmu, n P. Kolitis. Lening shem mppings. In Intentionl Confeene on Dtse Theoy (ICDT), Mh 2012.
Chapter 7. Kleene s Theorem. 7.1 Kleene s Theorem. The following theorem is the most important and fundamental result in the theory of FA s:
Chpte 7 Kleene s Theoem 7.1 Kleene s Theoem The following theoem is the most impotnt nd fundmentl esult in the theoy of FA s: Theoem 6 Any lnguge tht cn e defined y eithe egul expession, o finite utomt,
More informationSwinburne Research Bank
Swinune Reseh Bnk http://esehnk.swinune.edu.u Zhou, R., Liu, C., Wng, J., & Li, J. (2009). Continment etween unions of XPth queies. Oiginlly pulished in X. Zhou, H. Yokot, K. Deng, & Q. Liu (eds.) Poeedings
More informationA Study of Some Integral Problems Using Maple
Mthemtis n Sttistis (): -, 0 DOI: 0.89/ms.0.000 http://www.hpub.og A Stuy of Some Integl Poblems Ug Mple Chii-Huei Yu Deptment of Mngement n Infomtion, Nn Jeon Univesity of Siene n Tehnology, Tinn City,
More informationIllustrating the space-time coordinates of the events associated with the apparent and the actual position of a light source
Illustting the spe-time oointes of the events ssoite with the ppent n the tul position of light soue Benh Rothenstein ), Stefn Popesu ) n Geoge J. Spi 3) ) Politehni Univesity of Timiso, Physis Deptment,
More informationCounting 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 informationInfluence of the Magnetic Field in the Solar Interior on the Differential Rotation
Influene of the gneti Fiel in the Sol Inteio on the Diffeentil ottion Lin-Sen Li * Deptment of Physis Nothest Noml Univesity Chnghun Chin * Coesponing utho: Lin-Sen Li Deptment of Physis Nothest Noml Univesity
More informationCS 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 informationThe Area of a Triangle
The e of Tingle tkhlid June 1, 015 1 Intodution In this tile we will e disussing the vious methods used fo detemining the e of tingle. Let [X] denote the e of X. Using se nd Height To stt off, the simplest
More informationWeek 8. Topic 2 Properties of Logarithms
Week 8 Topic 2 Popeties of Logithms 1 Week 8 Topic 2 Popeties of Logithms Intoduction Since the esult of ithm is n eponent, we hve mny popeties of ithms tht e elted to the popeties of eponents. They e
More informationData Compression LZ77. Jens Müller Universität Stuttgart
Dt Compession LZ77 Jens Mülle Univesität Stuttgt 2008-11-25 Outline Intoution Piniple of itiony methos LZ77 Sliing winow Exmples Optimiztion Pefomne ompison Applitions/Ptents Jens Mülle- IPVS Univesität
More informationMathematical Reflections, Issue 5, INEQUALITIES ON RATIOS OF RADII OF TANGENT CIRCLES. Y.N. Aliyev
themtil efletions, Issue 5, 015 INEQULITIES ON TIOS OF DII OF TNGENT ILES YN liev stt Some inequlities involving tios of dii of intenll tngent iles whih inteset the given line in fied points e studied
More information18.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 informationSolutions 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 information10 Statistical Distributions Solutions
Communictions Engineeing MSc - Peliminy Reding 1 Sttisticl Distiutions Solutions 1) Pove tht the vince of unifom distiution with minimum vlue nd mximum vlue ( is ) 1. The vince is the men of the sques
More informationAndersen s Algorithm. CS 701 Final Exam (Reminder) Friday, December 12, 4:00 6:00 P.M., 1289 Computer Science.
CS 701 Finl Exm (Reminde) Fidy, Deeme 12, 4:00 6:00 P.M., 1289 Comute Siene. Andesen s Algoithm An lgoithm to uild oints-to gh fo C ogm is esented in: Pogm Anlysis nd Seiliztion fo the C ogmming Lnguge,
More informationTopic II.1: Frequent Subgraph Mining
Topi II.1: Fequent Sugph Mining Disete Topis in Dt Mining Univesität des Slndes, Süken Winte Semeste 2012/13 T II.1-1 TII.1: Fequent Sugph Mining 1. Definitions nd Polems 1.1. Gph Isomophism 2. Apioi-Bsed
More informationPrerna Tower, Road No 2, Contractors Area, Bistupur, Jamshedpur , Tel (0657) ,
R Pen Towe Rod No Conttos Ae Bistupu Jmshedpu 8 Tel (67)89 www.penlsses.om IIT JEE themtis Ppe II PART III ATHEATICS SECTION I (Totl ks : ) (Single Coet Answe Type) This setion ontins 8 multiple hoie questions.
More information( ) D x ( s) if r s (3) ( ) (6) ( r) = d dr D x
SIO 22B, Rudnick dpted fom Dvis III. Single vile sttistics The next few lectues e intended s eview of fundmentl sttistics. The gol is to hve us ll speking the sme lnguge s we move to moe dvnced topics.
More informationLecture 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 informationCS311 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 informationClass Summary. be functions and f( D) , we define the composition of f with g, denoted g f by
Clss Summy.5 Eponentil Functions.6 Invese Functions nd Logithms A function f is ule tht ssigns to ech element D ectly one element, clled f( ), in. Fo emple : function not function Given functions f, g:
More information22: 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 information10.3 The Quadratic Formula
. Te Qudti Fomul We mentioned in te lst setion tt ompleting te sque n e used to solve ny qudti eqution. So we n use it to solve 0. We poeed s follows 0 0 Te lst line of tis we ll te qudti fomul. Te Qudti
More informationIncremental Maintenance of XML Structural Indexes
Inementl Mintenne of XML Stutul Indexes Ke Yi Ho He Ion Stnoi Jun Yng Dept. Compute Siene Duke Univesity yike@s.duke.edu Dept. Compute Siene Duke Univesity hohe@s.duke.edu IBMT.J.Wtson Reseh Cente is@us.ibm.om
More informationNON-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 informationFourier-Bessel Expansions with Arbitrary Radial Boundaries
Applied Mthemtics,,, - doi:./m.. Pulished Online My (http://www.scirp.og/jounl/m) Astct Fouie-Bessel Expnsions with Aity Rdil Boundies Muhmmd A. Mushef P. O. Box, Jeddh, Sudi Ai E-mil: mmushef@yhoo.co.uk
More informationCOMPUTER AIDED ANALYSIS OF KINEMATICS AND KINETOSTATICS OF SIX-BAR LINKAGE MECHANISM THROUGH THE CONTOUR METHOD
SINTIFI PROINGS XIV INTRNTIONL ONGRSS "MHINS. THNOLОGIS. MTRILS." 17 - SUMMR SSSION W ISSN 55-X PRINT ISSN 55-1 OMPUTR I NLYSIS OF KINMTIS N KINTOSTTIS OF SIX-R LINKG MHNISM THROUGH TH ONTOUR MTHO Pof.so..
More informationValidating XML Documents in the Streaming Model with External Memory
Vlidting XML Douments in the Steming Model with Extenl Memoy Chistin Kond LIAFA, Univ. Pis Dideot; Pis, Fne; nd Univ. Pis-Sud; Osy, Fne. kond@li.f Fédéi Mgniez LIAFA, Univ. Pis Dideot, CNRS; Pis, Fne.
More informationDeterministic simulation of a NFA with k symbol lookahead
Deteministic simultion of NFA with k symbol lookhed SOFSEM 7 Bl Rvikum, Clifoni Stte Univesity (joint wok with Nic Snten, Univesity of Wteloo) Oveview Definitions: DFA, NFA nd lookhed DFA Motivtion: utomted
More informationMid-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 informationCIT 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 informationPreviously. Extensions to backstepping controller designs. Tracking using backstepping Suppose we consider the general system
436-459 Advnced contol nd utomtion Extensions to bckstepping contolle designs Tcking Obseves (nonline dmping) Peviously Lst lectue we looked t designing nonline contolles using the bckstepping technique
More informationOptimization. x = 22 corresponds to local maximum by second derivative test
Optimiztion Lectue 17 discussed the exteme vlues of functions. This lectue will pply the lesson fom Lectue 17 to wod poblems. In this section, it is impotnt to emembe we e in Clculus I nd e deling one-vible
More informationLanguage Processors F29LP2, Lecture 5
Lnguge Pocessos F29LP2, Lectue 5 Jmie Gy Feuy 2, 2014 1 / 1 Nondeteministic Finite Automt (NFA) NFA genelise deteministic finite utomt (DFA). They llow sevel (0, 1, o moe thn 1) outgoing tnsitions with
More informationModule 4: Moral Hazard - Linear Contracts
Module 4: Mol Hzd - Line Contts Infomtion Eonomis (E 55) Geoge Geogidis A pinipl employs n gent. Timing:. The pinipl o es line ontt of the fom w (q) = + q. is the sly, is the bonus te.. The gent hooses
More informationLogic, 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 informationA Rewrite Approach for Pattern Containment
A Rewrite Approh or Pttern Continment Brr Kory rr.kory@univ-orlens.r LIFO - Université Orléns, Frne Astrt. In this pper we introue n pproh tht llows to hnle the ontinment prolem or the rgment XP(/,//,[
More informationAbout Some Inequalities for Isotonic Linear Functionals and Applications
Applied Mthemticl Sciences Vol. 8 04 no. 79 8909-899 HIKARI Ltd www.m-hiki.com http://dx.doi.og/0.988/ms.04.40858 Aout Some Inequlities fo Isotonic Line Functionls nd Applictions Loedn Ciudiu Deptment
More informationNecessary 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 informationSurds 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 informationCS 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 informationDEPARTMENT OF CIVIL AND ENVIRONMENTAL ENGINEERING FLUID MECHANICS III Solutions to Problem Sheet 3
DEPATMENT OF CIVIL AND ENVIONMENTAL ENGINEEING FLID MECHANICS III Solutions to Poblem Sheet 3 1. An tmospheic vote is moelle s combintion of viscous coe otting s soli boy with ngul velocity Ω n n iottionl
More informationCS 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 informationOn Natural Partial Orders of IC-Abundant Semigroups
Intentionl Jounl of Mthemtics nd Computtionl Science Vol. No. 05 pp. 5-9 http://www.publicsciencefmewok.og/jounl/ijmcs On Ntul Ptil Odes of IC-Abundnt Semigoups Chunhu Li Bogen Xu School of Science Est
More information2-Way Finite Automata Radboud University, Nijmegen. Writer: Serena Rietbergen, s Supervisor: Herman Geuvers
2-Wy Finite Automt Rdoud Univesity, Nijmegen Wite: Seen Rietegen, s4182804 Supeviso: Hemn Geuves Acdemic Ye 2017-2018 Contents 1 Intoduction 3 2 One wy utomt, deteministic nd non-deteministic 5 3 Ovehed
More informationSimple Schemas for Unordered XML
Simple Schems fo Unodeed XML Iovk Bonev Univesity of Lille & INRIA, Fnce iovk.onev@ini.f Rdu Ciucnu Univesity of Lille & INRIA, Fnce du.ciucnu@ini.f Słwek Stwoko Univesity of Lille & INRIA, Fnce slwomi.stwoko@ini.f
More informationπ,π is the angle FROM a! TO b
Mth 151: 1.2 The Dot Poduct We hve scled vectos (o, multiplied vectos y el nume clled scl) nd dded vectos (in ectngul component fom). Cn we multiply vectos togethe? The nswe is YES! In fct, thee e two
More informationToward Mechanized Music Pedagogy
Tow Mehnize Musi Pegogy Lingfeng Yng Stnfo Univesity stt We n pt existing tehniques fo the sttistil moeling of musi to the moeling of the qulity of musil pefomne, esulting in fine-gine sttistil unestning
More informationCompression 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 informationNow 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 informationProperties and Formulas
Popeties nd Fomuls Cpte 1 Ode of Opetions 1. Pefom ny opetion(s) inside gouping symols. 2. Simplify powes. 3. Multiply nd divide in ode fom left to igt. 4. Add nd sutt in ode fom left to igt. Identity
More informationData Structures. Element Uniqueness Problem. Hash Tables. Example. Hash Tables. Dana Shapira. 19 x 1. ) h(x 4. ) h(x 2. ) h(x 3. h(x 1. x 4. x 2.
Element Uniqueness Poblem Dt Stuctues Let x,..., xn < m Detemine whethe thee exist i j such tht x i =x j Sot Algoithm Bucket Sot Dn Shpi Hsh Tbles fo (i=;i
More informationCoalgebra, Lecture 15: Equations for Deterministic Automata
Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined
More information1 Nondeterministic Finite Automata
1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you
More informationFI 2201 Electromagnetism
FI 1 Electomgnetism Alexnde A. Isknd, Ph.D. Physics of Mgnetism nd Photonics Resech Goup Electosttics ELECTRIC PTENTIALS 1 Recll tht we e inteested to clculte the electic field of some chge distiution.
More informationPhysics 505 Fall 2005 Midterm Solutions. This midterm is a two hour open book, open notes exam. Do all three problems.
Physics 55 Fll 5 Midtem Solutions This midtem is two hou open ook, open notes exm. Do ll thee polems. [35 pts] 1. A ectngul ox hs sides of lengths, nd c z x c [1] ) Fo the Diichlet polem in the inteio
More informationPOSITIVE 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 informationTechnische 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 informationMichael Rotkowitz 1,2
Novembe 23, 2006 edited Line Contolles e Unifomly Optiml fo the Witsenhusen Counteexmple Michel Rotkowitz 1,2 IEEE Confeence on Decision nd Contol, 2006 Abstct In 1968, Witsenhusen intoduced his celebted
More informationr r E x w, y w, z w, (1) Where c is the speed of light in vacuum.
ISSN: 77-754 ISO 900:008 Cetified Intentionl Jonl of Engineeing nd Innovtive Tehnology (IJEIT) olme, Isse 0, Apil 04 The Replement of the Potentils s Conseene of the Limittions Set by the Lw of the Self
More informationNumbers 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 informationXML and Databases. Exam Preperation Discuss Answers to last year s exam. Sebastian Maneth NICTA and UNSW
XML n Dtses Exm Prepertion Disuss Answers to lst yer s exm Sestin Mneth NICTA n UNSW CSE@UNSW -- Semester 1, 2008 (1) For eh of the following, explin why it is not well-forme XML (is WFC or the XML grmmr
More informationSolutions 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 informationLesson 55 - Inverse of Matrices & Determinants
// () Review Lesson - nverse of Mtries & Determinnts Mth Honors - Sntowski - t this stge of stuying mtries, we know how to, subtrt n multiply mtries i.e. if Then evlute: () + B (b) - () B () B (e) B n
More information6.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 informationFinite 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 informationNondeterministic 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 informationMath 4318 : Real Analysis II Mid-Term Exam 1 14 February 2013
Mth 4318 : Rel Anlysis II Mid-Tem Exm 1 14 Febuy 2013 Nme: Definitions: Tue/Flse: Poofs: 1. 2. 3. 4. 5. 6. Totl: Definitions nd Sttements of Theoems 1. (2 points) Fo function f(x) defined on (, b) nd fo
More informationSubsequence Automata with Default Transitions
Susequene Automt with Defult Trnsitions Philip Bille, Inge Li Gørtz, n Freerik Rye Skjoljensen Tehnil University of Denmrk {phi,inge,fskj}@tu.k Astrt. Let S e string of length n with hrters from n lphet
More information2.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 informationAnalysis of Variance for Multiple Factors
Multiple Fto ANOVA Notes Pge wo Fto Anlsis Anlsis of Vine fo Multiple Ftos Conside two ftos (tetments) A nd B with A done t levels nd B done t levels. Within given tetment omintion of A nd B levels, leled
More informationA 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 informationCARLETON 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 informationMinimal 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 informationU>, and is negative. Electric Potential Energy
Electic Potentil Enegy Think of gvittionl potentil enegy. When the lock is moved veticlly up ginst gvity, the gvittionl foce does negtive wok (you do positive wok), nd the potentil enegy (U) inceses. When
More informationExercise 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 informationCSE 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 informationOn the Eötvös effect
On the Eötvös effect Mugu B. Răuţ The im of this ppe is to popose new theoy bout the Eötvös effect. We develop mthemticl model which loud us bette undestnding of this effect. Fom the eqution of motion
More informationThis immediately suggests an inverse-square law for a "piece" of current along the line.
Electomgnetic Theoy (EMT) Pof Rui, UNC Asheville, doctophys on YouTube Chpte T Notes The iot-svt Lw T nvese-sque Lw fo Mgnetism Compe the mgnitude of the electic field t distnce wy fom n infinite line
More informationOn a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area
Journl of Grph Algorithms n Applitions http://jg.info/ vol. 13, no. 2, pp. 153 177 (2009) On Clss of Plnr Grphs with Stright-Line Gri Drwings on Liner Are M. Rezul Krim 1,2 M. Siur Rhmn 1 1 Deprtment of
More informationA 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 informationin the wost cse. (All logithms in this ppe e se logithms.) The est known soting metho, clle mege insetion y Knuth [9], is ue to Leste Fo J. n Selme Jo
On lowe ouns fo selecting the mein Doit Do John H st y Stn Ulfeg y Ui Zwick June 4, 997 Astct We pesent efomultion of the n+o(n) lowe oun of Bent n John fo the nume of compisons neee fo selecting the mein
More informationSymmetrical 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 informationFactorising 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 informationProject 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 informationwhere the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b
CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}
More informationReview of Mathematical Concepts
ENEE 322: Signls nd Systems view of Mthemticl Concepts This hndout contins ief eview of mthemticl concepts which e vitlly impotnt to ENEE 322: Signls nd Systems. Since this mteil is coveed in vious couses
More informationImportant design issues and engineering applications of SDOF system Frequency response Functions
Impotnt design issues nd engineeing pplictions of SDOF system Fequency esponse Functions The following desciptions show typicl questions elted to the design nd dynmic pefomnce of second-ode mechnicl system
More informationAnswers to test yourself questions
Answes to test youself questions opic Descibing fields Gm Gm Gm Gm he net field t is: g ( d / ) ( 4d / ) d d Gm Gm Gm Gm Gm Gm b he net potentil t is: V d / 4d / d 4d d d V e 4 7 9 49 J kg 7 7 Gm d b E
More informationImplication 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 informationAutomata 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 informationINTEGRATION. 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 informationGraph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}
Grph Theory Simple Grph G = (V, E). V ={verties}, E={eges}. h k g f e V={,,,,e,f,g,h,k} E={(,),(,g),(,h),(,k),(,),(,k),...,(h,k)} E =16. 1 Grph or Multi-Grph We llow loops n multiple eges. G = (V, E.ψ)
More information1 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 informationLecture 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 informationAn Analysis of the LRE-Algorithm using Sojourn Times
An Anlysis of the LRE-Algoithm using Sooun Times Nobet Th. Mülle Abteilung Infomtik Univesität Tie D-5486 Tie, Gemny E-mil: muelle@uni-tie.de Tel: ++49-65-0-845 Fx: ++49-65-0-3805 KEYWORDS Disete event
More informationOn Some Hadamard-Type Inequalıtıes for Convex Functıons
Aville t htt://vuedu/ Al Al Mth ISSN: 93-9466 Vol 9, Issue June 4, 388-4 Alictions nd Alied Mthetics: An Intentionl Jounl AAM On Soe Hdd-Tye Inequlıtıes o, Convex Functıons M Ein Özdei Detent o Mthetics
More informationOn 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 information1 From NFA to regular expression
Note 1: How to convert DFA/NFA to regulr expression Version: 1.0 S/EE 374, Fll 2017 Septemer 11, 2017 In this note, we show tht ny DFA cn e converted into regulr expression. Our construction would work
More informationPart 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