Typing with Weird Keyboards Notes

Size: px
Start display at page:

Download "Typing with Weird Keyboards Notes"

Transcription

1 Typing with Weird Keyords Notes Ykov Berchenko-Kogn August 25, 2012 Astrct Consider lnguge with n lphet consisting of just four letters,,,, nd. There is spelling rule tht sys tht whenever you see n next to n, you cross those two letters out. Similrly, if you see next to, you cross those two letters out s well. For exmple, if you see, you d cross out to get, nd then youd cross out to get. For some inexplicle reson, memers of the Mfi use weird keyords when typing in this lnguge. Insted of hving keys leled,,, nd, they hve keys leled,,, nd. A memer of the Mfi cn, for exmple, type the word y pressing the key followed y the key to get, nd then crossing out the. One dy, Ruthi gets ccused of eing in the Mfi. However, she recently wrote newspper rticle contining the word. Ruthi clims tht noody in the Mfi cn type, nd thus she must e innocent. How cn we verify Ruthi s clim? We ll see how we cn esily figure out wht words given keyord cn produce using directed grphs (dots connected y rrows). We ll see how to use these grphs to nswer other questions. For exmple, we ll see how to tell when one keyord cn type every word nother keyord cn, nd we ll see how, given two keyords, we cn mke keyord tht cn type only the words tht oth of the given keyords cn type. We ll put these concepts into their lrger group theoretic context, so it will e helpful (ut not required) to e fmilir with the sic group theory definitions. 1 Free Groups: Typing with norml keyords We strt with n lphet, for exmple {,, c}. We write words using the letters in the lphet either right side up or upside-down. Exmple 1.1. In this lphet, we cn write the word c. There is spelling rule tht whenever we see letter right side up next to the sme letter upside-down, we cn erse oth of them. c Exmple 1.2. When we pply the spelling rule, c c ecomes c, which then ecomes Hnnh wnts to write song in this lnguge, nd she hs keyord tht looks like this: c. Figure 1: Hnnh s keyord. c c 1

2 Exercise 1.3. Hnnh ccidentlly typed. She wnts to erse it, ut there s no ckspce utton on her keyord! Wht should she type next to erse it? Exercise 1.4. Hnnh ccidentlly typed cc when she relly wnted to type c. Wht should she type next to fix her mistke? Alfonso s keyord looks just like Hnnh s, ut it hs n extr smiley fce key: c Figure 2: Alfonso s keyord. c c When Alfonso holds down the smiley fce key, pushing nother key cuses tht letter to pper t the end of the word nd t the eginning of the word flipped over. Exmple 1.5. Alfonso cn type y pressing nd then holding down the smiley key nd pressing Exercise 1.6. If Alfonso types nd then types the first few letters of the word while holding the smiley key, wht hppens? Rememer to pply the spelling rule. Definition 1.7. The set of ll finite-length words you cn get fter pplying the spelling rule is clled the free group over the lphet X. We will let F denote the free group, nd sometimes y F (X) if we wnt to mke it cler wht the lphet is. In our exmples ove, X = {,, c}. The spelling rule is usully clled free cncelltion, nd most people write ā or 1 insted of, ecuse writing upside-down letters is hrd. If you know group theory, you might e wondering wht the group opertion is. The group opertion here is conctention, tht is, writing one word fter the other (nd then pplying free cncelltion if necessry). If you did Exercise 1.3, you should e le to figure out wht the inverses re. 2 Finitely Generted Sugroups: Typing with silly keyords Susn doesn t like typing with norml keyords like Hnnh s. Insted, she hs keyords tht look like something like this:. Figure 3: Susn s keyord. The first row of the keyord is collection of words, nd the second row is the words in the first row upside-down. 2

3 Wht words cn Susn type? There re infinitely mny, ut she proly cn t type every word, so we d like n esy wy to test whether or not given word, such s, cn e produced with this keyord. One wy to do this would e to systemticlly mke list of the words tht cn e typed y pressing one key, then two keys, then three keys, nd so forth. If we find on this list, then we re done. Eventully, the words on the list will ecome very long, much longer thn. If we don t see y tht point, we cn e resonly sure tht it cn t e typed on this keyord. The prolem is tht, ecuse of free cncelltion, even though we might press lot of keys, the resulting word might still e very short. Exercise 2.1. In fct, it is possile to type with this keyord. Find wy to do it. There s much etter wy of testing whether or not word cn e typed on the keyord. We first mke leled directed grph out of loops leled with the words in the first row, like this: Figure 4: Mking the grph corresponding to Susn s keyord, step 1: loops. The left loop corresponds to, nd the right loop corresponds to. The vertex where ll of the loops strt nd end is drwn lrger. Notice tht we represent n upside-down letter y reversing the direction of the edge. Pressing key on the keyord corresponds to going round one of these loops, strting nd ending t the ig vertex. (Pressing the keys in the ottom row corresponds to going round the loop in the other direction.) Thus, word cn e typed on this keyord if nd only if you cn red it off when going round the grph strting nd ending t the ig vertex. However, if we try to use this grph to figure out whether or not given word cn e typed on this keyord, we will run into some prolems. Exmple 2.2. There re two edges leled going from the ig vertex. If the word we re testing strts with, we don t know which edge to tke. We d hve to try oth possiilities. If the word is very long, we might end up with too mny possiilities to go through. Exmple 2.3. You cn type using this keyord ecuse it s wht you get fter pplying free cncelltion to, which you cn red off y going round the grph. However, if we were sked to test whether or not could e typed on this keyord, we wouldn t hve ny wy of knowing to insert in the middle, except y guessing. We cn fix these prolems y folding the grph, like this: 3

4 Figure 5: Mking the grph corresponding to Susn s keyord, step 2: folding. Whenever you see two edges with the sme lel either oth going from the sme vertex or oth going to the sme vertex, you fold them together. Once you cn t fold the grph ny further, the grph is clled folded. Now, we cn t run into the prolems we hd efore, ecuse given vertex nd letter there s t most one wy to go, nd there re no pths where letter is followed y its inverse. Sometimes, there will e more thn one wy to fold grph, ut, t the end, the resulting folded grph will lwys e the sme. Exercise 2.4. For ech of the following words, check if Susn s keyord cn type them using the corresponding folded grph Exercise 2.5. Come up with few other words tht this keyord cn nd cn t type. Exmple 2.6. Here s Kevin s keyord: Figure 6: Kevin s keyord. We construct the corresponding folded grph elow. Note tht we do couple folding steps t time. The edges mrked in red re the ones out to e folded, nd the resulting edges re thick. 4

5 Figure 7: Folding the grph corresponding to Kevin s keyord. Definition 2.7. Let H e the set of words tht cn e typed on keyord with set S of words in the first row nd the corresponding upside-down words in the second row. We cll H the sugroup of F (X) generted y S, nd we write H = S. We cll S set of genertors of H. (Note tht sugroup hs mny possile generting sets.) If S is finite, then H is finitely generted. (In this clss we ll lmost entirely e deling with finitely generting sugroups.) Exmple 2.8. Kevin s keyord corresponds to the sugroup ā, ā, āā. Definition 2.9. Given set of letters X, n X-digrph is directed grph whose edges re leled with elements of X. Edges from vertex ck to itself re llowed, s re multiple edges etween two vertices. The endpoints of n edge re its origin nd terminus. Mny of our X-digrphs will hve specil se vertex which is drwn lrger. (Note tht digrph stnds for directed grph.) Exmple All of the grphs in Figures 4, 5, nd 7 re X-digrphs with X = {, }. 5

