Skip to content
Go back

Introduction to Automata

Published:  at  02:13 AM

I. The Recognition Predicate

II. Thompson’s Construction (Inductive Building)

A. The Basis (Atomic Machines)

  1. Symbol a: Two states with a transition labeled a.
  2. The Empty String 𝜖: Two states with a transition labeled 𝜖 (aka “the multiplicative identity”).
  3. The Empty Set ∅: Two states with no accepting path between them (aka “the annihilator”).

B. The Induction (Structural Glue)

  1. Union (r|s): Create a new start state that branches via 𝜖 to the start of M(r) and M(s)*. This implements LM; this is a union at the level of languages (aka JH Level 3).
  2. Concatenation (rs): Link the exit of M(r) directly to the entry of M(s). This implements LM; this is concatenation at the level of languages (aka JH Level 3).
  3. Kleene Star (r*): Add an 𝜖-loop from the exit M(r) back to its entry; and an 𝜖-bypass from the new start to the new exit to allow for the “length 0” string.

III. The Transition Table Representation

A. Structure of the Transition Table

  1. Rows represent the States of the NFA.
  2. Columns represent the alphabet Σ plus the special empty-string 𝜖 column.
  3. Cell (s, i): Contains the set of the states of the machine can move to from state s on input i.

X. Appendix on notation


Ignore registers below

“ap = Upper case sigma aka Alphabet Σ “sp = Sigma Star (Uppercase Sigma with Asterisk) Σ* “ep = lowercase epsilon aka the empty string 𝜖 “bp = subset of; ⊆ “up = Union symbol ∪ “zp = empty set symbol ∅ “dp = dot product symbol ⋅ “np = NOT equal sign ≠

“lp = L “mp = element of; ∈


macros

@e = turn exactly one character bold