arxiv: v2 [math.co] 21 Apr 2012

Size: px
Start display at page:

Download "arxiv: v2 [math.co] 21 Apr 2012"

Transcription

1 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE arxiv: v2 [math.co] 21 Apr 212 SAMUELE GIRAUDO Abstract. We show that the set of balanced binar trees is closed b interval in the Tamari lattice. We establish that the intervals [T,T ] where T and T are balanced binar trees are isomorphic as posets to a hpercube. We introduce snchronous grammars that allow to generate tree-like structures and obtain fied-point functional equations to enumerate these. We also introduce imbalance tree patterns and show that the can be used to describe some sets of balanced binar trees that pla a particular role in the Tamari lattice. Finall, we investigate other families of binar trees that are also closed b interval in the Tamari lattice. Contents 1. Introduction 2 Acknowledgments 3 2. Preliminaries Complete rooted planar binar trees Balanced binar trees The Tamari lattice 4 3. Closure b interval of the set of balanced binar trees Rotations and balance Construction of an imbalance invariant The main result 1 4. Snchronous grammars Definitions Snchronous grammars and generating series Eamples Imbalance tree patterns and balanced binar trees Imbalance tree patterns Minimal and maimal balanced binar trees in the Tamari lattice The subposet of the Tamari lattice of balanced binar trees Isomorphism between balanced binar tree intervals and hpercubes Enumeration of balanced binar tree intervals Intervals of other binar trees families in the Tamari lattice Generalized balanced binar trees Weight balanced binar trees Binar trees with fied canop Naraana binar trees 36 References 37 Date: Jul 9, 218. Ke words and phrases. Balanced binar tree; Tamari lattice; Poset; Grammar; Generating series; Fiedpoint functional equation. 1

2 2 SAMUELE GIRAUDO 1. Introduction Binar search trees are used as data structures to represent dnamic totall ordered sets (see [AU94, Knu98, CLRS3]). The algorithms solving classical related problems such as the insertion, the deletion or the search of a given element can be performed in linear time in terms of the depth of the encoding binar tree, and, if the binar tree is balanced, these operations can be made in logarithmic time in terms of the cardinalit of the represented set. Recall that a binar tree is balanced if for each node, the heights of the left and the right subtrees of differ b at most one. The algorithmic of balanced binar trees fundamentall relies on the so-called rotation operation. An insertion or a deletion of an element in a dnamic ordered set modifies the binar tree encoding it and can imbalance it. The efficienc of these algorithms comes from the fact that binar search trees can be rebalanced ver quickl after the insertion or the deletion, using no more than two rotations [AVL62]. Surprisingl, this operation appears in a different contet since it defines a partial order on the set of binar trees of a given size. A binar tree T is smaller than a binar tree T 1 if it is possible to transform T into T 1 b performing a succession of right rotations. This partial order, known as the Tamari order [Tam62, Sta9, Knu4], defines a lattice structure on the set of binar trees of a given size. Since binar trees are naturall equipped b this order structure induced b rotations, and the balance of balanced binar trees is maintained doing rotations, we would like to investigate if balanced binar trees pla a particular role in the Tamari lattice. Our goal is to combine the two points of view of the rotation operation. Computer trials show that the intervals [T,T ] where T and T are balanced binar trees are onl made of balanced binar trees. The main goal of this paper is to prove this propert. As a consequence, we give a characterization on the shape of these intervals and, using grammars allowing the generation of tree-like structures, enumerate these ones. This article is organized as follows. In Section 2, we set the essential notions about binar trees and balanced binar trees, and we give the definition of the Tamari lattice in our setting. Section 3 is devoted to establish the main result: The set of balanced binar trees is closed b interval in the Tamari lattice. In Section 4, we define snchronous grammars. This new sort of grammars allows to generate sets of tree-like structures and gives a wa to obtain a fied-point functional equation for the generating series enumerating these. In Section 5, we introduce a notion of binar tree pattern, namel the imbalance tree patterns, and a notion of pattern avoidance. We also define subsets of balanced binar trees whose elements hold a particular position in the Tamari lattice. These sets can also be defined as the balanced binar trees avoiding some given imbalance tree patterns. In Section 6, we look at balanced binar tree intervals and show that the are, as posets, isomorphic to hpercubes. Encoding balanced binar tree intervals b kind of tree-like structures, and b constructing the snchronous grammar generating these trees, we give a fied-point functional equation satisfied b the generating series enumerating balanced binar tree intervals. We do the same for maimal balanced binar tree intervals. Finall, in Section 7, we investigate three other families of binar trees that are closed b interval in the Tamari lattice: The weight balanced binar trees, the binar trees with a given canop and the k-naraana binar trees. We also look at a generalization of balanced binar trees and prove, among other, that the set of usual balanced binar trees is the onl set among this generalization that is both closed b interval in the Tamari lattice and the subposet of the Tamari lattice induced b it has nontrivial intervals. This paper is an etended versionof [Gir1] where onl Sections 2, 3, 5 and 6 were developed.