6 Definition Given n X-digrph Γ with se vertex v, the lnguge of the X-digrph with respect to the se vertex v, denoted L(Γ, v), is the set of lels of the reduced pths from v to v. Another wy to descrie our lgorithm ove is to sy tht it tkes finitely generted sugroup H nd outputs folded grph whose lnguge is precisely H. Definition Given sugroup H of free group F (X), the corresponding folded grph is clled the Stllings sugroup X-digrph of H nd is denoted Γ(H). Stllings sugroup grphs nd the folding process now known s Stllings folding were developed y geometric group theorist nd topologist John Stllings ( ) in 1983 pper. Stllings grphs hd pplictions fr eyond mking much fster lgorithm for testing whether or not word is in sugroup, nd they drmticlly chnged the wy in which sugroups of free groups re studied. Exmple If H = ā, ā, āā, then Γ(H) is the lst grph ove in Figure 7. Exercise Construct the Stllings sugroup digrph for the following sugroups. 1., 2. ā, ā 3., 4.,, ā 5. c, c, cc Exercise Go ck to the question in the lur. Is it possile for Ruthi to e in the Mfi? Exercise Pick your fvorite words over your fvorite lphet, nd construct the corresponding Stllings digrph. Exercise If the Stllings digrph of sugroup hs vertex tht hs just one edge (like in the Stllings grph of Kevin s keyord), wht cn you sy out the genertors of the sugroup? The strred exercises elow re preview of upcoming topics, ut re not necessrily hrder. Exercise 2.18 (*). There re lots of X-digrphs, ut only some of them re the Stllings X-digrph of some sugroup. For instnce, Stllings X-digrphs re lwys folded. First find folded X-digrph tht is not Stllings X-digrph of ny sugroup, nd then try to come up with property tht determines whether or not n X-digrph is Stllings X-digrph of some sugroup. Exercise 2.19 (*). If someone gives you Stllings X-digrph, how cn you find keyord tht it corresponds to? In other words, given folded digrph, how cn you find the genertors of the corresponding sugroup? (Note tht there re lots of possile keyords/generting sets for given sugroup, nd this question sks you how to find just one of them). Exercise 2.20 (*). Just y looking t the corresponding grphs, given two keyords how cn you tell if one keyord cn type everything the other cn? Exercise 2.21 (*). Given two keyords, how cn you find grph corresponding to the set of words tht cn e typed y oth of them? In other words, given two sugroups, how cn you find the grph corresponding to their intersection? (Hint: Use the grphs corresponding to the two sugroups.) Exercise 2.22 (*). Roxn hs keyord. One dy, Tom tkes ech key nd dds to the end of the word on the key nd to the eginning. Wht sorts of things cn hppen to the corresponding grph? Exercise 2.23 (*). Let X = {, }, nd let H e the set of words in F (X) where nd ā pper the sme numer of times, nd nd pper the sme numer of times. Cn you come up with corresponding X-digrph for this sugroup? Tht is, find folded X-digrph Γ such tht the lel of every pth from the se vertex to the se vertex is in H, nd such tht every word in H is the lel of some pth in Γ from the se vertex to the se vertex. (Hint: The sugroup H is not finitely generted, so Γ is not going to e finite grph.) 6

7 3 Finding Genertors: Mnufcturing silly keyords We first nswer Exercise 2.18: Wht sorts of X-digrphs re Stllings X-digrphs of some sugroup? Definition 3.1. A reduced pth in digrph is pth tht never cktrcks. Tht is, you never go long n edge nd the immeditely go long tht edge in the other direction. (You cn, however, go ck long tht edge lter in the pth.) Notice tht every vertex of Stllings X-digrph is on some reduced pth from the se vertex ck to the se vertex. Tht is, you never hve sitution like this: Figure 8: A grph tht cnnot e Stllings digrph ecuse it is not core. Definition 3.2. A digrph where every vertex is on some reduced pth from the se vertex ck to itself is clled core. (Note tht whether or not grph is core depends on which vertex is the se vertex, so sometimes we sy core with respect to v, where v is the se vertex.) The properties folded nd core re enough to chrcterize Stllings X-digrphs: If n X-digrph is oth folded nd core, then it is the Stllings X-digrph of the sugroup contining the lels of ll of the reduced pths from the se vertex ck to itself. We cn sy this fct s theorem, whose proof we will leve out. Theorem 3.3. The Stllings grph of sugroup H of free group F (X) is the unique folded core X-digrph with lnguge H. Now we ddress Exercise Given n X-digrph tht is folded nd core, how cn we find keyord tht corresponds to tht grph? The ide is to find pths from the se vertex to the se vertex tht go once round every hole in the grph, nd then these pths cn generte every other pth. However, this vgue rule will ecome hrd to keep trck of in more complicted grphs, so we need something more precise. Definition 3.4. A tree is connected grph with no cycles. Tht is, there re no reduced pths from vertex ck to itself. Exercise 3.5. Show tht, in tree, there is unique pth etween ny two vertices. Given n X-digrph, we cn construct sugrph tht contins ll of the vertices nd is tree. This sugrph is clled mximl sutree of the grph. Exmple 3.6. We will construct sutree of the Stllings grph of Kevin s keyord. We strt with the se vertex, nd then ttch one vertex t time with one edge. 7

8 Figure 9: Growing mximl sutree of the Stllings grph of Kevin s keyord. Of course, there re lots of other wys we could hve grown our mximl sutree. Here re some other possile trees: Figure 10: Other mximl sutrees of Kevin s keyord. For ech edge e not in the tree, there is pth from the se vertex to the se vertex tht contins e once nd whose other edges re ll in the tree. The lel of this pth is key in the top row on the keyord we mke, nd we mke one key in the top row for every edge not on the tree. Exercise 3.7. Show tht this pth is unique (up to reversing the direction of the pth). Exmple 3.8. In the rightmost grph in Figure 9, there re three edges not on the tree: one leled, loop leled, nd nother edge leled. The key corresponding to the edge leled is, the key corresponding to the loop leled is, nd the key corresponding to the other edge leled is. Thus, the corresponding keyord looks like this: 8

9 Figure 11: The keyord corresponding to the mximl sutree in Figure 9. Notice tht this is different from Kevin s keyord tht we used to mke this grph. How then do we know tht this new keyord cn type the sme words s Kevin s keyord? Since the keys of the new keyord re lels of pths from the se vertex to the se vertex, we know tht Kevin s keyord cn type them. We still need to show the other direction, nmely, given word tht Kevin s keyord cn type, we need to find wy to type them with our new keyord. Given word tht Kevin s keyord cn type, we hve pth with tht lel from the se vertex to the se vertex in the Stllings grph. To find out which keys to press on the new keyord, we use our tree gin. We look t the edges of the pth not on the tree, in order, nd we hit the keys tht correspond to those edges. Exmple 3.9. Consider the word āā ā, which Kevin s keyord cn type, s we cn check y looking t the corresponding pth on the Stllings grph. If we look t the mximl tree in Figure 9, we cn pick out the edges tht re not on the tree in the pth corresponding to our word. We write the corresponding lels in old: āā ā. Ech of these edges, long with the direction we go long it, corresponds to key on the new keyord. We cn thus convert the five non-tree edges of the pth into keypresses: ā ā āāā āā ā. You cn check tht this word reduces to our originl word. Exercise For ech of the four mximl sutrees in Figure 10, find the corresponding keyord. Compre the keyords to ech other nd to Kevin s originl keyord. Exercise For ech of the grphs you mde in Exercise 2.14, use this method to find generting set for the sugroup tht is different from the one given in Exercise You might need to try couple different trees. Exercise For which grphs tht you mde in Exercise 2.14 is it possile to find tree tht gives you ck the generting set in Exercise 2.14? Exercise 3.13 (*). For the grphs you mde in Exercise 2.14, mke nother vertex the se vertex nd find generting set for the corresponding sugroup. Compre your nswer with your nswer in Exercise (It will e esier to see wht s going on if you use the sme tree.) Exercise 3.14 (*). In Exmple 3.9, we took word nd used mximl tree to find wy type tht word using the keyord corresponding to tht tree. Show tht our method works in generl. Tht is, consider n ritrry sugroup nd mximl tree of its Stllings grph, which gives us keyord whose keys correspond to edges not on the tree. Given n ritrry reduced pth from the se vertex to the se vertex, we construct word y hitting the keys corresponding to the edges of the pth not on the tree. Show tht when we reduce this word, we get ck the lel of our pth. You my find it helpful to use the uniqueness of reduced pths etween two vertices of tree. 4 Intersections of Sugroups: Keeping in touch After Mthcmp, Kevin nd Nic wnt to keep in touch. Unfortuntely, they hve different keyords! This is prolem if they wnt to reply out something the other person hs typed. Perhps, however, they hve 9

10 some words they cn oth type, so they cn tlk out those. Are there ny such words, nd how cn they find them? To nswer this question, we define the product grph Definition 4.1. If Γ nd re two X-digrphs, we construct the product grph Γ s follows: For every pir contining vertex of Γ nd vertex of, we drw vertex of Γ. For every pir contining n edge of Γ nd n edge of with the sme lel, we drw n edge of Γ. If e is n edge of Γ with origin v nd f is n edge of with origin w, then the origin of the edge (e, f) in Γ is the vertex (v, w). The terminus of (e, f) is defined similrly. The lel of (e, f) is the lel of e, which is the sme s the lel of f. (This is why we required the edges of Γ to e pirs of edges with the sme lel.) Exmple 4.2. Here is the product of two grphs. Notice tht the product grph hs 4 2 = 8 vertices, 3 1 = 3 edges leled, nd 3 2 = 6 edges leled. Figure 12: Constructing the product grph. Exercise 4.3. Using Exmple 4.2 to guide you, convince yourself tht pth in the product grph Γ corresponds to pth in Γ nd pth in with the sme lels. Convince yourself of the other direction: given pth in Γ nd pth in with the sme lel, there is pth with the sme lel in Γ. The two fctors correspond to Kevin s sugroup ā, ā, āā nd Nic s sugroup,. The words they cn oth type correspond to pths in the two grphs with the sme lel. By the previous exercise, these correspond to pth in the product grph with the sme lel. Thus the set of lels of pths from the se vertex to the se vertex in the product grph is the set of words tht oth Kevin nd Nic cn type. This would men tht the product grph is the Stllings digrph of the sugroup of words tht they oth cn type, ut there is prolem: The product grph is not core. 10

