XPath Rewriting Using Multiple Views. Author. Published. Journal Title DOI. Copyright Statement. Downloaded from. Griffith Research Online

Size: px
Start display at page:

Download "XPath Rewriting Using Multiple Views. Author. Published. Journal Title DOI. Copyright Statement. Downloaded from. Griffith Research Online"

Transcription

1 XPth Rewriting Using Multiple Views Author Wng, Junhu, Yu, Jeffre Pulished 2008 Journl Title Leture Notes in Computer siene DOI Copright Sttement 2008 Springer Berlin / Heidelerg. This is the uthor-mnusript version of this pper. Reprodued in ordne with the opright poli of the pulisher. The originl pulition is ville t Downloded from Griffith Reserh Online

2 XPth rewriting using multiple views Junhu Wng 1 nd Jeffre Xu Yu 2 1 Griffith Universit, Gold Cost, Austrli J.Wng@griffith.edu.u 2 Chinese Universit of Hong Kong, Hong Kong, Chin u@se.uhk.edu.hk Astrt. We stud the prolem of tree pttern quer rewriting using multiple views for the lss of tree ptterns in P {//,[]}. Previous work hs onsidered the rewriting prolem using single view. We onsider two different ws of omining multiple views, define rewritings of tree pttern using these omintions, nd stud the reltionship etween them. We show tht when rewritings using single views do not eist, we m use suh omintions of multiple views to rewrite quer, nd even if rewritings using single views do eist, the rewritings using omintions of multiple views m provide more nswers thn those provided the union of the rewritings using the individul views. We lso stud properties of intersetions of tree ptterns, nd present lgorithms for finding rewritings using intersetions of views. 1 Introdution Quer rewriting using views hs mn pplitions inluding dt integrtion, quer optimiztion, quer hing, nd support of phsil dt independene [5]. Given quer, it studies finding nother quer using onl the views to produe orret nswers to the originl quer. In the literture, two tpes of quer rewritings re studied, nmel, equivlent rewritings nd ontined rewritings. Given view, V, nd quer, Q, n equivlent rewriting produes ll nswers to the originl quer Q using view V, wheres ontined rewriting m produe suset of the nswers to Q using V. Both tpes of rewritings hve een etensivel studied in the reltionl dtse ontet [5]. Reentl, ml quer rewriting hs ttrted ttention euse of the rising importne of ml dt [3, 14, 7, 6, 2, 9]. XPth lies in the enter of ll ml lnguges, where the mjor lsses of XPth epressions tht hve een studied re tree ptterns [1, 8]. Among previous work on rewriting XPth queries using views, Xu nd Ozsooglu [14] studied the ompleit of finding equivlent rewritings for four tpes of tree ptterns studied in [8] nd presented n pproh for finding nd minimizing suh rewritings. Mndhni nd Suiu [7] presented, in ddition to he orgniztion, n effiient ut inomplete method for finding equivlent rewritings of tree ptterns involving /, //, [] nd * when the ptterns re ssumed to e minimized nd m hve vlue-sed predites. In [6], Lkshmnn et l. studied miml ontined rewritings of tree ptterns where

3 pper setion setion n 1 referene pper susetion emple emple n 2 referene n 3 referene pper Fig. 1. Emple ml tree t pper oth the views nd queries re in P {//,[]}, oth in the sene nd in the presene of non-reursive, non-disjuntive dtds. As the nme implies, the miml ontined rewriting is rewriting tht ontins ll other ontined rewritings. All of the ove works fous on rewriting the quer using single view. In other words, no omintion of views is onsidered for the purpose of rewriting. In this pper we stud tree pttern rewriting using multiple views, nd our work is motivted the following oservtions. Suppose we hve set V of views nd the quer Q. Then 1. It is possile for Q to hve no ontined rewritings using n individul view in V, ut it n e (prtill) nswered using the omintion of some of the views. As simple emple, the quer Q = rtile[tle][figure]/uthor nnot e (prtill) nswered using either V 1 = rtile[tle]/uthor or V 2 = rtile[figure]/uthor, ut it n e nswered using V 1 V 2, whih is equivlent to Q. 2. Even if Q does hve ontined rewritings using V 1, nd/or Q does hve ontined rewritings using V 2, there m e ontined rewritings of Q using some omintion of V 1 nd V 2 (e.g., intersetion) whih provide stritl more nswers to Q thn the union of ll ontined rewritings of Q using the individul views. This is demonstrted Emple Even if quer Q does not hve n equivlent rewriting using V ording the onventionl definition of rewriting [6, 14, 7], it is still possile to find ll of the orret nswers to Q using V for ll ml trees. This is demonstrted in Emple 2. The emple elow demonstrtes oservtion 2. Emple 1. Consider the views V 1 = pper//susetion//referene, V 2 = pper//emple/referene nd the quer Q= pper//susetion//emple/referene//pper. It n e verified tht V 1 V 2 = pper//susetion//emple/referene, 2

4 d d e () Q d () V e () Q 1 d e (d) Q 1 V (e) Q 2 d (f) Q 2 V Fig. 2. Q hs no equivlent rewriting using V ording to onventionl definition, ut Q n e full nswered using V : Q 1 V Q 2 V = Q nd evluting the pttern referene//pper over the nswers of V 1 V 2 will produe the sme nswers s Q, tht is, referene//pper is n equivlent rewriting of Q using V 1 V 2. However, the miml ontined rewriting of Q using V 1 is referene//emple/referene//pper, nd the miml ontined rewriting of Q using V 2 is referene//susetion//emple/referene//pper. As we show net, the rewriting using V 1 V 2 produes stritl more nswers thn the union of the nswers produed the miml ontined rewritings using V 1 nd V 2 individull. For the ml tree t shown in Fig.1, evluting V 1 over t produes (the sutrees rooted t) n 1 nd n 2, nd evluting V 2 over t produes (the sutrees rooted t) n 2 nd n 3. Therefore, the miml ontined rewriting using V 1 or V 2 will produe no nswers for Q, ut the rewriting using V 1 V 2 will produe the pper node under n 2. The net emple demonstrtes oservtion 3. Emple 2. Consider the quer Q nd view V shown in Fig.2 () nd () respetivel. It n e verified tht Q hs no equivlent rewritings using V ording to the onventionl definition. But given n ml tree t, we n find Q(t) using the view s follows. We evlute the quer Q 1 = /[e]/ over the sutrees in V (t), nd denote the results s Q 1 (V (t)); we then evlute Q 2 = / over the sutrees in V (t), nd otining set denoted s Q 2 (V (t)). Finll, we tke the intersetion of Q 1 (V (t)) nd Q 2 (V (t)). It n e verified tht Q(t) = Q 1 (V (t)) Q 2 (V (t)). We will stud ontined nd equivlent rewritings of tree ptterns in P {//,[]} using multiple views in the sene nd presene of dtds, with the intersetion nd union opertions. Our min ontriutions re summrized elow. We define (ontined nd equivlent) rewritings of tree pttern using two different omintions of views, nd show the reltionship etween these rewritings. 3

5 We show the intersetion of some tree ptterns, if not empt, n e epressed s the union of tree ptterns, nd provide n effiient lgorithm to trnslte the intersetion into union. Bsed on the ove, we provide lgorithms for finding the miml ontined rewritings nd equivlent rewritings using the intersetion of views. We lso show the effet of n non-reursive dtd on the rewritings. The rest of the pper is orgnized s follows. Setion 2 provides the kground nd nottions. Setion 3 presents the lgorithm for reformulting intersetions of tree ptterns into union, nd studies rewritings using the intersetion of views. Setion 4 defines rewritings using different omintion views, nd ompre them with rewritings using the intersetion. Setion 5 onsiders the effets of non-reursive dtds. Setion 6 surves relted work. Finll Setion 7 onludes the pper. 2 Preliminries 2.1 XML trees nd tree ptterns Let Σ e n infinite set of tgs. An ml tree is tree suh tht ever node is leled with tg in Σ. A tree pttern (TP) is tree with unique distinguished node, nd with ever node leled with tg in Σ, nd ever edge leled with either / or //. Suh TP orresponds to n XPth epression involving the hild is, desendnt is, nd rnhing ondition []. A tree pttern hs tree representtion. Fig.2 show severl TPs, nd the TP in Fig.2 () represents the XPth epression //[]/[]/[d]. Here, single nd doule lines represent /- edges nd //-edges respetivel. The distinguished node is indited irle. Note: the TPs in our disussion orrespond to the frgment P {//,[]} defined in [8]. A suset of P {//,[]}, denoted P {//}, ontins ll TPs tht hs single root-to-lef pth. Let T e n ml tree or TP, nd v e node in T. We will use N(T ) to denote the set of ll nodes in T, rt(t ) to denote the root of T, nd lel(v) to denote the lel of v. For n TP P, DN P nd DP P denote, respetivel, the distinguished node nd distinguished pth of P (i.e., the pth from rt(p ) to DN P ). A mthing of TP, P, in n ml tree, t, is mpping δ from N(P ) to N(t) stisfing the following onditions: (1) root-preserving, i.e., δ(rt(p )) = rt(t), (2) lel-preserving, i.e., v N(P ), lel(v) = lel(δ(v)), nd (3) struturepreserving, i.e., for ever edge (, ) in P, if it is /-edge, then δ() is hild of δ(); if it is //-edge, then δ() is desendnt of δ(), i.e, there is pth from δ() to δ(). Eh mthing δ produes sutree of t rooted t δ(dn P ), denoted su t δ(dn P ), whih is lled n nswer to the TP. We use P (t) to denote the nswer set of P on t: P (t) = {su t δ(dn P ) δ is mthing of P in t}. Let T e set of ml trees. We use P (T ) to denote the union of nswer sets of Q on the trees in T. Tht is, P (T ) = t T P (t). 4

6 2.2 Intersetion nd etension of TPs Two tree ptterns, P nd Q, re sid to e omprle if lel(rt(p )) = lel(rt(q)) nd lel(dn P ) = lel(dn Q ). Let P 1,..., P n e omprle TPs. For n XML tree t, the intersetion of P 1,..., P n, denoted P 1 P n, returns P 1 (t) P n (t). The union of P 1,..., P n, denoted P 1 P n, returns P 1 (t) P n (t). Let P nd Q e TPs suh tht lel(dn P ) = lel(rt(q)). The etension of P using Q, denoted Q P, is the TP otined merging DN P with rt(q). The distinguished node of Q P is DN Q. Fig.2 (d) shows the etension of V (Fig.2 ()) using Q 1 (Fig.2 ()). It is es to see tht, for n ml tree t, (Q P )(t) = Q(P (t)), tht is, (Q P )(t) is equivlent to the union of nswer sets of Q on the sutrees in P (t). Let P 1,..., P n e omprle TPs, nd Q e TP suh tht rt(q) nd DN Vi hve identil lels. We denote Q (P 1 P n ) the etension of P 1 P n using Q, whih returns, for n t, Q(P 1 (t) P n (t)). 2.3 TP ontinment Let P nd Q e TPs. P is sid to e ontined in Q, denoted P Q, if for ever ml tree t, P (t) Q(t). It is shown in [1] tht P Q iff there is ontinment mpping from Q to P. Rell: A ontinment mpping (CM) from Q to P is mpping δ from N(Q) to N(P ) tht is lel-preserving, root-preserving s disussed in the lst setion, struture-preserving (whih now mens for n /-edge (,) in Q, (δ(), δ()) is /-edge in P, nd for n //-edge (, ), there is pth from δ() to δ() in P ) nd is output-preserving, whih mens δ(dn Q ) = DN P. A homomorphism from Q to P is similr to CM, eept there is no requirement of output-preserving. The following lemm is proved in [13]. Lemm 1. For TPs P 1,..., P n, P P {//,[]}, P P 1 P n i [1, n] suh tht P P i. iff there is 3 TP rewriting using intersetions of views A view is n eisting TP. We define rewritings using intersetions of views s follows. Definition 1. Let Q e quer, nd V 1,..., V n e omprle views. If V 1 V n is non-empt, nd there eists Q suh tht lel(rt(q )) = lel(dn V1 ), nd Q (V 1 V n ) Q, then we s Q (V 1 V n ) is ontined rewriting (CR) of Q using V 1 V n. If Q (V 1 V n ) = Q, we s Q is n equivlent rewriting (ER) using V. The miml ontined rewriting (MCR) of Q using V 1 V n, denoted MCR(Q, V 1 V n ), is the union of ll CRs of Q using V 1 V n. Note tht when n = 1, the ove definition redues to those in [6] (CR nd MCR) nd [14] (ER). 5

7 3.1 Properties of intersetions In this setion we identif onditions under whih the intersetion of TPs re not empt, nd present lgorithms to trnslte the intersetion into the union of TPs. We present these results using two TPs. Generliztion to more TPs is simple. In mn ses the intersetion of two TPs P nd Q is n empt quer, tht is, it lws returns the empt set. For emple, when P = // nd Q = ///. The question rises: when is P Q non-empt quer? We hve the follow nswer to this question. Lemm 2. P Q is non-empt iff there is pth P in P {//} suh tht P DP P, nd P DP Q. The lemm is true euse, when there is no dtd, ever TP is non-empt, nd P Q is non-empt iff DP P DP Q is non-empt. Let s ll the pth P in lemm 2 ommon distinguished pth of P nd Q. If DP P nd DP Q do not hve //-edges, then onl when DP P = DP Q there is CDP of P nd Q, whih is DP P itself. However, if DP P nd DP Q do hve //-edges, then there m e (infinitel) mn CDPs of P nd Q. For emple, if P = //[]//, Q = //[]//, then P nd Q hve the CDPs ////, //////, //////// nd so on. But there re onl finite numer of CDPs tht re of interest to us. These CDPs re nnotted to form nnotted CDPs. Definition 2. Let P nd Q e omprle TPs in P {//,[]}. An nnotted CDP (ACDP) of P nd Q is CDP P of P nd Q suh tht (1) ever node in P is nnotted with either 1, or 2, or oth, (2) there is (unique) CM m P from DP P to P suh tht ever node in DP P is mpped node nnotted with 1 (or oth 1 nd 2), nd for ever node v in P nnotted with 1 (or oth 1 nd 2), there is unique node u in DP P suh tht m P (u) = v, (3) there is (unique) CM m Q from DP Q to P suh tht ever node in DP Q is mpped node nnotted with 2 (or oth 1 nd 2), nd for ever node v in P nnotted with 2 (or oth 1 nd 2), there is unique node u in DP Q suh tht m Q (u) = v. Intuitivel, n ACDP of P nd Q is pth in P {//} whih ontins etl one op of DP P nd one op of DP Q (the nodes nnotted with 1 form op of DP P, nd the nodes nnotted with 2 form op of DP Q ) nd ever node ppers in t lest one of the opies. Fig.3 shows ll ACDPs of P = //[]// nd Q = //[]//. Net we present n lgorithm tht finds ll ACDPs of P nd Q. Let P 1 = DP P nd P 2 = DP Q. We n find ll ACDPs of P nd Q lling the funtion merge(p 1, P 2 ). In the funtion, position in P j refers to either node or //-edge in P j. Eh position in P j is given unique position numer, with the position numer of rt(p j ) eing 0, nd eh susequent position s position numer inreses 1. The funtion merge(p i, P j ) finds the ACDPs of P i nd P j inserting the nodes of P i into P j. To do so, it needs to find position, 6

8 1,2 1,2 1,2 1, ,2 1, ,2 Fig. 3. ACDPs of //[]// nd //[]// in P j, for ever node in P i. There re three stges in the proess. The first stge (lines 1-6) is to sn P i top-down, mrking eh node v in P i with set of mrkings. Eh mrking is of the form {s : A(v, s)} (eept for rt(p i ), whih is mrked {0}), where s is position, nd A(v, s) is set of positions. The mening of this mrking is tht if prent(v) is merged into P j in position s, then the possile positions where v n e inserted in P j re those in A(v, s). The riterion to hoose the positions in A(v, s) is lel-preservtion nd struturepreservtion. The seond stge (lines 8-10) removes the impossile positions from the mrkings, going from ottom-up. The onl possile position for DN Pi is the lst position in P j. Bsed on struture-preservtion, if impossile positions for v re found nd deleted, then impossile positions for prent(v) m e found nd deleted. In the lst stge (lines 13-29), if ever node hs possile position, we pik position s v for eh node v in P i ording to the mrkings, nd onstrut ACDP. For eh omintion of positions (eh omintion hs one position for ever node in P i ) there is ACDP onstruted. Finll the funtion returns ll ACDP onstruted this w. Emple 3. Let P 1 = ///// nd P 2 = //////. Fig.4 shows the proess of running merge(p 1, P 2 ). First, we identif nd lel eh position in P 2. There re 7 positions leled 0, 1,..., 6, s shown in the figure. In stge 1, we mrk eh node in P 2 with its possile positions. The -node is mrked {0}. If the -node is put in position 0, then the possile positions of the net node re 1,2,3,4,5. Therefore, the first -node is mrked with (0 : {1, 2, 3, 4, 5}). If the -node is put to position 1, then the net node m e put to positions 1,3 or 5, to preserve lel nd struture of P i. If the -node is put to position 2, then the possile positions for its hild re 3 nd 5,..., if the -node is put to position 5, then its hild must e put to position 5 (fter the -node). Therefore, the hild of the -node is mrked with the mrkings s shown in the figure. Finll, the lst node of P 1 must e put to the lst position, position 6, in P 2. Thus if its prent is put to position 1 or 3, then there re no possile positions for it. If its prent is put to position 5, the it n go to position 6. This eplins the mrkings of the lst node of P 1. In stge 2, we remove the impossile positions in the mrkings. Beuse position 1 nd 3 of the first -node prohiits the seond -node to e put in position 6 (s indited the mrkings (1, {}) nd (3, {}), we know 7

9 Algorithm 1 merge(p i, P j) 1: let pos(rt(p i )) = {0}, S = 2: for ever susequent node v in P i do 3: for ll s pos(prent(v)) do 4: let position(v, s) = Find Position(v, P i, s, P j ) 5: mrk v with (s : position(v, s)) 6: let pos(v) = position(v, s) s pos(prent(v)) 7: if pos(v) = then return 8: for eh node v in P i (strting from v = DN Pi ) do 9: while mrking (s : position(v, s)) for v suh tht position(v, s) = do 10: delete s from position(prent(v), s ) for ll s 11: if pos(v) = return 12: for eh node v in P i hoose position s v from its mrkings. Initill, v = rt(p i) nd s v = 0. For eh susequent node v, pik position from position(v, s prent(v) ) 13: for eh omintion of positions found ove do 14: let P = P j, nnotte ever node with j 15: for v in P i do 16: if position s v points to node u in P then 17: nnotte u with i. 18: if prt(u) is nnotted with i or i, j nd (prent(v), v) is /-edge then 19: hnge (prt(u), u) to /-edge 20: else if position s v represents //-edge (u 1, u 2) in P then 21: insert lel(v)-node u 0 etween u 1 nd u 2 22: if u 1 is nnotted with i or i, j then 23: let edge (u 1, u 0 ) e of the sme tpe s (prent(v), v) 24: else 25: let edge (u 1, u 0) e of tpe // 26: let edge (u 0, u 2 ) e of tpe //; let position s v point to this edge (u 0, u 2 ) 27: dd P to S 28: return S positions 1 nd 3 re impossile for the first -node. Thus we delete them from its mrkings. In stge 3, for eh omintion of the positions, we onstrut n ACDP. A omintion of position is mde of position for eh node in P 1. In this emple, the omintions of positions re (0,1,5,6), (0,2,5,6),..., (0,5,5,6). We use (0,5,5,6) to eplin the onstrution proess. Initill P = P 2 nd ever node in P is nnotted with 2. Position 0 points to the root of P 2, therefore we nnotte rt(p 1 ) with 1. Position 5 points to //-edge, therefore we insert n -node, 0, in this position nd nnotte this node with 1. The edge (, 0 ) nd ( 0, ) re to e of tpe // in this se. Now position 5 points to the edge ( 0, ). Sine the position for the net node is lso 5, we insert nother -node, 1, etween 0 nd, nd nnotte 1 with 1. The lst node of P 1 hs position 6, so we nnotte the -node in P 2 with 1. Sine 1 is nnotted with 1, we n hnge the the edge tpe of ( 1, ) to tht of the orresponding edge in P 1, in this se, /. The resulting P is ACDP: it is 1,2 // 2 // 2 // 1 // 1 / 1,2, where the supersripts indite the nnottion. The ACDPs onstruted using other omintions re: 1,2 // 1 // 2 // 2 // 1 / 1,2, 1,2 // 1,2 // 2 // 1 / 1,2, 1,2 // 2 // 1 // 2 // 1 / 1,2, nd 1,2 // 2 // 1,2 // 1 / 1,2. Numer of ACDPs. Let n nd m e the numer of edges in P i nd P j respetivel, nd f(m, n) e the worst-se numer of ACDPs of P i nd P j (whih ours when ll nodes in P i nd P j hve the sme lel, nd ll edges re //-edges). The following theorem n e proved using indution on m nd n. 8

10 Algorithm 2 Find Position(v, P i, s, P j) 1: if s is node u in P j then 2: if (prent(v), v) is //-edge then 3: let A onsist of ll //-edges fter u nd ll nodes leled lel(v) fter u. 4: else if (prent(v), v) is /-edge then 5: if u hs hild u then 6: if (u, u ) is //-edge then dd this //-edge to A 7: if lel(u ) = lel(v) then dd u to A 8: if s is //-edge (u 1, u 2 ) in P j then 9: dd s to A 10: if (prent(v), v) is //-edge then 11: dd ll //-edges fter u 2 nd ll nodes leled lel(v) fter u 1 to A 12: if (prent(v), v) is /-edge nd lel(u 2 ) = lel(v) then dd u 2 to A 13: if v is the lst node in P i then 14: delete from A ll positions eept tht of DN Pj 15: return A 0 1 {0} 2 (0:{1, 2, 3, 4, 5}) 3 4 (1:{1, 3, 5}), (2:{3, 5}), (3:{3, 5}), (4:{5}), (5:{5}) 5 6 (1:{} ), (3:{}), (5:{6}). p 2 p 1 Fig. 4. Finding ADCPs of P 1 nd P 2 Theorem 1. f(m, n) = f(n, m), whih n e lulted reursivel s follows: f(m, n) = f(m 1, n) + 2(f(m 1, n 1) + f(m 1, n 2) + + f(m 1, 1)). For emple, f(m, 1) = 1, f(2, 2) = 3, f(3, 2) = 5, f(3, 3) = 13, f(4, 3) = 25, f(4, 4) = 63 nd so on. Thus f(m, n) grows eponentill in generl. However, in most prtil ses, the numer of ACDPs is muh smller thn f(m, n). Compleit. Algorithm merge(p i, P j ) runs in O( P i P j 2 ), where P i is the numer of nodes in P i : funtion Find Position runs in O( P j ), the topdown sn visits eh node in P i one, nd for eh node in P i, the funtion Find Position is lled t most 2 P j times. The ottom-up sn nd the onstrution of ACDPs n e done in O( P i P j ). Let P e TP in P {//,[]}. For ever node v in P, we use P v to denote the supttern of P rooted t v. Let v e node in DP P, nd u e the hild of v on DP P (if u eists). We ll the supttern otined removing P u from P v the rnhing sutree t v. For emple, in Fig.5 (), the rnhing sutrees re indited the dotted ovl. Net we define merged TPs (MTPs) of P 1 nd P 2. Definition 3. Let P 1 nd P 2 e omprle TPs, nd P e n ACDP of P 1 nd P 2. Let δ i e the unique CM from P i to P tht mps ever node in P i to node in P nnotted with i. The merged TP (MTP) of P 1 nd P 2 wrt to P is the 9

11 z z () P 1 () P 2 z z () MTP Fig. 5. TPs P 1, P 2 nd the MTP of P 1, P 2 TP otined s follows: for ever node v in P i, dd the rnhing sutree t v i under δ i (v i ). Fig.5 () shows the onl MTP of the TPs in Figures 5 () nd (). The following theorem is strightforwrd. Theorem 2. Let P 1 nd P 2 e TPs in P {//,[]}. The union of ll MTPs of P 1 nd P 2 is equivlent to P 1 P 2. Note lso tht the suptterns of the MTPs rooted t the distinguished nodes re ll identil. 3.2 Finding MCRs using V 1 V 2 Let Q e the quer nd V 1 nd V 2 e omprle views. We ssume V 1 V 2 is not empt, nd V 1 V 2, V 2 V 1. Suppose V 1 V 2 is equivlent to V 1 V k. Clerl Q (V 1 V 2 ) Q if nd onl if Q V i Q for ll i [1, k]. In other words, Q is CR of Q using V 1 V 2 iff it is CR of Q using V i for ll i [1, k]. Therefore, to find the MCR of Q using V 1 V 2, we n find the MCR of Q using eh V i nd interset them. Tht is, () V 1 MCR(Q, V 1 V 2 ) = () V 2 () V 1 k i=1 (d) V 2 MCR(Q, V i ). z (e) Q Fig. 6. Finding MCR using intersetion Emple 4. Consider the views V 1, V 2, V 1, V 2 nd the quer Q in Fig.6. V 1 V 2 = V 1 V 2. We find the MCR of Q using V 1, whih is /z, nd the MCR of Q using V 2, whih is lso /z. Thus /z is the MCR of Q using V 1 V 2. 10

12 Algorithm 3 Finding equivlent rewriting 1: for i = 1 to n do 2: if eists node v suh tht DP v Q is isomorphi to pi then 3: if su v Q V i = Q then 4: if j [1, k], su v Q V j Q then 5: return su v Q 3.3 Finding ERs using V 1 V 2 Suppose Q hs n ER Q using V 1 V 2, nd V 1 V 2 = V 1 V k, tht is, Q (V 1 V k ) = Q. B Lemm 1, there eists i [1, k], suh tht Q V i = Q. Hene for ll j [1, k], Q V j Q V i, nd thus there is CM from Q V i to Q V j, so the length of DP V i nnot e longer thn tht of DP V j. Furthermore, DP Q V i is isomorphi to DP Q, nd the supttern of Q rooted t the node tht orresponds to DN V i, is n ER of Q using V i ( Lemm 4.8 of [14]). Using the properties ove, we provide heuristi lgorithm, Algorithm 3, for finding ERs using V 1 V 2. In the lgorithm, we ssume p 1,, p n (n k) re the shortest ACDPs of V 1 nd V 2, nd the orresponding MTPs re V 1,, V n 3. For n node v on DP Q, the pth from rt(q) to v is denoted DP v Q, nd the supttern rooted t v is denoted su v Q. The si ide of the lgorithm is s follows. For eh shortest ACDP p i, we first hek whether it is isomorphi to some DP v Q, if not, there is no ER using V i ; if es, we further hek whether suv Q is n ER using V i. If es, we further hek whether the etension of ll other MTPs of V 1 nd V 2 with su v Q re ontined in V i. If es, su v Q is returned s n ER of Q using V 1 V 2. Let u e node on the distinguished pth of V. We use V (u) to denote the pttern otined from V removing ll desendnts of u nd mking u the distinguished node, nd V to denote V (DN V ). It is es to prove the following theorem. Theorem 3. (1) Suppose V 1 V 2 = V 1 V n. If Q hs n ER using V 1 V 2, then there is i [1, n] suh tht (i) V i hs the shortest distinguished pth mong V 1,..., V n, (ii) for ll j [1, n], there eists u j in DP V j suh tht V (uj) j V i. (2) Algorithm 3 finds the ER if it eists. Emple 5. (1) Consider the views in Fig.6. Sine V 1 V 2 = V 1 V 2, DP V 1 is 2 suh shorter thn DP V 2, nd there is no node u on the distinguished pth of V tht V (u) 2 V 1, we know there is no ER of Q using V 1 V 2 for n Q. (2) Consider the two views V 1 nd V 2 in Fig.7. There re two MTPs V 1 nd V 2, nd V 2 V 1. Therefore, V 1 V 2 = V 1. For n TP Q, Q is n ER of Q using V 1 V 2 iff Q is n ER using V 1. 3 Note tht lthough there m e mn ACDPs of V 1 nd V 2, usull there re few shortest ones. 11

13 () V 1 () V 2 () V 1 (d) V 2 Fig. 7. Emple for illustrting ER using intersetion 4 Rewriting using other omintions of views We now define seond tpe of rewritings of Q using multiple views tht does not require the views to e omprle. Definition 4. Let V 1,..., V n e some views with identil root lel (possil V i = V j for some i, j), nd Q e quer. If there re TPs Q 1,..., Q n suh tht n i=1 (Q i V i ) Q, nd n i=1 (Q i V i ) is non-empt, then we s Q 1,..., Q n is ontined rewriting of Q using V 1,..., V n. If n i=1 (Q i V i ) Q lso holds, we ll the CR n equivlent rewriting. Intuitivel, if there is ontined rewriting n i=1 (Q i V i ), then to prtill nswer Q over t, we n evlute Q i over V i (t) nd then find the intersetion n i=1 Q i(v i (t)). Note tht, when n = 1, the definition redues to tht in [6] (CR nd MCR) nd [14]. 4.1 Reltionship etween rewritings using V 1, V 2 nd rewritings using V 1 V 2 First, it is es to prove the following lemm. Lemm 3. Let V 1 nd V 2 e omprle views. Then Q (V 1 V 2 ) (Q V 1 ) (Q V 2 ). However, generll Q (V 1 V 2 ) (Q V 1 ) (Q V 2 ). Consider V 1 = /// nd V 2 = ///, nd Q = //z. Clerl V 1 V 2 =, hene Q (V 1 V 2 ) =. However, (Q V 1 ) (Q V 1 ). This emple lso shows tht sometimes even if V 1 V 2 is empt, it is still possile to hve CRs of Q using V 1, V 2, lthough there re lerl no CRs of Q using V 1 V 2. The net lemm identifies some speil ses where Q (V 1 V 2 ) = (Q V 1 ) (Q V 2 ). Lemm 4. Let V 1 nd V 2 e omprle views. If one of the following onditions holds, then Q (V 1 V 2 ) = (Q V 1 ) (Q V 2 ). (1) DP V1 = DP V2, nd ll edges in DP V1 re /-edges. (2) Ever edge in DP Q is /-edge. (3) V 1 V 2 or V 2 V 1. 12

14 Using the ove lemms, we n prove the following theorem: Theorem 4. Let V 1, V 2 e omprle views. For n quer Q, if there is CR of Q using V 1 V 2, then there is CR of Q using V 1, V 2. Note tht the ove theorem does not s there is CR using V 1, V 2 whih ontins the CR using V 1 V 2. The net emple shows tht it is possile for Q to hve CR using V 1 V 2, nd this rewriting is not ontined in n CRs of Q using V 1, V 2. Emple 6. Let V 1 = ////z, V 2 = ///z, nd Q = /////z//. It n e verified tht V 1 V 2 = /////z. Now let Q = z//, then Q (V 1 V 2 ) = Q. Thus Q is n ER of Q using V 1 V 2. If there re Q 1 nd Q 2 suh tht (Q 1 V 1 ) (Q 2 V 2 ) Q, then DP Q1 must e z/ or z//, nd DP Q2 must e z/ or z//, euse rt(q i ) must e leled z nd DN Qi must e leled. One n verif tht if DP Q2 = z//, then (Q 1 V 1 ) (Q 2 V 2 ) is not ontined in Q, nd if DP Q2 = z/, then (Q 1 V 1 ) (Q 2 V 2 ) is not equivlent to Q either. 5 The presene of non-reursive dtds In the following, we ssume ever TP P is stisfile under non-reursive dtd G, tht is, there is n ml tree t whih onforms to G, nd P (t). In the presene of G, no lel in n XML tree n pper in pth more thn one. Thus n TP tht is stisfile under G nnot hve pth tht ontins two or more nodes with the sme lel. Therefore, for n omprle views V 1 nd V 2, there is t most one ACDP of V 1 nd V 2, nd t most one MTP of V 1 nd V 2. In other words, V 1 V 2 is equivlent to single TP V under G. Therefore, to find the MCR or ER of Q using V 1 V 2, we onl need find the MCR or ER of Q using V, nd this n e done using the method of [6]. Furthermore, we n prove (see full version of this pper) the following theorem, whih implies tht, in the presene of G, Q is CR using V 1 V 2 iff Q, Q is CR of Q using V 1, V 2. Theorem 5. Let V 1 nd V 2 e omprle views, nd lel(rt(q )) = lel(dn V1 ). In the presene of G, Q (V 1 V 2 ) is equivlent to (Q V 1 ) (Q V 2 ). 6 More relted work Besides the reent works disussed in Setion 1, severl other ppers delt with tree pttern quer rewriting. In prtiulr, [10] studied the prolem of quer nswerilit using views for generl XPth queries, tht is, given Q nd V 1,, V n, whether there re Q 1,, Q n suh tht Q 1 V 1 Q n V n = Q. [3] ddressed the prolem of nswering XPth queries using single mterilized view where, for the view, omintion of node referenes, tped dt vlues, nd full pths m e stored. However, the w in whih quer is nswered using the view 13

15 is different from ours (nd those in Setion 1): one n follow node referenes to go to the originl doument, so the originl ml tree nnot e disrded. [2] studied different tpe of equivlent rewriting using multiple views in the presene of struturl summries nd integrit onstrints: the nswer sets of the views re nodes rther thn sutrees, nd the nswers to the new quer re otined omining nswers to the views through numer of lgeri opertions. [11] studied orret rewritings of TPs, using single view, whih n e seen s speil form of ontined rewritings. [4] ttempted to speed-up the finding of MCRs using single views omining the views into single tree. [12] studied equivlentl nswering XPth queries using multiple views sed on the ssumption tht the Dewe odes re stored in the mterilized views so tht the ommon nestors of nodes in different views n e found. Our work is lerl different from ll of the ove. 7 Conlusion We studied the prolem of rewriting TP queries using multiple views for the lss P {//,[]}, nd defined rewritings using two different omintions of views. We studied the reltionship etween the two tpes of rewritings nd presented effiient lgorithms to reformulte the intersetion of TPs into union of TPs, s well s lgorithms for finding the MCRs nd ERs using intersetions of views. Our definitions nd lgorithms enle us to mke etter use of the views in order to nswer quer. Aknowledgement This work is prtill supported Griffith Universit New Reserher s Grnt (GUNRG36621) nd grnt from the Reserh Grnt Counil of the Hong Kong Speil Administrtive Region, Chin (CUHK418205). The uthors re grteful for helpful omments Professor Rodne Topor. Referenes 1. S. Amer-Yhi, S. Cho, L. V. S. Lkshmnn, nd D. Srivstv. Minimiztion of tree pttern queries. In SIGMOD, A. Arion, V. Benzken, I. Mnolesu, nd Y. Ppkonstntinou. Strutured mterilized views for XML queries. In VLDB, A. Blmin, F. Özn, K. S. Beer, R. Cohrne, nd H. Pirhesh. A frmework for using mterilized XPth views in XML quer proessing. In VLDB, J. Go, T. Wng, nd D. Yng. MQTree sed quer rewriting over multiple XML views. In DEXA, A. Y. Hlev. Answering queries using views: A surve. VLDB J., 10(4), L. V. S. Lkshmnn, H. Wng, nd Z. J. Zho. Answering tree pttern queries using views. In VLDB, B. Mndhni nd D. Suiu. Quer hing nd view seletion for XML dtses. In VLDB, G. Miklu nd D. Suiu. Continment nd equivlene for n XPth frgment. In PODS,

16 9. N. Onose, A. Deutsh, Y. Ppkonstntinou, nd E. Curtmol. Rewriting nested XML queries using nested views. In SIGMOD, K. Tjim nd Y. Fukui. Answering XPth queries over networks sending miniml views. In VLDB, J. Tng nd S. Zhou. A theoreti frmework for nswering XPth queries using views. In XSm, N. Tng, J. X. Yu, M. T. Özsu, B. Choi, nd K.-F. Wong. Multiple mterilized view seletion for pth quer rewriting. In ICDE, J. Wng, J. X. Yu, nd C. Liu. On tree pttern rewriting using views. In WISE, W. Xu nd Z. M. Özsooglu. Rewriting XPth queries using mterilized views. In VLDB,

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

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

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

More information

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18 Computt onl Biology Leture 18 Genome Rerrngements Finding preserved genes We hve seen before how to rerrnge genome to obtin nother one bsed on: Reversls Knowledge of preserved bloks (or genes) Now we re

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

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

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

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

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

Core 2 Logarithms and exponentials. Section 1: Introduction to logarithms

Core 2 Logarithms and exponentials. Section 1: Introduction to logarithms Core Logrithms nd eponentils Setion : Introdution to logrithms Notes nd Emples These notes ontin subsetions on Indies nd logrithms The lws of logrithms Eponentil funtions This is n emple resoure from MEI

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

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

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

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

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

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

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS #A42 INTEGERS 11 (2011 ON THE CONDITIONED BINOMIAL COEFFICIENTS Liqun To Shool of Mthemtil Sienes, Luoyng Norml University, Luoyng, Chin lqto@lynuedun Reeived: 12/24/10, Revised: 5/11/11, Aepted: 5/16/11,

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

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

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

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

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

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

More information

= 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

AVL Trees. D Oisín Kidney. August 2, 2018

AVL Trees. D Oisín Kidney. August 2, 2018 AVL Trees D Oisín Kidne August 2, 2018 Astrt This is verified implementtion of AVL trees in Agd, tking ides primril from Conor MBride s pper How to Keep Your Neighours in Order [2] nd the Agd stndrd lirr

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

Comparing the Pre-image and Image of a Dilation

Comparing the Pre-image and Image of a Dilation hpter Summry Key Terms Postultes nd Theorems similr tringles (.1) inluded ngle (.2) inluded side (.2) geometri men (.) indiret mesurement (.6) ngle-ngle Similrity Theorem (.2) Side-Side-Side Similrity

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

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

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

Logarithms LOGARITHMS.

Logarithms LOGARITHMS. Logrithms LOGARITHMS www.mthletis.om.u Logrithms LOGARITHMS Logrithms re nother method to lulte nd work with eponents. Answer these questions, efore working through this unit. I used to think: In the

More information

Chapter Gauss Quadrature Rule of Integration

Chapter Gauss Quadrature Rule of Integration Chpter 7. Guss Qudrture Rule o Integrtion Ater reding this hpter, you should e le to:. derive the Guss qudrture method or integrtion nd e le to use it to solve prolems, nd. use Guss qudrture method to

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

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1.

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1. Exerise Genertor polynomils of onvolutionl ode, given in binry form, re g, g j g. ) Sketh the enoding iruit. b) Sketh the stte digrm. ) Find the trnsfer funtion T. d) Wht is the minimum free distne of

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

The Double Integral. The Riemann sum of a function f (x; y) over this partition of [a; b] [c; d] is. f (r j ; t k ) x j y k

The Double Integral. The Riemann sum of a function f (x; y) over this partition of [a; b] [c; d] is. f (r j ; t k ) x j y k The Double Integrl De nition of the Integrl Iterted integrls re used primrily s tool for omputing double integrls, where double integrl is n integrl of f (; y) over region : In this setion, we de ne double

More information

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4. Mth 5 Tutoril Week 1 - Jnury 1 1 Nme Setion Tutoril Worksheet 1. Find ll solutions to the liner system by following the given steps x + y + z = x + y + z = 4. y + z = Step 1. Write down the rgumented mtrix

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

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

5. Every rational number have either terminating or repeating (recurring) decimal representation.

5. Every rational number have either terminating or repeating (recurring) decimal representation. CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd

More information

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.) CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts

More information

are coplanar. ˆ ˆ ˆ and iˆ

are coplanar. ˆ ˆ ˆ and iˆ SML QUSTION Clss XII Mthemtis Time llowed: hrs Mimum Mrks: Generl Instrutions: i ll questions re ompulsor ii The question pper onsists of 6 questions divided into three Setions, B nd C iii Question No

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

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

The Ellipse. is larger than the other.

The Ellipse. is larger than the other. The Ellipse Appolonius of Perg (5 B.C.) disovered tht interseting right irulr one ll the w through with plne slnted ut is not perpendiulr to the is, the intersetion provides resulting urve (oni setion)

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

Reference : Croft & Davison, Chapter 12, Blocks 1,2. A matrix ti is a rectangular array or block of numbers usually enclosed in brackets.

Reference : Croft & Davison, Chapter 12, Blocks 1,2. A matrix ti is a rectangular array or block of numbers usually enclosed in brackets. I MATRIX ALGEBRA INTRODUCTION TO MATRICES Referene : Croft & Dvison, Chpter, Blos, A mtri ti is retngulr rr or lo of numers usull enlosed in rets. A m n mtri hs m rows nd n olumns. Mtri Alger Pge If the

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

CS241 Week 6 Tutorial Solutions

CS241 Week 6 Tutorial Solutions 241 Week 6 Tutoril olutions Lnguges: nning & ontext-free Grmmrs Winter 2018 1 nning Exerises 1. 0x0x0xd HEXINT 0x0 I x0xd 2. 0xend--- HEXINT 0xe I nd ER -- MINU - 3. 1234-120x INT 1234 INT -120 I x 4.

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

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

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

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

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

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

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

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

