Automata Theory and Logic by Martin Hofmann · Martin Lange

by Martin Hofmann · Martin Lange · Views: 150 · Format: EPUB · Language: English (en)

Cover of Automata Theory and Logic by Martin Hofmann · Martin Lange — Free EPUB on AnyEbooksEPUB

of a (regular) language we try to omit parentheses for better readability. We introduce the convention that the unary operation of Kleene closure takes precedence over the binary operations, and that concatenation takes precedence over union. We also omit curly braces around singleton sets. Then ∗ the language 𝐿 of the previous example is also simply written as 𝜀 ∪ (𝑎 ∪ 𝑏) 𝑏. An even cleaner way of obtaining a neat description of regular languages is to introduce regular expressions. Definition 1.3 Let Σ be an alphabet. Regular expressions over Σ are given by the following grammar. ∗ 𝛼 ∶= ∅ ∣ 𝑎 ∣ 𝛼 + 𝛼 ∣ 𝛼𝛼 ∣ 𝛼 The language 𝐿(𝛼) of a regular expression 𝛼 is defined straightforwardly as 𝐿 (∅) ∶= ∅ 𝐿 (𝛼 + 𝛽) ∶= 𝐿(𝛼) ∪ 𝐿(𝛽) 𝐿 (𝑎) ∶= {𝑎} 𝐿 (𝛼 𝛽) ∶= 𝐿(𝛼)𝐿(𝛽) ∗ ∗ 𝐿 (𝛼 ) ∶= (𝐿(𝛼)) 1.1 Regular Expressions 5 Thus, every regular expression defines a regular language in a natural way. The minimality condition in Def. 1.1 guarantees that every regular language can also be described by a regular expression. The literature contains both the use of ‘+’ and ‘∪’ in regular expressions to denote unions. We will use either of them, whatever is more convenient in that moment. We will also often drop the strict distinction between an expression and the language ∗ ∗ defined by it writing, for example 𝐿 = (𝑎 + 𝑏) 𝑏 instead of 𝐿 = 𝐿((𝑎 + 𝑏) 𝑏). It is easy to see that every finite set of words is a regular language; it can be written in the form 𝑤1 + . . . + 𝑤𝑛, using only unions of concatenations of

★★★★★

Rate this eBook

File Name:1c0413928a675ed9cfceaa1a4a834d40.epub
Original Title:Automata Theory and Logic
Creator / Author:Martin Hofmann · Martin Lange
Language:English (en)
Identifier:ASIN:398857
Publisher:Martin Hofmann · Martin Lange Publishing
Category:Fiction
Format:📗 EPUB eBook
File Size:3.5 MB

Community Reviews

Loading verified community reviews...

Related Fiction Titles