Kleenes Theorem Muhammad Arif 5212021 1 Kleenes Theorem
![Kleene’s Theorem Muhammad Arif 5/21/2021 1 Kleene’s Theorem Muhammad Arif 5/21/2021 1](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-1.jpg)
![Kleene’s Theorem p If a Language can be expressed by: n n n p Kleene’s Theorem p If a Language can be expressed by: n n n p](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-2.jpg)
![Kleene’s Theorem p Kleene’s Theorem Part-I n p Kleene’s Theorem Part-II n p If Kleene’s Theorem p Kleene’s Theorem Part-I n p Kleene’s Theorem Part-II n p If](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-3.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-I n Since every FA can be Kleene’s Theorem p Proof of Kleene’s Theorem Part-I n Since every FA can be](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-4.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n n 5/21/2021 Basically this algorithm Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n n 5/21/2021 Basically this algorithm](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-5.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1: 6 Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1: 6](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-6.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1 (cont. Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1 (cont.](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-7.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 2 – if Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 2 – if](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-8.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 2: 9 Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 2: 9](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-9.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 3 – if Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 3 – if](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-10.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 3: n The Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 3: n The](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-11.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Note: the step 3 can Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Note: the step 3 can](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-12.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 4 (bypass and Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 4 (bypass and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-13.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-14.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-15.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-16.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example: 17 Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example: 17](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-17.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-18.jpg)
![Kleene’s Theorem p Note: n 5/21/2021 It is to be noted that to determine Kleene’s Theorem p Note: n 5/21/2021 It is to be noted that to determine](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-19.jpg)
![Kleene’s Theorem p Example: n 5/21/2021 To have single final state, the above TG Kleene’s Theorem p Example: n 5/21/2021 To have single final state, the above TG](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-20.jpg)
![Kleene’s Theorem n To eliminate state 2 and 3, the above TG cab be Kleene’s Theorem n To eliminate state 2 and 3, the above TG cab be](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-21.jpg)
![Kleene’s Theorem p Example: n 5/21/2021 To have single initial and single final state Kleene’s Theorem p Example: n 5/21/2021 To have single initial and single final state](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-22.jpg)
![Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2 Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-23.jpg)
![Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2 Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-24.jpg)
![Kleene’s Theorem n To connect the initial state with the final state by single Kleene’s Theorem n To connect the initial state with the final state by single](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-25.jpg)
![Kleene’s Theorem p Example: n Consider the following TG accepting Even-Even Language n To Kleene’s Theorem p Example: n Consider the following TG accepting Even-Even Language n To](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-26.jpg)
![Kleene’s Theorem n 5/21/2021 To eliminate state 2 the above TG can be reduced Kleene’s Theorem n 5/21/2021 To eliminate state 2 the above TG can be reduced](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-27.jpg)
![Kleene’s Theorem n 5/21/2021 To have single loop at state 1 the above TG Kleene’s Theorem n 5/21/2021 To have single loop at state 1 the above TG](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-28.jpg)
![Kleene’s Theorem n To eliminate state 1 the above TG can be reduced to Kleene’s Theorem n To eliminate state 1 the above TG can be reduced to](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-29.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 If a language Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 If a language](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-30.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-31.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-32.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 B: As, if r Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 B: As, if r](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-33.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Method 1 (Union Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Method 1 (Union](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-34.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: let r 1=(a+b)*b defines Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: let r 1=(a+b)*b defines](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-35.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Let FA 3 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Let FA 3](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-36.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-37.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 38 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 38](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-38.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III p RE corresponding to the above Kleene’s Theorem p Proof of Kleene’s Theorem Part-III p RE corresponding to the above](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-39.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*a and Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*a and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-40.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 41 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 41](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-41.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 42 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 42](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-42.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-43.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 44 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 44](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-44.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 2 (Concatenation of Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 2 (Concatenation of](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-45.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*b defines Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*b defines](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-46.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Let FA 3 be Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Let FA 3 be](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-47.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-48.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 49 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 49](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-49.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 50 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 50](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-50.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-51.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 52 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 52](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-52.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 3 (Closure of Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 3 (Closure of](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-53.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Closure of an FA, Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Closure of an FA,](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-54.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r=(a+b)*b and the Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r=(a+b)*b and the](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-55.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 56 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 56](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-56.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 57 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 57](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-57.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Let r 1=(a+b)*aa(a+b)* Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Let r 1=(a+b)*aa(a+b)*](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-58.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 59 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 59](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-59.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 60 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 60](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-60.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Consider the following Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Consider the following](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-61.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Note: It is to Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Note: It is to](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-62.jpg)
![Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 63 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 63](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-63.jpg)
- Slides: 63
![Kleenes Theorem Muhammad Arif 5212021 1 Kleene’s Theorem Muhammad Arif 5/21/2021 1](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-1.jpg)
Kleene’s Theorem Muhammad Arif 5/21/2021 1
![Kleenes Theorem p If a Language can be expressed by n n n p Kleene’s Theorem p If a Language can be expressed by: n n n p](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-2.jpg)
Kleene’s Theorem p If a Language can be expressed by: n n n p FA, OR TG, OR RE Then it can be expressed by other two as well. It may be noted that theorem is proved, proving the following three parts: 5/21/2021 2
![Kleenes Theorem p Kleenes Theorem PartI n p Kleenes Theorem PartII n p If Kleene’s Theorem p Kleene’s Theorem Part-I n p Kleene’s Theorem Part-II n p If](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-3.jpg)
Kleene’s Theorem p Kleene’s Theorem Part-I n p Kleene’s Theorem Part-II n p If a language can be accepted by an FA then it can be accepted by a TG as well. If a language can be accepted by a TG then it can be expressed by an RE as well. Kleene’s Theorem Part-III n 5/21/2021 If a language can be accepted by a RE then it can be accepted by an FA as well. 3
![Kleenes Theorem p Proof of Kleenes Theorem PartI n Since every FA can be Kleene’s Theorem p Proof of Kleene’s Theorem Part-I n Since every FA can be](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-4.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-I n Since every FA can be considered to be a TG as well, therefore, there is nothing to prove. p p We are not bound to use the relaxation of TG Proof of Kleene’s Theorem Part-II n 5/21/2021 To prove part 2 of theorem, an algorithm consisting of different steps, is explained showing how a RE can be obtained corresponding to the given TG. For this purpose the notion of TG is changed to that of GTG i. e. the labels of transitions are corresponding REs 4
![Kleenes Theorem p Proof of Kleenes Theorem PartII n n 5212021 Basically this algorithm Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n n 5/21/2021 Basically this algorithm](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-5.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n n 5/21/2021 Basically this algorithm converts the given TG to GTG with one initial state along with a single loop, or one initial state connected with one final state by a single transition edge. The label of the loop or the transition edge will be the required RE. Step 1 – if a TG has more than one start states, then introduce a new start state connecting the new state to the old start states by the transition labeled by ᴧ and make the old start states the non start states. E. g. 5
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Example Step 1 6 Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1: 6](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-6.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1: 6
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Example Step 1 cont Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1 (cont.](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-7.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 1 (cont. . ): 7
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Step 2 if Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 2 – if](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-8.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 2 – if a TG has more than one final states, then introduce a new final state connecting the new state to the old final states by the transition labeled by ᴧ. This step can be shown by the previous example of TG, where the step 1 has already been processed. 8
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Example Step 2 9 Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 2: 9](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-9.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example Step 2: 9
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Step 3 if Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 3 – if](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-10.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 3 – if a state has two (more than one) incoming transition edges labeled by the corresponding REs, from the same state (including the possibility of loops at a state), then replace all these transition edges with a single transition edge labeled by the sum of corresponding REs. This step can be shown by a part of TG in the following example: 10
![Kleenes Theorem p Proof of Kleenes Theorem PartII n Example Step 3 n The Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 3: n The](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-11.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 3: n The above TG can be reduced to 5/21/2021 11
![Kleenes Theorem p Proof of Kleenes Theorem PartII n Note the step 3 can Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Note: the step 3 can](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-12.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Note: the step 3 can be generalized to any finite number of transitions as shown below n The above TG can be reduced to 5/21/2021 12
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Step 4 bypass and Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 4 (bypass and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-13.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Step 4 (bypass and state elimination) – if three states in a TG are connected in sequence then eliminate the middle state and connect the first state with the third state by a single transition (include the possibility of circuit as well) labeled by the RE which is the concatenation of corresponding two REs in the existing sequence. This step can be shown by a part of TG in the following example: 13
![Kleenes Theorem p Proof of Kleenes Theorem PartII n Example Step 4 n To Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-14.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To eliminate state 5 the above part of TG can be reduced to 5/21/2021 14
![Kleenes Theorem p Proof of Kleenes Theorem PartII n Example Step 4 n To Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-15.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example Step 4: n To eliminate state 3 the above part of TG can be reduced to 5/21/2021 15
![Kleenes Theorem p Proof of Kleenes Theorem PartII n Example n To eliminate state Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-16.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state 3 the above part of TG can be reduced to 5/21/2021 16
![Kleenes Theorem p Proof of Kleenes Theorem PartII n 5212021 Example 17 Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example: 17](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-17.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n 5/21/2021 Example: 17
![Kleenes Theorem p Proof of Kleenes Theorem PartII n Example n To eliminate state Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-18.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-II n Example: n To eliminate state 4 the above TG can be reduced to 5/21/2021 18
![Kleenes Theorem p Note n 5212021 It is to be noted that to determine Kleene’s Theorem p Note: n 5/21/2021 It is to be noted that to determine](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-19.jpg)
Kleene’s Theorem p Note: n 5/21/2021 It is to be noted that to determine the RE corresponding to a certain TG, four steps have been discussed. This process can be explained by the following particular examples TGs. 19
![Kleenes Theorem p Example n 5212021 To have single final state the above TG Kleene’s Theorem p Example: n 5/21/2021 To have single final state, the above TG](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-20.jpg)
Kleene’s Theorem p Example: n 5/21/2021 To have single final state, the above TG can be reduced to 20
![Kleenes Theorem n To eliminate state 2 and 3 the above TG cab be Kleene’s Theorem n To eliminate state 2 and 3, the above TG cab be](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-21.jpg)
Kleene’s Theorem n To eliminate state 2 and 3, the above TG cab be reduced to n To eliminate state 1 the above TG can be reduced to n Hence the required RE is (ab + ba) (aa+b)* (aaa+bba) 5/21/2021 21
![Kleenes Theorem p Example n 5212021 To have single initial and single final state Kleene’s Theorem p Example: n 5/21/2021 To have single initial and single final state](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-22.jpg)
Kleene’s Theorem p Example: n 5/21/2021 To have single initial and single final state the above TG can be reduced to the following 22
![Kleenes Theorem n 5212021 To obtain single transition edge between 1 and 3 2 Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-23.jpg)
Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2 and 4, the above TG can be reduced to the following 23
![Kleenes Theorem n 5212021 To obtain single transition edge between 1 and 3 2 Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-24.jpg)
Kleene’s Theorem n 5/21/2021 To obtain single transition edge between 1 and 3; 2 and 4, the above TG can be reduced to the following 24
![Kleenes Theorem n To connect the initial state with the final state by single Kleene’s Theorem n To connect the initial state with the final state by single](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-25.jpg)
Kleene’s Theorem n To connect the initial state with the final state by single transition edge, the above TG can be reduced to the following n Hence the required RE is (b+aa)b* +(a+bb)a* 5/21/2021 25
![Kleenes Theorem p Example n Consider the following TG accepting EvenEven Language n To Kleene’s Theorem p Example: n Consider the following TG accepting Even-Even Language n To](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-26.jpg)
Kleene’s Theorem p Example: n Consider the following TG accepting Even-Even Language n To have single initial and single final state the above TG can be reduced to the following 5/21/2021 26
![Kleenes Theorem n 5212021 To eliminate state 2 the above TG can be reduced Kleene’s Theorem n 5/21/2021 To eliminate state 2 the above TG can be reduced](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-27.jpg)
Kleene’s Theorem n 5/21/2021 To eliminate state 2 the above TG can be reduced to the following 27
![Kleenes Theorem n 5212021 To have single loop at state 1 the above TG Kleene’s Theorem n 5/21/2021 To have single loop at state 1 the above TG](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-28.jpg)
Kleene’s Theorem n 5/21/2021 To have single loop at state 1 the above TG can be reduced to the following 28
![Kleenes Theorem n To eliminate state 1 the above TG can be reduced to Kleene’s Theorem n To eliminate state 1 the above TG can be reduced to](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-29.jpg)
Kleene’s Theorem n To eliminate state 1 the above TG can be reduced to the following n Hence the required RE is ((aa+bb) + (ab, ba) (aa, bb)*(ab, ba))* 5/21/2021 29
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n n 5212021 If a language Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 If a language](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-30.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 If a language can be expressed by a RE then there exists an FA accepting that language. A: As the regular expression is obtained applying addition, concatenation and closure on the letters of an alphabet and the null string, so while building the RE, sometimes, the corresponding FA may be built easily, as shown in the following examples. 30
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example consider the language defined Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-31.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined over Σ = {a, b}, consisting of only b, then this language may be accepted by the following FA. n Which shows that this FA helps in building an FA accepting only one letter. 5/21/2021 31
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example consider the language defined Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-32.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: consider the language, defined over Σ = {a, b}, consisting of only ᴧ, then this language may be accepted by the following FA. n Which shows that this FA helps in building an FA accepting only one letter. 5/21/2021 32
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 B As if r Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 B: As, if r](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-33.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 B: As, if r 1 and r 2 are regular expressions then there sum, concatenation and closure also regular expressions, so an FA can be built for any regular expression if the methods can be developed for building the FAs corresponding to the sum, concatenation and closure of the regular expression along with their FAs. These three methods are explained in the following discussions: 33
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n n 5212021 Method 1 Union Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Method 1 (Union](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-34.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Method 1 (Union of two FAs): Using the Fas corresponding to r 1 and r 2 an FA can be built, corresponding to r 1+r 2. This method can be developed considering the following examples: NOTE: If we are talking about RE then there exist languages correspond to that RE, and the language built using the sum of REs, that is considered as union of those corresponding languages. 34
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example let r 1abb defines Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: let r 1=(a+b)*b defines](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-35.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: let r 1=(a+b)*b defines L 1, and the FA 1 be n and r 2=(a+b)*aa(a+b)* defines L 2, and the FA 2 be. 5/21/2021 35
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n n 5212021 Let FA 3 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Let FA 3](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-36.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n n 5/21/2021 Let FA 3 be an FA corresponding to r 1+r 2 then the initial state of FA 3 must correspond to the initial state of FA 1 or the initial state of FA 2. Since the language corresponding to r 1+r 2 is the union of corresponding languages L 1 and L 2, consists of string belonging to L 1 or L 2 or both, therefore, a final state of FA 3 must correspond to final state of FA 1 or FA 2 or both. 36
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Since in general FA Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-37.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA 3 will be different from both FA 1 and FA 2, so the labels of the states of FA 3 may be supposed to be z 1, z 2, z 3…. . Where z 1 is supposed to be initial state. Since z 1 corresponds to the states x 1 or y 1, so there will be two transitions separately for each letter read at z 1. It will give two possibilities of states either z 1 or different from z 1. This process may be expressed in the following transition table for all possible states of FA 3. 37
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 38 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 38](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-38.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 38
![Kleenes Theorem p Proof of Kleenes Theorem PartIII p RE corresponding to the above Kleene’s Theorem p Proof of Kleene’s Theorem Part-III p RE corresponding to the above](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-39.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III p RE corresponding to the above FA may be r 1+r 2=(a+b)*b+(a+b)*aa(a+b)* 5/21/2021 39
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example Let r 1aba and Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*a and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-40.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*a and the corresponding FA 1 be n Also r 2=(a+b)(a+b))* 5/21/2021 40
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 41 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 41](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-41.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 41
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 42 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 42](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-42.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 42
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example Let r 1ab and Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-43.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and the corresponding FA 1 be n Also r 2=(a+b)(a+b))* 5/21/2021 43
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 44 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 44](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-44.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 44
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Method 2 Concatenation of Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 2 (Concatenation of](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-45.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 2 (Concatenation of two FAs): Using the FAs corresponding to r 1 and r 2 an FA can be built, corresponding to r 1 r 2. This method can be developed considering the following examples: 45
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example Let r 1abb defines Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*b defines](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-46.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=(a+b)*b defines L 1 and FA 1 be n And r 2=(a+b)*aa(a+b)* defines L 2 and FA 2 be 5/21/2021 46
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Let FA 3 be Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Let FA 3 be](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-47.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Let FA 3 be an FA corresponding to r 1 r 2, then the initial state of FA 3 must correspond to the initial state of FA 1 and the final state of FA 3 must correspond to the final state of FA 2. Since the language corresponding to r 1 r 2 the concatenation of corresponding languages L 1 and L 2 consists of the strings obtained, concatenating the strings of L 1 to those of L 2, therefore the moment a final state of first FA is entered, the possibility of the initial state of second FA will be included as well. 47
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Since in general FA Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-48.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Since, in general, FA 3 will be different from FA 1 and FA 2, so the labels of the states of FA 3 may be supposed to be z 1, z 2, z 3…. . Where z 1 stands for the initial state. Since z 1 corresponds to the states x 1, so there will be two transitions separately for each letter read at z 1. It will give two possibilities of states which corresponds to either z 1 or different from z 1. This process may be expressed in the following transition table for all possible states of FA 3. 48
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 49 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 49](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-49.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 49
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 50 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 50](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-50.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 50
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example Let r 1ab and Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-51.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r 1=((a+b))* and the corresponding FA 1 be n And r 2=(a+b)(a+b))* FA 2 be 5/21/2021 51
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 52 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 52](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-52.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 52
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Method 3 Closure of Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 3 (Closure of](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-53.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Method 3 (Closure of an FA): Building an FA corresponding to r*, using the FA corresponding to r. It is to be noted that if the given FA already accept the language expressed by the closure of certain RE, then the given FA is the required FA (e. g. Even-Even Language). However, the method in other cases can be developed considering the following examples: 53
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Closure of an FA Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Closure of an FA,](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-54.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Closure of an FA, is same as concatenation of an FA with itself, except that the initial state of the required FA is a final state as well. Here the initial state of given FA, corresponding to the initial and final state of required FA and a non final state of the required FA as well. 54
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n Example Let rabb and the Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r=(a+b)*b and the](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-55.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n Example: Let r=(a+b)*b and the corresponding FA be n Then the FA corresponding to r* may be determined as under: 5/21/2021 55
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 56 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 56](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-56.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 56
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 57 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 57](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-57.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 57
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Example Let r 1abaaab Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Let r 1=(a+b)*aa(a+b)*](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-58.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Let r 1=(a+b)*aa(a+b)* and the corresponding FA be 58
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 59 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 59](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-59.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 59
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 60 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 60](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-60.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 60
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Example Consider the following Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Consider the following](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-61.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Example: Consider the following FA, accepting the language of strings with b as second letter 61
![Kleenes Theorem p Proof of Kleenes Theorem PartIII n 5212021 Note It is to Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Note: It is to](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-62.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III n 5/21/2021 Note: It is to be noted that as observed in the previous examples, if at the initial states of the given FA there is a loop or an incoming transition edge, the initial state corresponds to the final state and a non final state as well, of the required FA, otherwise, the initial state of the given FA will only correspond to a single state of the required FA (i. e. the initial state which is final as well). 62
![Kleenes Theorem p Proof of Kleenes Theorem PartIII 5212021 63 Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 63](https://slidetodoc.com/presentation_image_h2/4471f4a5236b2a0eaa1630efa5fa2c2e/image-63.jpg)
Kleene’s Theorem p Proof of Kleene’s Theorem Part-III 5/21/2021 63
Kleenes
Kleene's theorem
5212021
5212021
Sabah translation
At tahiyyatu
Menü planlama ilkeleri
Bekir yilbas
Ayinei vatan
Arif emecen
Patrat magic 3x3
Arif emecen
Ali erhan kuriş
Arif nanić
Arif nanić
Sirojuddin arif
Arif asal
Fadli arif lkpp
Arif shoshi
Prof mohammed arif
Arif nanić
Shams al ma'arif
Arif altaf
Arif motor
Arif koca
Arif erkol
Great barrier arif
Professor mohammed arif
Greens theorem
Conjugate zeros theorem
Polynomial remainder theorem
Integral root theorem
Polynomial remainder theorem
Linear factors theorem and conjugate zeros theorem
Factor theorem and remainder theorem
Muhammad ismail yusanto
Oasis islam definition
Anthony downs
Silsilah pajajaran prabu siliwangi
Anthony muhammad
Dr muhammad ali yousuf
Zahiriddin muhammad bobur insho rejasi
Jesus vs muhammad
Doa tahajud
Allahumma sallimni ila ramadan
What is the mental health
Muhammad hasmi abu hassan asaari
Sayyidina muhammad
Rumusan tentang nabi muhammad saw
Don e love makes the world go round
What year was muhammad born
Karanfilgiller
Qualities of prophet muhammad
Divine comedy muhammad
Imam muhammad bin idris
Peace and blessings upon muhammad
Kearsipan sistem abjad
Zahiruddin muhammad
Egyptian cat
Hadith on discipline
Prophet muhammad
Muhammad ali sportsman of the century
Wallace d ford
Muhammad ismail yusanto