More information

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

H (2a, a) (u 2a) 2 (E) Show that u v 4a. Explain why this implies that u v 4a, with equality if and only u a if u v 2a.

H (2a, a) (u 2a) 2 (E) Show that u v 4a. Explain why this implies that u v 4a, with equality if and only u a if u v 2a. Chpter Review 89 IGURE ol hord GH of the prol 4. G u v H (, ) (A) Use the distne formul to show tht u. (B) Show tht G nd H lie on the line m, where m ( )/( ). (C) Solve m for nd sustitute in 4, otining

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

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES PAIR OF LINEAR EQUATIONS IN TWO VARIABLES. Two liner equtions in the sme two vriles re lled pir of liner equtions in two vriles. The most generl form of pir of liner equtions is x + y + 0 x + y + 0 where,,,,,,

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

Section 4.4. Green s Theorem

Section 4.4. Green s Theorem The Clulus of Funtions of Severl Vriles Setion 4.4 Green s Theorem Green s theorem is n exmple from fmily of theorems whih onnet line integrls (nd their higher-dimensionl nlogues) with the definite integrls

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

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

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

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

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

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

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

Section 4: Integration ECO4112F 2011

Section 4: Integration ECO4112F 2011 Reding: Ching Chpter Section : Integrtion ECOF Note: These notes do not fully cover the mteril in Ching, ut re ment to supplement your reding in Ching. Thus fr the optimistion you hve covered hs een sttic

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

