vault backup: 2026-04-08 13:00:12
This commit is contained in:
@@ -49,10 +49,6 @@ The $n^"th"$ power of the language $L subset.eq Sigma^*$ over alphabet $Sigma$
|
||||
**Goal:** Represent a language using _finite_ information
|
||||
### Using set notation
|
||||
$S = {a^n b^m bar n, m >= 0} = {epsilon, a, b, "aa", "ab", ...}$
|
||||
> This is very inefficient.
|
||||
> This is limited in practice.
|
||||
|
||||
### Using regular expressions
|
||||
A _regular expression_ $r$ over an alphabet $Sigma$ is defined recursively:
|
||||
- $emptyset, epsilon$ and each $a in Sigma$ are regular expression, which represent the Languages $L(emptyset) = emptyset, L(epsilon) = {epsilon}$ and $L(a) = {a}$
|
||||
- If $r$ and $s$ are regular expressions then
|
||||
- $(r+s)$
|
||||
|
||||
Reference in New Issue
Block a user