• Aucun résultat trouvé

Computing the k-binomial complexity of the Tribonacci word

N/A
N/A
Protected

Academic year: 2021

Partager "Computing the k-binomial complexity of the Tribonacci word"

Copied!
194
0
0

Texte intégral

(1)

Computing the k-binomial

com-plexity of the Tribonacci word

April 03, 2019 Marie Lejeune (FNRS grantee)

(2)

Plan

1 Preliminary definitions Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word

Definition The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(3)

Plan

1 Preliminary definitions

Words, factors and subwords

Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word

Definition The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(4)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = ?

(5)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u.

The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = ?

(6)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = ?

(7)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = ?

(8)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= ? and u ab  = ?

(9)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 1 and  u ab  = ?

(10)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = ?

(11)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = ?

(12)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u =aababa, |u|ab= 2 and  u ab  =1.

(13)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u =aababa, |u|ab= 2 and  u ab  =2.

(14)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  =3.

(15)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  =4.

(16)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  =5.

(17)

Factors and subwords

Definition

Let u = u1u2· · · um be a finite or infinite word. A (scattered) subwordof u is a finite subsequence of the sequence (uj)mj =1. Afactor of u is a contiguous subword.

Example

Let u = 0102010. The word 021 is a subword of u, but not a factor of u. The word 0201 is a factor of u, thus also a subword of u.

Let ux denote the number of times x appears as a subword in u and |u|x the number of times it appears as a factor in u.

Example If u = aababa, |u|ab= 2 and  u ab  = 5.

(18)

Plan

1 Preliminary definitions Words, factors and subwords

Complexity functions

k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word

Definition The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(19)

Factor complexity

Let w be an infinite word. A complexity function of w is an application linking every nonnegative integer n with length-n factors of w.

The simplest complexity function is the following. Here, N = {0, 1, 2, . . .}.

Definition

Thefactor complexity of the word w is the function pw : N → N : n 7→ #Facw(n).

Definition

Thefactor complexity of the word w is the function pw : N → N : n 7→#(Facw(n)/ ∼=),

where u ∼=v ⇔ u = v .

We can replace ∼= with other equivalence relations.

(20)

Factor complexity

Let w be an infinite word. A complexity function of w is an application linking every nonnegative integer n with length-n factors of w.

The simplest complexity function is the following. Here, N = {0, 1, 2, . . .}.

Definition

Thefactor complexity of the word w is the function pw : N → N : n 7→ #Facw(n).

Definition

Thefactor complexity of the word w is the function pw : N → N : n 7→#(Facw(n)/ ∼=),

where u ∼=v ⇔ u = v .

(21)

Factor complexity

Let w be an infinite word. A complexity function of w is an application linking every nonnegative integer n with length-n factors of w.

The simplest complexity function is the following. Here, N = {0, 1, 2, . . .}.

Definition

Thefactor complexity of the word w is the function pw: N → N : n 7→#(Facw(n)/ ∼=),

where u ∼= v ⇔ u = v .

We can replace ∼= with other equivalence relations.

(22)

Factor complexity

Let w be an infinite word. A complexity function of w is an application linking every nonnegative integer n with length-n factors of w.

The simplest complexity function is the following. Here, N = {0, 1, 2, . . .}.

Definition

Thefactor complexity of the word w is the function pw: N → N : n 7→#(Facw(n)/ ∼=),

where u ∼= v ⇔ u = v .

(23)

Other equivalence relations

Different equivalence relations from ∼= can be considered:

If k ∈ N+,

• Abelian equivalence: u ∼ab,1v ⇔ |u|a = |v |a ∀a ∈ A

• k-abelian equivalence: u ∼ab,k v ⇔ |u|x = |v |x ∀x ∈ A≤k

• k-binomial equivalence: u ∼k v ⇔ ux = v

x ∀x ∈ A ≤k

We will deal with the last one.

(24)

Other equivalence relations

Different equivalence relations from ∼= can be considered: If k ∈ N+,

• Abelian equivalence: u ∼ab,1v ⇔ |u|a = |v |a ∀a ∈ A

• k-abelian equivalence: u ∼ab,k v ⇔ |u|x = |v |x ∀x ∈ A≤k

