Solving Fixed-Point Equations by Derivation Tree Analysis

Size: px
Start display at page:

Download "Solving Fixed-Point Equations by Derivation Tree Analysis"

Transcription

1 Solving Fixed-Point Equtions by Derivtion Tree Anlysis Jvier Esprz nd Mihel Luttenberger Institut für Informtik, Tehnishe Universität Münhen, Grhing, Germny Abstrt. Systems of equtions over ω-ontinuous semirings n be mpped to ontext-free grmmrs in nturl wy. We show how n nlysis of the derivtion trees of the grmmr yields new lgorithms for pproximting nd even omputing extly the lest solution of the system. 1 Introdution We re interested in omputing (or pproximting) solutions of systems of fixed-point equtions of the form 1 = f 1 ( 1, 2,..., n ) 2 = f 2 ( 1, 2,..., n ). n = f n ( 1, 2,..., n ) where 1, 2,..., n re vribles nd f 1, f 2,..., f n re n-ry funtions over some ommon domin S. Fixed-point equtions re nturl wy of desribing the equilibrium sttes of systems with n interting omponents (prtiles, popultions, progrm points, et.). Loosely speking, the funtion f i desribes the next stte of the i-th omponent s funtion of the urrent sttes of ll omponents, nd so the solutions of the system desribe the equilibrium sttes. In omputer siene, prominent exmple of fixed-point equtions re dtflow equtions. In this se, the system is progrm, the omponents re the ontrol points of the progrm, the ommon domin is some universe of dt fts, nd the f i s desribe the dtflow to (or from) the i-th ontrol point to ll other ontrol points in one progrm step (see e.g. [NNH99]). Without further ssumptions on the funtions f 1,..., f n nd the domin S, little n be sid bout the existene nd omputbility of solution. In the lst yers we hve studied polynomil systems (systems in whih the f i s re multivrite polynomils) in whih S is n ω-ontinuous semiring, well-known lgebri struture [Kui97]. This setting hs the dvntge tht the system lwys hs lest solution, result usully known s Kleene s theorem [Kui97], whih llows us to onentrte on the tsk of pproximting or omputing it. This pper surveys reent results [EKL07,EKL07b,EKL08,EKL10,Lut10] nd some work in progress [Lut]. The presenttion emphsizes the onnetion between the This work ws prtilly supported by the projet Polynomil Systems on Semirings: Foundtions, Algorithms, Applitions of the Deutshe Forshungsgemeinshft.

2 lgebri study of equtions nd forml lnguge theory. In ft, our min gol is to show how equtions n be mpped to ontext-free grmmrs in nturl wy, 1 nd how n nlysis of the derivtion trees of the grmmrs yields new lgorithms for pproximting nd even omputing the lest solution of the equtions. The pper is strutured s follows. After some preliminries (Setion 2), we introdue known result (Setion 3): the lest solution of system is equl to the vlue of its ssoited grmmr, where the vlue of grmmr is defined s the sum of the vlues of its derivtion trees, nd the vlue of derivtion tree is defined s the (ordered) produt of its leves. This onnetion llows us to pproximte the lest solution of system by omputing the vlues of pproximtions to the grmmr. Loosely speking, grmmr G 1 pproximtes G 2 if every derivtion tree of G 1 is derivtion tree of G 2 up to irrelevnt detils. We show tht Kleene s theorem, whih not only proves the existene of the lest solution, but lso provides n lgorithm for pproximting it, orresponds to pproximting G by grmmrs G [1], G [1],... where G [h] genertes the derivtion trees of G of height h. We then introdue (Setion 4) fster pproximtion by grmmrs H [1], H [1],... where H [h] genertes the derivtion trees of G of dimension h [EKL08,EKL10]. We show tht this pproximtion is generliztion of Newton s method for pproximting the zero of differentible funtion, nd present new result bout its onvergene speed when multiplition is ommuttive [Lut] 2. In the finl prt of the pper (Setion 5) we pply the insights obtined from Newton s nd Kleene s pproximtion to different lsses of idempotent semirings, i.e., semirings in whih the lw + = holds. We obtin pproximtion lgorithms tht tully provide the ext solution fter finite number of steps. 2 Polynomil Equtions Over Semirings For the definition of polynomil systems we need set S nd two binry opertions on S, ddition nd multiplition, stisfying the usul ssoitivity nd distributivity lws: Definition 1. A semiring is tuple S, +,, 0, 1, where (i) S is set with 0, 1 S lled the rrier of the semiring, (ii) S, +, 0 is ommuttive monoid with neutrl element 0, (iii) S,, 1 is monoid with neutrl element 1, (iv) 0 is n nnihiltor, i.e. 0 = 0 = 0 for ll S, nd (v) multiplition distributes over ddition from the left nd from the right. When ddition nd multiplition re ler from the ontext, we identify semiring S, +,, 0, 1 with its rrier S. We lso often write b for b. A polynomil over semiring S is finite sum of finite produts of vribles nd semiring elements. For instne, if, Y denote vribles nd, b, S denote semiring elements, then Y b + Y is polynomil. Notie tht multiplition is not required to be ommuttive, nd so we nnot represent single polynomil in monomil form, i.e. s finite sum of produts of the form 1 m, where S is oeffiient nd 1 n is 1 We do not lim to be the first to ome up with this onnetion. See e.g. [BR82,Boz99]. 2 The proof hs not yet been published, but we feel onfident it is orret. 2

