Kleene's Theorem in Automata Theory



Kleene's Theorem states the equivalence of the following three statements −

  • A language accepted by Finite Automata can also be accepted by a Transition graph.
  • A language accepted by a Transition graph can also be accepted by Regular Expression.
  • A language accepted by Regular Expression can also be accepted by finite Automata.

Kleene's Theorem Proof Part-1

A language accepted by Finite Automata can also be accepted by a Transition graph.

Consider an example Let L = aba over an alphabet {a, b}

Kleenes Theorem in TOC1

Third Part of Kleene's Theorem

A language accepted by Regular Expression can also be accepted by finite Automata.

Theorem

Any language that can be defined with RE can be accepted by some Finite State Machine (FSM) is also regular.

Proof

The proof is by construction.

For a given RE α, we can construct a FSM M such that

$$\mathrm{L (\alpha) \:=\: L (M)}$$

If α is any c € Σ, we can construct a simple FSM as follows −

Kleenes Theorem in TOC2

If α is φ, we construct simple FSM as follows − Kleenes Theorem in TOC3

If α is , we construct simple FSM as − Kleenes Theorem in TOC4

Let us construct FSMs to accept language that are defined by regular expression that exploits the operations of concatenation, union and Kleene star.

Step 1 − Let β and γ be RE that defined languages over the alphabet Σ

If L(β) is regular, then it is accepted by some FSM

$$\mathrm{M1 \:=\: (Q1,\: \Sigma,\: \delta 1,\: q1,\: F1)}$$

Let L(γ) is regular, then it is accepted by some FSM

$$\mathrm{M2 \:=\: (Q2,\: \Sigma,\: \delta 2,\: q2,\: F2)}$$

Step 2 − If RE α = β ∪ γ and if both L(β) and L(γ) are regular,

Then we construct M3 =( Q3, Σ, δ3, q3, F3), such that

$$\mathrm{L(M3) \:=\: L(\alpha) \:=\: L(\beta) \: \cup \: L(\gamma)}$$

Step 3 − Let P accept L = {a} and Q accepts L = {b}, then R can be represented as a combination of P and Q by using the provided operations as −

$$\mathrm{R \:=\: P \:+\: Q}$$

Transition Diagram

The transition diagram for the same is given below −

Kleenes Theorem in TOC5

We observe the following in the transition diagram −

  • In case of union operation we can have a new start state. From there, a null transition proceeds to the starting state of both the Finite State Machines.
  • The final states of both the Finite Automata are converted to intermediate states. The final state is unified into one which can be traversed by null transitions.
Advertisements