11 Definition 4.4. If Γ is n X-digrph with se vertex v, then we construct new grph Core(Γ, v) clled the core of Γ t v y removing everything tht is not on reduced pth from v to v. Exmple 4.5. We highlight the core of the product grph in Figure 12 t the se vertex. Figure 13: The core of the product grph in Figure 12 is the Stllings grph of the intersection of the sugroups. Once we tke the core of the product grph, we find the grph we were looking for: the grph tht corresponds to the words tht cn e typed y oth keyords. Definition 4.6. Given two sugroups H nd K, the set of words in oth of them is clled the intersection of H nd K, nd is denoted H K. Thus we cn restte our result ove like this: Γ(H K) = Core(Γ(H) Γ(K), (v, w)), where v is the se vertex of Γ(H) nd w is the se vertex of Γ(K). Exmple 4.7. In Exmples 4.2 nd 4.5, we found the grph of ā, ā, āā,. By inspecting the grph or y using Section 3, we see tht ā, ā, āā, = ā. Thus Kevin nd Nic cn only type copies of the word or its inverse to ech other. They might wnt to find nother wy to communicte. Exercise 4.8. Find the intersection of the following sugroups y computing the product grph, finding its core t the se vertex, nd then finding set of genertors. 1.,, , c ā, c. 4., c ā, cā. 5.,,,,. (Leve lots of spce to drw this one.) Notice tht in the lst exmple, the numer of genertors of the intersection is more thn the numer of genertors in ech of the fctors. Prdoxiclly, in order to type smller set of words, you might need more keys. In fct, there is sttement clled the Hnn Neumnn conjecture tht sttes tht if H hs m genertors, K hs n genertors, nd H K hs s genertors, then s 1 (m 1)(n 1). Hnn Neumnn proved in 1957 tht s 1 2(m 1)(n 1), ut the conjecture remined unresolved until proof y Igor Mineyev

12 Exercise 4.9. If H is sugroup of K, wht is Core(Γ(H) Γ(K)) (with respect to the usul se vertex)? Exercise Using Exercise 4.9, show tht if H is sugroup of K then there is function from the vertices nd edges of Γ(H) to the vertices nd edges of Γ(K) tht preserves lels of edges, sends the origin nd terminus of n edge to the origin nd terminus of its imge, respectively, nd sends the se vertex of one grph to the se vertex of the other. Definition If φ is function from the vertices nd edges of one X-digrph to nother tht preserves lels of edges nd sends the origin nd terminus of n edge to the origin nd terminus of its imge, then φ is clled morphism of X-digrphs. Exercise Let the lphet e X = {,, c}, nd let K e the entire free group,, c. Drw Γ(K) nd show how to construct morphism from ny other X-digrph to Γ(K). Exercise Prove the converse of Exercise Tht is, if H nd K re two sugroups nd there exists morphism from Γ(H) to Γ(K) tht sends the se vertex of Γ(H) to the se vertex of Γ(K), then H is sugroup of K. 5 Conjugte Sugroups: Modifying keyords We now come ck to Exercise Wht hppens when we move the se vertex? Let s strt with n exmple: Exmple 5.1. Susn s keyord nd the corresponding grph look like this: Figure 14: Susn s keyord nd its Stllings grph. Let s move the se vertex up. We get grph tht looks like this: Figure 15: Moving the se vertex in the Stllings grph of Susn s keyord. Using Section 3 or just y looking t the grph, we see tht {, } is generting set for the sugroup. Compre it with the originl generting set {, }. The first letter moved to the end! Another wy of thinking out it is tht we wrote ā t the eginning of ech genertor nd t the end. (Notice tht ā = nd ā =.) Why the letter nd not some other letter? The edge from the originl se vertex to the new se vertex is leled. 12

13 Exercise 5.2. In Exmple 5.1, move the se vertex to the top nd find generting set. Definition 5.3. Writing ā t the eginning of word w nd t the end is clled conjugting w y. Be wre tht some other people cll this conjugting w y ā. We cn lso conjugte y words y doing it one letter t time. For exmple, conjugting w y gives āw. (Or, you cn think of it s writing t the end nd then flipping over to write t the eginning.) An importnt property of conjugtion is tht it is n utomorphism. Tht is, if v nd w re two words, then we cn conjugte oth of them y nd then conctente them or conctente them nd then conjugte the result y, with the sme result, ecuse (āv)(āw) = ā(vw). Definition 5.4. If H is sugroup, then we cn conjugte the entire sugroup y conjugting ll of its elements. We let 1 H denote H conjugted y. Two sugroups H nd K re clled conjugte to ech other if there is word w such tht H = w 1 Kw. Exmple 5.5. In the Exmple 5.1, we conjugted the genertors y. As result, the sugroup they generte ws lso conjugted y. Exercise 5.6. In the grph of Susn s keyord, there re three nturl wys of moving the se vertex to the top: long, long, nd long. As ws suggested erlier, this corresponds to conjugting the keys on Susn s keyord y,, nd, respectively. Try it. You get three different pirs of genertors. Do they ll generte the sugroup corresponding to the grph in Figure 14 with the se vertex on top? Exercise 5.7. Wht hppens if we conjugte the genertors of Susn s keyord y ā? How out? Compre the resulting Stllings grphs. Exercise 5.8. Think of simple wy to tke pth from one vertex ck to itself nd turn it into pth from nother vertex ck to itself. Wht hppens to the lels of the pth? Exercise 5.9. Given two finitely generted sugroups H nd K, how could you test if they re conjugte to ech other? Definition Given n X-digrph Γ tht is core with respect to some vertex, the type of Γ, denoted Type(Γ) is the grph we get y removing ny vertices with just one edge, s mny times s necessry until every vertex of the grph hs t lest two edges. Equivlently, we tke the intersection of Core(Γ, v) over ll vertices v of Γ. The type of grph does not hve designted se vertex. Exmple Here is the grph of Kevin s keyord nd the type of tht grph: Figure 16: The Stllings grph of Kevin s keyord nd the type of the Stllings grph of Kevin s keyord. 13

14 Exmple Here is the grph of Susn s keyord nd the type of tht grph. Notice tht nothing chnges, except tht there is no longer specil se vertex. Figure 17: The Stllings grph of Susn s keyord nd the type of the Stllings grph of Susn s keyord. As you might hve relized from the ove exercises, two sugroups H nd K re conjugte to ech other if nd only if the grphs Type(Γ(H)) nd Type(Γ(K)) re the sme. The pth from the se vertex of Γ(H) to the se vertex of Γ(K) is the word tht is conjugted y. 6 Grphs of Infinitely Generted Sugroups nd Applictions So fr, we ve used Stllings grphs to crete lgorithms to test memership, compute intersections, nd test for conjugcy. We cn lso use Stllings grphs to prove theorems out sugroups of free groups y trnslting properties of sugroups into properties of the corresponding Stllings grphs. Before we do tht, though, we need to define the Stllings grphs of ritrry sugroups of F (X), even ones tht re not finitely generted. When testing if word is in sugroup, we moved round the Stllings grph, nd sometimes we got stuck when vertex did not hve n edge with the pproprite lel nd direction. We cn dd in the missing edges. Tht is, whenever we hve vertex tht does not hve n edge with certin lel nd direction, we ttch tht missing edge nd crete new vertex t the other end of the edge. Of course, the new vertex is missing some edges, so we hve to repet this process indefinitely. At the end, wht we hve is Stllings grph with some infinte trees ttched. Exmple 6.1. Here is n exmple of the result of this process with the Stllings grph of Kevin s keyord. 14

15 Figure 18: The Stllings grph of Kevin s sugroup ā, ā, āā, in lck, with infinite gry trees dded so tht every vertex hs edges of every lel nd direction. The grph together with the trees is the covering grph of this sugroup. We cll this new grph the covering grph of the sugroup. It hs the property tht ny word is the lel of some pth strting from the se vertex. Tht is, when reding word y going long the grph, you will never get stuck. Another wy of sying this fct is tht the grph is X-regulr, which mens tht every vertex hs exctly one edge with ech lel nd direction. Also, the covering grph hs the property tht Stllings grphs hve tht word is in the sugroup if nd only if it is the lel of reduced pth from the se vertex to the se vertex. Indeed, if we tke the core of the covering grph with respect to the se vertex, the trees ll get removed, nd we get the Stllings grph ck. There is second wy of defining covering grph tht does not use Stllings grphs: Definition 6.2. A right coset of sugroup H of group F is the set {hw h H}, where w is some word in F. The coset is written Hw. Definition 6.3. The covering grph of sugroup H of F is n X-digrph with vertex for ech right coset of H, nd n edge leled x from the coset Hv to the coset Hvx for ll cosets Hv nd ll lels x in X. It is not immeditely ovious tht this definition of covering grphs grees with our erlier notion of ttching trees to Stllings grphs, though we cn see how it might e true in our exmple: Exmple 6.4. Here we hve the covering grph of Kevin s sugroup s efore, with the vertices corresponding to cosets. Note tht the wy tht we write coset is not unique. For exmple, for this sugroup, the coset H 3 is equl to H, nd the coset H 2 is equl to H 2. 15