3 produt of vribles. Things hnge for polynomil systems. In this se, we my introdue uxiliry vribles following the proedure used to put ontext-free grmmr in Chomsky norml form; for instne, the univrite eqution = b + + e whih is not in monomil form, n be trnsformed into the multivrite system = Y + Z + e Y = b Z = whih simultes the originl system w.r.t. the -omponent. Although our results do not require systems to be in monomil form, for this survey we lwys ssume it to simplify nottion. Polynomil systems over semirings my hve no solution. For instne, = +1 hs no solution over the rels. However, if we extend the rels with mximl element (orrespondingly dpting ddition nd multiplition so tht these opertions still re monotone), we n onsider solution of this eqution. We restrit ourselves to semirings with these limit elements. Definition 2. Given semiring S, define the binry reltion by b : d S : + d = b. A semiring S is ω-ontinuous if (i) S, is ω-omplete prtil order, i.e., the supremum sup i N i of ny ω-hin exists in S w.r.t. the prtil order on S; nd (ii) both ddition nd multiplition re ω-ontinuous in both rguments, i.e., for ny ω-hin ( i ) i N nd semiring element : + sup i N i = sup i N nd symmetrilly in the other rgument. We dopt the following onvention: ( + i ) nd sup i N i = sup( i ) i N If not stted otherwise, S denotes n ω-ontinuous semiring S, +,, 0, 1. In n ω-ontinuous semiring we n extend the summtion opertor from finite to ountble fmilies ( i ) i I by defining { } i := sup i F I, F <. i I i F It then n be shown tht is still ssoitive nd multiplition distributes over from both the left nd the right [DKV09]. Note tht in ω-ontinuous semiring S we hve 0 for ll S. Hene, the rels extended by do not onstitute n ω- ontinuous semiring w.r.t. the nonil order, but the nonnegtive rels do. It is esy to see tht Kleene s fixed-point theorem pplies to polynomil systems over ω-ontinuous semirings: 3 3 The theorem is often lso ttributed to Trski. In ft, it n be seen s slight extension of Trski s fixed-point theorem for omplete ltties [Tr55], or s prtiulr se of Kleene s first reursion theorem [Kle38]. 3

4 Theorem 1 ([Kui97]). Every polynomil system = f() over n ω-ontinuous semiring hs lest solution µf w.r.t., nd µf is equl to the supremum of the Kleene sequene: 0 f(0) f(f(0))... f i (0) f i+1 (0)... (1) Observe tht Kleene s theorem not only gurntees the existene of the lest fixed point, but lso provides first pproximtion method, usully lled fixed-point itertion. 3 From Equtions to Grmmrs We illustrte by mens of exmples how Kleene s theorem llows us to onnet polynomil systems of equtions with ontext-free grmmrs nd the derivtion trees ssoited with them. For forml presenttion see e.g. [Boz99,EKL10,DKV09]. Consider the eqution = (2) over the nonnegtive rels extended by, whih is n ω-ontinuous semiring. The eqution is equivlent to ( 1)( 2) = 0, nd so its lest solution is = 1. We introdue identifiers, b, for the oeffiients, yielding the forml eqution = f() := 2 + b +. (3) We sy tht (2) is n instne of (3). Formlly, instnes orrespond to vlutions. A vlution is mpping V : Σ S, where Σ is the set of identifiers of the forml eqution (in our exmple Σ = {, b, }), nd S is n ω-ontinuous semiring. So (2) is the instne of (3) for the vlution where S re the nonnegtive rels with, V () = V (b) = 1/4, nd V () = 1/2. We denote the instne for V by = f V (), nd its lest solution by µf V. We ssoite ontext-free grmmr with Eqution (3) by reding every summnd of the right-hnd side s prodution: G : b, (4) We denote by T (G) the set of derivtion trees of G. We depit derivtion trees in the stndrd wy s ordered finite trees nd sy tht derivtion tree t T (G) yields word l Σ if the i-th lef from the left of t is lbeled by i. For instne, the following trees t 1, t 2, t 3, t 4 yield the words, b,, b, respetively: t 1 : t 2 : t 3 : t 4 : b... b 4

5 Note tht the grmmr G for n univrite eqution hs only single nonterminl, nd thus the xiom of G is ler. In the se of multivrite polynomil system = f(), we onstrut in the sme wy ontext-free grmmr G, but without n expliit xiom. T (G) stnds for the union of the sets T 1 (G),..., T n (G) of derivtion trees orresponding to setting 1,..., n s xiom. In the following, we do not expliitly distinguish between the univrite nd the multivrite se, nd dopt the onvention: Given grmmr G without expliit xiom, result regrding G or T (G) is to be understood s holding for ny possible hoie of the xiom. A vlution V : Σ S extends nturlly to the derivtion trees of G: for tree t T (G) yielding l, we define V (t) = V ( 1 ) V ( 2 )... V ( l ), nd for set of trees T T (G), we define V (T ) = t T V (t). For instne, for the trees t 1, t 2, t 3, t 4 shown in the piture bove nd the vlution mpping, b, to 1/4, 1/4, nd 1/2, respetively, we get V ({t 1, t 2, t 3, t 4 }) = V (t 1 )+V (t 2 )+V (t 3 )+V (t 4 ) = 1/2+1/8+1/16+1/64 = 45/64. Now, s lst step, we n extend V to vlution of the omplete grmmr. Definition 3. Let G be the grmmr of forml polynomil system = f(), nd let V : Σ S be vlution over some ω-ontinuous semiring S. We define V (G) = V (T (G)) = t T (G) V (t) over S. The strting point of our pper is well-known result stting tht, given forml polynomil eqution = f() nd vlution V, the lest solution of = f V () is equl to V (G) (see e.g. [Boz99], nd, independently, [EKL10]; the essene of the result n be tred bk to [BR82,Th67,CS63]). In other words, the lest solution n be obtined by dding the vlues under V of ll its derivtion trees. Theorem 2 ([Boz99,EKL10]). Let = f() be forml polynomil system with set Σ of forml identifiers, nd let V : Σ S be vlution. Then: µf V = V (G). (5) By our onvention, for multivrite system Theorem 5 sttes tht for every vrible i the i -omponent of µf V is given by the infinite sum of ll evluted derivtion trees derivble from i w.r.t. G. We sketh proof of this theorem for the prtiulr se of eqution (3). Let us unfold the grmmr G of (4) by ugmenting the nonterminl with ounter keeping trk of the height of derivtion: 5

6 1 [1] b 1 [2] 2 [1] [1] 2 2 [1] b 2 [3] 3 [2]. h h 1 h 1 [h 2] h 1 h 1 [h 2] b h 1 [h] h [h 1]. Let G [h] (G h ) be the grmmr onsisting of those unfolded rules whose left-hnd side is given by one of the vribles of [h] = { 0, [0],..., h, [h] }, tking [h] ( h ) s xiom. 4 An esy indution shows the existene of bijetion between T (G [h] ) (T (G h )) nd the trees of T (G) of height t most (extly) h. In ft, it is esy to see tht G [h] (G h ) nd G re both unmbiguous 5, nd the bijetion just ssigns to tree of T (G [h] ) the unique tree of G yielding the sme word. For instne, the tree of G [3] shown on the left of the figure below is mpped to the tree of G of height 3 shown on the right: [3] 3 2 [1] b b 1 1 Hene, V (G [h] ) (V (G h )) is the ontribution to V (G) of the derivtion trees of height t most (extly) h to V (G). It therefore suffies to show tht f h V (0) = V (G[h] ). Note tht by the extension of V to derivtion trees, V (G [h] ) nd V (G h ) n be omputed reursively s follows (with V := V (), b V := V (b), V := V ()): V (G h ) = V V (G h 1 ) 2 + V V (G [h 2] )V (G h 1 ) + V V (G h 1 )V (G [h 2] ) + b V V (G h 1 ) V (G [h] ) = V (G [h 1] ) + V (G h ) 4 In the multivrite se, for every hoie Z of the xiom of G, define G [h] (G h ) nlogously with Z [h] (Z h ) s xiom. 5 A grmmr G is unmbiguous if for every word w L(G) there is unique derivtion (tree) w.r.t. G. 6