Mathematics Number: Logarithms

Mathematics Number: Logarithms plce of mind F A C U L T Y O F E D U C A T I O N Deprtment of Curriculum nd Pedgogy Mthemtics Numer: Logrithms Science nd Mthemtics Eduction Reserch Group Supported y UBC Teching nd Lerning Enhncement

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

Maintaining Mathematical Proficiency

Maintaining Mathematical Proficiency Nme Dte hpter 9 Mintining Mthemtil Profiieny Simplify the epression. 1. 500. 189 3. 5 4. 4 3 5. 11 5 6. 8 Solve the proportion. 9 3 14 7. = 8. = 9. 1 7 5 4 = 4 10. 0 6 = 11. 7 4 10 = 1. 5 9 15 3 = 5 +

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

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

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

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

More information

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

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

More information

Fast index for approximate string matching

Fast index for approximate string matching Fst index for pproximte string mthing Dekel Tsur Astrt We present n index tht stores text of length n suh tht given pttern of length m, ll the sustrings of the text tht re within Hmming distne (or edit

More information

Reflection Property of a Hyperbola

Reflection Property of a Hyperbola Refletion Propert of Hperol Prefe The purpose of this pper is to prove nltill nd to illustrte geometrill the propert of hperol wherein r whih emntes outside the onvit of the hperol, tht is, etween the

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

Linear Algebra Introduction

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

More information

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

] dx (3) = [15x] 2 0

] dx (3) = [15x] 2 0 Leture 6. Double Integrls nd Volume on etngle Welome to Cl IV!!!! These notes re designed to be redble nd desribe the w I will eplin the mteril in lss. Hopefull the re thorough, but it s good ide to hve