3 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 3 Acknowledgments. The author would like to thank Florent Hivert for introducing him to the problem addressed in this paper, and Jean-Christophe Novelli and Florent Hivert for their invaluable advice and their improvement suggestions. The computations of this work have been done with the open-source mathematical software Sage [S + 1]. 2. Preliminaries 2.1. Complete rooted planar binar trees. In this article, we consider complete rooted planar binar trees and we call these simpl binar trees. Recall that a binar tree T is either a leaf (also called empt tree) denoted b, or a node that is attached through two edges to two binar trees, called respectivel the left subtree and the right subtree of T. The (unique) binar tree which has L as left subtree and R as right subtree is denoted b L R. Let also T n be the set of binar trees with n nodes and T be the set of all binar trees. We use in the sequel the standard terminolog (i.e., parent, child, ancestor, path, etc.) about binar trees [AU94]. In our graphical representations, nodes are represented b circles, leaves b squares, and edges b segments or. Besides, we shall represent arbitrar subtrees b big squares like, and arbitrar paths b zigzag lines. Recall that the infi reading order of the nodes of a binar tree T consists in recursivel visiting its left subtree, then its root, and finall its right subtree. We sa that a node of T is the leftmost node if is the first visited node in the infi order. We also sa that a node is to the right w.r.t. a node if appears strictl before in the infi order and we denote that b T. We etend this notation to subtrees, saing that a subtree S of T is to the right w.r.t. a node if for all nodes of S we have T. For eample, consider the binar tree T T = a b c d e f g h Figure 1. An eample of binar tree. depicted in Figure 1. The sequence (a,b,c,d,e,f,g,h) is the sequence of all nodes of T visited in the infi order. Hence, a is the leftmost node of T and we have, among other, a T b and c T f. Consider the subtree S of root g. It contains the nodes e, f, g and h. Hence, we have a T S, b T S, c T S and d T S. However, we neither have the relation e T S since S contains e, nor the relation f T S since S contains e and f T e does not hold Balanced binar trees. If T is a binar tree, we shall denote b h(t) its height, that is the length of the longest path connecting its root to one of its leaves. More formall, { 1+ma{h(L),h(R)} if T = L R, (2.1) h(t) := otherwise (T = ). For eample, we have h( ) =, h ( ) ( ) = 1, and h = 2. Let us define the imbalance mapping i T which associates an element of Z with a node of T. It is defined b (2.2) i T () := h(r) h(l),

4 4 SAMUELE GIRAUDO where L (resp. R) is the left (resp. right) subtree of. For eample, the imbalance values of the nodes of the binar tree T shown in Figure 1 satisf i T (a) = 2, i T (b) =, i T (c) =, i T (d) =, i T (e) =, i T (f) =, i T (g) = and i T (h) =. A node is balanced if (2.3) i T () {,,1}. Balanced binar trees form a subset of T composed of binar trees which have the propert of being balanced: Definition 2.1. A binar tree T is balanced if all nodes of T are balanced. Let us denote b B n the set of balanced binar trees with n nodes (see Figure 2 for the first sets) and B the set of all balanced binar trees. The number of balanced binar trees enumerated according to their number of nodes is Sequence A6265 of [Slo] and begins as (2.4) 1,1,2,1,4,6,4,17,32,44,6,7,184,476,872,1553,272,4288,6312,94. n B n Figure 2. The first balanced binar trees The Tamari lattice. The Tamari lattice can be defined in several was depending on which kind of Catalan object (i.e., objects in bijection with binar trees) the order relation is defined. The most common definitions are made on integer vectors with some conditions[sta9], on forests and binar trees [Knu4], and on Dck paths [BB9]. We give here the most convenient definition for our use. First, let us recall the right rotation operation: Definition 2.2. Let T be a binar tree and be a node of T having a nonempt left subtree. Let S := (A B) C be the subtree of root of T and T 1 be the binar tree obtained b replacing S b A (B C) (see Figure 3). Then the right rotation of root sends T to T 1. We write T T 1 if T 1 can be obtained b a right rotation from T. We call the relation the partial Tamari relation. Note that the application of a right rotation to a binar tree does not change the infi order of its nodes. In the sequel, we mainl talk about right rotations, so we call these simpl rotations. We are now in a position to give our definition of the Tamari order.

5 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 5 T = C right left A = T 1 A B B C Figure 3. The right rotation of root. Definition 2.3. The Tamari relation T is the refleive and transitive closure of the partial Tamari relation. In other words, we have T T T k if there eists a sequence T 1,...,T k of binar trees such that (2.5) T T 1 T k T k. The Tamari relation is an order relation. Indeed, T is refleive and transitive b definition. To prove that T is antismmetric, consider the statistic φ : T N where φ(t) is the sum for all nodes of T of the number of the nodes constituting the right subtree of. It is plain that if T T 1 then φ(t ) < φ(t 1 ), showing that T is antismmetric. For n, the set T n with the order relation T defines a lattice, namel the Tamari lattice (see [HT72]). We denote b T n := (T n, T ) the Tamari lattice of order n (see Figure 4 for some eamples). (a) T 3 (b) T 4 Figure 4. The Tamari lattices T 3 and T 4. The smallest elements are at the top. 3. Closure b interval of the set of balanced binar trees 3.1. Rotations and balance. Let us first consider the modifications of the imbalance values of the nodes of a balanced binar tree T := (A B) C when a rotation at its root is applied.

6 6 SAMUELE GIRAUDO Let T 1 be the binar tree obtained b this rotation, be the root of T and be the left child of in T (see again Figure 3, considering now that is the root of T and is the root of T 1 ). Note first that the imbalance values of the nodes of the subtrees A, B and C are not modified b this rotation. Indeed, onl the imbalance values of and are changed. Since T is balanced, we have i T () {,,1} and i T () {,,1}. Thus, the pair (i T (),i T ()) can take nine different values. Here follows the list of the imbalance values of and in T and T 1 epressed as (i T (),i T ()) (i T1 (),i T1 ()): (R1) (,) (1,1), (R2) (,) (1,), (R3) (,) (2,1), (R4) (1,) (2,), (R5) (1,) (3,1), (R6) (,) (2,2), (R7) (,1) (3,3), (R8) (,1) (3,2), (R9) (1,1) (4,2). Let us gather these nine sorts of rotations into three different groups, taking into account if the nodes and are balanced in T 1. Cases (R1) and (R2), where and sta balanced are called conservative balancing rotations; Cases (R3), (R4) and (R5), where stas balanced but not are called simpl unbalancing rotations; Cases (R6), (R7), (R8) and (R9) where and are both unbalanced are called full unbalancing rotations. This leads to the following properties. Proposition 3.1. Let T and T 1 be two balanced binar trees such that T T 1. Then, T and T 1 have the same height. Proof. Since T and T 1 are both balanced, the rotation modifies a subtree S of T such that the imbalance values of the root of S, and of the left child of, satisf (R1) or (R2). Let S 1 be the binar tree obtained b the rotation of root from S. Computing the height of S and S 1, we have h(s ) = h(s 1 ). Thus, since a rotation modifies a binar tree locall, we have h(t ) = h(t 1 ). Lemma 3.2. Let T be a balanced binar tree and T 1 be an unbalanced binar tree such that T T 1. Then, there eists a node z in T 1 such that i T1 (z) 2 and the left subtree and the right subtree of z are both balanced. Proof. Let be the node of T which is the root of the rotation that transforms T into T 1 and its left child in T. If this rotation is a simpl unbalancing rotation, it satisfies (R3), (R4) or (R5), and the node z := satisfies the lemma. If this rotation is a full unbalancing rotation, it satisfies (R6), (R7), (R8) or (R9), and the node z := of T 1 agrees with the conclusion of the lemma. Lemma 3.3. Let T be a binar tree and be a node of T such that all subtrees to the right w.r.t. are balanced. Then, if the binar tree T 1 is obtained from T b a rotation of root, all subtrees of T 1 to the right w.r.t. are balanced. Proof. Since the rotation operation does not modif the infi order of the nodes and b definition of the relation, if a subtree S is to the right w.r.t. in T 1, then S is also to the right w.r.t. in T. B hpothesis, S is balanced in T, and therefore, it is also balanced in T 1.

7 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE Construction of an imbalance invariant. Let T be a binar tree, be a node of T and be the leftmost node of the subtree of root in T. We sa that is a witness of imbalance if the following three conditions hold (see Figure 5): T = i T () 2 l S l B S B S B Figure 5. The node is a witness of imbalance of T. Note that the left subtree of is empt and thus S has or 1 node. (W1) The imbalance value of is greater than or equal to 2; (W2) The left subtree of is balanced; (W3) The subtrees of T which are to the right w.r.t. are balanced. Remark 3.4. If a binar tree T has a witness of imbalance, (W1) guarantees that T is unbalanced. The aim of this section is to define an additional propert that and must satisf to ensure that an binar tree T such that T T T has still a witness of imbalance. In this wa, b showing that T also satisfies this additional propert, we will prove that it is impossible to rebalance T through rotations. Let us alread give this propert. In what follows, the concepts necessar to understand it will be defined. If satisfies condition (CC) the height word of the node is admissible, then, wesathatt satisfiestheconservation condition. Besides, wesathat T hasanimbalance invariant if T has a witness of imbalance satisfing the conservation condition Height words. Let T be a binar tree, 1 be a node of T, ( 1, 2,..., l ) be the sequence of all ancestors of 1 whose are to the right w.r.t. 1 and ordered from bottom to top, and (S i ) 1 i l be the sequence of the right subtrees of the i (see Figure 6). The word u 1...u l of N defined b u i := h(s i ) is called the height word of 1 and denoted b hw T ( 1 ). It is convenient to set hw T () := ǫ whenever is not a node of T. See Figure 7 for some eamples of height words associated with some nodes of a binar tree Admissible words. Let u := u 1...u n be a word. Let us denote b l(u) the length n of u. Let Θ : N 2 N be the rewriting rule defined b { ma{a,b}+1 if b a {,,1}, (3.1) Θ(a.b) := ma{a, b} otherwise. Note that if A B is a balanced binar tree, then Θ(h(A).h(B)) = h(a B). We shall use this simple observation to establish the main result of this section.

8 8 SAMUELE GIRAUDO l T = 2 S l 1 S 2 S 1 Figure 6. The sequence (S i ) 1 i l associated with the node 1. T = z Figure 7. Eamples of height words: hw T () = 221, hw T () = 21, and hw T (z) = 1. This rewriting rule is etended to words of N b Θ(u) := Θ(u 1.u 2 ).u 3...u l(u). If i l(u), denote b Θ i (u) the iterated application of Θ defined b { (3.2) Θ i u if i =, (u) := Θ ( Θ i (u) ) otherwise. Definition 3.5. A word u N is admissible if either l(u) 1 or all words v of the set { (3.3) Θ i (u) : i l(u) 2 } satisf v 1 v 2. The set of admissible words is denoted b A. To check if a word u is admissible, iterativel compute the elements of the set (3.3) following (3.2), and check for each of these the inequalit of the previous definition. For eample, b denoting b Θ the rewriting rule Θ, we can check that u := 122 is admissible. Indeed, we have (3.4) 122 Θ 1122 Θ 222 Θ 32, and at each step, the condition u 1 u 2 holds. The word is also admissible: (3.5) Θ Θ Θ Θ 5778 Θ 778 Θ 88. On the other hand, 3444 is not admissible since we have (3.6) 3444 Θ 544 Θ 64, and 6 4. If u is an nonempt word, let us denote b Ω(u) the height of u, that is the one-letter word Θ l(u) (u). For eample, we have Ω(122) = 4, Ω( )= 9 and Ω(3444) = 6. Note that one can deduce from Definition 3.5 that a word u N of length greater than 1 is admissible if and onl if for each decomposition u = v.a.w where v N +, a N and w N, one has Ω(v) a.

9 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE Some properties of admissible words. Let us establish three lemmas on admissible words that will be helpful later to prove our main result. Lemma 3.6. If u is an admissible word, then, for all 1 i l(u), one has u i u i+1. Proof. Assume that u is of the form u = v.u i.u i+1.w with v,w N and u i > u i+1. Since Θ changes a word a.b N 2 into a letter c N no smaller than both a and b, we have Ω(v.u i ) u i. That implies that Ω(v.u i ) > u i+1, showing that u / A and contradicting the hpothesis. Lemma 3.7. All prefies and suffies of an admissible word are admissible. Proof. It is immediate, b definition, that all prefies of an admissible word also are admissible. Let u A such that l(u) 2, and w be a nonempt suffi of u. Assume that w / A. Hence, w is of the form w =.a. where N +, a N, N and Ω() > a. The word u is of the form u = v..a. where v N. Since Θ changes a word a.b N 2 into a letter c N no smaller than both a and b, we have Ω(v.) Ω(). Therefore, we have Ω(v.) > a, showing that u / A and contradicting the hpothesis. Lemma 3.8. If u.v is an admissible word such that l(v) 2, the word u.θ(v) is still admissible. Proof. If u is empt, the lemma follows immediatel. Assume that u is nonempt. The word u.v is of the form u.v = u.a.b.w where a,b N and w N. Set c := Θ(a.b) = Ω(a.b). The word u.c.w = u.θ(v) is admissible if the two inequalities Ω(u) c and Ω(u.c) Ω(u.a.b) hold. Since u.a.b.w A, we have Ω(u) 1 a, and since c = Θ(a.b), then c a and thus, Ω(u) 1 c, showing the first inequalit. Set d := Ω(u). The second inequalit amounts to prove that Ω(d.c) Ω(d.a.b), which is equivalent to prove Ω(d.Ω(a.b)) Ω(d.a.b). This relation holds in general for an letters a,b,d N, showing that u.θ(v) A Admissible height words. Let us prove two lemmas relating admissible words and height words. Lemma 3.9. Let T be a balanced binar tree, be a node of T, and u be the height word of. Then u is admissible and Ω(u) h(t). Proof. We proceed b structural induction on the set of balanced binar trees. The lemma is true for the single element T of the set B 1 since b denoting its node, we have u = hw T () = which is admissible and satisfies = Ω(u) h(t) = 1. Assume that T = L R. If is a node of R, we have u = hw T () = hw R (), and b induction hpothesis, u A and Ω(u) h(r). Since h(r) < h(t), the lemma is satisfied. If is a node of L, we have u = hw T () = hw L ().h(r). Since T is balanced, h(r) h(l) {,,1}, and b induction hpothesis, Ω(hw L ()) h(l). Hence, Ω(hw L ()) 1 h(r). Moreover, again b induction hpothesis, hw L () A, and hence, u A. Finall, since Ω(u) h(r)+1 h(t), the lemma is satisfied. Lemma 3.1. Let T be a binar tree and be a node of T such that hw T () is admissible and all subtrees of the sequence (S i ) 1 i l are balanced. Then, for all node of T such that T, the word hw T () is admissible. Proof. If is an ancestor of, since T, belongs to the left subtree of. Hence, hw T () is a suffi of hw T (), and b Lemma 3.7, hw T () A. Otherwise, let S be the subtree of T such that is a node of S and the parent of the root of S in T is an ancestor of. The height word of is of the form hw T () = u.h(s).v where u,v N. Since T S, b hpothesis S is balanced and thus b Lemma 3.9, hw S () A. Thanks to Lemma 3.7, h(s).v A, and since, b Lemma 3.9, Ω(hw S ()) h(s), the word hw T () = hw S ().v is admissible too.

10 1 SAMUELE GIRAUDO 3.3. The main result. We give and prove in this section the main result of this paper. For that, we show through the net two Propositions, that the imbalance invariant defined in Section 3.2 is appropriate to prove that all successors of a binar tree obtained from a balanced binar tree b an unbalancing rotation cannot be rebalanced. Before going further, let us give one eample of a binar that satisfies the conservation condition. Let us consider the following binar tree T : (3.7). S S 1 S One observes that the imbalance value of the node is 2, that the left subtree of is balanced, and that the subtrees to the right w.r.t., namel S, S, and S 1 are balanced. Hence, satisfies (W1), (W2), and (W3) and is a witness of imbalance of T. Moreover, one has hw T () = 144. Since 144 is an admissible word, T satisfies the conservation condition (CC) and hence, has an imbalance invariant. Proposition Let T be a balanced binar tree and T 1 be an unbalanced binar tree such that T T 1. Then, T 1 has an imbalance invariant. Proof. Let S := (A B) C be the subtree of T modified b the rotation transforming T into T 1 and S 1 := A (B C) be the resulting subtree in T 1. Denote b r the root of this rotation and b q the left child of r in S (see Figure 8). We shall ehibit, in the rest of this proof, a witness of imbalance of T 1 that satisfies the conservation condition. B Lemma 3.2, T = q r C A q r = T 1 A B B C Figure 8. The initial case, an unbalancing rotation at root r is performed into the balanced binar tree T. q or r is unbalanced in T 1 and has a positive imbalance value. Therefore, we have to consider two cases, depending on the sort of unbalancing rotation which transforms T into T 1. Case 1: If it is a simpl unbalancing rotation, set := q and as the leftmost node of the subtree of root q in T 1. Since i T1 () 2, (W1) checks out. Moreover, since T is balanced, b Lemma 3.3, the subtrees to the right w.r.t. r are balanced in T 1, and since A and B C are balanced, (W2) and (W3) are established. Finall, since T is balanced, Lemma 3.9 shows that hw T () is admissible. We have (3.8) hw T () = hw A ().h(b).h(c).v, where v N. Besides, we have (3.9) hw T1 () = hw A ().h(b C).v = hw A ().Θ(h(B).h(C)).v,

11 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 11 since B C is balanced. Hence, we have hw T1 () = hw A ().Θ(h(B).h(C).v), and since hw A ().h(b).h(c).v is admissible, b Lemma 3.8, hw T1 () also is. That shows that (CC) is satisfied. Case 2: Assume that the rotation is full unbalancing. Set := r and as the leftmost node of the subtree of root r in T 1. Since i T1 () 2, (W1) checks out. Moreover, since T is balanced, b Lemma 3.3, the subtrees to the right w.r.t r are balanced in T 1, and since B is balanced, (W2) and (W3) are established. Finall, since T is balanced, Lemma 3.9 shows that hw T () is admissible. We have (3.1) hw T () = hw B ().h(c).v, where v N. Besides, (3.11) hw T1 () = hw B ().h(c).v, and hence hw T1 () = hw T (), so that (CC) checks out. Thereb, we have shown that there eists a node in T 1 that is a witness of imbalance and satisfies the conservation condition in all case. Proposition Let T 1 and T 2 be two binar trees such that T 1 T 2 and T 1 has an imbalance invariant. Then, T 2 has an imbalance invariant. Proof. Let be a witness of imbalance of T 1 that satisfies the conservation condition, be the leftmost node of the subtree of root in T 1, r be the root of the rotation that transforms T 1 into T 2, and q be the left child of r in T 1. For all relative position of r w.r.t. in T 1, we shall ehibit a witness of imbalance of T 2 that satisfies the conservation condition. If necessar, we shall also ehibit the node of T 2 that is the leftmost node of the subtree of root. There are eactl three cases to consider. Note first that since one can perform a rotation of root r, r has a left son, and since has no left son, r. The first case occurs when r is to the left w.r.t. (Case 1). Otherwise, when r is to the right w.r.t., the second case occurs when r is a strict ancestor of (Case 2). In this case, is in the left subtree of r. Otherwise, when r is to the right w.r.t. and r is not a strict ancestor of, the third case occurs (Case 3). In this last case, the subtree of root r is to the right w.r.t.. Case 1: If r is to the left w.r.t., the rotation of root r does not modif an of the subtrees to the right w.r.t.. Thus, := is a witness of imbalance of T 2 and satisfies the conservation condition. Case 2: If r and q are both ancestors of in T 1, set C as the right subtree of r and B as the right subtree of q in T 1. In this case, T 2 is obtained from T 1 b replacing the subtrees B and C b B C as shown in Figure 9. We have now three possibilities whether B C is balanced and r is an ancestor of in T 1. Case 2.1: If B C is unbalanced, set := r and as the leftmost node of B C. One has (3.12) hw T1 () = u.h(b).h(c).v, where u,v N. Since satisfies the conservation condition in T 1, hw T1 () A. Thus, b Lemma 3.6, we have h(b) 1 h(c) so that i T2 ( ) 2 and (W1) is satisfied. Moreover, since B is balanced, and b Lemma 3.3, all subtrees to the right w.r.t. are also balanced in T 2, (W2) and (W3) are established. Finall, b Lemma 3.1, hw T1 ( ) A, and since hw T2 ( ) = hw T1 ( ), (CC) checks out.

12 12 SAMUELE GIRAUDO T 1 = q r C q r = T 2 B B C Figure 9. The second case, r is an ancestor of and T1 r. Case 2.2: If B C is balanced and r is an ancestor of in T 1, set := and :=. One clearl has i T2 ( ) 2, so that (W1) is satisfied. Moreover, since the left subtree of in T 2 is not modified b the rotation and hence stas balanced, since B C is balanced, and since b Lemma 3.3, all subtrees to the right w.r.t. r are balanced in T 2, (W2) and (W3) check out. Finall, since satisfies the conservation condition in T 1, hw T1 () A and we have (3.13) hw T1 () = u.h(b).h(c).v, where u,v N. Besides, (3.14) hw T2 ( ) = u.h(b C).v = u.θ(h(b).h(c)).v, since B C is balanced. Thus, b Lemma 3.8, hw T2 ( ) A, so that (CC) is satisfied. Case 2.3: If B C is balanced and r is a descendant of in T 1, we have two possibilities whether q is balanced in T 2. If it is, set :=. B Proposition 3.1, the left subtree of stas balanced in T 2 and i T2 ( ) 2. Thus, (W1) and (W2) are satisfied. Moreover, b Lemma 3.3, all subtrees to the right w.r.t. sta balanced in T 2 so that (W3) checks out. Otherwise, if q is not balanced, set := q. Since the left subtree of is balanced in T 1, b Lemma 3.2, i T2 ( ) 2, and (W1) holds. Moreover, q belongs to the left subtree of in T 1 which is balanced, and hence, the left subtree of q is balanced in T 2, so that (W2) holds. Since B C is balanced and b Lemma 3.3, (W3) also holds. Set now for both cases as the leftmost node of the subtree of root in T 2. The word hw T2 ( ) satisfies eactl same conditions as in the previous case, so that (CC) is satisfied. Case 3: If the subtree S 1 := (A B) C of root r in T 1 is to the right w.r.t., set S 2 := A (B C) as the subtree of T 2 obtained b the rotation at root r which transforms T 1 into T 2 (see Figure 1). We have now two cases to consider whether S 2 is balanced or not. Case 3.1: If S 2 is balanced, b Proposition 3.1, h(s 2 ) = h(s 1 ), and b setting := and := one has i T2 ( ) = i T1 () so that (W1) is satisfied. Moreover, the left subtree of stas balanced, and b Lemma 3.3, the subtrees to the right w.r.t. in T 2 also, so that (W2) and (W3) check out. Finall, also satisfies (CC) in T 2 since hw T2 ( ) = hw T1 (). Case 3.2: If S 2 is not balanced, b Proposition 3.11, there eists a node in S 2 which is a witness of imbalance satisfing the conservation condition, locall in S 2. Therefore, satisfies (W1) and (W2) in T 2. It also satisfies (W3) in T 2 since, b Lemma 3.3, the subtrees of T 2 to the right w.r.t. r sta balanced. It remains to prove that satisfies the conservation condition in the whole binar tree T 2. Set as the leftmost node of the subtree of root in

13 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 13 T 1 = A q B r C A q B r = T 2 C Figure 1. The third case, r is a node of a subtree S 1 of T 1 satisfing T1 S 1. T 2. B Proposition 3.11, w := hw S2 ( ) A, and b Lemma 3.9, w satisfies Ω(w) h(s 1 ). B hpothesis, hw T1 () A and one has (3.15) hw T1 () = u.h(s 1 ).v, where u,v N. Besides, since (3.16) hw T2 ( ) = w.v, one has hw T2 ( ) A, establishing (CC). Thereb, we have shown that there eists a node in T 2 that is a witness of imbalance and satisfies the conservation condition in all case. Theorem Let T and T be two balanced binar trees such that T T T. Then, the interval [T,T ] onl contains balanced binar trees. In other words, all successors of a binar tree obtained b an unbalancing rotation from a balanced binar tree are unbalanced. Proof. LetT andt 2 betwobalancedbinartreesandt 1 beanunbalancedbinartree. Assume that (3.17) T T 1 T 2. B Proposition 3.11, T 1 satisfies the conservation condition. Moreover, b Proposition 3.12, T 2 also satisfies the conservation condition. Hence, T 2 has a witness of imbalance and b Remark 3.4, T 2 is unbalanced. This is contradictor with our hpothesis. Therefore, the notion of imbalance invariant defined in Section 3.2 is appropriate and hence the set of balanced binar trees is closed b interval in the Tamari lattice. 4. Snchronous grammars In this section, we introduce snchronous grammars. These grammars allow to generate planar rooted tree-like structures b allowing these to grow from the root to the leaves step b step. Such trees grow from a single node, the root, and b simultaneousl substituting its nodes with no children b new tree-like structures following some fied substitution rules. As we shall see, snchronous grammars are convenient tools to enumerate some specified families of planar rooted tree-like structures. Indeed, one can etract a fied-point functional

14 14 SAMUELE GIRAUDO equation for the generating series enumerating the specified objects from a snchronous grammar subject to two precise conditions that we shall epose. We also present an algorithm to compute the coefficients of this generating series Definitions Bud trees. Definition 4.1. Let B be a nonempt finite alphabet. A B-bud tree, or simpl a bud tree if B is fied, is a nonempt incomplete rooted planar tree where the leaves, namel the buds, are labeled on B. Set for the sequel B := {b 1,...,b k } as a nonempt finite alphabet. Denote b D n the set of B-bud trees with n buds and b D the set of all B-bud trees. The set of all buds of a bud tree D is denoted b Buds(D) and the frontier of D is the sequence (b 1,...,b n ) of its buds, read from left to right. If b is a bud, we shall denote b ev(b) the evaluation of b, that is the element of B labeling b. Moreover, the evaluation ev(d) of D is the monomial of Z[B] defined b (4.1) ev(d) := ev(b). b Buds(D) For eample, (4.2) ev = z and ev z = Snchronous grammars. Definition 4.2. A snchronous grammar S is a triple (B,a,R) where: B is a nonempt alphabet, the set of bud labels; a is a bud labeled on B, the aiom of S; R B D is a finite set such that for all b B, there is at least one bud tree D such that (b,d) R. This is the set of substitution rules of S. Let S := (B,a,R) be a snchronous grammar. For the sake of readabilit, we will make use of the following notation for substitution rules: If (b,d) is a substitution rule of S, we shall denote it b b S D or b b D if S is fied. Moreover, we will abbreviate the substitutions rules b S D 1,..., b S D n b (4.3) b S D 1 + +D n. Definition 4.3. Let S := (B,a,R) be a snchronous grammar and D be a bud tree with frontier (b 1,...,b n ) where ev(b i ) = b i for all 1 i n. We sa that the bud tree D 1 is derivable from D in S, and we denote that b D S D1, if there eists a sequence of substitution rules (b 1 T 1,...,b n T n ) of R n such that, b simultaneousl substituting the bud b i of D b the root of T i for all 1 i n, one obtains D 1. Definition 4.4. A bud tree D is generated b a snchronous grammar S := (B,a,R) if there eists a sequence (D 1,...,D l ) of bud trees such that (4.4) a S D 1 S S Dl S D. Moreover, we sa that D is generated b a l-steps derivation.

15 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 15 We denote b L (l) S the set of the bud trees generated b l-steps derivations and b L S the language of S, that is the set of all bud trees generated b S. We also sa that S is trim if for all b B there eists at least one bud tree D generated b S that contains a bud labeled b b. In the sequel, we shall onl consider trim snchronous grammars without mentioning it eplicitl. We will illustrate most of the net definitions through the snchronous grammar ( ) (4.5) S epl := {,},,R, where R contains the substitution rules (4.6) 2 + 3, (4.7). Figure 11 shows a derivation in S epl. 3 S epl Figure 11. A 1-step derivation in S epl Generating graph. The l-generating graph G (l) S := (V,E) of a snchronous grammar S is the directed graph defined b (4.8) V := L (i) S, and (4.9) E := i l {(D,D 1 ) V 2 : D S D1 }. The generating graph of S is the possibl infinite graph G S defined as above where V := L S. This graph is connected and has at most one source, the aiom a. Figure 12 shows an eample of a 2-generating graph Strict and unambiguous snchronous grammars. Definition 4.5. A snchronous grammar S := (B, a, R) is strict if there eists a monomial order B on the set of monomials of Z[B] such that, for all bud tree D generated b S and all bud tree D 1 derivable from D, we have ev(d ) < B ev(d 1 ). If S is strict, since its set of substitution rules is finite, S generates onl finitel man bud trees with a given evaluation, and since its set of buds is finite, S also generates onl finitel man bud trees with a given number of buds. Moreover, if S is strict, its generating graph G S is acclic. Lemma 4.6. Let S := (B,a,R) be a snchronous grammar. If there eists a total order B on B such that, for all substitution rule b D of R where D D 1 we have b < B ev(d), then S is strict.

16 16 SAMUELE GIRAUDO Figure 12. The 2-generating graph of S epl. Proof. We etend the total order B defined on B into a monomial order on the set of monomials of Z[B] b considering the graded leicographic order on monomials. Consider now a bud tree D generated b S and a bud tree D 1 derivable from D. If there eists at least one bud of D that is substituted b a bud tree with more than one bud, one has l(ev(d )) < l(ev(d 1 )) and hence ev(d ) < B ev(d 1 ). Otherwise, D and D 1 have the same number of buds. B hpothesis, all buds of the frontier (b 1,...,b n ) of D are substituted b n bud trees each containing the buds c 1,..., c n such that ev(b i ) < B ev(c i ) for all 1 i n. Hence, ev(d ) < B ev(d 1 ), impling that S is strict. For instance, S epl is strict since the order B meets the assumptions of Lemma 4.6. This order can be etended into the monomial order defined b (4.1) i j B k l if i+j < k +l or i+j = k +l and i k. Definition 4.7. A snchronous grammar S is unambiguous if for all bud tree D, there eists at most one integer l and one sequence (D 1,...,D l ) such that (4.4) holds. The generating graph G S is a tree if and onl if S is unambiguous. Lemma 4.8. Let S := (B,a,R) be a strict snchronous grammar. If for all b B and for all substitution rules b T and b T 1 of R where T T 1 there are at the same location in T and T 1 two non-bud nodes that are different, then S is unambiguous.

17 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 17 Proof. Let D be a bud tree generated b S and D and D 1 be two different bud trees derivable from D. Among other substitutions, the bud tree D (resp. D 1 ) is obtained b replacing one of its buds b a bud tree T (resp. T 1 ), and b hpothesis, there are at the same location in T and T 1 two non-bud nodes that are different. Hence, there are at the same location in D and D 1 two non-bud nodes that are different. This shows that all bud trees obtained b performing an sequence of derivations from D and from D 1 are different since the differ b a non-bud node. Moreover, since S is strict, its generating graph contains no ccle, and hence, S is unambiguous. For instance, Lemma 4.8 shows that S epl is unambiguous since it is strict and the bud can be substituted b two buds trees with different roots: One of these is of arit 2 while the other one is of arit Snchronous grammars and generating series. Definition 4.9. Let S := (B,a,R) be a snchronous grammar. The l-generating series S (l) S of S is the polnomial of Z[B] defined b (4.11) S (l) S (b 1,...,b k ) := a S D 1 S S D l ev(d l ). Moreover, if S is strict, the generating series S S of S is the element of Z[[B]] defined b (4.12) S S (b 1,...,b k ) := l S (l) S (b 1,...,b k ). Let S := (B,a,R) be a strict snchronous grammar. The series S S is well-defined since S is strict. Moreover, if S is also unambiguous, we have (4.13) S S (b 1,...,b k ) = D L S ev(d), and for all monomial u := b α1 1...bα k k, the coefficient [u]s S is the number of bud trees generated b S that have u as evaluation, i.e., a frontier made of α i occurrences of buds labeled b b i, for all 1 i k. For eample, the first l-generating series of S epl are (4.14) (4.15) (4.16) S () S epl (,) =, S (1) S epl (,) = + 2, and its generating series is of the form S (2) S epl (,) = (4.17) S Sepl (,) = For all b B let us define the polnomials subs(b) of Z[B] b (4.18) subs(b) := ev(d). (b,d) R For instance, for S epl one directl obtains from (4.6) and (4.7) (4.19) subs() = + 2, (4.2) subs() =.

18 18 SAMUELE GIRAUDO Lemma 4.1. Let S := (B,a,R) be a snchronous grammar. For all l, S (l) S satisfies { ev(a) if l =, (4.21) S (l) S (b 1,...,b k ) = S (l) S (subs(b 1 ),...,subs(b k )) otherwise. Proof. If l =, the onl bud tree generated b -step derivations is the aiom a of S. Hence, the lemma is satisfied. Let l 1. Assume that there eists the following sequence of derivations in S: (4.22) a S D 1 S S Dl S Dl. Then, b definition, D l is obtained b substituting the buds b i of D l b some buds trees T i. From the polnomial point of view, the monomial ev(d l ) is obtained b the polnomial substitutions ev(b i ) ev(t i ) in S (l) S. Hence, S (l) S is obtained from S(l) S b performing the polnomial substitution b subs(b) for each b B, showing (4.21). Proposition Let S := (B, a, R) be a strict snchronous grammar. The generating series S S satisfies the fied-point functional equation (4.23) S S (b 1,...,b k ) = ev(a)+s S (subs(b 1 ),...,subs(b k )). Proof. Using Lemma 4.1, we obtain (4.24) (4.25) (4.26) (4.27) S S (b 1,...,b k ) = l S (l) S (b 1,...,b k ) = S () S (b 1,...,b k )+ S (l) S (b 1,...,b k ) l 1 = ev(a)+ l = ev(a)+ l S (l+1) S (b 1,...,b k ) S (l) S (subs(b 1),...,subs(b k )) = ev(a)+s S (subs(b 1 ),...,subs(b k )). Proposition 4.11 gives a formula to etract a fied-point functional equation for the generating series of a given strict snchronous grammar S := (B,a,R) and Lemma 4.1 gives an algorithm to compute its coefficients b iteration, i.e., b computing the polnomials S (l) S for l n where n is a desired order, and then, b summing its terms. In our eample, the generating series of S epl satisfies the fied-point functional equation (4.28) S Sepl (,) = +S Sepl ( + 2,). Note that in some cases it is useful to specialize the generating series S S associated with S. For eample, the specialization of an element b of B to allows to annihilate some terms of S S corresponding to bud trees which have buds labeled b b. In this wa, the enumeration provided b S S with this specialization takes into account onl bud trees generated b S that have no bud labeled b b. In the same wa, it is possible to add some parameters to the substitution rules of S in order to refine the generating series S S. For instance, to take into account the number of application

19 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 19 of the substitution rule (4.29) 3, in the bud trees generated b S epl, one has just to set (4.3) subs() := + 2 ξ, so that the parameter ξ counts the number of application of this substitution rule. In this wa, one can enumerate tree-like structures according to some statistics Eamples. Let us consider three eamples of snchronous grammars to illustrate the concepts that we have presented. Let us start with a ver simple eample. ( ) Perfect binar trees. Let the snchronous grammar S perf := {},,R where R contains the unique substitution rule (4.31). B identifing the buds with leaves, the language L Sperf is the set of perfect binar trees, that are binar trees of the sequence (T i ) i defined b T := and T i+1 := T i T i. This snchronous grammar is strict since the number of buds of all bud trees generated b S perf increases after each derivation. Besides, since S perf is strict and R onl contains one substitution rule, the generating graph G Sperf onl contains one maimal path and hence, S perf is unambiguous. Therefore, the series S Sperf is well-defined and b Proposition 4.11, it satisfies the fied-point functional equation (4.32) S Sperf () = +S Sperf ( 2 ), and enumerateperfect binartrees accordingto their number ofleaves. First S (l) S perf polnomials are (4.33) S () S perf () =, S (1) S perf () = 2, S (2) S perf () = 4, S (3) S perf () = 8, so that (4.34) S Sperf () = n 2n = Balanced 2-3 trees. Let the snchronous grammar S 23 := the substitution rules (4.35) ( ) {},,R where R contains B identifing the buds with leaves, the language of S 23 is the set of balanced 2-3 trees, that are complete rooted planar trees such that each internal node has 2 or 3 children and all paths leading to their leaves have same length (see [Odl82, FS9]). Since each step of derivation increases the number of buds of the generated bud tree, S 23 is strict. Moreover, S 23 satisfies the hpothesis of Lemma 4.8 and hence is unambiguous. Indeed, the two bud trees appearing in the two substitution rules have a different root: One is of arit

20 2 SAMUELE GIRAUDO 2 and the other of arit 3. Thus, the series S S23 is well-defined and b Proposition 4.11, it satisfies the fied-point functional equation (4.36) S S23 () = +S S23 ( ), and enumerate balanced 2-3 trees according to their number of leaves. First polnomials S (l) S 23 are (4.37) (4.38) (4.39) S () S 23 () =, S (1) S 23 () = 2 + 3, S (2) S 23 () = An interpretation of the polnomial S (2) S 23 () is the following: B performing 2-steps derivations, S 23 generates one bud tree with 4 buds, two bud trees with 5 buds, two bud trees with 6 buds, three bud trees with 7 buds, three bud trees with 8 buds and one bud tree with 9 buds. ( ) Balanced binar trees. Consider now the snchronous grammar S bal := {,},,R where R contains the substitution rules (4.4) + + 1, (4.41). As we shall show, b annihilating the bud trees containing some buds and b replacing the buds b leaves, the language of S bal is the set of balanced binar trees. Proposition Let D be a bud tree generated b S bal onl containing buds. Then, the non-bud nodes of D are labeled b their imbalance value. Proof. Each step of derivation leading to D substitutes each b new bud trees of height two, and each b new bud trees of height one. Thus, each step of derivation increases b one the height of the subtrees containing a. Besides, the role of the is to dela, during one step of derivation, the growth of the branch containing these, to enable the creation of the imbalance values and 1. Since D does not have an, ever growing dela is respected, so that imbalance values are its labels. Proposition 4.12 shows that the bud trees generated b S bal onl containing buds are balanced binar trees. Moreover, a simple structural induction on balanced binar trees shows that ever balanced binar tree can be generated b S bal. Indeed, the empt tree can be generated, and, if T is a balanced binar tree and z its root, b induction hpothesis, its left subtree and its right subtree can be generated b S bal. To generate T, one just haveto make the first derivation according to the imbalance value of z. Figure 13 shows an eample of generation of a balanced binar tree. B setting B, S bal satisfies the hpothesis of Lemma 4.6 and hence, is strict. Moreover, Lemma 4.8 shows that S bal is unambiguous since all bud trees arising in a right member of the substitution rules of S bal have a different root since their labeling differ. Proposition 4.12 shows that this labeling is consistent. Hence S Sbal is well-defined. B Proposition 4.11, the generating series enumerating the elements of L Sbal satisfies the fied-point functional equation (4.42) S Sbal (,) = +S Sbal ( 2 +2,).

21 INTERVALS OF BALANCED BINARY TREES IN THE TAMARI LATTICE 21 S 1 bal S bal 1 S bal S bal 1 Figure 13. Generation of a balanced binar tree b the snchronous grammar S bal. First S (l) S bal polnomials are (4.43) (4.44) (4.45) S () S bal (,) =, S (1) S bal (,) = 2 + 2, S (2) S bal (,) = As alread mentioned, to enumerate balanced binar trees, we have to discard the elements of L Sbal that contain a bud labelled b. Thus, the generatingseriesenumeratingbalanced binar trees according to their number of leaves is given b the specialization S Sbal (,). Note that this fied-point functional equation is obtained in [BLL88, BLL94, Knu98] b other methods. 5. Imbalance tree patterns and balanced binar trees Word patterns and permutations patterns are usuall used to describe languages or sets of permutations b considering the set of elements avoiding these ones. We use the same idea to describe sets of binar trees b introducing a notion of binar tree patterns and pattern avoidance. We show that we can describe in this wa some interesting subsets of the set of balanced binar trees according to their particular position in the Tamari lattice. Afterwards, we use the methods developed in the previous section to construct snchronous grammar generating the maimal balanced binar trees in the Tamari lattice and get fied-point functional equation for the generating series enumerating these Imbalance tree patterns. Definition 5.1. An imbalance tree pattern is a nonempt incomplete rooted planar binar tree with labels in Z. Let T be a binar tree. We denote b T i the labeled binar tree of shape T whose nodes are labeled b their imbalance value. We sa that T admits an occurrence of the imbalance tree pattern p if a connected component of T i has the same shape and same labels as p. Now, given a set P of imbalance tree patterns, we can define the set composed of the binar trees that avoid P, i.e., the binar trees that do not admit an occurrence of the elements of P. For eample, the set { } (5.1) i : i / {,,1}

22 22 SAMUELE GIRAUDO describes the set of balanced binar trees, the set { } (5.2) i : i describes the set of perfect binar trees and { j (5.3) i : i,j Z describes the set of right comb binar trees, that are binar trees such that each node has an empt left subtree. As eposed in Section 4.3, snchronous grammars allow to generate binar trees b controlling the imbalance values of their nodes. Hence, the allow to generate binar trees that avoid some imbalance tree patterns Minimal and maimal balanced binar trees in the Tamari lattice Minimal and maimal balanced binar trees. Let us first describe a set of balanced binar trees and its counterpart whose elements are, roughl speaking, at the end of the balanced binar trees subposet of the Tamari lattice. Definition 5.2. A balanced binar tree T (resp. T 1 ) is maimal (resp. minimal) if, for all binar tree T 1 (resp. T ) such that T T 1, we have T 1 (resp. T ) unbalanced. B Theorem 3.13, if T (resp. T 1 ) is a maimal (resp. minimal) balanced binar tree, then there does not eist an balanced binar tree T 1 (resp. T ) such that T T T 1. Maimal (resp. minimal) balanced binar trees are thus maimal(resp. minimal) elements in the Tamari lattice restricted to balanced binar trees. Proposition 5.3. A balanced binar tree T is maimal if and onl if it avoids the set of imbalance tree patterns (5.4) P ma :=,. Similarl, a balanced binar tree T is minimal if and onl if it avoids the set of imbalance tree patterns { } 1 (5.5) P min := 1, 1. Proof. Assume that T is maimal. Then, for all binar tree T 1 such that T T 1 we have T 1 unbalanced. Thus, it is impossible to do a conservative balancing rotation into T and, looking at the different sorts of rotations studied in Section 3.1 it avoids the set P ma. Conversel, assume that T is a balanced binar tree that avoids the two patterns of P ma, then, for ever binar tree T 1 such that T T 1, T 1 is unbalanced since for all node which has a left child in T, the imbalance values of and satisf one of the seven cases (R3) (R9) of Section 3.1. Thus, we can onl do unbalancing rotations into T, impling that T is maimal. The second part of the proposition is done in an analogous wa, considering left rotations instead of right rotations. Proposition 5.4. The generating series enumerating maimal balanced binar trees according to the number of leaves of the trees is S ma (,,) where (5.6) S ma (,,z) = +S ma ( 2 + +z,,). }

Section 3.1. ; X = (0, 1]. (i) f : R R R, f (x, y) = x y

Section 3.1. ; X = (0, 1]. (i) f : R R R, f (x, y) = x y Paul J. Bruillard MATH 0.970 Problem Set 6 An Introduction to Abstract Mathematics R. Bond and W. Keane Section 3.1: 3b,c,e,i, 4bd, 6, 9, 15, 16, 18c,e, 19a, 0, 1b Section 3.: 1f,i, e, 6, 1e,f,h, 13e,

More information

Constant 2-labelling of a graph

Constant 2-labelling of a graph Constant 2-labelling of a graph S. Gravier, and E. Vandomme June 18, 2012 Abstract We introduce the concept of constant 2-labelling of a graph and show how it can be used to obtain periodic sphere packing.

More information

Chapter 6. Self-Adjusting Data Structures

Chapter 6. Self-Adjusting Data Structures Chapter 6 Self-Adjusting Data Structures Chapter 5 describes a data structure that is able to achieve an epected quer time that is proportional to the entrop of the quer distribution. The most interesting

More information

Chapter 6* The PPSZ Algorithm

Chapter 6* The PPSZ Algorithm Chapter 6* The PPSZ Algorithm In this chapter we present an improvement of the pp algorithm. As pp is called after its inventors, Paturi, Pudlak, and Zane [PPZ99], the improved version, pps, is called

More information

MAT389 Fall 2016, Problem Set 2

MAT389 Fall 2016, Problem Set 2 MAT389 Fall 2016, Problem Set 2 Circles in the Riemann sphere Recall that the Riemann sphere is defined as the set Let P be the plane defined b Σ = { (a, b, c) R 3 a 2 + b 2 + c 2 = 1 } P = { (a, b, c)

More information

8. BOOLEAN ALGEBRAS x x

8. BOOLEAN ALGEBRAS x x 8. BOOLEAN ALGEBRAS 8.1. Definition of a Boolean Algebra There are man sstems of interest to computing scientists that have a common underling structure. It makes sense to describe such a mathematical

More information

Hamiltonicity and Fault Tolerance

Hamiltonicity and Fault Tolerance Hamiltonicit and Fault Tolerance in the k-ar n-cube B Clifford R. Haithcock Portland State Universit Department of Mathematics and Statistics 006 In partial fulfillment of the requirements of the degree

More information

arxiv: v1 [math.co] 21 Dec 2016

arxiv: v1 [math.co] 21 Dec 2016 The integrall representable trees of norm 3 Jack H. Koolen, Masood Ur Rehman, Qianqian Yang Februar 6, 08 Abstract In this paper, we determine the integrall representable trees of norm 3. arxiv:6.0697v

More information

An Algebraic View of the Relation between Largest Common Subtrees and Smallest Common Supertrees

An Algebraic View of the Relation between Largest Common Subtrees and Smallest Common Supertrees An Algebraic View of the Relation between Largest Common Subtrees and Smallest Common Supertrees Francesc Rosselló 1, Gabriel Valiente 2 1 Department of Mathematics and Computer Science, Research Institute

More information

You don't have to be a mathematician to have a feel for numbers. John Forbes Nash, Jr.

You don't have to be a mathematician to have a feel for numbers. John Forbes Nash, Jr. Course Title: Real Analsis Course Code: MTH3 Course instructor: Dr. Atiq ur Rehman Class: MSc-II Course URL: www.mathcit.org/atiq/fa5-mth3 You don't have to be a mathematician to have a feel for numbers.

More information

arxiv: v1 [math.co] 8 Jul 2016

arxiv: v1 [math.co] 8 Jul 2016 Poset structures on (m + 2)-angulations and polnomial bases of the quotient b G m -quasismmetric functions Jean-Christophe Aval & Frédéric Chapoton arxiv:1607.02368v1 [math.co] 8 Jul 2016 October 29, 2018

More information

AVL trees. AVL trees

AVL trees. AVL trees Dnamic set DT dnamic set DT is a structure tat stores a set of elements. Eac element as a (unique) ke and satellite data. Te structure supports te following operations. Searc(S, k) Return te element wose

More information

The Maze Generation Problem is NP-complete

The Maze Generation Problem is NP-complete The Mae Generation Problem is NP-complete Mario Alviano Department of Mathematics, Universit of Calabria, 87030 Rende (CS), Ital alviano@mat.unical.it Abstract. The Mae Generation problem has been presented

More information

MAT 1275: Introduction to Mathematical Analysis. Graphs and Simplest Equations for Basic Trigonometric Functions. y=sin( x) Function

MAT 1275: Introduction to Mathematical Analysis. Graphs and Simplest Equations for Basic Trigonometric Functions. y=sin( x) Function MAT 275: Introduction to Mathematical Analsis Dr. A. Rozenblum Graphs and Simplest Equations for Basic Trigonometric Functions We consider here three basic functions: sine, cosine and tangent. For them,

More information

Cycle Structure in Automata and the Holonomy Decomposition

Cycle Structure in Automata and the Holonomy Decomposition Ccle Structure in Automata and the Holonom Decomposition Attila Egri-Nag and Chrstopher L. Nehaniv School of Computer Science Universit of Hertfordshire College Lane, Hatfield, Herts AL10 9AB United Kingdom

More information

15. Eigenvalues, Eigenvectors

15. Eigenvalues, Eigenvectors 5 Eigenvalues, Eigenvectors Matri of a Linear Transformation Consider a linear ( transformation ) L : a b R 2 R 2 Suppose we know that L and L Then c d because of linearit, we can determine what L does

More information

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

UNIVERSIDAD CARLOS III DE MADRID MATHEMATICS II EXERCISES (SOLUTIONS )

UNIVERSIDAD CARLOS III DE MADRID MATHEMATICS II EXERCISES (SOLUTIONS ) UNIVERSIDAD CARLOS III DE MADRID MATHEMATICS II EXERCISES (SOLUTIONS ) CHAPTER : Limits and continuit of functions in R n. -. Sketch the following subsets of R. Sketch their boundar and the interior. Stud

More information

Fuzzy Topology On Fuzzy Sets: Regularity and Separation Axioms

Fuzzy Topology On Fuzzy Sets: Regularity and Separation Axioms wwwaasrcorg/aasrj American Academic & Scholarl Research Journal Vol 4, No 2, March 212 Fuzz Topolog n Fuzz Sets: Regularit and Separation Aioms AKandil 1, S Saleh 2 and MM Yakout 3 1 Mathematics Department,

More information

Greedy Trees, Caterpillars, and Wiener-Type Graph Invariants

Greedy Trees, Caterpillars, and Wiener-Type Graph Invariants Georgia Southern University Digital Commons@Georgia Southern Mathematical Sciences Faculty Publications Mathematical Sciences, Department of 2012 Greedy Trees, Caterpillars, and Wiener-Type Graph Invariants

More information

2 Generating Functions

2 Generating Functions 2 Generating Functions In this part of the course, we re going to introduce algebraic methods for counting and proving combinatorial identities. This is often greatly advantageous over the method of finding

More information

Minimal reductions of monomial ideals

Minimal reductions of monomial ideals ISSN: 1401-5617 Minimal reductions of monomial ideals Veronica Crispin Quiñonez Research Reports in Mathematics Number 10, 2004 Department of Mathematics Stocholm Universit Electronic versions of this

More information

Data Compression. Limit of Information Compression. October, Examples of codes 1

Data Compression. Limit of Information Compression. October, Examples of codes 1 Data Compression Limit of Information Compression Radu Trîmbiţaş October, 202 Outline Contents Eamples of codes 2 Kraft Inequality 4 2. Kraft Inequality............................ 4 2.2 Kraft inequality

More information

MA123, Chapter 1: Equations, functions and graphs (pp. 1-15)

MA123, Chapter 1: Equations, functions and graphs (pp. 1-15) MA123, Chapter 1: Equations, functions and graphs (pp. 1-15) Date: Chapter Goals: Identif solutions to an equation. Solve an equation for one variable in terms of another. What is a function? Understand

More information

Tensor products in Riesz space theory

Tensor products in Riesz space theory Tensor products in Riesz space theor Jan van Waaij Master thesis defended on Jul 16, 2013 Thesis advisors dr. O.W. van Gaans dr. M.F.E. de Jeu Mathematical Institute, Universit of Leiden CONTENTS 2 Contents

More information

4Cubic. polynomials UNCORRECTED PAGE PROOFS

4Cubic. polynomials UNCORRECTED PAGE PROOFS 4Cubic polnomials 4.1 Kick off with CAS 4. Polnomials 4.3 The remainder and factor theorems 4.4 Graphs of cubic polnomials 4.5 Equations of cubic polnomials 4.6 Cubic models and applications 4.7 Review

More information

Binary Decision Diagrams. Graphs. Boolean Functions

Binary Decision Diagrams. Graphs. Boolean Functions Binary Decision Diagrams Graphs Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant

More information

Postorder Preimages. arxiv: v3 [math.co] 2 Feb Colin Defant 1. 1 Introduction

Postorder Preimages. arxiv: v3 [math.co] 2 Feb Colin Defant 1. 1 Introduction Discrete Mathematics and Theoretical Computer Science DMTCS vol. 19:1, 2017, #3 Postorder Preimages arxiv:1604.01723v3 [math.co] 2 Feb 2017 1 University of Florida Colin Defant 1 received 7 th Apr. 2016,

More information

arxiv: v1 [math.co] 22 Jan 2013

arxiv: v1 [math.co] 22 Jan 2013 NESTED RECURSIONS, SIMULTANEOUS PARAMETERS AND TREE SUPERPOSITIONS ABRAHAM ISGUR, VITALY KUZNETSOV, MUSTAZEE RAHMAN, AND STEPHEN TANNY arxiv:1301.5055v1 [math.co] 22 Jan 2013 Abstract. We apply a tree-based

More information

A PARTIAL CHARACTERIZATION OF THE COCIRCUITS OF A SPLITTING MATROID

A PARTIAL CHARACTERIZATION OF THE COCIRCUITS OF A SPLITTING MATROID DEPARTMENT OF MATHEMATICS TECHNICAL REPORT A PARTIAL CHARACTERIZATION OF THE COCIRCUITS OF A SPLITTING MATROID DR. ALLAN D. MILLS MAY 2004 No. 2004-2 TENNESSEE TECHNOLOGICAL UNIVERSITY Cookeville, TN 38505

More information

Introduction to Metalogic 1

Introduction to Metalogic 1 Philosophy 135 Spring 2012 Tony Martin Introduction to Metalogic 1 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: (i) sentence letters p 0, p 1, p 2,... (ii) connectives,

More information

Algebraic and combinatorial structures on pairs of twin binary trees

Algebraic and combinatorial structures on pairs of twin binary trees Algebraic and combinatorial structures on pairs of twin binary trees Samuele Giraudo To cite this version: Samuele Giraudo. Algebraic and combinatorial structures on pairs of twin binary trees. Journal

More information

Perfect matchings in highly cyclically connected regular graphs

Perfect matchings in highly cyclically connected regular graphs Perfect matchings in highly cyclically connected regular graphs arxiv:1709.08891v1 [math.co] 6 Sep 017 Robert Lukot ka Comenius University, Bratislava lukotka@dcs.fmph.uniba.sk Edita Rollová University

More information

Non-context-Free Languages. CS215, Lecture 5 c

Non-context-Free Languages. CS215, Lecture 5 c Non-context-Free Languages CS215, Lecture 5 c 2007 1 The Pumping Lemma Theorem. (Pumping Lemma) Let be context-free. There exists a positive integer divided into five pieces, Proof for for each, and..

More information

Catalan States of Lattice Crossing: Application of Plucking Polynomial

Catalan States of Lattice Crossing: Application of Plucking Polynomial Catalan States of Lattice Crossing: Application of Plucking Polnomial Mieczslaw K. Dabkowski Jozef H. Prztcki arxiv:7.0528v [math.gt] 4 Nov 207 Abstract For a Catalan state C of a lattice crossing L (m

More information

Review Topics for MATH 1400 Elements of Calculus Table of Contents

Review Topics for MATH 1400 Elements of Calculus Table of Contents Math 1400 - Mano Table of Contents - Review - page 1 of 2 Review Topics for MATH 1400 Elements of Calculus Table of Contents MATH 1400 Elements of Calculus is one of the Marquette Core Courses for Mathematical

More information

NATIONAL UNIVERSITY OF SINGAPORE Department of Mathematics MA4247 Complex Analysis II Lecture Notes Part I

NATIONAL UNIVERSITY OF SINGAPORE Department of Mathematics MA4247 Complex Analysis II Lecture Notes Part I NATIONAL UNIVERSITY OF SINGAPORE Department of Mathematics MA4247 Comple Analsis II Lecture Notes Part I Chapter 1 Preliminar results/review of Comple Analsis I These are more detailed notes for the results

More information

Hierarchy among Automata on Linear Orderings

Hierarchy among Automata on Linear Orderings Hierarchy among Automata on Linear Orderings Véronique Bruyère Institut d Informatique Université de Mons-Hainaut Olivier Carton LIAFA Université Paris 7 Abstract In a preceding paper, automata and rational

More information

1 Greedy Graph Algorithms

1 Greedy Graph Algorithms +//+ Algorithms & Data Structures (DL) Exam of 7 December 5 Instructions: This is a multiple-choice exam, to save ou the time of tiding up the presentation of our answers. There is exactl one correct answer

More information

d(ν) = max{n N : ν dmn p n } N. p d(ν) (ν) = ρ.

d(ν) = max{n N : ν dmn p n } N. p d(ν) (ν) = ρ. 1. Trees; context free grammars. 1.1. Trees. Definition 1.1. By a tree we mean an ordered triple T = (N, ρ, p) (i) N is a finite set; (ii) ρ N ; (iii) p : N {ρ} N ; (iv) if n N + and ν dmn p n then p n

More information

On improving matchings in trees, via bounded-length augmentations 1

On improving matchings in trees, via bounded-length augmentations 1 On improving matchings in trees, via bounded-length augmentations 1 Julien Bensmail a, Valentin Garnero a, Nicolas Nisse a a Université Côte d Azur, CNRS, Inria, I3S, France Abstract Due to a classical

More information

Pattern Popularity in 132-Avoiding Permutations

Pattern Popularity in 132-Avoiding Permutations Pattern Popularity in 132-Avoiding Permutations The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation As Published Publisher Rudolph,

More information

Automata on linear orderings

Automata on linear orderings Automata on linear orderings Véronique Bruyère Institut d Informatique Université de Mons-Hainaut Olivier Carton LIAFA Université Paris 7 September 25, 2006 Abstract We consider words indexed by linear

More information

On a Subposet of the Tamari Lattice

On a Subposet of the Tamari Lattice FPSAC 2012, Nagoya, Japan DMTCS proc. AR, 2012, 567 578 On a Subposet of the Tamari Lattice Sebastian A. Csar 1 and Rik Sengupta 2 and Warut Suksompong 3 1 School of Mathematics, University Of Minnesota,

More information

Tree sets. Reinhard Diestel

Tree sets. Reinhard Diestel 1 Tree sets Reinhard Diestel Abstract We study an abstract notion of tree structure which generalizes treedecompositions of graphs and matroids. Unlike tree-decompositions, which are too closely linked

More information

Department of Mathematical Sciences Sharif University of Technology p. O. Box Tehran, I.R. Iran

Department of Mathematical Sciences Sharif University of Technology p. O. Box Tehran, I.R. Iran Australasian Journal of Combinatorics.( 1992), pp.279-291 ON THE EXISTENCE OF (v,k,t) TRADES E.S. MAHMOODIAN and NASRIN SOLTANKHAH Department of Mathematical Sciences Sharif Universit of Technolog p. O.

More information

Higher. Polynomials and Quadratics. Polynomials and Quadratics 1

Higher. Polynomials and Quadratics. Polynomials and Quadratics 1 Higher Mathematics Contents 1 1 Quadratics EF 1 The Discriminant EF 3 3 Completing the Square EF 4 4 Sketching Parabolas EF 7 5 Determining the Equation of a Parabola RC 9 6 Solving Quadratic Inequalities

More information

On Weak Chromatic Polynomials of Mixed Graphs

On Weak Chromatic Polynomials of Mixed Graphs On Weak Chromatic Polynomials of Mixed Graphs Daniel Blado California Institute of Technology Joseph Crawford Morehouse College July 27, 2012 Taïna Jean-Louis Amherst College Abstract Modeling of metabolic

More information

Decision tables and decision spaces

Decision tables and decision spaces Abstract Decision tables and decision spaces Z. Pawlak 1 Abstract. In this paper an Euclidean space, called a decision space is associated with ever decision table. This can be viewed as a generalization

More information

Binary Decision Diagrams

Binary Decision Diagrams Binary Decision Diagrams Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant in 1986.

More information

f(x) = 2x 2 + 2x - 4

f(x) = 2x 2 + 2x - 4 4-1 Graphing Quadratic Functions What You ll Learn Scan the tet under the Now heading. List two things ou will learn about in the lesson. 1. Active Vocabular 2. New Vocabular Label each bo with the terms

More information

Illinois Institute of Technology Department of Computer Science. Splay Trees. CS 535 Design and Analysis of Algorithms Fall Semester, 2018

Illinois Institute of Technology Department of Computer Science. Splay Trees. CS 535 Design and Analysis of Algorithms Fall Semester, 2018 Illinois Institute of Technolog epartment of omputer Science Spla Trees S 535 esign and nalsis of lgorithms Fall Semester, 2018 Spla trees are a powerful form of (leicographic) balanced binar trees devised

More information

Toda s Theorem: PH P #P

Toda s Theorem: PH P #P CS254: Computational Compleit Theor Prof. Luca Trevisan Final Project Ananth Raghunathan 1 Introduction Toda s Theorem: PH P #P The class NP captures the difficult of finding certificates. However, in

More information

MATH Line integrals III Fall The fundamental theorem of line integrals. In general C

MATH Line integrals III Fall The fundamental theorem of line integrals. In general C MATH 255 Line integrals III Fall 216 In general 1. The fundamental theorem of line integrals v T ds depends on the curve between the starting point and the ending point. onsider two was to get from (1,

More information

Search Trees. Chapter 10. CSE 2011 Prof. J. Elder Last Updated: :52 AM

Search Trees. Chapter 10. CSE 2011 Prof. J. Elder Last Updated: :52 AM Search Trees Chapter 1 < 6 2 > 1 4 = 8 9-1 - Outline Ø Binary Search Trees Ø AVL Trees Ø Splay Trees - 2 - Outline Ø Binary Search Trees Ø AVL Trees Ø Splay Trees - 3 - Binary Search Trees Ø A binary search

More information

1.2 Functions and Their Properties PreCalculus

1.2 Functions and Their Properties PreCalculus 1. Functions and Their Properties PreCalculus 1. FUNCTIONS AND THEIR PROPERTIES Learning Targets for 1. 1. Determine whether a set of numbers or a graph is a function. Find the domain of a function given

More information

COMBINATORICS OF NON-AMBIGUOUS TREES

COMBINATORICS OF NON-AMBIGUOUS TREES COMBINATORICS OF NON-AMBIGUOUS TREES JEAN-CHRISTOPHE AVAL, ADRIEN BOUSSICAULT, MATHILDE BOUVEL, MATTEO SILIMBANI Abstract. This article investigates combinatorial properties of non-ambiguous trees. These

More information

ODD PARTITIONS IN YOUNG S LATTICE

ODD PARTITIONS IN YOUNG S LATTICE Séminaire Lotharingien de Combinatoire 75 (2016), Article B75g ODD PARTITIONS IN YOUNG S LATTICE ARVIND AYYER, AMRITANSHU PRASAD, AND STEVEN SPALLONE Abstract. We show that the subgraph induced in Young

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

On the Distortion of Embedding Perfect Binary Trees into Low-dimensional Euclidean Spaces

On the Distortion of Embedding Perfect Binary Trees into Low-dimensional Euclidean Spaces On the Distortion of Embedding Perfect Binary Trees into Low-dimensional Euclidean Spaces Dona-Maria Ivanova under the direction of Mr. Zhenkun Li Department of Mathematics Massachusetts Institute of Technology

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

More information

3.10. TREE DOMAINS AND GORN TREES Tree Domains and Gorn Trees

3.10. TREE DOMAINS AND GORN TREES Tree Domains and Gorn Trees 3.10. TREE DOMAINS AND GORN TREES 211 3.10 Tree Domains and Gorn Trees Derivation trees play a very important role in parsing theory and in the proof of a strong version of the pumping lemma for the context-free

More information

Enumeration Schemes for Words Avoiding Permutations

Enumeration Schemes for Words Avoiding Permutations Enumeration Schemes for Words Avoiding Permutations Lara Pudwell November 27, 2007 Abstract The enumeration of permutation classes has been accomplished with a variety of techniques. One wide-reaching

More information

2.5. Infinite Limits and Vertical Asymptotes. Infinite Limits

2.5. Infinite Limits and Vertical Asymptotes. Infinite Limits . Infinite Limits and Vertical Asmptotes. Infinite Limits and Vertical Asmptotes In this section we etend the concept of it to infinite its, which are not its as before, but rather an entirel new use of

More information

Generating p-extremal graphs

Generating p-extremal graphs Generating p-extremal graphs Derrick Stolee Department of Mathematics Department of Computer Science University of Nebraska Lincoln s-dstolee1@math.unl.edu August 2, 2011 Abstract Let f(n, p be the maximum

More information

Analysis of tree edit distance algorithms

Analysis of tree edit distance algorithms Analysis of tree edit distance algorithms Serge Dulucq 1 and Hélène Touzet 1 LaBRI - Universit Bordeaux I 33 0 Talence cedex, France Serge.Dulucq@labri.fr LIFL - Universit Lille 1 9 6 Villeneuve d Ascq

More information

Mathematics. Polynomials and Quadratics. hsn.uk.net. Higher. Contents. Polynomials and Quadratics 1. CfE Edition

Mathematics. Polynomials and Quadratics. hsn.uk.net. Higher. Contents. Polynomials and Quadratics 1. CfE Edition Higher Mathematics Contents 1 1 Quadratics EF 1 The Discriminant EF 3 3 Completing the Square EF 4 4 Sketching Parabolas EF 7 5 Determining the Equation of a Parabola RC 9 6 Solving Quadratic Inequalities

More information

Bounded Treewidth Graphs A Survey German Russian Winter School St. Petersburg, Russia

Bounded Treewidth Graphs A Survey German Russian Winter School St. Petersburg, Russia Bounded Treewidth Graphs A Survey German Russian Winter School St. Petersburg, Russia Andreas Krause krausea@cs.tum.edu Technical University of Munich February 12, 2003 This survey gives an introduction

More information

k-blocks: a connectivity invariant for graphs

k-blocks: a connectivity invariant for graphs 1 k-blocks: a connectivity invariant for graphs J. Carmesin R. Diestel M. Hamann F. Hundertmark June 17, 2014 Abstract A k-block in a graph G is a maximal set of at least k vertices no two of which can

More information

Tableau-based decision procedures for the logics of subinterval structures over dense orderings

Tableau-based decision procedures for the logics of subinterval structures over dense orderings Tableau-based decision procedures for the logics of subinterval structures over dense orderings Davide Bresolin 1, Valentin Goranko 2, Angelo Montanari 3, and Pietro Sala 3 1 Department of Computer Science,

More information

Solutions to Two Interesting Problems

Solutions to Two Interesting Problems Solutions to Two Interesting Problems Save the Lemming On each square of an n n chessboard is an arrow pointing to one of its eight neighbors (or off the board, if it s an edge square). However, arrows

More information

Optimal Tree-decomposition Balancing and Reachability on Low Treewidth Graphs

Optimal Tree-decomposition Balancing and Reachability on Low Treewidth Graphs Optimal Tree-decomposition Balancing and Reachability on Low Treewidth Graphs Krishnendu Chatterjee Rasmus Ibsen-Jensen Andreas Pavlogiannis IST Austria Abstract. We consider graphs with n nodes together

More information

Weighted Approval Voting

Weighted Approval Voting Weighted Approval Voting Jordi Massó and Marc Vorsat September 4, 2006 Abstract To allow societ to treat unequal alternatives distinctl we propose a natural etension of Approval Voting [7] b relaing the

More information

Connectivity and tree structure in finite graphs arxiv: v5 [math.co] 1 Sep 2014

Connectivity and tree structure in finite graphs arxiv: v5 [math.co] 1 Sep 2014 Connectivity and tree structure in finite graphs arxiv:1105.1611v5 [math.co] 1 Sep 2014 J. Carmesin R. Diestel F. Hundertmark M. Stein 20 March, 2013 Abstract Considering systems of separations in a graph

More information

On the relation between the relative earth mover distance and the variation distance (an exposition)

On the relation between the relative earth mover distance and the variation distance (an exposition) On the relation between the relative earth mover distance and the variation distance (an eposition) Oded Goldreich Dana Ron Februar 9, 2016 Summar. In this note we present a proof that the variation distance

More information

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals MATH 02 INTRODUCTION TO MATHEMATICAL ANALYSIS Properties of Real Numbers Some Fundamentals The whole course will be based entirely on the study of sequence of numbers and functions defined on the real

More information

arxiv: v1 [math.co] 5 May 2016

arxiv: v1 [math.co] 5 May 2016 Uniform hypergraphs and dominating sets of graphs arxiv:60.078v [math.co] May 06 Jaume Martí-Farré Mercè Mora José Luis Ruiz Departament de Matemàtiques Universitat Politècnica de Catalunya Spain {jaume.marti,merce.mora,jose.luis.ruiz}@upc.edu

More information

General Vector Spaces

General Vector Spaces CHAPTER 4 General Vector Spaces CHAPTER CONTENTS 4. Real Vector Spaces 83 4. Subspaces 9 4.3 Linear Independence 4.4 Coordinates and Basis 4.5 Dimension 4.6 Change of Basis 9 4.7 Row Space, Column Space,

More information

Lines and Planes 1. x(t) = at + b y(t) = ct + d

Lines and Planes 1. x(t) = at + b y(t) = ct + d 1 Lines in the Plane Lines and Planes 1 Ever line of points L in R 2 can be epressed as the solution set for an equation of the form A + B = C. Will we call this the ABC form. Recall that the slope-intercept

More information

Aperiodic languages and generalizations

Aperiodic languages and generalizations Aperiodic languages and generalizations Lila Kari and Gabriel Thierrin Department of Mathematics University of Western Ontario London, Ontario, N6A 5B7 Canada June 18, 2010 Abstract For every integer k

More information

Tracking Differentiable Trajectories across Polyhedra Boundaries

Tracking Differentiable Trajectories across Polyhedra Boundaries Tracking Differentiable Trajectories across Polhedra Boundaries Massimo Benerecetti Elect. Eng. and Information Technologies Università di Napoli Federico II, Ital massimo.benerecetti@unina.it Marco Faella

More information

74 Maths Quest 10 for Victoria

74 Maths Quest 10 for Victoria Linear graphs Maria is working in the kitchen making some high energ biscuits using peanuts and chocolate chips. She wants to make less than g of biscuits but wants the biscuits to contain at least 8 g

More information

Algorithms for pattern involvement in permutations

Algorithms for pattern involvement in permutations Algorithms for pattern involvement in permutations M. H. Albert Department of Computer Science R. E. L. Aldred Department of Mathematics and Statistics M. D. Atkinson Department of Computer Science D.

More information

Graph coloring, perfect graphs

Graph coloring, perfect graphs Lecture 5 (05.04.2013) Graph coloring, perfect graphs Scribe: Tomasz Kociumaka Lecturer: Marcin Pilipczuk 1 Introduction to graph coloring Definition 1. Let G be a simple undirected graph and k a positive

More information

The Steiner Ratio for Obstacle-Avoiding Rectilinear Steiner Trees

The Steiner Ratio for Obstacle-Avoiding Rectilinear Steiner Trees The Steiner Ratio for Obstacle-Avoiding Rectilinear Steiner Trees Anna Lubiw Mina Razaghpour Abstract We consider the problem of finding a shortest rectilinear Steiner tree for a given set of pointn the

More information

This lecture covers Chapter 5 of HMU: Context-free Grammars

This lecture covers Chapter 5 of HMU: Context-free Grammars This lecture covers Chapter 5 of HMU: Context-free rammars (Context-free) rammars (Leftmost and Rightmost) Derivations Parse Trees An quivalence between Derivations and Parse Trees Ambiguity in rammars

More information

Ranking Functions for Size-Change Termination

Ranking Functions for Size-Change Termination Ranking Functions for Size-Change Termination CHIN SOON LEE Ma-Planck-Institut für Informatik, Saarbrücken, German This article eplains how to construct a ranking function for an program that is proved

More information

Additional Material On Recursive Sequences

Additional Material On Recursive Sequences Penn State Altoona MATH 141 Additional Material On Recursive Sequences 1. Graphical Analsis Cobweb Diagrams Consider a generic recursive sequence { an+1 = f(a n ), n = 1,, 3,..., = Given initial value.

More information

Double domination edge removal critical graphs

Double domination edge removal critical graphs AUSTRALASIAN JOURNAL OF COMBINATORICS Volume 48 (2010), Pages 285 299 Double domination edge removal critical graphs Soufiane Khelifi Laboratoire LMP2M, Bloc des laboratoires Université demédéa Quartier

More information

Section 1.5 Formal definitions of limits

Section 1.5 Formal definitions of limits Section.5 Formal definitions of limits (3/908) Overview: The definitions of the various tpes of limits in previous sections involve phrases such as arbitraril close, sufficientl close, arbitraril large,

More information

UNCORRECTED SAMPLE PAGES. 3Quadratics. Chapter 3. Objectives

UNCORRECTED SAMPLE PAGES. 3Quadratics. Chapter 3. Objectives Chapter 3 3Quadratics Objectives To recognise and sketch the graphs of quadratic polnomials. To find the ke features of the graph of a quadratic polnomial: ais intercepts, turning point and ais of smmetr.

More information

arxiv: v1 [cs.ds] 29 Aug 2015

arxiv: v1 [cs.ds] 29 Aug 2015 APPROXIMATING (UNWEIGHTED) TREE AUGMENTATION VIA LIFT-AND-PROJECT, PART I: STEMLESS TAP JOSEPH CHERIYAN AND ZHIHAN GAO arxiv:1508.07504v1 [cs.ds] 9 Aug 015 Abstract. In Part I, we study a special case

More information

4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN. Robin Thomas* Xingxing Yu**

4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN. Robin Thomas* Xingxing Yu** 4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN Robin Thomas* Xingxing Yu** School of Mathematics Georgia Institute of Technology Atlanta, Georgia 30332, USA May 1991, revised 23 October 1993. Published

More information

or just I if the set A is clear. Hence we have for all x in A the identity function I ( )

or just I if the set A is clear. Hence we have for all x in A the identity function I ( ) 3 Functions 46 SECTON E Properties of Composite Functions the end of this section ou will be able to understand what is meant b the identit function prove properties of inverse function prove properties

More information

On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States

On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States Sven De Felice 1 and Cyril Nicaud 2 1 LIAFA, Université Paris Diderot - Paris 7 & CNRS

More information

Time-Frequency Analysis: Fourier Transforms and Wavelets

Time-Frequency Analysis: Fourier Transforms and Wavelets Chapter 4 Time-Frequenc Analsis: Fourier Transforms and Wavelets 4. Basics of Fourier Series 4.. Introduction Joseph Fourier (768-83) who gave his name to Fourier series, was not the first to use Fourier

More information

Properties of Context-Free Languages

Properties of Context-Free Languages Properties of Context-Free Languages Seungjin Choi Department of Computer Science and Engineering Pohang University of Science and Technology 77 Cheongam-ro, Nam-gu, Pohang 37673, Korea seungjin@postech.ac.kr

More information

This lecture covers Chapter 7 of HMU: Properties of CFLs

This lecture covers Chapter 7 of HMU: Properties of CFLs This lecture covers Chapter 7 of HMU: Properties of CFLs Chomsky Normal Form Pumping Lemma for CFs Closure Properties of CFLs Decision Properties of CFLs Additional Reading: Chapter 7 of HMU. Chomsky Normal

More information

Efficient Reassembling of Graphs, Part 1: The Linear Case

Efficient Reassembling of Graphs, Part 1: The Linear Case Efficient Reassembling of Graphs, Part 1: The Linear Case Assaf Kfoury Boston University Saber Mirzaei Boston University Abstract The reassembling of a simple connected graph G = (V, E) is an abstraction

More information

Unit 2 Notes Packet on Quadratic Functions and Factoring

Unit 2 Notes Packet on Quadratic Functions and Factoring Name: Period: Unit Notes Packet on Quadratic Functions and Factoring Notes #: Graphing quadratic equations in standard form, verte form, and intercept form. A. Intro to Graphs of Quadratic Equations: a

More information