What is the Theory of Computation?

An abstract model of a computational process

More about sequences of symbols

A decision algorithm

Languages and deciders

The finite state machine

Σ = {0,1}

L = { x | x contains an odd number of 1s }

Another example

L = { x | x contains the substring 010 }

Formal definition

A finite automaton is a tuple {Q, Σ, δ, q0, F } where

  1. Q is a finite set called the states,
  2. Σ is a finite set called the alphabet,
  3. δ : Q × ΣQ is the transition function,
  4. q0Q is the start state, and
  5. FQ is the set of accept states.

A language L is a regular language if some finite automaton M recognizes L.