May 28, 2025Less than 1 minute
Finite Automata
- state: circle
- start state: has a arrow from nowhere
- accept state: double circles
- transition: arrow
Input: finite string
Output: Accept or Reject
Language of Machine
- : finite set of states
- : finite set of alphabet symbols
- : transition function
- : start state
- : set of accept states
String and languages
- A String is a finite sequence of symbols in
- A language is a set of strings (finite or infinite)
- The empty string is the string of length 0
- The empty language is the set with no strings
Defn: accepts string
Recognizing languages
- is the language of M
- M recognizes
regular languages
Defn: A language is regular if some finite automation recognizes it.
regular languages
regular expressions
regular operations: Let A, B be languages
- Union:
- Concatenation:
- Star:
Regular Expressions
- Built from , members , , [atomic]
- By using [composite]