Kleene S-Theorem PDF
Kleene S-Theorem PDF
Prepared by
Prof. Trupti M. Kodinariya
Department of Computer Engineering
Atmiya Institute of Technology & Science - Rajkot
Gujarat
Statement
• Kleene’s Theorem (part 1)
– Any regular language can be accepted by a finite
automata
• Kleene’s Theorem (part 2)
– The language accepted by finite automata is
regular
Proof of Kleene’s theorem (part 1)
• For any regular language L *, following
three statements are equivalent
1. L can be recognized by an FA
2. L can be recognized by an NFA
3. L can be recognized by an NFA -
• For any q A1
c(q, a)= 1(q, a) for every a
c(q, )= 1(q, ) {q2}
Induction step:
Induction step:
Construction of Mk=<Qk, , qk, Ak, k> which
accept language Lk
• Let Qk= Q1 {qk}
• Ak={qk}
• qk = new initial state
• The transitions of Mk will include all those of M1 as well as a
- transition from qk to q1 and each accepting state of M1 to qk.
k(qk, )= {q1}
k(qk, a) = for every a
• For any q Q1 and a {}
k(q, a)= 1(q, a) unless q A1 and a =
• For any q A1
k(q, )= 1(q, ) {qk}
Induction step: