Every binary word is, almost, a shuffle of twin subsequences a theorem of Axenovich, Person and Puzynina

Similar documents
REGULARITY LEMMAS FOR GRAPHS

The regularity method and blow-up lemmas for sparse graphs

SZEMERÉDI S REGULARITY LEMMA 165

Circular Chromatic Numbers of Some Reduced Kneser Graphs

Small Sets Which Meet All the k(n)-term Arithmetic Progressions in the Interval [1;n]

How Many Holes Can an Unbordered Partial Word Contain?

(Refer Slide Time: 0:21)

Longest Common Subsequences in Sets of Words

New lower bounds for hypergraph Ramsey numbers

I. The space C(K) Let K be a compact metric space, with metric d K. Let B(K) be the space of real valued bounded functions on K with the sup-norm

SOLUTIONS TO EXERCISES FOR. MATHEMATICS 205A Part 1. I. Foundational material

The chromatic number of ordered graphs with constrained conflict graphs

Boolean Algebras. Chapter 2

Tree sets. Reinhard Diestel

Size and degree anti-ramsey numbers

Relations and Equivalence Relations

1.4 Equivalence Relations and Partitions

MORE ON CONTINUOUS FUNCTIONS AND SETS

BOUNDS ON ZIMIN WORD AVOIDANCE

Chapter 9: Relations Relations

The Füredi Hajnal Conjecture Implies the Stanley Wilf Conjecture

arxiv: v2 [math.co] 20 Jun 2018

Extensions of the linear bound in the Füredi Hajnal conjecture

2. The Concept of Convergence: Ultrafilters and Nets

Quivers of Period 2. Mariya Sardarli Max Wimberley Heyi Zhu. November 26, 2014

Automata on linear orderings

SZEMERÉDI S REGULARITY LEMMA FOR MATRICES AND SPARSE GRAPHS

Facets for Node-Capacitated Multicut Polytopes from Path-Block Cycles with Two Common Nodes

V Honors Theory of Computation

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Subcubic Equivalence of Triangle Detection and Matrix Multiplication

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Context-free grammars and languages

1 Definition of the Riemann integral

Tripartite Ramsey Numbers for Paths

A New Shuffle Convolution for Multiple Zeta Values

On Aperiodic Subtraction Games with Bounded Nim Sequence

The Chromatic Number of Ordered Graphs With Constrained Conflict Graphs

Lower Bounds for q-ary Codes with Large Covering Radius

Homework 1 (revised) Solutions

Enumeration Schemes for Words Avoiding Permutations

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Proof of the (n/2 n/2 n/2) Conjecture for large n

Additive Combinatorics and Szemerédi s Regularity Lemma

Theory of Computation 1 Sets and Regular Expressions

Forcing unbalanced complete bipartite minors

Induction and Recursion

arxiv: v1 [math.co] 22 Jan 2013

Counting set systems by weight

Divisibility. Chapter Divisors and Residues

The Algorithmic Aspects of the Regularity Lemma

CSE 311: Foundations of Computing. Lecture 23: Finite State Machine Minimization & NFAs

Bichain graphs: geometric model and universal graphs

Introduction. Chapter 1. Contents. EECS 600 Function Space Methods in System Theory Lecture Notes J. Fessler 1.1

WEAK QUASI-RANDOMNESS FOR UNIFORM HYPERGRAPHS

Constructions of digital nets using global function fields

Hierarchy among Automata on Linear Orderings

WAITING FOR A BAT TO FLY BY (IN POLYNOMIAL TIME)

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

Application: Bucket Sort

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Central Groupoids, Central Digraphs, and Zero-One Matrices A Satisfying A 2 = J

Entropy and Ergodic Theory Lecture 15: A first look at concentration

Hamiltonian paths in tournaments A generalization of sorting DM19 notes fall 2006

CS 455/555: Mathematical preliminaries

A simple branching process approach to the phase transition in G n,p

DR.RUPNATHJI( DR.RUPAK NATH )

Matchings in hypergraphs of large minimum degree

arxiv: v1 [math.nt] 22 Apr 2012

On a hypergraph matching problem

Chapter 1. Preliminaries

Rao s degree sequence conjecture

RAINBOW MATCHINGS IN PROPERLY-COLOURED MULTIGRAPHS PETER KEEVASH AND LIANA YEPREMYAN. Mathematical Institute, University of Oxford.

3.3 Equivalence Relations and Partitions on Groups

Ramsey-type problem for an almost monochromatic K 4

Out-colourings of Digraphs

Advanced Automata Theory 7 Automatic Functions

Multi-coloring and Mycielski s construction

Square-free words with square-free self-shuffles

REFINED GOLDBACH CONJECTURES WITH PRIMES IN PROGRESSIONS

Relations Graphical View

X-MA2C01-1: Partial Worked Solutions

IMA Preprint Series # 2066

CIRCULAR CHROMATIC NUMBER AND GRAPH MINORS. Xuding Zhu 1. INTRODUCTION

Automata Theory and Formal Grammars: Lecture 1