• k-binomial equivalence: u ∼k v ⇔ ux = v

x ∀x ∈ A ≤k

(25)

Other equivalence relations

Different equivalence relations from ∼= can be considered: If k ∈ N+,

• Abelian equivalence: u ∼ab,1v ⇔ |u|a = |v |a ∀a ∈ A

• k-abelian equivalence: u ∼ab,k v ⇔ |u|x = |v |x ∀x ∈ A≤k

• k-binomial equivalence: u ∼k v ⇔ ux = vx ∀x ∈ A≤k

We will deal with the last one.

(26)

Other equivalence relations

Different equivalence relations from ∼= can be considered: If k ∈ N+,

• Abelian equivalence: u ∼ab,1v ⇔ |u|a = |v |a ∀a ∈ A

• k-abelian equivalence: u ∼ab,k v ⇔ |u|x = |v |x ∀x ∈ A≤k

• k-binomial equivalence: u ∼k v ⇔ ux = vx ∀x ∈ A≤k We will deal with the last one.

(27)

Plan

1 Preliminary definitions Words, factors and subwords Complexity functions

k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word

Definition The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(28)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(29)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  =1=v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(30)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  =1=v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(31)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  =2=v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(32)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u =bbaabb and v =babbab are 2-binomially equivalent.

Indeed, u a  = 2 =v a  ,u b  =1=v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(33)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  =2=v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(34)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  =3=v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(35)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent.

Indeed, u a  = 2 =v a  ,u b  =4=v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(36)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(37)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(38)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  =1= v ab  , u ba  =4= v ba  .

(39)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  =2= v ab  , u ba  =4= v ba  .

(40)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  =3= v ab  , u ba  =4= v ba  .

(41)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  =4= v ab  , u ba  =4= v ba  .

(42)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u =bbaabb and v =babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =1= v ba  .

(43)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u =bbaabb and v =babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =2= v ba  .

(44)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =3= v ba  .

(45)

k-binomial equivalence

Definition (Reminder)

Let u and v be two finite words. They arek-binomially equivalent if

u x  =v x  ∀x ∈ A≤k. Example

The words u = bbaabb and v = babbab are 2-binomially equivalent. Indeed, u a  = 2 =v a  ,u b  = 4 =v b  , u aa  = 1 = v aa  ,  u bb  = 6 = v bb  , u ab  = 4 = v ab  , u ba  =4= v ba  .

(46)

Some properties

Proposition

For all words u, v and for every nonnegative integer k, u ∼k+1 v ⇒ u ∼k v .

Proposition

For all words u, v ,

u ∼1 v ⇔ u ∼ab,1v .

Definition (Reminder)

The words u and v are 1-abelian equivalent if u a  =|u|a = |v |a= v a  ∀a ∈ A.

(47)

Some properties

Proposition

For all words u, v and for every nonnegative integer k, u ∼k+1 v ⇒ u ∼k v .

Proposition

For all words u, v ,

u ∼1 v ⇔ u ∼ab,1v .

Definition (Reminder)

The words u and v are 1-abelian equivalent if u a  =|u|a = |v |a= v a  ∀a ∈ A.

(48)

Some properties

Proposition

For all words u, v and for every nonnegative integer k, u ∼k+1 v ⇒ u ∼k v .

Proposition

For all words u, v ,

u ∼1 v ⇔ u ∼ab,1v .

Definition (Reminder)

The words u and v are 1-abelian equivalent if u a  =|u|a = |v |a= v a  ∀a ∈ A.

(49)

k-binomial complexity

Definition

If w is an infinite word, we can define the function b(k)w : N → N : n 7→ #(Facw(n)/ ∼k),

which is called the k-binomial complexityof w.

We have an order relation between the different complexity functions.

Proposition

ρabw(n) ≤ b(k)w (n) ≤ b(k+1)w (n) ≤ pw(n) ∀n ∈ N, k ∈ N+ where ρabw is the abelian complexity function of the word w.

(50)

k-binomial complexity

Definition

If w is an infinite word, we can define the function b(k)w : N → N : n 7→ #(Facw(n)/ ∼k),

which is called the k-binomial complexityof w.

