1.1 KiB
1.1 KiB
created, course, topic, related, type, status, tags
| created | course | topic | related | type | status | tags | |
|---|---|---|---|---|---|---|---|
| 2026-04-08 10:55 | 29593850 - Automationtheory | languages | 29593940 - Formal Languages#Finite representation of languages | lecture | 🟢 |
|
📌 Summary
[!abstract]
📝 Content
A regular expression r over an alphabet Sigma is defined recursively:
emptyset, epsilonand eacha in Sigmaare regular expression, which represent the LanguagesL(emptyset) = emptyset, L(epsilon) = {epsilon}andL(a) = {a}- If
randsare regular expressions then these are also regular expressions:(r + s)withL(r + s) = L(r) union L(s)(r s)withL(r s) = L(r)L(s)r^*withL(r^*) = L(r)^*
[!EXAMPLE] The language
LoverSigma = {a, b}containing the substringa bis regular, since it can be expressed using the regular expressionr = (a +b)^* a b (a + b)^*
Equivalence of regular expressions
Two regular expressions r and s are equivalent (r eq.triple s or r hat(eq) s) if they generate the same language (L(r) eq L(s)).