Skip to content

Lecture No. 10

Dated: 26-10-2024

Example

Consider a language \(L\) defined over \(\Sigma = \{a, b\}\) containing \(aa\) or \(bb\).

\[(a+b)^*(aa + bb)(a + b)^*\]

CS402_i_10_1.png

Non Determinism

It is possible that for a certain string,1 there may not be any path or there may be multiple paths.
This causes non determinism.
Though it can help differentiating between finite automata2 from transition graphs3 and generalized transition graphs4 since finite automa2 are also called deterministic finite automata.

Kleene's Theorem

If a language can be represented by either

  1. A finite automaton2
  2. A transition graph3
  3. A regular expression5

Then it can be represented by other 2 as well.

This theorem can be proved by following arguments

  1. If a language is represented by finite automaton2 then it can be represented by a transition graph3 as well since every finite automaton2 is a transition graph3
  2. If a language is represented by transition graph3 then it can be represented by a regular expression5 as well
  3. If a language is represented by a regular expression5 then it can be represented by a finite automaton2 as well.

References


  1. Read more about strings

  2. Read more about finite automata

  3. Read more about transition graph

  4. Read more about generalized transition graph

  5. Read more about regular expressions