We have an order relation between the different complexity functions.

Proposition

ρabw(n) ≤ b(k)w (n) ≤ b(k+1)w (n) ≤ pw(n) ∀n ∈ N, k ∈ N+ where ρabw is the abelian complexity function of the word w.

(51)

Plan

1 Preliminary definitions

Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word

Definition The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(52)

A famous word...

The k-binomial complexity function was already computed on some infinite words.

The classical Thue–Morse word, defined as the fixed point of the morphism ϕ : {0, 1}∗→ {0, 1}∗ :



0 7→ 01; 1 7→ 10,

has a bounded k-binomial complexity. The exact value is known.

Theorem (M. L., J. Leroy, M. Rigo, 2018)

Let k be a positive integer. For every n ≤ 2k − 1, we have b(k)t (n) = pt(n),

while for every n ≥ 2k, b(k)t (n) =



3 · 2k− 3, if n ≡ 0 (mod 2k); 3 · 2k− 4, otherwise.

(53)

A famous word...

The k-binomial complexity function was already computed on some infinite words.

The classical Thue–Morse word, defined as the fixed point of the morphism ϕ : {0, 1}∗→ {0, 1}∗ :



0 7→ 01; 1 7→ 10, has a bounded k-binomial complexity.

The exact value is known.

Theorem (M. L., J. Leroy, M. Rigo, 2018)

Let k be a positive integer. For every n ≤ 2k − 1, we have b(k)t (n) = pt(n),

while for every n ≥ 2k, b(k)t (n) =



3 · 2k− 3, if n ≡ 0 (mod 2k); 3 · 2k− 4, otherwise.

(54)

A famous word...

The k-binomial complexity function was already computed on some infinite words.

The classical Thue–Morse word, defined as the fixed point of the morphism ϕ : {0, 1}∗→ {0, 1}∗ :



0 7→ 01; 1 7→ 10,

has a bounded k-binomial complexity. The exact value is known.

Theorem (M. L., J. Leroy, M. Rigo, 2018)

Let k be a positive integer. For every n ≤ 2k − 1, we have b(k)t (n) = pt(n),

while for every n ≥ 2k, b(k)t (n) =



3 · 2k− 3, if n ≡ 0 (mod 2k); 3 · 2k− 4, otherwise.

(55)

Another family

Definition: Sturmian words

ASturmian word is an infinite word having, as factor complexity, p(n) = n + 1 for all n ∈ N.

Theorem (M. Rigo, P. Salimov, 2015)

Let w be a Sturmian word. We have

b(k)w (n) = pw(n) = n + 1, for all n ∈ N and for all k ≥ 2.

Since b(k)w (n) ≤ b(k+1)w (n) ≤ pw(n), it suffices to show that b(2)w (n) = pw(n).

(56)

Another family

Definition: Sturmian words

ASturmian word is an infinite word having, as factor complexity, p(n) = n + 1 for all n ∈ N.

Theorem (M. Rigo, P. Salimov, 2015)

Let w be a Sturmian word. We have

b(k)w (n) = pw(n) = n + 1, for all n ∈ N and for all k ≥ 2.

Since b(k)w (n) ≤ b(k+1)w (n) ≤ pw(n), it suffices to show that b(2)w (n) = pw(n).

(57)

Another family

Definition: Sturmian words

ASturmian word is an infinite word having, as factor complexity, p(n) = n + 1 for all n ∈ N.

Theorem (M. Rigo, P. Salimov, 2015)

Let w be a Sturmian word. We have

b(k)w (n) = pw(n) = n + 1, for all n ∈ N and for all k ≥ 2.

Since b(k)w (n) ≤ b(k+1)w (n) ≤ pw(n), it suffices to show that b(2)w (n) = pw(n).

(58)

Plan

1 Preliminary definitions

Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word Definition

The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(59)

Plan

1 Preliminary definitions

Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word

Definition

The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(60)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 0102010010201 · · ·

(61)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 0102010010201 · · ·

(62)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T =01· · ·

(63)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 0102· · ·

(64)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 010201· · ·

(65)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 0102010· · ·

(66)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 010201001· · ·

(67)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 01020100102· · ·

(68)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 0102010010201· · ·

(69)

