Definition

A (finite) word w=a1,...,anw = a_1,...,a_n is a finite sequence of letters ai∈Σa_i \in \Sigma (where Σ\Sigma is an alphabet)

  • |w|≜n|w| \triangleq n is length of word
  • w[i]≜aiw[i] \triangleq a_i is ii-th letter in word ww
  • ϵ\epsilon is empty word of length 00
  • v⋅wv \cdot w (or simply vwvw) denotes concatenation of words vv and ww
    • ϵ⋅w=w=w⋅ϵ\epsilon \cdot w = w = w \cdot \epsilon
    • u⋅(v⋅w)=(u⋅v)⋅wu \cdot (v \cdot w) = (u \cdot v) \cdot w
  • vnv^n is vv concatenated with itself nn times

Notes

  • Σ∗\Sigma^* is the set of all words over alphabet Σ\Sigma
  • Σ+≜Σ∗∖{ϵ}\Sigma^+ \triangleq \Sigma^* \setminus \{\epsilon\} is set of non-empty words

References

  1. M. Avanzini, Lecture Notes, Topic: “finite automata.” M1-AL, Centre Inria d’Université Côte d’Azur, 2021. https://www-sop.inria.fr/members/Martin.Avanzini/teaching/2021/AL/slides/w1.pdf