7 where V (G 1 ) = V nd V (G [ 1] ) := V (G [0] ) := 0. Now, n esy indution proves the stronger lim tht f h V (0) = V (G [h] ) nd f h V (0) = f h 1 V (0) + V (G h ) nd by Kleene s theorem we get µf V = sup h N f h V (0) = sup h N V (G [h] ) = V (G). Notie tht this proof not only redues the problem of omputing the lest solution of = f V () to the problem of omputing V (G), it lso shows tht: Kleene s pproximtion sequene is the result of evluting the derivtion trees of G by inresing height. 4 Newton s Approximtion In the lst setion we hve onstruted grmmrs G 1, G 2,... tht, loosely speking, prtition the derivtion trees of G ording to height. Formlly, there is bijetion between the derivtion trees of G h nd the derivtion trees of G of height extly h. Using these grmmrs we n onstrut grmmrs G [1], G [2],... suh there is bijetion between the derivtion trees of G [h] nd the derivtion trees of G of height t most h. The grmmrs G [h] llow us to itertively ompute pproximtions V (G [h] ) to V (G) = µf V. We n trnsform this ide into generl priniple for developing pproximtion lgorithms. Given grmmr G, we sy tht sequene (G i ) i N of grmmrs prtitions G if T (G i ) T (G j ) = for i j, nd there is bijetion between i N T (G i ) nd T (G) tht preserves the yield, i.e., the yield of tree is equl to the yield of its imge under the bijetion.. Every sequene (G i ) i N tht prtitions G indues nother sequene (G [i] ) i N, defined s in the previous setion, suh tht T (G [i] ) = j i T (G i ). We sy tht (G [i] ) i N onverges to G. The following proposition follows esily from these definitions. Proposition 1. Let = f() be forml polynomil system with set Σ of forml identifiers, nd let G be the ontext-free grmmr ssoited to it. If sequene (G i ) i N of grmmrs onverges to G, then µf V = sup V (G i ). i N The unfolding of the lst setion ssigns to every vrible in the right-hnd-side of prodution lower index (height) thn the vrible on the left-hnd-side, whih forbids ny kind of unbounded reursion in the unfolded grmmrs. We now unfold the grmmr G so tht nested-liner reursion is llowed [EKL08b,GMM10]. Agin we ugment eh vrible by ounter, yielding vribles i, [i]. A derivtion strting from i ( [i] ) llows for extly i (t most i) nested-liner reursions. For the grmmr (4) we get: 7

8 1 b 1 [1] [1] 2 2 [1] b 2 [2] 2 [1]. i i 1 i 1 [i 1] i i [i 1] b i [i] i [i 1]. It is instrutive to ompre the produtions of h in Kleene s pproximtion, nd the produtions of i s defined bove: h h 1 h 1 [h 2] h 1 h 1 [h 2] b h 1 i i 1 i 1 [i 1] i i [i 1] b i Let H [i] (H i ) denote the grmmr with xiom [i] ( i ) nd onsisting of those produtions rehble from [i] ( i ) in the bove unfolding. As in the se of Kleene pproximtion, we n esily show by indution tht H [i] is unmbiguous, nd tht the mpping ssigning to tree of T (H [i] ) the unique tree of G deriving the sme word is bijetion. Sine every word of L(G) belongs to L(H [i] ) for some i N, the sequene (H [i] ) i N onverges to G. Agin, we n ompute V (H i ) nd V (H [i] ) reursively where µ.g() denotes the the lest solution of the eqution = g() (gin V := V (),...): V (H i ) := µ.( V V (H [i 1] ) + V V (H [i 1] ) + b V + V V (H i 1 ) 2 ) V (H [i] ) := V (H i ) + V (H i 1 ) where V (H 1 ) := µ.( b V + V ). At this point the reder my sk whether ny progress hs been mde: insted of solving the polynomil system = f V () we hve to solve the polynomil systems = g i (). However, these systems re liner, while = f V () my be nonliner, nd in ω-ontinuous semirings solving liner equtions redues to omputing the Kleene str := i N i. So, for ny ω-ontinuous semiring whih llows for n effiient omputtion of, this pproximtion sheme beomes vible. For instne, over the nonnegtive rels we hve = 1 1 if < 1 nd = otherwise. Thus, if V is vlution on the rel semiring, then the solution of liner eqution n be esily omputed. For the equtions bove elementry rithmeti yields V (G i ) := with V (G [1] ) = V (G 1 ) := V V (G i 1 ) V V (G [i 1] ) b V V (G [i] ) := V (G i ) + V (G [i 1] ) (6) V 1 b V. 8

9 The following tble ompres the first pproximtions obtined by using the pproximtion shemes derived in this nd the previos setion for our exmple (2): Kleene V (G i ) 1/2 3/8 105/ V (G [i] ) 1/2 11/16 809/ Newton V (H i ) 2/3 4/15 16/ V (H [i] ) 2/3 14/15 254/ (7) It is now time to explin why we ll this sheme Newton s pproximtion. For every vlution V over the rels, the lest solution of = f V () is zero of the polynomil g() = f V () = V 2 + (b V 1) + V. Agin, n esy indution shows: V (H i ) = g(v (H[i 1] )) g (V (H [i 1] )) V (H [i] ) = g(v (H[i 1] )) g (V (H [i 1] )) + V (H[i 1] ) strting now from V (H 0 ) = V (H [0] ) = 0, where g () denotes the derivtive of g in our exmple: g () = 2 V + b V 1. These equtions re nothing but Newton s lssil method for pproximting the solution of g() = 0 strting t the point 0, nd this is not oinidene: we hve reently shown tht this reltion holds for every polynomil eqution = f V () over the nonnegtive rels [EKL10]. So this pproximtion sheme generlizes Newton s method to equtions over rbitrry ω-ontinuous semirings. Rell tht Kleene s pproximtion orresponds to evluting the derivtion trees of G by inresing height. The question whether we n hrterize Newton s pproximtion in similr wy hs been nswered positively in [EKL10]. We need the notion of dimension of derivtion tree. Definition 4. Let t be derivtion tree. If t onsists of single node, then its dimension is 1. Otherwise, let d be the mximl dimension of the hildren of t. If two or more hildren hve dimension d, then t hs dimension d + 1; otherwise, t hs dimension d. For instne, the derivtion tree of the grmmr (4) shown below on the left hs dimension 3 (its seond nd third hild hve dimension 2, beuse both of them hve two hildren of dimension 1). [3] We n prove: 9

