Words
Alphabet
An alphabet is a finite set of symbols. Examples of alphabets include: , and .
Link to original
Word (finite automata)
A word or string (over an alphabet ) is a finite sequence of symbols from written without commas. For example, or .
Link to original
Empty word
The empty word, denoted by , is a word over any alphabet. We assume that is not a symbol of any of our alphabets.
Link to original
Length (word)
The length of a word is . For example, or .
Link to original
Concatenation
The concatenation of words and is the word followed by the word , written . We can use the syntax .
Formally, .
Link to original
Repetition
The repetition of words can be denoted by the power, . For example, , or .
Link to original
For every word , .
Prefix
If , then is a prefix of .
Link to original
Suffix
If , then is a suffix of .
Link to original
Languages
Language
A language (over an alphabet ) is a set of words over .
For example, given .
Given :
Link to original