16 Figure 19: The covering grph of Kevin s sugroup ā, ā, āā, with the vertices leled with the cosets they represent. H 4 H 3 H 2 H H 1 H H H 1 We cn see tht, for exmple, there is n edge from H to H 3 leled. We cn check tht, indeed, H 3 = H, ecuse H, nd so H 3 () 1 = H. To show tht this notion of covering grph coincides with our erlier notion, we first prove the following: Proposition 6.5. Given sugroup H of free group F, the lnguge of the covering grph of H (defined with cosets) is H itself. Proof. Given word w H, let w = w 1 w 2 w k, where the w i re letters or inverse letters. Reding the word long the grph strting t the se vertex, we will move long the vertices H, Hw 1, Hw 1 w 2, ll the wy to Hw 1 w k = Hw. But w H, so Hw = H. Hence, once we re done reding the word, we re ck t the se vertex, giving us reduced pth from the se vertex to the se vertex with lel w. Conversely, given reduced pth from the se vertex to the se vertex with lel w = w 1 w k, the sequence of vertices is, s efore, H, Hw 1, Hw 1 w 2, ll the wy to Hw 1 w k = Hw. But this pth ends ck t the se vertex, so Hw = H, nd so w H. Now, we cn prove the next theorem: Theorem 6.6. Given finitely generted sugroup H of free group F, the core of the covering grph of H is the Stllings grph of H. Proof. The covering grph is folded with lnguge H. Thus, the core of the covering grph is folded core grph with lnguge H. By Theorem 3.3, this grph must, in fct, e the Stllings grph of H. 16

17 Corollry 6.7. Our two constructions of the covering grph y ttching trees to the Stllings grph nd y using right cosets re the sme. Proof. The theorem tells us tht the Stllings grph is the core of the covering grph. The only wy to extend the Stllings grph without dding ny new reduced pths is y ttching trees, nd one cn check tht there is only one wy to ttch trees so tht every vertex hs exctly one edge with every lel nd direction. Thus, the Stllings grph is the core of exctly one X-regulr grph. Both of our constructions of the covering grph re X-regulr nd their cores re the Stllings grph, so we conclude tht our two constructions of the covering grph re the sme. Note tht in order to construct the covering grph vi cosets nd tke its core, we never use the fct tht H is finitely generted. In fct, we cn drop this ssumption, nd use this procedure s the definition of Stllings grphs for infinitely generted sugroups, nd our theorem sys tht this definition would gree with our erlier definition of the Stllings grph for finitely generted sugroups. Definition 6.8. Given sugroup H of the free group F (X), not necessrily finitely generted, the Stllings grph of H is the core of the covering grph of H with respect to the se vertex corresponding to the identity coset H. Exmple 6.9. An importnt exmple of the Stllings grph of n infinitely generted sugroup H is in the free group generted y two genertors nd when H is the set of words where the numer of times ppers is the sme s the numer of times 1 ppers, nd the numer of times ppers is the sme s the numer of times 1 ppers. One cn check tht there is coset of H for every pir of integers, where the first integer represents how mny more times ppers thn 1, nd the second integer represents how mny more times ppers thn 1. One cn verify tht H is closed under concntention nd tking inverses. The covering grph then looks like this: 17

18 Figure 20: The covering grph of the sugroup H conting ll words in which ppers the sme numer of times s 1 nd ppers the sme numer of times s 1. H 2 2 H 1 2 H 2 H 1 2 H 2 2 H 2 1 H 1 1 H 1 H 1 1 H 2 1 H 2 H 1 H H 1 H 2 H 2 1 H 1 1 H 1 H 1 1 H 2 1 H 2 2 H 1 2 H 2 H 1 2 H 2 2 This grph is core, so the Stllings grph of H is the sme grph. Now tht we ve defined the Stllings grph for ritrry sugroups, it might e useful to chrcterise when sugroup ctully is finitely generted, in terms of its Stllings grph. The nswer turns out to e simple. Theorem Let H e sugroup of free group F (X). Then H is finitely generted if nd only if the Stllings grph Γ(H) is finite. Proof. If H is finitely generted, then we cn use our initil method of constructing the Stllings grph vi drwing cycles for the gennertors nd folding. The grph we get this wy is finite. Coversely, if we hve finite folded grph, then, in prticulr, there re finitely mny edges tht re not on some mximl sutree. As discussed in Section 3, we conclude tht there re finitely mny genertors for the sugroup. OK, so we ve chrcterised the finitely generted sugroups in terms of their Stllings grphs. Wht other properties of sugroups cn we chrcterise in terms of the Stllings grphs? Here s one: Definition The index of sugroup H in free group F is the numer of cosets of H, denote [F : H]. In generl, we cn t expect the index of sugroup to e finite. The concept of finite index sugroup is firly importnt in group theory: Mny theorems hve the phrse finite index somewhere in either the ssumptions or the conclusions of the theorem (or oth!). Cn we determine whether sugroup of free group hs finite index in terms of its Stllings grph? Indeed, we cn: 18

19 Theorem Let H e sugroup of free group F (X) where the lphet X is finite. Then H hs finite index in F if nd only if the Stllings grph Γ(H) is finite nd X-regulr. Proof. The sugroup H hving finite index is the sme thing s sying tht the covering grph of H hs finitely mny vertices, since, y definition, the covering grph hs vertex for every coset of H. If the covering grph is finite, then I clim tht it is lredy core. Indeed, consider ny edge leled x from vertex v 0 to vertex v 1. We need to find reduced pth tht contins this edge. But since covering grphs re X-regulr, there is n edge leled x from v 1 to some vertex v 2. Likewise, there is n edge leled x from v 2 to some vertex v 3, nd so forth. Since the grph is finite, we will eventully repet vertex. One cn check tht the folded condition implies tht the first time we repet vertex we must ctully e t the initil vertex v 0. So now we hve reduced pth p from v 0 to v 0. We cn crete pth from the se vertex to the se vertex like we did in Section 5 y going long pth q from the se vertex to v 0, long our cycle p, nd then ck vi the inverse q 1. One cn check tht when we reduce this pth qpq 1, we still go long ll of the edges of p. Hence, our ritrry edge is on reduced pth from the se vertex to the se vertex, nd hence is in the core of the grph. We conclude tht the covering grph is core. Since the covering grph is core, it is equl to the Stllings grph. In prticulr, the Stllings grph is finite nd X-regulr. Conversely, sy the Stllings grph is finite nd X-regulr. Since the grph is X-regulr, when we ttch the missing edges to mke the covering grph, we hve no edges to ttch. Therefore, once gin, the Stllings grph is equl to the covering grph. In prticulr, the covering grph is finite, s desired. Our chrcteristions of finite index sugroups nd finitely generted sugroups yield n immedite corollry. Corollry Let H e sugroup of free group F (X) where the lphet X is finite. If H hs finite index in F, then H is finitely generted. Proof. If H hs finite index, then Γ(H) is finite y Theorem 6.12, nd so H is finitely generted y Theorem This result seems counterintuitive. Finite index sugroups re lmost s ig s the entire group F. Indeed, if H hs index d in F, then tht mens tht d copies of H cover ll of F. On the other hnd, finitely generted sugroups re uilt from finite list of words, so they re intuitively smll. Our corollry then sys tht if sugroup is ig, then it must e smll. Insted, perhps etter intuition is tht finitely generted groups re tidy wheres infinitely generted groups re messy. A finite index sugroup is close to the entire group F, which mkes it pretty tidy. Our result clims tht if H hs finite index, then it is finitely generted. But how mny genertors does H hve? Cn we nswer this question in terms of the index of H nd the numer of letters in the lphet X? Exercise Let F e free group over n lphet X with n letters, nd let H e sugroup of F (X) with index d. Prove tht the numer of genertors of H is exctly (n 1)d + 1. This result is known s Schreier s formul nmed fter the erly 20th century Austrin mthemticin Otto Schreier. Hint: Count the numer of vertices nd edges of the Stllings grph. We cn lso use Stllings grphs to sy something out the intersection of two finite index sugroups. Theorem Let H nd K e two sugroups of free group F. If H nd K hve finite indices c nd d, respectively, in F, then the index of H K is lso finite nd t most the product cd. Proof. As discussed in the proof of Theorem 6.12, for finite index sugroups, the covering grphs nd Stllings grphs re the sme. Thus, Γ(H) hs c vertices nd Γ(K) hs d vertices, so the product grph Γ(H) Γ(K) hs cd vertices. One cn check tht since Γ(H) nd Γ(K) re X-regulr, the product Γ(H) Γ(K) is lso X-regulr. 19