The Tribonacci word

From now, let A = {0, 1, 2}. Let us define the Tribonacci word.

Definition

TheTribonacci wordT is the fixed point of the morphism

τ : {0, 1, 2}∗→ {0, 1, 2}∗ :    0 7→ 01; 1 7→ 02; 2 7→ 0. We have T = 0102010010201 · · ·

(70)

Plan

1 Preliminary definitions

Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word Definition

The theorem

Introduction to templates and their parents Using templates to compute b(2)T

(71)

Its k-binomial complexity

The next result was first conjectured by Michel Rigo, and then proved.

Theorem (M. L., M. Rigo, M. Rosenfeld, 2019)

For all k ≥ 2, the k-binomial complexity of the Tribonacci word equals its factorial complexity.

To show this result, it suffices to show that, for all n ∈ N, 

u, v ∈ FacT(n)

u 6= v ⇒ u 6∼2 v .

Let us define the extended Parikh vector of a word u as

Ψ(u) := u0 u 1  u 2  u 00  u 01  . . . 22u| ∈ N12. Remark

We have u ∼2 v ⇔ Ψ(u) = Ψ(v ) ⇔ Ψ(u) − Ψ(v ) = 0.

(72)

Its k-binomial complexity

The next result was first conjectured by Michel Rigo, and then proved.

Theorem (M. L., M. Rigo, M. Rosenfeld, 2019)

For all k ≥ 2, the k-binomial complexity of the Tribonacci word equals its factorial complexity.

To show this result, it suffices to show that, for all n ∈ N, 

u, v ∈ FacT(n)

u 6= v ⇒ u 6∼2 v .

Let us define the extended Parikh vector of a word u as

Ψ(u) := u0 u 1  u 2  u 00  u 01  . . . 22u| ∈ N12. Remark

(73)

Its k-binomial complexity

The next result was first conjectured by Michel Rigo, and then proved.

Theorem (M. L., M. Rigo, M. Rosenfeld, 2019)

For all k ≥ 2, the k-binomial complexity of the Tribonacci word equals its factorial complexity.

To show this result, it suffices to show that, for all n ∈ N, 

u, v ∈ FacT(n)

u 6= v ⇒ u 6∼2 v .

Let us define the extended Parikh vector of a word u as

Ψ(u) := u0 u 1  u 2  u 00  u 01  . . . 22u| ∈ N12. Remark

We have u ∼2 v ⇔ Ψ(u) = Ψ(v ) ⇔ Ψ(u) − Ψ(v ) = 0.

(74)

Its k-binomial complexity

The next result was first conjectured by Michel Rigo, and then proved.

Theorem (M. L., M. Rigo, M. Rosenfeld, 2019)

For all k ≥ 2, the k-binomial complexity of the Tribonacci word equals its factorial complexity.

To show this result, it suffices to show that, for all n ∈ N, 

u, v ∈ FacT(n)

u 6= v ⇒ u 6∼2 v .

Let us define the extended Parikh vector of a word u as

Ψ(u) := u0 u 1  u 2  u 00  u 01  . . . 22u| ∈ N12. Remark

(75)

Plan

1 Preliminary definitions

Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word Definition

The theorem

Introduction to templates and their parents

Using templates to compute b(2)T Bounding the number of templates

(76)

Intuitive introduction to templates

We will be interested into values of Ψ(u) − Ψ(v ) for u, v ∈ FacT. We will thus express the difference using the notion of templates.

Informally, we will associate to every pair of words several templates, which are 5-uples:

A∗× A∗ ! P(Z12× Z3× Z3×A × A).

We will restrict to factors of T :

FacT × FacT ! P(Z12× Z3× Z3×A × A)

and we will finally desubstitute. That means that we will take preimages of factors (by applying, in some sense, τ−1) and parents of templates.

(77)

Intuitive introduction to templates

We will be interested into values of Ψ(u) − Ψ(v ) for u, v ∈ FacT. We will thus express the difference using the notion of templates.

Informally, we will associate to every pair of words several templates, which are 5-uples:

A∗× A∗ ! P(Z12× Z3× Z3×A × A).

We will restrict to factors of T :

FacT × FacT ! P(Z12× Z3× Z3×A × A)