10 Theorem 3 ([EKL10]). For every i 1, there is yield-preserving bijetion between T (H [i] ) nd the trees of T (G) of dimension t most i. Aording to this theorem, the tree bove must belong to T (H [3] ) nd indeed this is the se, s shown by the derivtion tree on the right. Note tht long ny pth from the root to lef the sequene of numbers in the supersripts drops tmost by one in eh step. One the other hnd, moving from lef to the root, the supersript only inreses from i to i + 1 t given node if this very node hs t lest seond hild with supersript i. The supersripts in round (squre) brkets hppen just to be (n upper bound on) the dimension of the orresponding subtree. So we onlude: Newton s pproximtion sequene is the result of evluting the derivtion trees of G by inresing dimension. 4.1 Convergene of Newton s method in ommuttive semirings The onvergene speed of Newton s method over the rels is well-understood. In mny ses for exmple (7) it onverges qudrtilly, whih in omputer siene terms mens tht the pproximtion error dereses exponentilly in the number of itertions. In this setion we nlyze the onvergene speed vlid for rbitrry ommuttive semirings, i.e., semirings in whih multiplition is ommuttive. Rell tht, by definition, V (H [i] ) = V (t) nd V (G) = V (t). t T (H [i] ) t T (G) For every s S, let α [i] (s) be the number of trees t T (H [i] ) suh tht V (t) = s, if the number is finite, nd α [i] (s) = otherwise. Define α(s) similrly for T (G). Then we hve V (H [i] ) = s S α [i] (s) i=1 s V (G) = s S α(s) s with the onvention 0 i=1 s = 0. We estimte the onvergene speed of Newton s method by nlyzing how fst the sequene (α [i] (s)) i N onverges to α(s). Our result shows tht in system of n equtions fter (kn + 1) itertions of Newton s method we hve α [kn+1] (s) min{α(s), k}. Theorem 4 ([Lut]). Let = f() be forml polynomil system with n equtions, nd let V be vlution over ommuttive ω-ontinuous semiring S. We hve α [k n+1] (s) min{α(s), k} for every s S nd every k N. We sketh the proof of the theorem for the (very) speil se n = k = 1. We hve to show α [2] (s) min{α(s), 1}, i.e., tht α(s) > 0 implies α [2] (s) > 0 or, equivlently, tht for every t T (G) some t T (H [2] ) stisfies V (t) = V (t ). As T (H [2] ) is in bijetion with the trees of T (G) of dimension t most 2, it suffies to prove tht for every t T (G) there is t T (G) of dimension t most 2 suh tht V (t ) = V (t). If t hs dimension 1 or 2, we tke t = t. Otherwise, we explin how to proeed using grmmr (4) nd the tree of dimension 3 deriving the word : i=1 10

11 If we remove the dotted subtree (pump tree), the dimension of the seond hild of the root dereses by 1, nd we re left with the tree of dimension 2 shown below, on the left. This tree only derives the word, nd so the ide is to reinsert the missing subtree so tht the result (i) is gin derivtion tree w.r.t. G, nd (ii) we do not inrese the dimension. If we hieve this, then the new tree derives permuttion w of nd, sine the semiring is ommuttive, we hve V (w) = V (). Condition (i) poses no problem in the univrite se, s s ll inner nodes orrespond to the sme vrible (nonterminl). In order to stisfy ondition (ii), it suffies to pik ny subtree derived from of dimension 2 nd reple the edge to its fther by the missing dotted subtree s shown below, on the right. It n be shown tht this rellotion of subtrees is lso possible in the multivrite se nd llows to generte the required number of distint derivtions trees, lthough dditionl re is needed in order to stisfy the two onditions. 5 Derivtion tree nlysis for idempotent semirings In the previous setion, we hve seen how to relote subtrees of derivtion tree in order to redue its dimension. In ommuttive semirings, reloting subtrees preserves the vlue of the tree, nd we hve used this ft to derive Theorem 4, quntittive messure of the speed t whih the Newton pproximtions V (H [i] ) onverge to V (G). In prtiulr, for k = 1 we obtin α [n+1] (s) min{α(s), 1} or, equivlently, For every tree t T (G) there is tree t V (H [i] ) suh tht V (t) = V (t ). This hs n importnt onsequene for idempotent semirings, i.e., for semirings stisfying the identity + = for every S. For ny vlution V over n idempotent semiring, V (t) = V (t ) implies V (t) + V (t ) = V (t ). So for idempotent nd ommuttive ω-ontinuous semirings we get V (G) + V (H [n+1] ) = V (H [n+1] ), whih together with V (H [n+1] ) V (G) implies V (H [n+1] ) = V (G). It follows: 11