20 From Section 4, we know tht Γ(H K) is the core of Γ(H) Γ(K). As we showed in the proof of Theorem 6.12, connected finite X-regulr grph is utomticlly core, so tking the core of Γ(H) Γ(K) mounts to tking the connected component contining the se vertex. Therefore, the core of Γ(H) Γ(K) is still X-regulr. We conclude tht Γ(H K) is X-regulr nd finite with t most cd vertices, so H K hs finite index t most cd in F. As side note, this theorem is true even if F is replced y n ritrry group tht is not necessrily free. Exercise Use this result out the index of n intersection long with Schreier s formul to help you find exmples tht show tht the Hnn Neumnn ound is s strong s possile. Tht is, given ritrry positive integers r nd s, construct sugroup H with r genertors nd sugroup K with s genertors such tht the numer of genertors of H K is exctly (r 1)(s 1) + 1. We now return to the question of conjugting sugroups. As we discussed erlier, conjugting sugroup corresponds to moving the se vertex in the Stllings grph. More precisely, conjugting y x moved the se vertex long the edge leled x. Of course, there ws cvet: Sometimes, the se vertex didn t hve n edge leled x. Then we needed to move the se vertex off the Stllings grph to new vertex ttched to the old grph y single edge. Now tht you know out covering grphs, you see the ig picture. Wht s ctully going on is tht, s we conjugte the sugroup, the se vertex moves round the covering grph. When we go ck to the Stllings grph y tking the core, most of the covering grph disppers, nd we re left with the type of the grph possily with spur ttching it to the se vertex. Here we wnt to use the more generl definition of the type of grph, so tht we cn use it oth for Stllings grphs nd for covering grphs: Definition Given n X-digrph Γ, the type of Γ, denoted Type(Γ), is the intersection of Core(Γ, v) over ll vertices v of Γ. The type of grph does not hve designted se vertex. Roughly speking, the type of grph contins the interesting prt of grph. Nmely, it contins ll of the cycles nd cuts off the spurs nd trees. Note tht the type of the covering grph of nontrivil sugroup is the sme s the type of its Stllings grph. In group theory, very importnt concept is sugroup tht doesn t chnge when it is conjugted: Definition A sugroup N of free group F is norml if g 1 Ng = N for ll g F. Equivlently, we hve gn = Ng for ll g. If you conjugte n element of norml sugroup N, it will in generl ecome different element, ut it will sty inside N. It is the set N tht remins fixed y conjugtion. Exmple The sugroup H =,, is norml in the free group over the lphet {, }. Here is its Stllings grph: Figure 21: The Stllings grph of the sugroup H =,,. 20

21 Norml sugroups re very importnt in group theory ecuse we cn construct nother group clled the quotient group y setting everything in N to the identity. If the sugroup is not norml, we quickly run into prolems. After ll, if we conjugte the identity, we should get the identity ck. Like we did for finitely generted nd finite index sugroups, we cn chrcterise norml sugroups of free group F using Stllings grphs. Theorem Let H e nontrivil sugroup of free group F (X). Then H is norml if nd only if the Stllings grph Γ(H) is X-regulr nd looks the sme no mtter which vertex is selected s the se vertex. Proof. As discussed erlier, conjugting sugroup corresponds to moving the se vertex of the covering grph. Assume tht H is norml. Since conjugting H gives us H gin, we know tht the covering grph looks the sme no mtter which vertex is picked s the se vertex. In prticulr, the type of the covering grph must e either the entire covering grph or empty, ecuse otherwise the grph would look different sed t vertex in the type or sed t vertex not in the type. We ssumed tht H is nontrivil, so the type of the covering grph cnnot e empty. Therefore, the covering grph is equl to its type, nd hence the covering grph is core with respect to every vertex. Since the Stllings grph is the core of the covering grph with respect to the se vertex, we conclude tht the Stllings grph of H is equl to the covering grph of H. In prticulr, the Stllings grph of H is X-regulr nd looks the sme no mtter which vertex is selected s the se vertex. Conversely, ssume tht Γ(H) is X-regulr nd looks the sme from ech vertex. As discussed erlier, if the Stllings grph is X-regulr, then there re no missing edges to ttch, nd so the covering grph is equl to the Stllings grph. As result, the covering grph looks the sme no mtter which vertex is selected s the se vertex. Therefore, if we conjugte H, we move the se vertex in the covering grph, nd re left with the sme grph. Since H nd its conjugte hve the sme covering grph (nd hence the sme Stllings grph), we conclude tht H is equl to its conjugte, s desired. Therefore, H is norml. It is importnt to note tht the notion of norml sugroup depends hevily on the free group it is in. For exmple, the sugroup,, in Exmple 6.19 is norml in the free group over the lphet {, }, ut it is not norml in the free group over the lphet {,, c}. Indeed, its Stllings grph is {, }-regulr, ut not {,, c}-regulr. Erlier, we used our chrcteristions of finitely generted nd finite index sugroups to show tht finite index sugroup is finitely generted. We cn now hve prtil converse. Corollry Let N e nontrivil norml sugroup of free group F. Then N is finitely generted if nd only if it hs finite index in F. Proof. If N hs finite index, then we know tht it is finitely generted y Corollry Conversely, if N is finitely generted, then Γ(N) is finite y Theorem Since N is nontrivil nd norml, the Stllings grph Γ(N) is X-regulr y Theorem Therefore, N hs finite index y Theorem As side remrk, if N is norml sugroup in free group F, then the Stllings grph of Γ(N) is more commonly known s the Cyley grph of the quotient group F/N. The Cyley grph of group is very importnt concept in geometric group theory. In Exmple 6.9, one cn check y exmining the grph tht the sugroup is norml, nd the Stllings grph pictured is the Cyley grph of the quotient group, which is isomorphic to Z Z. 21

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs. Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online

More information

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

In the last lecture, we discussed how valid tokens may be specified by regular expressions. LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.

More information

2 Computing all Intersections of a Set of Segments Line Segment Intersection

2 Computing all Intersections of a Set of Segments Line Segment Intersection 15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design

More information

Definition of Regular Expression

Definition of Regular Expression Definition of Regulr Expression After the definition of the string nd lnguges, we re redy to descrie regulr expressions, the nottion we shll use to define the clss of lnguges known s regulr sets. Recll

More information

10.5 Graphing Quadratic Functions

10.5 Graphing Quadratic Functions 0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions

More information

COMP 423 lecture 11 Jan. 28, 2008

COMP 423 lecture 11 Jan. 28, 2008 COMP 423 lecture 11 Jn. 28, 2008 Up to now, we hve looked t how some symols in n lphet occur more frequently thn others nd how we cn sve its y using code such tht the codewords for more frequently occuring

More information

CS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig

CS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig CS311H: Discrete Mthemtics Grph Theory IV Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mthemtics Grph Theory IV 1/25 A Non-plnr Grph Regions of Plnr Grph The plnr representtion of

More information

MATH 25 CLASS 5 NOTES, SEP

MATH 25 CLASS 5 NOTES, SEP MATH 25 CLASS 5 NOTES, SEP 30 2011 Contents 1. A brief diversion: reltively prime numbers 1 2. Lest common multiples 3 3. Finding ll solutions to x + by = c 4 Quick links to definitions/theorems Euclid

More information

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis CS143 Hndout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexicl Anlysis In this first written ssignment, you'll get the chnce to ply round with the vrious constructions tht come up when doing lexicl

More information

Fig.25: the Role of LEX

Fig.25: the Role of LEX The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing

More information

CSCI 3130: Formal Languages and Automata Theory Lecture 12 The Chinese University of Hong Kong, Fall 2011

CSCI 3130: Formal Languages and Automata Theory Lecture 12 The Chinese University of Hong Kong, Fall 2011 CSCI 3130: Forml Lnguges nd utomt Theory Lecture 12 The Chinese University of Hong Kong, Fll 2011 ndrej Bogdnov In progrmming lnguges, uilding prse trees is significnt tsk ecuse prse trees tell us the