More information

Mathematics SKE: STRAND F. F1.1 Using Formulae. F1.2 Construct and Use Simple Formulae. F1.3 Revision of Negative Numbers

Mathematics SKE: STRAND F. F1.1 Using Formulae. F1.2 Construct and Use Simple Formulae. F1.3 Revision of Negative Numbers Mthemtis SKE: STRAND F UNIT F1 Formule: Tet STRAND F: Alger F1 Formule Tet Contents Setion F1.1 Using Formule F1. Construt nd Use Simple Formule F1.3 Revision of Negtive Numers F1.4 Sustitution into Formule

More information

21.1 Using Formulae Construct and Use Simple Formulae Revision of Negative Numbers Substitution into Formulae

21.1 Using Formulae Construct and Use Simple Formulae Revision of Negative Numbers Substitution into Formulae MEP Jmi: STRAND G UNIT 1 Formule: Student Tet Contents STRAND G: Alger Unit 1 Formule Student Tet Contents Setion 1.1 Using Formule 1. Construt nd Use Simple Formule 1.3 Revision of Negtive Numers 1.4

More information

First Midterm Examination

First Midterm Examination Çnky University Deprtment of Computer Engineering 203-204 Fll Semester First Midterm Exmintion ) Design DFA for ll strings over the lphet Σ = {,, c} in which there is no, no nd no cc. 2) Wht lnguge does