12 Theorem 5 ([EKL10]). Let = f() be forml polynomil system with n equtions. For every vlution V over n idempotent nd ommuttive ω-ontinuous semiring µf V = V (H [n+1] ). Intuitively, this result sttes tht in order to ompute µf V we n sfely forget the derivtion trees of dimension greter thn n + 1, whih implies tht Newton s method termintes fter t most n + 1 itertions. In the rest of the setion we study two further lsses of idempotent ω-ontinuous semirings for whih similr result n be proved: idempotene llows to forget derivtion trees, nd ompute the lest solution extly fter finitely mny steps bounded semirings A semiring S, +,, 0, 1 1-bounded if it is idempotent nd 1 for ll S. One-bounded semirings our, for instne, in probbilisti settings when one is interested in the most likely pth between two nodes of Mrkov hin. The probbility of pth is the produt of the probbilities of its trnsitions, nd we re interested on the mximum over ll pths. This results in n eqution system over the Viterbi semiring [DKV09] whose rrier is the intervl [0, 1], nd hs mx nd s ddition nd multiplition opertors, respetively. We show tht over 1-bounded semirings we my forget ll derivtion trees of height greter thn n. Fix forml polynomil system = f() with n equtions nd vlution V over 1-bounded semiring. Let G be the ssoited ontext-free grmmr. G then hs lso n nonterminls. A derivtion tree t T (G) is pumpble if it ontins pth from its root to one of its leves in whih some vrible ours t lest twie. Clerly, every tree of height t lest n+1 is pumpble. It is well-known tht pumpble tree t indues pumpble ftoriztion w = uvxyz of its yield w suh tht uv i xy i z L(G) for every i 0. In prtiulr, for every i 0 there is derivtion tree t i tht (i) yields uv i xy i z, nd (ii) is derived from the sme xiom s t. Now we hve V (t) + V (t 0 ) = V (w) + V (uxz) = V (u)v (v)v (x)v (y)v (z) + V (u)v (x)v (z) V (u) 1 V (x) 1 V (z) + V (u)v (x)v (z) (1-boundedness) = V (uxz) (idempotene) = V (t 0 ) Repeting this proedere s long s possible, we eventully rrive from pumpble tree t to nother tree ˆt of height t most n with V (t) + V (ˆt) = V (ˆt). So, denoting by T [n] (G) the trees of G of height t most n, we hve Theorem 6 ([EKL08]). For = f() forml polynomil system in n vribles, G its ssoited grmmr, nd V ny vlution over 1-bounded semiring, we hve: µf V = V (T (G)) = V (T [n] (G)) = V (G [n] ) = f h V (0). Sine the Kleene sequene onverges fter t most n steps we n ompute the lest solution even if the semiring is not ω-ontinuous. 12

13 5.2 Str-distributive semirings In n ω-ontinuous semiring we n define the Kleene str opertion by = i 0 i, where 0 = 1. A semiring S, +,, 0, 1 is str-distributive if it is ω-ontinuous, idempotent, ommuttive, nd ( + b) = + b holds for every, b S. The tropil semiring N, min, +,, 0 is prominent exmple of str-distributive semiring. Atully, ny ω-ontinuous ommuttive nd idempotent semiring in whih the nturl order is totl is str-distributive. Indeed, for ny two elements, b, ssuming w.l.o.g. b, whih implies b, we get: ( + b) = = + b. Finlly, for lst bit of motivtion, reent pper shows tht the omputtion of severl types of provenne of dtlog queries n be redued to the problem of (in our terminology) omputing the lest solution of forml polynomil system over ommuttive semiring S [GKT07]. Speifilly, in the se of the why-provenne S is lso idempotent nd further ugmented by the identity 2 = for ll Σ. Clerly, suh semirings re str-distributive. We show tht idempotent together with ommuttivity nd str-distributivity llows us to forget most derivtion trees of grmmr G ssoited with forml polynomil system. In ft, we do not use str-distributivity diretly, but the following two identities implied by it in onjuntion with ommuttivity: Proposition 2. If S is str-distributive, then for every, b S + b = b nd (b ) = + b. Agin, fix forml polynomil system = f() with n equtions, nd let G be the grmmr (without expliit xiom) ssoited to the system. Further, let V be vlution over some str-distributive semiring S. We hve: Proposition 3. Let t T (G) be pumpble tree deriving word w with pumpble ftoriztion uvxyz. Then there re pumpble trees t 1,..., t r T (G) (derived from the sme xiom s t) of height t most n + 1 suh tht eh t i hs pumpble ftoriztion u i v i x i y i z i stisfying V (w) r i=1 j=0 V (u i v j i x iy j i z i). (8) In essene, this proposition tells us tht we only need to evlute derivtion trees of G whih re either of unpumpble (thus, of height t most n) or the result of pumping fixed ftoriztion in pumpble derivtion tree of height t most n + 1, while we my forget the rest. We sketh one se of the proof of the proposition. Fix pumpble tree t with pumpble ftoriztion uvxyz s shemtilly desribed in Figure 1() where the middle (grey) nd the lower (drk grey) prt re derived from the sme nonterminl, nd the top prt (white) my be empty. If t hs height t most n + 1, we set t 1 := t nd re 13

14 () (b) u v x y z u v x y z v x y z () (d) u x z v x y z u v x y z x z Fig. 1. Unpumping trees. done. Otherwise, one of the three prts of t (white, grey, or drk grey) ontins subtree of height t lest n + 1. Sine G only hs n vribles, this subtree is lso pumpble. We only onsider the se tht the pumpble tree is on the left prt of the white zone (other ses re similr). Then there is pumpble ftoriztion of u, i.e. u = u v x y z, s shown in Figure 1(b), nd we hve u (v ) i x (y) i z uv j xy j z L(G) for every i, j 0. Applying the properties of str-distributive semirings we get u (v ) i x (y ) i z v j xy j z i 0 j 0 = u x z xz(v y ) (vy) (ommuttivity) = u x z xz((v y ) + (vy) ) ( b = + b ) = i 0 u (v ) i x (y ) i z xz + j 0 u x z v j xy j z It is esy to see tht G hs derivtion trees t 1 nd t 2 (shemtilly shown in Figure 1() nd (d)) with pumpble ftoriztions w 1 = u 1 v 1 x 1 y 1 z 1 nd w 2 = u 2 v 2 x 2 y 2 z 2 given by u 1 = u x z v 1 = v x 1 = x y 1 = y z 1 = z u 2 = u v 2 = v x 2 = x y 2 = y z 2 = z xz Therefore, we hve V (w) V (u 1 v j 1 x 1y j 1 z 1) + V (u 2 v j 2 x 2y j 2 z 2) j=0 j=0 14