More information

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5 CS321 Lnguges nd Compiler Design I Winter 2012 Lecture 5 1 FINITE AUTOMATA A non-deterministic finite utomton (NFA) consists of: An input lphet Σ, e.g. Σ =,. A set of sttes S, e.g. S = {1, 3, 5, 7, 11,

More information

12-B FRACTIONS AND DECIMALS

12-B FRACTIONS AND DECIMALS -B Frctions nd Decimls. () If ll four integers were negtive, their product would be positive, nd so could not equl one of them. If ll four integers were positive, their product would be much greter thn

More information

Ma/CS 6b Class 1: Graph Recap

Ma/CS 6b Class 1: Graph Recap M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Adm Sheffer. Office hour: Tuesdys 4pm. dmsh@cltech.edu TA: Victor Kstkin. Office hour: Tuesdys 7pm. 1:00 Mondy, Wednesdy, nd Fridy. http://www.mth.cltech.edu/~2014-15/2term/m006/

More information

Dr. D.M. Akbar Hussain

Dr. D.M. Akbar Hussain Dr. D.M. Akr Hussin Lexicl Anlysis. Bsic Ide: Red the source code nd generte tokens, it is similr wht humns will do to red in; just tking on the input nd reking it down in pieces. Ech token is sequence

More information

ΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών

ΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών ΕΠΛ323 - Θωρία και Πρακτική Μταγλωττιστών Lecture 3 Lexicl Anlysis Elis Athnsopoulos elisthn@cs.ucy.c.cy Recognition of Tokens if expressions nd reltionl opertors if è if then è then else è else relop

More information

Grade 7/8 Math Circles Geometric Arithmetic October 31, 2012

Grade 7/8 Math Circles Geometric Arithmetic October 31, 2012 Fculty of Mthemtics Wterloo, Ontrio N2L 3G1 Grde 7/8 Mth Circles Geometric Arithmetic Octoer 31, 2012 Centre for Eduction in Mthemtics nd Computing Ancient Greece hs given irth to some of the most importnt

More information

Section 3.1: Sequences and Series

Section 3.1: Sequences and Series Section.: Sequences d Series Sequences Let s strt out with the definition of sequence: sequence: ordered list of numbers, often with definite pttern Recll tht in set, order doesn t mtter so this is one

More information

Section 10.4 Hyperbolas

Section 10.4 Hyperbolas 66 Section 10.4 Hyperbols Objective : Definition of hyperbol & hyperbols centered t (0, 0). The third type of conic we will study is the hyperbol. It is defined in the sme mnner tht we defined the prbol

More information

Notes for Graph Theory

Notes for Graph Theory Notes for Grph Theory These re notes I wrote up for my grph theory clss in 06. They contin most of the topics typiclly found in grph theory course. There re proofs of lot of the results, ut not of everything.

More information

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries Tries Yufei To KAIST April 9, 2013 Y. To, April 9, 2013 Tries In this lecture, we will discuss the following exct mtching prolem on strings. Prolem Let S e set of strings, ech of which hs unique integer

More information

INTRODUCTION TO SIMPLICIAL COMPLEXES

INTRODUCTION TO SIMPLICIAL COMPLEXES INTRODUCTION TO SIMPLICIAL COMPLEXES CASEY KELLEHER AND ALESSANDRA PANTANO 0.1. Introduction. In this ctivity set we re going to introduce notion from Algebric Topology clled simplicil homology. The min

More information

Graphs with at most two trees in a forest building process

Graphs with at most two trees in a forest building process Grphs with t most two trees in forest uilding process rxiv:802.0533v [mth.co] 4 Fe 208 Steve Butler Mis Hmnk Mrie Hrdt Astrct Given grph, we cn form spnning forest y first sorting the edges in some order,

More information

CS 241 Week 4 Tutorial Solutions

CS 241 Week 4 Tutorial Solutions CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it

More information

ΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών. Lecture 3b Lexical Analysis Elias Athanasopoulos

ΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών. Lecture 3b Lexical Analysis Elias Athanasopoulos ΕΠΛ323 - Θωρία και Πρακτική Μταγλωττιστών Lecture 3 Lexicl Anlysis Elis Athnsopoulos elisthn@cs.ucy.c.cy RecogniNon of Tokens if expressions nd relnonl opertors if è if then è then else è else relop è

More information

ON THE DEHN COMPLEX OF VIRTUAL LINKS

ON THE DEHN COMPLEX OF VIRTUAL LINKS ON THE DEHN COMPLEX OF VIRTUAL LINKS RACHEL BYRD, JENS HARLANDER Astrct. A virtul link comes with vriety of link complements. This rticle is concerned with the Dehn spce, pseudo mnifold with oundry, nd

More information

Ma/CS 6b Class 1: Graph Recap

Ma/CS 6b Class 1: Graph Recap M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Instructor: Adm Sheffer. TA: Cosmin Pohot. 1pm Mondys, Wednesdys, nd Fridys. http://mth.cltech.edu/~2015-16/2term/m006/ Min ook: Introduction to Grph

More information

What are suffix trees?

What are suffix trees? Suffix Trees 1 Wht re suffix trees? Allow lgorithm designers to store very lrge mount of informtion out strings while still keeping within liner spce Allow users to serch for new strings in the originl

More information

The Math Learning Center PO Box 12929, Salem, Oregon Math Learning Center

The Math Learning Center PO Box 12929, Salem, Oregon Math Learning Center Resource Overview Quntile Mesure: Skill or Concept: 80Q Multiply two frctions or frction nd whole numer. (QT N ) Excerpted from: The Mth Lerning Center PO Box 99, Slem, Oregon 9709 099 www.mthlerningcenter.org

More information

Languages. L((a (b)(c))*) = { ε,a,bc,aa,abc,bca,... } εw = wε = w. εabba = abbaε = abba. (a (b)(c)) *

Languages. L((a (b)(c))*) = { ε,a,bc,aa,abc,bca,... } εw = wε = w. εabba = abbaε = abba. (a (b)(c)) * Pln for Tody nd Beginning Next week Interpreter nd Compiler Structure, or Softwre Architecture Overview of Progrmming Assignments The MeggyJv compiler we will e uilding. Regulr Expressions Finite Stte

More information

CS201 Discussion 10 DRAWTREE + TRIES

CS201 Discussion 10 DRAWTREE + TRIES CS201 Discussion 10 DRAWTREE + TRIES DrwTree First instinct: recursion As very generic structure, we could tckle this problem s follows: drw(): Find the root drw(root) drw(root): Write the line for the

More information

Slides for Data Mining by I. H. Witten and E. Frank

Slides for Data Mining by I. H. Witten and E. Frank Slides for Dt Mining y I. H. Witten nd E. Frnk Simplicity first Simple lgorithms often work very well! There re mny kinds of simple structure, eg: One ttriute does ll the work All ttriutes contriute eqully

More information

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin

More information

MTH 146 Conics Supplement

MTH 146 Conics Supplement 105- Review of Conics MTH 146 Conics Supplement In this section we review conics If ou ne more detils thn re present in the notes, r through section 105 of the ook Definition: A prol is the set of points

More information

Lexical Analysis: Constructing a Scanner from Regular Expressions

Lexical Analysis: Constructing a Scanner from Regular Expressions Lexicl Anlysis: Constructing Scnner from Regulr Expressions Gol Show how to construct FA to recognize ny RE This Lecture Convert RE to n nondeterministic finite utomton (NFA) Use Thompson s construction

More information

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES MARCELLO DELGADO Abstrct. The purpose of this pper is to build up the bsic conceptul frmework nd underlying motivtions tht will llow us to understnd ctegoricl

More information

F. R. K. Chung y. University ofpennsylvania. Philadelphia, Pennsylvania R. L. Graham. AT&T Labs - Research. March 2,1997.

F. R. K. Chung y. University ofpennsylvania. Philadelphia, Pennsylvania R. L. Graham. AT&T Labs - Research. March 2,1997. Forced convex n-gons in the plne F. R. K. Chung y University ofpennsylvni Phildelphi, Pennsylvni 19104 R. L. Grhm AT&T Ls - Reserch Murry Hill, New Jersey 07974 Mrch 2,1997 Astrct In seminl pper from 1935,

More information

A dual of the rectangle-segmentation problem for binary matrices

A dual of the rectangle-segmentation problem for binary matrices A dul of the rectngle-segmenttion prolem for inry mtrices Thoms Klinowski Astrct We consider the prolem to decompose inry mtrix into smll numer of inry mtrices whose -entries form rectngle. We show tht

More information

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it. 6.3 Volumes Just s re is lwys positive, so is volume nd our ttitudes towrds finding it. Let s review how to find the volume of regulr geometric prism, tht is, 3-dimensionl oject with two regulr fces seprted

More information

Information Retrieval and Organisation

Information Retrieval and Organisation Informtion Retrievl nd Orgnistion Suffix Trees dpted from http://www.mth.tu.c.il/~himk/seminr02/suffixtrees.ppt Dell Zhng Birkeck, University of London Trie A tree representing set of strings { } eef d

More information

Theory of Computation CSE 105

Theory of Computation CSE 105 $ $ $ Theory of Computtion CSE 105 Regulr Lnguges Study Guide nd Homework I Homework I: Solutions to the following problems should be turned in clss on July 1, 1999. Instructions: Write your nswers clerly

More information

a(e, x) = x. Diagrammatically, this is encoded as the following commutative diagrams / X

a(e, x) = x. Diagrammatically, this is encoded as the following commutative diagrams / X 4. Mon, Sept. 30 Lst time, we defined the quotient topology coming from continuous surjection q : X! Y. Recll tht q is quotient mp (nd Y hs the quotient topology) if V Y is open precisely when q (V ) X

More information

LR Parsing, Part 2. Constructing Parse Tables. Need to Automatically Construct LR Parse Tables: Action and GOTO Table

LR Parsing, Part 2. Constructing Parse Tables. Need to Automatically Construct LR Parse Tables: Action and GOTO Table TDDD55 Compilers nd Interpreters TDDB44 Compiler Construction LR Prsing, Prt 2 Constructing Prse Tles Prse tle construction Grmmr conflict hndling Ctegories of LR Grmmrs nd Prsers Peter Fritzson, Christoph

More information

The Greedy Method. The Greedy Method

The Greedy Method. The Greedy Method Lists nd Itertors /8/26 Presenttion for use with the textook, Algorithm Design nd Applictions, y M. T. Goodrich nd R. Tmssi, Wiley, 25 The Greedy Method The Greedy Method The greedy method is generl lgorithm

More information

9 Graph Cutting Procedures

9 Graph Cutting Procedures 9 Grph Cutting Procedures Lst clss we begn looking t how to embed rbitrry metrics into distributions of trees, nd proved the following theorem due to Brtl (1996): Theorem 9.1 (Brtl (1996)) Given metric

More information

6.2 Volumes of Revolution: The Disk Method

6.2 Volumes of Revolution: The Disk Method mth ppliction: volumes by disks: volume prt ii 6 6 Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem 6) nd the ccumultion process is to determine so-clled volumes