Economics 204 Fall 2011 Problem Set 1 Suggested Solutions

Properties of the Integers

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Notes on generating functions in automata theory

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Section Summary. Definition of a Function.

The Banach-Tarski paradox

SHORT PATHS IN 3-UNIFORM QUASI-RANDOM HYPERGRAPHS. Joanna Polcyn. Department of Discrete Mathematics Adam Mickiewicz University

Theory of Computation

The Turán number of sparse spanning graphs

Continuum Probability and Sets of Measure Zero

Lecture Notes in Real Analysis Anant R. Shastri Department of Mathematics Indian Institute of Technology Bombay

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Probabilistic Proofs of Existence of Rare Events. Noga Alon

NOTES ON VECTOR-VALUED INTEGRATION MATH 581, SPRING 2017

Transcription:

Every binary word is, almost, a shuffle of twin subsequences a theorem of Axenovich, Person and Puzynina Martin Klazar August 17, 2015 A twin in a word u = a 1 a 2... a n is a pair (u 1, u 2 ) of disjoint and identical (u 1 = u 2 ) subsequences of u. A binary word is a word u {0, 1} n. For example, 10100 is a binary word with a twin (u 1, u 2 ) = (a 1 a 5, a 3 a 4 ) (marked by under(over)linings). By we denote the length of a (binary) word u. We shall consider only binary words here and will often omit the adjective. Theorem (Axenovich, Person and Puzynina, 2013). For every ε > 0 there is an n 0 such that every binary word of length n > n 0 has a twin (u 1, u 2 ) with n 2 u 1 < εn. That is, for given ε > 0 every sufficiently long word u has a partition u = u 1 u 2 u 3 into three subsequences such that u 1 = u 2 and u 3 < ε. Here is a simple argument giving ε. = 1/3. We partition u into intervals (factors) I i of length 3 each and a residual interval J with J 2. Each I i contains two 0s or two 1s. For each I i we put one of them in u 1 and the other in u 2 and set u 3 to be the rest of u. Then u 1 = u 2 and u 3 = /3 + J < /3 + 2. Can you decrease the 1/3? The purpose of this text, written in very hot Prague days, is to enjoy and advertise the beautiful result of Axenovich, Person and Puzynina [2] lying on the border of combinatorics on words and Ramsey theory, and possibly include it later in the prepared book [3]. The theorem is remarkable for its beauty and simplicity, it is indeed a bit surprising that it was discovered only recently, and for the fact that its proof uses a particularly technically simple and clear version of the regularity lemma method, simpler than the usual graph-theoretical setting, not speaking of hypergraph versions. We write more on [2] and the proof at the end. A regularity lemma for binary words For ε (0, 1) and u = a 1 a 2... a n a binary word, an ε-interval in u is an interval I = a i a i+1... a i+j of length I = j + 1 = εn. For i {0, 1} we klazar@kam.mff.cuni.cz 1

define d i (u) = #(j, a j = i)/ [0, 1], the density of the letter i in u. We set d(u) = d 1 (u). Clearly, d 1 (u) + d 0 (u) = 1 and this makes binary words simpler than words over larger alphabets as it suffices to work with just one density d(u) = d 1 (u). Definition (ε-regularity). Let ε (0, 1) and u {0, 1} n. We say that u is ε-regular if d(u) d(i) < ε whenever I is ε-interval in u. A partition u = u 1 u 2... u t into intervals is ε-regular if the total length of non-ε-regular intervals is small, < εn = ε. u i is not ε-reg. In an interval partition u = u 1 u 2... u t, as in the above definition, all u i are nonempty, if it is not said else. Note that the definition of ε-regularity of a word is equivalent to one with d( ) replaced by d i ( ), i = 0, 1. As an example note that the partition of u into singleton intervals is always ε-regular as each singleton word is ε-regular. Let us show that ε-regular words have large twins. Lemma 1. Let ε (0, 1). Every ε-regular binary word u has a twin (u 1, u 2 ) with 2 u 1 < 5ε + 3. Proof. We set m = ε, d i = (d i (u) ε)m for i = 0, 1, and partition u as u = v 1 v 2... v t so that v i = m for i < t and v t may be empty with v t < m. For each i = 1, 2,..., t 1, by ε-regularity v i contains d 1 ones and d 0 zeros. We put in u 1 some d 1 ones from v 1, some d 0 zeros from v 2, some d 1 ones from v 3, some d 0 zeros from v 4 and so on in the alternating fashion up to v t 2. We define the other twin u 2 in much the same way, but use intervals v 2, v 3,..., v t 1. (If d i < 0, no problem, we replace it by 0.) The rest of u ends in the bin, the subsequence u 3. By construction, u 1 and u 2 form a twin in u, are disjoint and identical subsequences. Since d 0 + d 1 m(1 2ε) and tm <, u 3 v 1 + v t 1 + v t + (t 3)2εm < 3m + 2ε < 5ε + 3. The index ind(p ) of an interval partition P of a word u given by u = u 1 u 2... u t is ind(p ) = 1 t. Since t u i = 1 and ui, d(u i) [0, 1], ind(p ) [0, 1] as well. 2