15 If t 1 nd t 2 hve height t most n + 1, then we re done; otherwise, the step bove is iterted. This onludes the proof sketh. Let us now see how to pply the proposition. Let L L(G) be the lnguge ontining the words derived by the unpumpble trees of G, nd the words of the form uv j xy j z, where uvxyz is pumpble ftoriztion of tree of T (G) of height t most n + 1. Given w L(G), there re two possible ses: if w is derived by some umpumpble tree, then w L, nd so V (w) V (L); if w is derived by some pumpble tree, then by (8) we lso hve V (w) V (L). So V (w) V (L) holds for every w L(G). Sine S is idempotent, we get V (G) = t T (G) V (t) = w L(G) V (w) (idempotene) w L(G) V (L) (V (w) V (L)) = V (L) (idempotene nd ω-ontinuity) Looking t the definition of L it is not diffiult to show (see [EKL08]) tht it is subsumed by the words of L(G) derived by the bmboos of T (G), set of derivtion trees defined s follows: Definition 5. A derivtion tree t is bmboo if there is pth leding from the root of t to some lef of t, the stem, suh tht the height of every subtree of t not ontining node of the stem is t most n. n n n n n n n n Fig. 2. An exmple of the struture of bmboo: it onsists of stem of unbounded length from whih subtrees of height t most n sprout; on the right it is shown with its stem strightened. Figure 2 illustrtes the definition. The definition of bmboo diretly leds to n unfolding rule for G: in every rule we limit the reursion depth of ll but one terminl 15

16 to n in the sme wy s we did in the se of the Kleene pproximtion. Notie tht, sine V (G) = V (L) by idempotene, we do not need to ensure tht eh derivtion tree of the unfolded grmmrs uniquely orresponds to derivtion tree of G. This very muh simplifies the definition of the unfolding. For instne, if G hs nonterminls {, Y, Z, U, V }, then the produtions re unfolded to Y bz Y [5] [5] Y bz [5] [4] Y [4] bz [4] [2] [1] Y [1] bz [1] [1] The struture of the grmmr then gin llows us to reursively ompute the yield of the derivtions trees derived from ny nonterminl whih gives us n lgorithm for omputing the lest fixed point of ny forml polynomil system w.r.t. ny vlution over some str-distributive semiring: Theorem 7 ([EKL08]). Let = f() be forml polynomil system onsisting of n equtions nd let V be vlution over str-distributive semiring S. Then µf V n be omputed using n Kleene itertion steps nd then solving single liner system over S. This result n be used to ompute the provenne of dtlog queries over the tropil semiring, problem tht ws left open in [GKT07]. 6 Conlusions We hve presented some old nd some new links between omputtionl lgebr nd lnguge theory. We hve shown how the forml similrity between fixed-point equtions nd ontext-free grmmrs goes very fr, nd leds to novel lgorithms. The unfolding of grmmrs leding to Newton s pproximtion hs lredy found some pplitions in verifition [GMM10,EG11] nd Petri net theory [GA11]. Theorem 5 hs led to simple lgorithm for onstruting n utomton whose lnguge is Prikh-equivlent to the lnguge of given ontext-free grmmr [EGKL11]. Theorem 7 ws used in [EKL08] to improve the omplexity bound of [CCFR07] for omputing the throughput of ontext-free grmmrs from O(n 4 ) to O(n 3 ). An interesting question is whether the results we hve obtined n be proved by purely lgebri mens, e.g. without using tree surgery. Further open questions onern dt strutures nd effiient lgorithms for the pproximtion shemes we hve skethed. Aknowledgments Mny thnks to Volker Diekert for his help with Theorem 4, to Rupk Mjumdr for pointing us to pplitions of semirings to the provenne problem in dtbses [GKT07], nd to Pierre Gnty for mny disussions. 16

17 Referenes [Boz99] S. Bozplidis. Equtionl elements in dditive lgebrs. Theory Comput. Syst., 32(1):1 33, [BR82] J. Berstel nd C. Reutenuer. Reognizble forml power series on trees. Theor. Comput. Si., 18: , [CCFR07] D. Cul, J. Czyzowiz, W. Frzk, nd W. Rytter. Effiient omputtion of throughput vlues of ontext-free lnguges. In CIAA 07, LNCS 4783, pges Springer, [CS63] N. Chomsky nd M.P. Shützenberger. Computer Progrmming nd Forml Systems, hpter The Algebri Theory of Context-Free Lnguges, pges North Hollnd, [DKV09] M. Droste, W. Kuih, nd H. Vogler. Hndbook of Weighted Automt. Springer, [EG11] J. Esprz nd P. Gnty. Complexity of pttern-bsed verifition for multithreded progrms. In POPL, pges , [EGKL11] J. Esprz, P. Gnty, S. Kiefer, nd M. Luttenberger. Prikhs theorem: A simple nd diret utomton onstrution. Inf. Proess. Lett., 111(12): , [EKL07] J. Esprz, S. Kiefer, nd M. Luttenberger. An extension of newton s method to ω- ontinuous semirings. In DLT, pges , [EKL07b] J. Esprz, S. Kiefer, nd M. Luttenberger. On fixed point equtions over ommuttive semirings. In STACS, pges , [EKL08] J. Esprz, S. Kiefer, nd M. Luttenberger. Derivtion tree nlysis for elerted fixed-point omputtion. In DLT, pges , [EKL08b] J. Esprz, S. Kiefer, nd M. Luttenberger. Newton s method for ω-ontinuous semirings. In Lu Aeto, Ivn Dmgård, Leslie Ann Goldberg, Mgnús M. Hlldórsson, Ann Ingólfsdóttir, nd Igor Wlukiewiz, editors, ICALP (2), volume 5126 of Leture Notes in Computer Siene, pges Springer, [EKL10] [GA11] [GKT07] J. Esprz, S. Kiefer, nd M. Luttenberger. Newtonin progrm nlysis. J. ACM, 57(6):33, P. Gnty nd M. Atig. Approximting Petri net rehbility long ontext-free tres. Tehnil report, riv: v1, T. J. Green, G. Krvounrkis, nd V. Tnnen. Provenne semirings. In PODS, pges 31 40, [GMM10] P. Gnty, R. Mjumdr, nd B. Monmege. Bounded underpproximtions. In CAV, pges , [Kle38] S. C. Kleene. On nottion for ordinl numbers. J. Symb. Log., 3(4): , [Kui97] W. Kuih. Hndbook of Forml Lnguges, volume 1, hpter 9: Semirings nd Forml Power Series: Their Relevne to Forml Lnguges nd Automt, pges Springer, [Lut] M. Luttenberger. An extension of Prikh s theorem. Tehnil report, Tehnishe Universität Münhen, Institut für Informtik. Forthoming. [Lut10] M. Luttenberger. Solving Systems of Polynomil Equtions: A Generliztion of Newton s Method. PhD thesis, Tehnishe Universität Münhen, [NNH99] F. Nielson, H.R. Nielson, nd C. Hnkin. Priniples of Progrm Anlysis. Springer, [Tr55] [Th67] A. Trski. A lttie-theoretil fixpoint theorem nd its pplitions. Pifi J. Mth., 5(2): , J. W. Thther. Chrterizing derivtion trees of ontext-free grmmrs through generliztion of finite utomt theory. J. Comput. Syst. Si., 1(4): ,

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

