Languages

Alphabets and Strings

<aside> ℹ️ We will use lowercase letters $a, b, c, \dots$ for elements of $\Sigma$ and $u, v, w, \dots$ for string names.

</aside>

We have the special case $w^0 = \lambda$ (empty string) for all $w$.

Star-Closure of Alphabet

$\Sigma^*$ denotes the (infinite) set of strings obtained by concatenating zero or more symbols from $\Sigma$.

A language is defined very generally as a subset of $\Sigma^*$.

Set Operations on Languages

Languages are sets; the union, intersection, and difference of two languages are immediately defined.