More information

such that the S i cover S, or equivalently S

such that the S i cover S, or equivalently S MATH 55 Triple Integrls Fll 16 1. Definition Given solid in spce, prtition of consists of finite set of solis = { 1,, n } such tht the i cover, or equivlently n i. Furthermore, for ech i, intersects i

More information

Compilers Spring 2013 PRACTICE Midterm Exam

Compilers Spring 2013 PRACTICE Midterm Exam Compilers Spring 2013 PRACTICE Midterm Exm This is full length prctice midterm exm. If you wnt to tke it t exm pce, give yourself 7 minutes to tke the entire test. Just like the rel exm, ech question hs

More information

Presentation Martin Randers

Presentation Martin Randers Presenttion Mrtin Rnders Outline Introduction Algorithms Implementtion nd experiments Memory consumption Summry Introduction Introduction Evolution of species cn e modelled in trees Trees consist of nodes

More information

Algorithm Design (5) Text Search

Algorithm Design (5) Text Search Algorithm Design (5) Text Serch Tkshi Chikym School of Engineering The University of Tokyo Text Serch Find sustring tht mtches the given key string in text dt of lrge mount Key string: chr x[m] Text Dt:

More information

Answer Key Lesson 6: Workshop: Angles and Lines

Answer Key Lesson 6: Workshop: Angles and Lines nswer Key esson 6: tudent Guide ngles nd ines Questions 1 3 (G p. 406) 1. 120 ; 360 2. hey re the sme. 3. 360 Here re four different ptterns tht re used to mke quilts. Work with your group. se your Power

More information

Lesson 4.4. Euler Circuits and Paths. Explore This

Lesson 4.4. Euler Circuits and Paths. Explore This Lesson 4.4 Euler Ciruits nd Pths Now tht you re fmilir with some of the onepts of grphs nd the wy grphs onvey onnetions nd reltionships, it s time to egin exploring how they n e used to model mny different

More information

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html

More information

Intermediate Information Structures

Intermediate Information Structures CPSC 335 Intermedite Informtion Structures LECTURE 13 Suffix Trees Jon Rokne Computer Science University of Clgry Cnd Modified from CMSC 423 - Todd Trengen UMD upd Preprocessing Strings We will look t

More information

Simplifying Algebra. Simplifying Algebra. Curriculum Ready.