Part 4. Integration (with Proofs)

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

More information

arxiv: v1 [math.ca] 21 Aug 2018

arxiv: v1 [math.ca] 21 Aug 2018 rxiv:1808.07159v1 [mth.ca] 1 Aug 018 Clulus on Dul Rel Numbers Keqin Liu Deprtment of Mthemtis The University of British Columbi Vnouver, BC Cnd, V6T 1Z Augest, 018 Abstrt We present the bsi theory of

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

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

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

Line Integrals and Entire Functions

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

More information

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

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

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

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

T b a(f) [f ] +. P b a(f) = Conclude that if f is in AC then it is the difference of two monotone absolutely continuous functions.

T b a(f) [f ] +. P b a(f) = Conclude that if f is in AC then it is the difference of two monotone absolutely continuous functions. Rel Vribles, Fll 2014 Problem set 5 Solution suggestions Exerise 1. Let f be bsolutely ontinuous on [, b] Show tht nd T b (f) P b (f) f (x) dx [f ] +. Conlude tht if f is in AC then it is the differene

More information

More Properties of the Riemann Integral

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

More information

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

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

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

More information

CS 573 Automata Theory and Formal Languages

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

More information

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

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

More information

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

#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

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

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

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

A Brief History of Strahler Numbers

A Brief History of Strahler Numbers A Brief History of Strhler Numbers Jvier Esprz, Mihel Luttenberger, nd Mximilin Shlund Fkultät für Informtik, Tehnishe Universität Münhen, Germny Abstrt. The Strhler number or Horton-Strhler number of

More information

Lecture 1 - Introduction and Basic Facts about PDEs

Lecture 1 - Introduction and Basic Facts about PDEs * 18.15 - Introdution to PDEs, Fll 004 Prof. Gigliol Stffilni Leture 1 - Introdution nd Bsi Fts bout PDEs The Content of the Course Definition of Prtil Differentil Eqution (PDE) Liner PDEs VVVVVVVVVVVVVVVVVVVV

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

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

Electromagnetism Notes, NYU Spring 2018

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

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)

More information

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

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

More information

Lecture Summaries for Multivariable Integral Calculus M52B

Lecture Summaries for Multivariable Integral Calculus M52B These leture summries my lso be viewed online by liking the L ion t the top right of ny leture sreen. Leture Summries for Multivrible Integrl Clulus M52B Chpter nd setion numbers refer to the 6th edition.

More information

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS. THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem

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

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

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

More information

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

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

More information

ON THE INEQUALITY OF THE DIFFERENCE OF TWO INTEGRAL MEANS AND APPLICATIONS FOR PDFs

ON THE INEQUALITY OF THE DIFFERENCE OF TWO INTEGRAL MEANS AND APPLICATIONS FOR PDFs ON THE INEQUALITY OF THE DIFFERENCE OF TWO INTEGRAL MEANS AND APPLICATIONS FOR PDFs A.I. KECHRINIOTIS AND N.D. ASSIMAKIS Deprtment of Eletronis Tehnologil Edutionl Institute of Lmi, Greee EMil: {kehrin,

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

Section 3.6. Definite Integrals

Section 3.6. Definite Integrals The Clulus of Funtions of Severl Vribles Setion.6 efinite Integrls We will first define the definite integrl for funtion f : R R nd lter indite how the definition my be extended to funtions of three or

More information

Solutions to Assignment 1

Solutions to Assignment 1 MTHE 237 Fll 2015 Solutions to Assignment 1 Problem 1 Find the order of the differentil eqution: t d3 y dt 3 +t2 y = os(t. Is the differentil eqution liner? Is the eqution homogeneous? b Repet the bove

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

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

Hybrid Systems Modeling, Analysis and Control

Hybrid Systems Modeling, Analysis and Control Hyrid Systems Modeling, Anlysis nd Control Rdu Grosu Vienn University of Tehnology Leture 5 Finite Automt s Liner Systems Oservility, Rehility nd More Miniml DFA re Not Miniml NFA (Arnold, Diky nd Nivt

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

The Riemann-Stieltjes Integral

The Riemann-Stieltjes Integral Chpter 6 The Riemnn-Stieltjes Integrl 6.1. Definition nd Eistene of the Integrl Definition 6.1. Let, b R nd < b. ( A prtition P of intervl [, b] is finite set of points P = { 0, 1,..., n } suh tht = 0

More information

The Word Problem in Quandles

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

More information

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

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable INTEGRATION 1 Integrls of Complex Vlued funtions of REAL vrible If I is n intervl in R (for exmple I = [, b] or I = (, b)) nd h : I C writing h = u + iv where u, v : I C, we n extend ll lulus 1 onepts

More information

CS 275 Automata and Formal Language Theory

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

More information

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums Green s Theorem If f is funtion of one vrible x with derivtive f x) or df dx to the Fundmentl Theorem of lulus, nd [, b] is given intervl then, ording This is not trivil result, onsidering tht b b f x)dx

More information

1.4 Nonregular Languages

1.4 Nonregular Languages 74 1.4 Nonregulr Lnguges The number of forml lnguges over ny lphbet (= decision/recognition problems) is uncountble On the other hnd, the number of regulr expressions (= strings) is countble Hence, ll

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

TOPIC: LINEAR ALGEBRA MATRICES

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

More information

Automata and Languages

Automata and Languages Automt nd Lnguges Prof. Mohmed Hmd Softwre Engineering Lb. The University of Aizu Jpn Grmmr Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Newtonian Program Analysis via Tensor Product

Newtonian Program Analysis via Tensor Product Newtonin Progrm Anlysis vi Tensor Produt Thoms Reps,, Emm Turetsky, nd Prthmesh Prbhu Univ. of Wisonsin; Mdison, WI; USA GrmmTeh, In.; Ith, NY; USA Google, In.; Mountin View, CA; USA Abstrt Reently, Esprz

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

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

Handout: Natural deduction for first order logic

Handout: Natural deduction for first order logic MATH 457 Introduction to Mthemticl Logic Spring 2016 Dr Json Rute Hndout: Nturl deduction for first order logic We will extend our nturl deduction rules for sententil logic to first order logic These notes

More information

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e

Green s Theorem. (2x e y ) da. (2x e y ) dx dy. x 2 xe y. (1 e y ) dy. y=1. = y e y. y=0. = 2 e Green s Theorem. Let be the boundry of the unit squre, y, oriented ounterlokwise, nd let F be the vetor field F, y e y +, 2 y. Find F d r. Solution. Let s write P, y e y + nd Q, y 2 y, so tht F P, Q. Let

More information

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9. Regulr Expressions, Pumping Lemm, Right Liner Grmmrs Ling 106 Mrch 25, 2002 1 Regulr Expressions A regulr expression descries or genertes lnguge: it is kind of shorthnd for listing the memers of lnguge.

More information

MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES

MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES CHARLIE COLLIER UNIVERSITY OF BATH These notes hve been typeset by Chrlie Collier nd re bsed on the leture notes by Adrin Hill nd Thoms Cottrell. These

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

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

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 203 Outline Riemnn Sums Riemnn Integrls Properties Abstrct

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where 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 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

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

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

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1 Exm, Mthemtics 471, Section ETY6 6:5 pm 7:4 pm, Mrch 1, 16, IH-115 Instructor: Attil Máté 1 17 copies 1. ) Stte the usul sufficient condition for the fixed-point itertion to converge when solving the eqution

More information

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 2013 Outline 1 Riemnn Sums 2 Riemnn Integrls 3 Properties

More information

Lecture 19: Continuous Least Squares Approximation

Lecture 19: Continuous Least Squares Approximation Lecture 19: Continuous Lest Squres Approximtion 33 Continuous lest squres pproximtion We begn 31 with the problem of pproximting some f C[, b] with polynomil p P n t the discrete points x, x 1,, x m for

More information

Arrow s Impossibility Theorem

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

More information

MAT 403 NOTES 4. f + f =

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

More information

Final Exam Review. [Top Bottom]dx =

Final Exam Review. [Top Bottom]dx = Finl Exm Review Are Between Curves See 7.1 exmples 1, 2, 4, 5 nd exerises 1-33 (odd) The re of the region bounded by the urves y = f(x), y = g(x), nd the lines x = nd x = b, where f nd g re ontinuous nd

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

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

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

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More

More information

7.2 The Definite Integral

7.2 The Definite Integral 7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where

More information

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)