More information

Co-ordinated s-convex Function in the First Sense with Some Hadamard-Type Inequalities

Co-ordinated s-convex Function in the First Sense with Some Hadamard-Type Inequalities Int. J. Contemp. Mth. Sienes, Vol. 3, 008, no. 3, 557-567 Co-ordinted s-convex Funtion in the First Sense with Some Hdmrd-Type Inequlities Mohmmd Alomri nd Mslin Drus Shool o Mthemtil Sienes Fulty o Siene

More information

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx Clulus Chet Sheet Integrls Definitions Definite Integrl: Suppose f ( ) is ontinuous Anti-Derivtive : An nti-derivtive of f ( ) on [, ]. Divide [, ] into n suintervls of is funtion, F( ), suh tht F = f.

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

Figure 1. The left-handed and right-handed trefoils

Figure 1. The left-handed and right-handed trefoils The Knot Group A knot is n emedding of the irle into R 3 (or S 3 ), k : S 1 R 3. We shll ssume our knots re tme, mening the emedding n e extended to solid torus, K : S 1 D 2 R 3. The imge is lled tuulr

More information

50 AMC Lectures Problem Book 2 (36) Substitution Method

50 AMC Lectures Problem Book 2 (36) Substitution Method 0 AMC Letures Prolem Book Sustitution Metho PROBLEMS Prolem : Solve for rel : 9 + 99 + 9 = Prolem : Solve for rel : 0 9 8 8 Prolem : Show tht if 8 Prolem : Show tht + + if rel numers,, n stisf + + = Prolem

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