Simplifying Algebra. Simplifying Algebra. Curriculum Ready. Simplifying Alger Curriculum Redy www.mthletics.com This ooklet is ll out turning complex prolems into something simple. You will e le to do something like this! ( 9- # + 4 ' ) ' ( 9- + 7-) ' ' Give this

More information

Basic Geometry and Topology

Basic Geometry and Topology Bsic Geometry nd Topology Stephn Stolz Septemer 7, 2015 Contents 1 Pointset Topology 1 1.1 Metric spces................................... 1 1.2 Topologicl spces................................ 5 1.3 Constructions

More information

Example: 2:1 Multiplexer

Example: 2:1 Multiplexer Exmple: 2:1 Multiplexer Exmple #1 reg ; lwys @( or or s) egin if (s == 1') egin = ; else egin = ; 1 s B. Bs 114 Exmple: 2:1 Multiplexer Exmple #2 Normlly lwys include egin nd sttements even though they

More information

Today. CS 188: Artificial Intelligence Fall Recap: Search. Example: Pancake Problem. Example: Pancake Problem. General Tree Search.

Today. CS 188: Artificial Intelligence Fall Recap: Search. Example: Pancake Problem. Example: Pancake Problem. General Tree Search. CS 88: Artificil Intelligence Fll 00 Lecture : A* Serch 9//00 A* Serch rph Serch Tody Heuristic Design Dn Klein UC Berkeley Multiple slides from Sturt Russell or Andrew Moore Recp: Serch Exmple: Pncke

More information

1 Quad-Edge Construction Operators

1 Quad-Edge Construction Operators CS48: Computer Grphics Hndout # Geometric Modeling Originl Hndout #5 Stnford University Tuesdy, 8 December 99 Originl Lecture #5: 9 November 99 Topics: Mnipultions with Qud-Edge Dt Structures Scribe: Mike

More information

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming Lecture 10 Evolutionry Computtion: Evolution strtegies nd genetic progrmming Evolution strtegies Genetic progrmming Summry Negnevitsky, Person Eduction, 2011 1 Evolution Strtegies Another pproch to simulting

More information

ASTs, Regex, Parsing, and Pretty Printing

ASTs, Regex, Parsing, and Pretty Printing ASTs, Regex, Prsing, nd Pretty Printing CS 2112 Fll 2016 1 Algeric Expressions To strt, consider integer rithmetic. Suppose we hve the following 1. The lphet we will use is the digits {0, 1, 2, 3, 4, 5,

More information

Context-Free Grammars

Context-Free Grammars Context-Free Grmmrs Descriing Lnguges We've seen two models for the regulr lnguges: Finite utomt ccept precisely the strings in the lnguge. Regulr expressions descrie precisely the strings in the lnguge.

More information

Agilent Mass Hunter Software

Agilent Mass Hunter Software Agilent Mss Hunter Softwre Quick Strt Guide Use this guide to get strted with the Mss Hunter softwre. Wht is Mss Hunter Softwre? Mss Hunter is n integrl prt of Agilent TOF softwre (version A.02.00). Mss

More information

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1): Overview (): Before We Begin Administrtive detils Review some questions to consider Winter 2006 Imge Enhncement in the Sptil Domin: Bsics of Sptil Filtering, Smoothing Sptil Filters, Order Sttistics Filters

More information

Suffix trees, suffix arrays, BWT

Suffix trees, suffix arrays, BWT ALGORITHMES POUR LA BIO-INFORMATIQUE ET LA VISUALISATION COURS 3 Rluc Uricru Suffix trees, suffix rrys, BWT Bsed on: Suffix trees nd suffix rrys presenttion y Him Kpln Suffix trees course y Pco Gomez Liner-Time

More information

COMBINATORIAL PATTERN MATCHING

COMBINATORIAL PATTERN MATCHING COMBINATORIAL PATTERN MATCHING Genomic Repets Exmple of repets: ATGGTCTAGGTCCTAGTGGTC Motivtion to find them: Genomic rerrngements re often ssocited with repets Trce evolutionry secrets Mny tumors re chrcterized

More information

UT1553B BCRT True Dual-port Memory Interface

UT1553B BCRT True Dual-port Memory Interface UTMC APPICATION NOTE UT553B BCRT True Dul-port Memory Interfce INTRODUCTION The UTMC UT553B BCRT is monolithic CMOS integrted circuit tht provides comprehensive MI-STD- 553B Bus Controller nd Remote Terminl

More information

this grammar generates the following language: Because this symbol will also be used in a later step, it receives the

this grammar generates the following language: Because this symbol will also be used in a later step, it receives the LR() nlysis Drwcks of LR(). Look-hed symols s eplined efore, concerning LR(), it is possile to consult the net set to determine, in the reduction sttes, for which symols it would e possile to perform reductions.

More information

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have Rndom Numers nd Monte Crlo Methods Rndom Numer Methods The integrtion methods discussed so fr ll re sed upon mking polynomil pproximtions to the integrnd. Another clss of numericl methods relies upon using

More information

Integration. September 28, 2017

Integration. September 28, 2017 Integrtion September 8, 7 Introduction We hve lerned in previous chpter on how to do the differentition. It is conventionl in mthemtics tht we re supposed to lern bout the integrtion s well. As you my

More information

EXPONENTIAL & POWER GRAPHS

EXPONENTIAL & POWER GRAPHS Eponentil & Power Grphs EXPONENTIAL & POWER GRAPHS www.mthletics.com.u Eponentil EXPONENTIAL & Power & Grphs POWER GRAPHS These re grphs which result from equtions tht re not liner or qudrtic. The eponentil

More information

Midterm 2 Sample solution

Midterm 2 Sample solution Nme: Instructions Midterm 2 Smple solution CMSC 430 Introduction to Compilers Fll 2012 November 28, 2012 This exm contins 9 pges, including this one. Mke sure you hve ll the pges. Write your nme on the

More information

Lists in Lisp and Scheme

Lists in Lisp and Scheme Lists in Lisp nd Scheme Lists in Lisp nd Scheme Lists re Lisp s fundmentl dt structures, ut there re others Arrys, chrcters, strings, etc. Common Lisp hs moved on from eing merely LISt Processor However,

More information

Integration. October 25, 2016

Integration. October 25, 2016 Integrtion October 5, 6 Introduction We hve lerned in previous chpter on how to do the differentition. It is conventionl in mthemtics tht we re supposed to lern bout the integrtion s well. As you my hve

More information

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Winter 2016

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Winter 2016 Solving Prolems y Serching CS 486/686: Introduction to Artificil Intelligence Winter 2016 1 Introduction Serch ws one of the first topics studied in AI - Newell nd Simon (1961) Generl Prolem Solver Centrl

More information

Here is an example where angles with a common arm and vertex overlap. Name all the obtuse angles adjacent to

Here is an example where angles with a common arm and vertex overlap. Name all the obtuse angles adjacent to djcent tht do not overlp shre n rm from the sme vertex point re clled djcent ngles. me the djcent cute ngles in this digrm rm is shred y + + me vertex point for + + + is djcent to + djcent simply mens

More information

UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFORMATICS 1 COMPUTATION & LOGIC INSTRUCTIONS TO CANDIDATES

UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFORMATICS 1 COMPUTATION & LOGIC INSTRUCTIONS TO CANDIDATES UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFORMATICS COMPUTATION & LOGIC Sturdy st April 7 : to : INSTRUCTIONS TO CANDIDATES This is tke-home exercise. It will not

More information

Reducing a DFA to a Minimal DFA

Reducing a DFA to a Minimal DFA Lexicl Anlysis - Prt 4 Reducing DFA to Miniml DFA Input: DFA IN Assume DFA IN never gets stuck (dd ded stte if necessry) Output: DFA MIN An equivlent DFA with the minimum numer of sttes. Hrry H. Porter,

More information

Lecture 7: Integration Techniques

Lecture 7: Integration Techniques Lecture 7: Integrtion Techniques Antiderivtives nd Indefinite Integrls. In differentil clculus, we were interested in the derivtive of given rel-vlued function, whether it ws lgeric, eponentil or logrithmic.

More information

arxiv: v1 [math.co] 18 Sep 2015

arxiv: v1 [math.co] 18 Sep 2015 Improvements on the density o miml -plnr grphs rxiv:509.05548v [mth.co] 8 Sep 05 János Brát MTA-ELTE Geometric nd Algeric Comintorics Reserch Group rt@cs.elte.hu nd Géz Tóth Alréd Rényi Institute o Mthemtics,

More information

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers Mth Modeling Lecture 4: Lgrnge Multipliers Pge 4452 Mthemticl Modeling Lecture 4: Lgrnge Multipliers Lgrnge multipliers re high powered mthemticl technique to find the mximum nd minimum of multidimensionl

More information

Unit 5 Vocabulary. A function is a special relationship where each input has a single output.

Unit 5 Vocabulary. A function is a special relationship where each input has a single output. MODULE 3 Terms Definition Picture/Exmple/Nottion 1 Function Nottion Function nottion is n efficient nd effective wy to write functions of ll types. This nottion llows you to identify the input vlue with

More information

Summer Review Packet For Algebra 2 CP/Honors

Summer Review Packet For Algebra 2 CP/Honors Summer Review Pcket For Alger CP/Honors Nme Current Course Mth Techer Introduction Alger uilds on topics studied from oth Alger nd Geometr. Certin topics re sufficientl involved tht the cll for some review

More information

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example:

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example: Boxes nd Arrows There re two kinds of vriles in Jv: those tht store primitive vlues nd those tht store references. Primitive vlues re vlues of type long, int, short, chr, yte, oolen, doule, nd flot. References

More information

Chapter44. Polygons and solids. Contents: A Polygons B Triangles C Quadrilaterals D Solids E Constructing solids

Chapter44. Polygons and solids. Contents: A Polygons B Triangles C Quadrilaterals D Solids E Constructing solids Chpter44 Polygons nd solids Contents: A Polygons B Tringles C Qudrilterls D Solids E Constructing solids 74 POLYGONS AND SOLIDS (Chpter 4) Opening prolem Things to think out: c Wht different shpes cn you

More information

Announcements. CS 188: Artificial Intelligence Fall Recap: Search. Today. Example: Pancake Problem. Example: Pancake Problem

Announcements. CS 188: Artificial Intelligence Fall Recap: Search. Today. Example: Pancake Problem. Example: Pancake Problem Announcements Project : erch It s live! Due 9/. trt erly nd sk questions. It s longer thn most! Need prtner? Come up fter clss or try Pizz ections: cn go to ny, ut hve priority in your own C 88: Artificil

More information

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables George Boole IT 3123 Hrdwre nd Softwre Concepts My 28 Digitl Logic The Little Mn Computer 1815 1864 British mthemticin nd philosopher Mny contriutions to mthemtics. Boolen lger: n lger over finite sets

More information

Lexical analysis, scanners. Construction of a scanner

Lexical analysis, scanners. Construction of a scanner Lexicl nlysis scnners (NB. Pges 4-5 re for those who need to refresh their knowledge of DFAs nd NFAs. These re not presented during the lectures) Construction of scnner Tools: stte utomt nd trnsition digrms.

More information

MIPS I/O and Interrupt

MIPS I/O and Interrupt MIPS I/O nd Interrupt Review Floting point instructions re crried out on seprte chip clled coprocessor 1 You hve to move dt to/from coprocessor 1 to do most common opertions such s printing, clling functions,

More information

TO REGULAR EXPRESSIONS

TO REGULAR EXPRESSIONS Suject :- Computer Science Course Nme :- Theory Of Computtion DA TO REGULAR EXPRESSIONS Report Sumitted y:- Ajy Singh Meen 07000505 jysmeen@cse.iit.c.in BASIC DEINITIONS DA:- A finite stte mchine where

More information

1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers?

1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers? 1.1 TEXAS ESSENTIAL KNOWLEDGE AND SKILLS Prepring for 2A.6.K, 2A.7.I Intervl Nottion nd Set Nottion Essentil Question When is it convenient to use set-uilder nottion to represent set of numers? A collection

More information

Lily Yen and Mogens Hansen

Lily Yen and Mogens Hansen SKOLID / SKOLID No. 8 Lily Yen nd Mogens Hnsen Skolid hs joined Mthemticl Myhem which is eing reformtted s stnd-lone mthemtics journl for high school students. Solutions to prolems tht ppered in the lst

More information

1 Drawing 3D Objects in Adobe Illustrator

1 Drawing 3D Objects in Adobe Illustrator Drwing 3D Objects in Adobe Illustrtor 1 1 Drwing 3D Objects in Adobe Illustrtor This Tutoril will show you how to drw simple objects with three-dimensionl ppernce. At first we will drw rrows indicting

More information

Position Heaps: A Simple and Dynamic Text Indexing Data Structure

Position Heaps: A Simple and Dynamic Text Indexing Data Structure Position Heps: A Simple nd Dynmic Text Indexing Dt Structure Andrzej Ehrenfeucht, Ross M. McConnell, Niss Osheim, Sung-Whn Woo Dept. of Computer Science, 40 UCB, University of Colordo t Boulder, Boulder,

More information

Context-Free Grammars

Context-Free Grammars Context-Free Grmmrs Descriing Lnguges We've seen two models for the regulr lnguges: Finite utomt ccept precisely the strings in the lnguge. Regulr expressions descrie precisely the strings in the lnguge.

More information

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association 9. CISC - Curriculum & Instruction Steering Committee The Winning EQUATION A HIGH QUALITY MATHEMATICS PROFESSIONAL DEVELOPMENT PROGRAM FOR TEACHERS IN GRADES THROUGH ALGEBRA II STRAND: NUMBER SENSE: Rtionl

More information

ECE 468/573 Midterm 1 September 28, 2012

ECE 468/573 Midterm 1 September 28, 2012 ECE 468/573 Midterm 1 September 28, 2012 Nme:! Purdue emil:! Plese sign the following: I ffirm tht the nswers given on this test re mine nd mine lone. I did not receive help from ny person or mteril (other

More information

EECS150 - Digital Design Lecture 23 - High-level Design and Optimization 3, Parallelism and Pipelining

EECS150 - Digital Design Lecture 23 - High-level Design and Optimization 3, Parallelism and Pipelining EECS150 - Digitl Design Lecture 23 - High-level Design nd Optimiztion 3, Prllelism nd Pipelining Nov 12, 2002 John Wwrzynek Fll 2002 EECS150 - Lec23-HL3 Pge 1 Prllelism Prllelism is the ct of doing more

More information

Homework. Context Free Languages III. Languages. Plan for today. Context Free Languages. CFLs and Regular Languages. Homework #5 (due 10/22)

Homework. Context Free Languages III. Languages. Plan for today. Context Free Languages. CFLs and Regular Languages. Homework #5 (due 10/22) Homework Context Free Lnguges III Prse Trees nd Homework #5 (due 10/22) From textbook 6.4,b 6.5b 6.9b,c 6.13 6.22 Pln for tody Context Free Lnguges Next clss of lnguges in our quest! Lnguges Recll. Wht

More information