word
string
#formal_language_theory
#formal_language_theory
Definition
A (finite) word is a finite sequence of letters (where is an alphabet)
- is length of word
- is -th letter in word
- is empty word of length
- (or simply ) denotes concatenation of words and
- is concatenated with itself times
Notes
- is the set of all words over alphabet
- is set of non-empty words
References
- 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