and we will finally desubstitute. That means that we will take preimages of factors (by applying, in some sense, τ−1) and parents of templates.

(78)

Intuitive introduction to templates

We will be interested into values of Ψ(u) − Ψ(v ) for u, v ∈ FacT. We will thus express the difference using the notion of templates.

Informally, we will associate to every pair of words several templates, which are 5-uples:

A∗× A∗ ! P(Z12× Z3× Z3×A × A).

We will restrict to factors of T :

FacT × FacT ! P(Z12× Z3× Z3×A × A)

and we will finally desubstitute. That means that we will take preimages of factors (by applying, in some sense, τ−1) and parents of templates.

(79)

Intuitive introduction to templates

We will be interested into values of Ψ(u) − Ψ(v ) for u, v ∈ FacT. We will thus express the difference using the notion of templates.

Informally, we will associate to every pair of words several templates, which are 5-uples:

A∗× A∗ ! P(Z12× Z3× Z3×A × A).

We will restrict to factors of T :

FacT × FacT ! P(Z12× Z3× Z3×A × A)

and we will finally desubstitute. That means that we will take preimages of factors (by applying, in some sense, τ−1) and parents of templates.

(80)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if 

Ψ(u) − Ψ(v ) = d + P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) , ∃u0 ∈ A∗ : u = u0a1,

∃v0 ∈ A∗ : v = v0a2,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x |

,

and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(81)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if

 

Ψ(u) − Ψ(v ) = d + P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) , ∃u0 ∈ A∗ : u = u0a1,

∃v0 ∈ A∗ : v = v0a2,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x |

,

and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(82)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if    ∃u0 ∈ A: u = u0a 1, ∃v0 ∈ A∗ : v = v0a2,

Ψ(u) − Ψ(v ) = d + P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) ,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x |

,

and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(83)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De,a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if    ∃u0 ∈ A: u= u0a 1, ∃v0 ∈ A∗ : v = v0a2,

Ψ(u) − Ψ(v ) = d + P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) ,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x |

,

and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(84)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1,a2] where d ∈ Z12,

Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u,v) ∈ (FacT)2 if    ∃u0 ∈ A: u = u0a 1, ∃v0 ∈ A∗ : v = v0a2,

Ψ(u) − Ψ(v ) = d + P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) ,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x |

,

and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(85)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d,Db,De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u,v) ∈ (FacT)2 if    ∃u0 ∈ A: u = u0a 1, ∃v0 ∈ A∗ : v = v0a2, Ψ(u) − Ψ(v) =d+ P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗De) ,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x

| , and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(86)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if    ∃u0 ∈ A: u = u0a 1, ∃v0 ∈ A∗ : v = v0a2,

Ψ(u) − Ψ(v ) = d +P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) , where the matrix P3 is such that, for all x ∈ Z9,P3· x = 0 0 0 x|

, and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(87)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if    ∃u0 ∈ A∗ : u = u0a1, ∃v0 ∈ A: v = v0a 2,

Ψ(u) − Ψ(v ) = d + P3(Db⊗Ψ0(u) + Ψ0(u)⊗De) ,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x|,

and where ⊗is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A⊗B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(88)

Templates: a formal definition

Definition

Atemplate is a 5-uple of the form t = [d, Db, De, a1, a2] where d ∈ Z12, Db, De ∈ Z3 and a1, a2∈ A.

The template t is said to berealizableby (u, v ) ∈ (FacT)2 if    ∃u0 ∈ A∗ : u = u0a1, ∃v0 ∈ A: v = v0a 2,

Ψ(u) − Ψ(v ) = d + P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) ,

where the matrix P3 is such that, for all x ∈ Z9, P3· x = 0 0 0 x|,

and where ⊗ is the usual Kronecker product: if A ∈ Zm×n and B ∈ Zp×q,

A ⊗ B :=    a11B · · · a1nB .. . . .. ... am1B · · · amnB    ∈ Z mp×nq.

(89)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db= 0 −1 0 | and De = 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(90)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(91)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(92)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(93)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(94)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(95)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(96)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(97)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(98)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(99)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(100)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1 | . Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0| and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(101)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1|. Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0 | and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3( Db⊗ Ψ0(u) + Ψ0(u) ⊗ De ) = 3 3 −3 −2 0 −2 1 1 −1| .