Lemma 2 (regularity lemma). Let ε (0, 1), t 0 1 be an integer, and T 0 = t 0 3 1/ε4. Then every word u {0, 1} n with n t 0 has an ε-regular partition into t intervals with t 0 t T 0. Proof. First we show that index does not decrease when a partition is refined (we need actually only very particular case of this inequality), and then how to increase index by splitting a non-ε-regular word in two or three intervals. Finally we obtain the desired ε-regular partition by iterating the splitting. For the first part, let u = u 1 u 2... u t =... u i,j..., 1 i t and 1 j t i, be an interval partition P of a binary word into t intervals and its refinement R given by t interval partitions u i = u i,1 u i,2... u i,ti. We show that ind(r) ind(p ). Indeed, ind(r) = t t i d(u i,j ) 2 u i,j t ( ti ) 2 d(u i,j ) u i,j = ind(p ) by Jensen s inequality applied to f(x) = x 2 and since the last inner sum equals d(u i ) (by the definition of density). For a non-ε-regular binary word u we find an interval partition u = u 1 u 2 u 3 such that u 1 or u 3 but not both may be empty and ind(u 1 u 2 u 3 ) ind(u) + ε 3 = d(u) 2 + ε 3. We define it by setting u 2 to be an ε-interval in u such that d(u) d(u 2 ) ε. We denote d = d(u), γ = d d(u 2 ), so γ ε, m =, a = u 1, b = u 2 = εm, and c = u 3. Then, by part 1, ind(u 1 u 2 u 3 ) is at least d(u 1 u 3 ) 2 a + c m + d(u 2) 2 b m = which after replacing a + c = m b simplifies to d 2 + ( ) 2 dm (d γ)b a + c a + c m + (d b γ)2 m γ2 b m b d2 + ε3 m m = d2 + ε 3. Finally, let ε, t 0, n, and u be as given. We start with any partition S of u into t 0 intervals u i. Let I be the indices i with u i not ε-regular. If S is not ε-regular ( i I u i ε) we split each u i with i I into u i = u i,1 u i,2 u i,3 as described in part 2. The resulting interval partition P of u satisfies by part 2 3

(for u i,j = we set d(u i,j ) = 0) ind(p ) = i I = i I i I + i I + i I 3 d(u i,j ) 2 u i,j ind(u i,1 u i,2 u i,3 ) (d(u i ) 2 + ε 3 ) + i I = ind(s) + ε 3 i I u i ind(s) + ε 4. If P is not ε-regular, we repeat the splitting by part 2, and then iterate the splitting step until we get an ε-regular interval partition of u with t intervals. This always happens, without using any index increment bound. Since index does increase by at least ε 4 at each splitting and is bounded by 1, we terminate after at most 1/ε 4 splittings and have the stated upper bound t T 0. Proof of the Axenovich Person Puzynina theorem Let ε (0, 1) and u {0, 1} n be given. We take the ε-regular interval partition u = v 1 v 2... v t with t 3 1/ε4 provided by Lemma 2 (used with t 0 = 1). For each ε-regular word v i we take its large twin provided by Lemma 1 and concatenate them in the twin (u 1, u 2 ) in u. The rest of u goes of course in the bin u 3. How large is it? The total length on non-ε-regular v i s plus the total length of the bins of ε-regular v i s, which gives the bound u 3 < εn + 5εn + 3t 6εn + 3 1+1/ε4, n = 1, 2,.... For large enough n, this is smaller than 7εn and the proof is complete. Concluding remarks The article [2] investigates also more general scenarios with alphabets larger than binary and twins with more parts than two but here we restricted to the simplest but already intriguing case of binary words and two parts in a twin. It is shown in [2] (and it follow from the above displayed bound on u 3 ) that the εn in the theorem can be bounded by εn n/(log n/ log log n) 1/4, which is later in [2] improved to εn n/(log 1/3 n/ log log 2/3 n) (I use as synonymous to O( )), but that it cannot be smaller than log n. We took the above proof from [2] but we did some simplifying (we specialize to the binary case and use simpler notion of ε-regularity of words) and rigorizing (we introduce back ceilings and floors omitted in [2], to be sure that the bounds are indeed correct; for example, the version of Lemma 1 in [2], Claim 11, asserts the bound 2 u 1 5ε, which is suspicious for very small ε as for odd the left side cannot be smaller than 1). 4

We close with an interesting open problem, mentioned at the closing of [2] and then again in the survey [1, Open Problem 4.5]: Does the A P P theorem hold for ternary words u {0, 1, 2} n? References [1] M. Axenovich, Repetitions in graphs and sequences, preprint, July 2015. [2] M. Axenovich, Y. Person and S. Puzynina, A regularity lemma and twins in words, J. Combin. Theory, Ser. A 120 (2013), 733 743. [3] M. Klazar, A book on number theory, in preparation. 5