Integration. antidifferentiation

Integration. antidifferentiation 9 Integrtion 9A Antidifferentition 9B Integrtion of e, sin ( ) nd os ( ) 9C Integrtion reognition 9D Approimting res enlosed funtions 9E The fundmentl theorem of integrl lulus 9F Signed res 9G Further

More information

Suffix Trays and Suffix Trists: Structures for Faster Text Indexing

Suffix Trays and Suffix Trists: Structures for Faster Text Indexing Suffix Trys nd Suffix Trists: Strutures for Fster Text Indexing Rihrd Cole Tsvi Kopelowitz Moshe Lewenstein rxiv:1311.1762v1 [s.ds] 7 Nov 2013 Astrt Suffix trees nd suffix rrys re two of the most widely

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

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

CISC 320 Introduction to Algorithms Spring 2014

CISC 320 Introduction to Algorithms Spring 2014 CISC 20 Introdution to Algorithms Spring 2014 Leture 9 Red-Blk Trees Courtes of Prof. Lio Li 1 Binr Serh Trees (BST) ke[x]: ke stored t x. left[x]: pointer to left hild of x. right[x]: pointer to right

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

Calculus Module C21. Areas by Integration. Copyright This publication The Northern Alberta Institute of Technology All Rights Reserved.

Calculus Module C21. Areas by Integration. Copyright This publication The Northern Alberta Institute of Technology All Rights Reserved. Clculus Module C Ares Integrtion Copright This puliction The Northern Alert Institute of Technolog 7. All Rights Reserved. LAST REVISED Mrch, 9 Introduction to Ares Integrtion Sttement of Prerequisite

More information

Transition systems (motivation)

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

More information

Math 017. Materials With Exercises

Math 017. Materials With Exercises Mth 07 Mterils With Eercises Jul 0 TABLE OF CONTENTS Lesson Vriles nd lgeric epressions; Evlution of lgeric epressions... Lesson Algeric epressions nd their evlutions; Order of opertions....... Lesson

More information