(102)

Example: building a realizable template

Take u = 01020, v = 20102 ∈ FacT. We have

Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| . Let us take Db = 0 −1 0 | and De= 1 1 −1|. Since Ψ0(u) = 3 1 1| , we obtain Db⊗ Ψ0(u) = 0 0 0 −3 −1 −1 0 0 0 | and Ψ0(u) ⊗ De = 3 3 −3 1 1 −1 1 1 −1 | . Then, P3(Db⊗ Ψ0(u) + Ψ0(u) ⊗ De) = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| .

(103)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(104)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(105)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(106)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(107)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(108)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(109)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(110)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(111)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(112)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(113)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(114)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(115)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(116)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(117)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

.

(118)

Example: building a realizable template (continued)

Then, P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De  = 0 0 0 3 3 −3 −2 0 −2 1 1 −1| . Since Ψ(u) = 3 1 1 3 1 2 2 0 1 1 0 0| Ψ(v ) = 2 1 2 1 1 2 1 0 1 2 1 1| , we have Ψ(u) − Ψ(v ) = 1 0 −1 2 0 0 1 0 0 −1 −1 −1|

and we can complete the template to make it realizable by (u, v ) by taking

d = 1 0 −1 −1 −3 3 3 0 2 −2 −2 0|

(119)

Existence of an infinite number of realizable templates

Remark

For a given pair (u, v ) of words ending with letters a1 and a2 respectively, and given Db, De, there always exists d ∈ Z12 such that the pair (u, v ) realizes the template [d, Db, De, a1, a2].

Indeed, it suffices to take

d = Ψ(u) − Ψ(v ) − P3 Db⊗ Ψ0(u) + Ψ0(u) ⊗ De .

(120)

Preimages

Example: intuitive definition

Recall that

T = 01 · 02 · 01 · 0 · 01 · 02 · 01 · 01 · 02 · 01 · 0 · 01 · · ·

Let u =2010102010. The word u0 =100102is a preimage of u.

Definition

Let u and u0 be two words. The word u0 is a preimage of u if u is a factor of τ (u0), and

(121)

Preimages

Example: intuitive definition

Recall that

T = 01 · 02 · 01 · 0 · 01 · 02 · 01 · 01 · 02 · 01 · 0· 01 · · ·

Let u =2010102010.

The word u0=100102is a preimage of u.

Definition

Let u and u0 be two words. The word u0 is a preimage of u if u is a factor of τ (u0), and

u0 is minimal: for all factors v of u0, u is not a factor of τ (v ).

(122)

Preimages

Example: intuitive definition

