You are here
Home ›Boolean operations on automata
Primary tabs
Boolean operations on automata
A Boolean operation is any one of the three set-theoretic operations: union, intersection, and complementation. Boolean operations on automata are operations defined on automata resembling those from set theory.
Union of Two Automata
If and . Let be the disjoint unions of and , and , and respectively. For any , define to be
The automaton is called the union of and , and is denoted by . Intuitively, we take the disjoint union of the state diagrams of and , and let it be the state diagram of .
It is easy to see that , and that is equivalent to .
If only one starting state is required, one can modify the definition of by adding a new state and setting it as the new start state, then adding an edge from to each of the states in with label . The modified is equivalent to the original . Furthermore, if and are DFA’s, so is .
Complement of an Automaton
Let be an automaton. We define the complement of as the quintuple
where . It is clear that is a well-defined automaton. Additionally, is finite iff is, and is deterministic iff is.
Visually, the state diagram of is a directed graph whose final nodes are exactly the non-final nodes of .
It is obvious that and that is a DFA iff is.
Suppose is a DFA. Then it is easy to see that a string is accepted by precisely when is rejected by . If denotes the language consisting of all words accepted by . Then
where , the complement of in .
However, because it is possible that for some , , the language accepted by an arbitrary automaton is in general not .
Intersection of Two Autamata
The way to ensure that the equation above always holds is to define via the product of and . For more details, see the entry on product of automata.
If both and are DFA’s, then is equivalent to .
Mathematics Subject Classification
03D05 Automata and formal grammars in connection with logical questions68Q45 Formal languages and automata
- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)
- Other useful stuff
Recent Activity
new question: pure subgroups by lvoyster
new correction: Typo in M\"obius function? by Aleph Zero
new collection: analytic number theory by Aleph Zero
May 20
new question: Taylor's Series Query! by unlord
new question: Laplace transform by J
new question: Residue Calculus by J
May 19
new Education: Project: PlanetMath Outlines Series by unlord
May 17
new image: sinx_approx.png by jeremyboden
new image: approximation_to_sinx by jeremyboden
new image: approximation_to_sinx by jeremyboden


