Theorem 1.49 in ACMOI #
theorem
A_bound₀'pow
{A : Type}
{n e : ℕ}
(hn : n ≠ 0)
(he : e ≠ 0)
(w : Fin n → A)
:
A_at_most (Fin.repeat e w) (n + 1)
A power of a word has low complexity.
theorem
A_bound₀'square
{A : Type}
{n : ℕ}
(hn : n ≠ 0)
(w : Fin n → A)
:
A_at_most (Fin.append w w) (n + 1)
A square has low complexity.