Recall that T = 01 · 02 · 01 · 0 · 01 · τ (1) z}|{ 02 · τ (0) z}|{ 01 · τ (0) z}|{ 01 · τ (1) z}|{ 02 · τ (0) z}|{ 01 · τ (2) z}|{ 0 · 01 · · · Let u =2010102010.

The word u0=100102is a preimage of u.

Definition

Let u and u0 be two words. The word u0 is a preimage of u if u is a factor of τ (u0), and

(123)

Preimages

Example: intuitive definition

Recall that T = 01 · 02 · 01 · 0 · 01 · τ (1) z}|{ 02 · τ (0) z}|{ 01 · τ (0) z}|{ 01 · τ (1) z}|{ 02 · τ (0) z}|{ 01 · τ (2) z}|{ 0 · 01 · · ·

Let u =2010102010. The word u0 =100102 is a preimage of u.

Definition

Let u and u0 be two words. The word u0 is a preimage of u if u is a factor of τ (u0), and

u0 is minimal: for all factors v of u0, u is not a factor of τ (v ).

(124)

Preimages

Example: intuitive definition

Recall that T = 01 · 02 · 01 · 0 · 01 · τ (1) z}|{ 02 · τ (0) z}|{ 01 · τ (0) z}|{ 01 · τ (1) z}|{ 02 · τ (0) z}|{ 01 · τ (2) z}|{ 0 · 01 · · ·

Let u =2010102010. The word u0 =100102 is a preimage of u.

Definition

Let u and u0 be two words. The word u0 is a preimage of u if u is a factor of τ (u0), and

(125)

Preimages (continued)

A word can have several preimages.

Example

Recall that

T = 01 · 02 · 01 · 0 · 01 · 02 · 01 · 01 · 02 · 01 · 0 · 01 · · · Take u = 010.

It has 00, 01 and 02 as preimages.

(126)

Preimages (continued)

A word can have several preimages.

Example

Recall that

T = 01 · 02 · 01 · 0 · 01 · 02 · 01 · 01 · 02 · 01 · 0 · 01 · · · Take u = 010. It has 00, 01 and 02 as preimages.

(127)

Preimages (continued)

A word can have several preimages.

Example Recall that T = 01 · 02 · 01 · 0 · 01 · 02 · τ (0) z}|{ 01 · τ (0) z}|{ 01 ·02 · 01 · 0 · 01 · · · Take u = 010. It has 00, 01 and 02 as preimages.

(128)

Preimages (continued)

A word can have several preimages.

Example Recall that T = τ (0) z}|{ 01 · τ (1) z}|{ 02 ·01 · 0 · 01 · 02 · 01 · 01 · 02 · 01 · 0 · 01 · · ·

(129)

Preimages (continued)

A word can have several preimages.

Example Recall that T = 01 · 02 · τ (0) z}|{ 01 · τ (2) z}|{ 0 ·01 · 02 · 01 · 01 · 02 · 01 · 0 · 01 · · ·

Take u = 010. It has 00, 01 and02 as preimages.

(130)

Templates have parents

We will now introduce the notion of parents of a template.

Theorem

Let t be a template and let (u, v ) be a pair of factors realizing t. Let u0 (resp., v0) be a preimage of u (resp., v ).

There always exists a template t0 which is realized by (u0, v0). and which is, in some way, related to t.

The template t0 is called aparent template of t.

(u, v ) [d, Db, De, a1, a2] = t

(u0, v0) [d0, D0b, D0e, a01, a20] = t0

(131)

Templates have parents

We will now introduce the notion of parents of a template.

Theorem

Let t be a template and let (u, v ) be a pair of factors realizing t. Let u0 (resp., v0) be a preimage of u (resp., v ).

There always exists a template t0 which is realized by (u0, v0) and which is, in some way, related to t.

The template t0 is called aparent template of t.

(u, v ) [d, Db, De, a1, a2] = t

(u0, v0)

[d0, D0b, D0e, a01, a20] = t0

τ−1

Par(.)

(132)

Templates have parents

We will now introduce the notion of parents of a template.

Theorem

Let t be a template and let (u, v ) be a pair of factors realizing t. Let u0 (resp., v0) be a preimage of u (resp., v ).

There always exists a template t0 which is realized by (u0, v0) and which is, in some way, related to t.

The template t0 is called aparent template of t.

(u, v ) [d, Db, De, a1, a2] = t

(u0, v0) [d0, D0b, D0e, a01, a20] = t0 τ−1

(133)

Templates have parents

We will now introduce the notion of parents of a template.

Theorem

Let t be a template and let (u, v ) be a pair of factors realizing t. Let u0 (resp., v0) be a preimage of u (resp., v ).

There always exists a template t0 which is realized by (u0, v0) and which is, in some way, related to t.

The template t0 is called aparent template of t.

(u, v ) [d, Db, De, a1, a2] = t

(u0, v0) [d0, D0b, D0e, a01, a20] = t0

τ−1 Par(.)

(134)

Templates have parents

Remark

Since a word can sometimes have several preimages, a template can also have several parents.

There exists a formula allowing to compute all the parents of a given template.

(135)

Templates have parents

Remark

Since a word can sometimes have several preimages, a template can also have several parents.

There exists a formula allowing to compute all the parents of a given template.

(136)

Plan

1 Preliminary definitions

Words, factors and subwords Complexity functions k-binomial complexity

2 State of the art

3 Next result: the Tribonacci word Definition

The theorem

Introduction to templates and their parents

Using templates to compute b(2)T

(137)

Why are templates useful?

These templates are useful to see if b(2)T = pT.

Theorem

There exists n ∈ N such that

b(2)T (n) < pT(n)

if and only if at least one template of the form [0, 0, 0, a, b] with a 6= b is realizable by a pair of factors of T .

Proof

⇐ ∃(u, v ) ∈ (FacT)2 realizing [0, 0, 0, a, b]. So, Ψ(u) − Ψ(v ) = 0 and u 6= v .

⇒ ∃u = u1· · · un, v = v1· · · vn∈ FacT such that u 6= v and u ∼2 v . Let i ∈ {1, . . . , n} be such that ui 6= vi, ui +1 = vi +1, . . . , un= vn. Then (u1· · · ui, v1· · · vi) realizes [0, 0, 0, ui, vi], because

u ∼2v ⇒ u1· · · ui ∼2 v1· · · vi.

(138)

Why are templates useful?

These templates are useful to see if b(2)T = pT.

Theorem

There exists n ∈ N such that

b(2)T (n) < pT(n)

if and only if at least one template of the form [0, 0, 0, a, b] with a 6= b is realizable by a pair of factors of T .

Proof

⇐ ∃(u, v ) ∈ (FacT)2 realizing [0, 0, 0, a, b]. So, Ψ(u) − Ψ(v ) = 0 and u 6= v .

⇒ ∃u = u1· · · un, v = v1· · · vn∈ FacT such that u 6= v and u ∼2 v . Let i ∈ {1, . . . , n} be such that ui 6= vi, ui +1 = vi +1, . . . , un= vn. Then (u1· · · ui, v1· · · vi) realizes [0, 0, 0, ui, vi], because

(139)

Why are templates useful?

These templates are useful to see if b(2)T = pT.

Theorem

There exists n ∈ N such that

b(2)T (n) < pT(n)

if and only if at least one template of the form [0, 0, 0, a, b] with a 6= b is realizable by a pair of factors of T .

Proof

⇐ ∃(u, v ) ∈ (FacT)2 realizing [0, 0, 0, a, b]. So, Ψ(u) − Ψ(v ) = 0 and u 6= v .

⇒ ∃u = u1· · · un, v = v1· · · vn∈ FacT such that u 6= v and u ∼2 v . Let i ∈ {1, . . . , n} be such that ui 6= vi, ui +1 = vi +1, . . . , un= vn. Then (u1· · · ui, v1· · · vi) realizes [0, 0, 0, ui, vi], because

u ∼2v ⇒ u1· · · ui ∼2 v1· · · vi.

(140)

Why are templates useful?

These templates are useful to see if b(2)T = pT.

Theorem

There exists n ∈ N such that

b(2)T (n) < pT(n)

if and only if at least one template of the form [0, 0, 0, a, b] with a 6= b is realizable by a pair of factors of T .

Proof

⇐ ∃(u, v ) ∈ (FacT)2 realizing [0, 0, 0, a, b].

So, Ψ(u) − Ψ(v ) = 0 and u 6= v .

⇒ ∃u = u1· · · un, v = v1· · · vn∈ FacT such that u 6= v and u ∼2 v . Let i ∈ {1, . . . , n} be such that ui 6= vi, ui +1 = vi +1, . . . , un= vn. Then (u1· · · ui, v1· · · vi) realizes [0, 0, 0, ui, vi], because

Références

Documents relatifs

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

For an alphabet of size at least 3, the average time complexity, for the uniform distribution over the sets X of Set n,m , of the construction of the accessible and

Aware of the grave consequences of substance abuse, the United Nations system, including the World Health Organization, has been deeply involved in many aspects of prevention,

In this section, we will give some properties of these Green functions that we will need later. The proof of the following lemma is based on elementary potential theory on the

Unité de recherche INRIA Rocquencourt, Domaine de Voluceau, Rocquencourt, BP 105, 78153 LE CHESNAY Cedex Unité de recherche INRIA Sophia-Antipolis, 2004 route des Lucioles, BP 93,

agalactiae : distribution des sérotypes des souches responsables d’infections chez les nouveau-nés et chez les adultes pour l’année 2000.. Sérotypes Nouveau-nés Adultes et

Keywords: road safety, conspicuity, saliency, object detection, image processing, statistical learning, visibility, visual performance, quality