More information

Orthogonal Polynomials and Least-Squares Approximations to Functions

Orthogonal Polynomials and Least-Squares Approximations to Functions Chpter Orthogonl Polynomils nd Lest-Squres Approximtions to Functions **4/5/3 ET. Discrete Lest-Squres Approximtions Given set of dt points (x,y ), (x,y ),..., (x m,y m ), norml nd useful prctice in mny

More information

New Expansion and Infinite Series

New Expansion and Infinite Series Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University

More information

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions Physics 6C Solution of inhomogeneous ordinry differentil equtions using Green s functions Peter Young November 5, 29 Homogeneous Equtions We hve studied, especilly in long HW problem, second order liner

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 1. Functional series. Pointwise and uniform convergence. 1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is

More information

SEMANTIC ANALYSIS PRINCIPLES OF PROGRAMMING LANGUAGES. Norbert Zeh Winter Dalhousie University 1/28

SEMANTIC ANALYSIS PRINCIPLES OF PROGRAMMING LANGUAGES. Norbert Zeh Winter Dalhousie University 1/28 SEMNTI NLYSIS PRINIPLES OF PROGRMMING LNGUGES Norbert Zeh Winter 2018 Dlhousie University 1/28 PROGRM TRNSLTION FLOW HRT Soure progrm (hrter strem) Snner (lexil nlysis) Front end Prse tree Prser (syntti

More information

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), ) Euler, Iochimescu nd the trpezium rule G.J.O. Jmeson (Mth. Gzette 96 (0), 36 4) The following results were estblished in recent Gzette rticle [, Theorems, 3, 4]. Given > 0 nd 0 < s

More information

Review of Calculus, cont d

Review of Calculus, cont d Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some

More information

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute Victor Admchik Dnny Sletor Gret Theoreticl Ides In Computer Science CS 5-25 Spring 2 Lecture 2 Mr 3, 2 Crnegie Mellon University Deterministic Finite Automt Finite Automt A mchine so simple tht you cn

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

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

A Mathematical Model for Unemployment-Taking an Action without Delay

A Mathematical Model for Unemployment-Taking an Action without Delay Advnes in Dynmil Systems nd Applitions. ISSN 973-53 Volume Number (7) pp. -8 Reserh Indi Publitions http://www.ripublition.om A Mthemtil Model for Unemployment-Tking n Ation without Dely Gulbnu Pthn Diretorte

More information

(h+ ) = 0, (3.1) s = s 0, (3.2)

(h+ ) = 0, (3.1) s = s 0, (3.2) Chpter 3 Nozzle Flow Qusistedy idel gs flow in pipes For the lrge vlues of the Reynolds number typilly found in nozzles, the flow is idel. For stedy opertion with negligible body fores the energy nd momentum

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

Review of basic calculus

Review of basic calculus Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below

More information

Closure Properties of Regular Languages

Closure Properties of Regular Languages Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L

More information

The study of dual integral equations with generalized Legendre functions

The study of dual integral equations with generalized Legendre functions J. Mth. Anl. Appl. 34 (5) 75 733 www.elsevier.om/lote/jm The study of dul integrl equtions with generlized Legendre funtions B.M. Singh, J. Rokne,R.S.Dhliwl Deprtment of Mthemtis, The University of Clgry,

More information

Theoretical foundations of Gaussian quadrature

Theoretical foundations of Gaussian quadrature Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

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

A Brief History of Strahler Numbers with a Preface

A Brief History of Strahler Numbers with a Preface A Brief History of Strhler Numbers with Prefe Jvier Esprz, Mihel Luttenberger, nd Mximilin Shlund Fkultät für Informtik, Tehnishe Universität Münhen, Germny Abstrt. The Strhler number or Horton-Strhler

More information

Infinite Geometric Series

Infinite Geometric Series Infinite Geometric Series Finite Geometric Series ( finite SUM) Let 0 < r < 1, nd let n be positive integer. Consider the finite sum It turns out there is simple lgebric expression tht is equivlent to

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

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information