Lesson 08
Lesson 08
Lesson 08
1
Recap Definition of TG continued …
2
Note
3
Example
- Λ
+
4
Example Continued …
TG1 a,b
a,b
a,b
+
TG2
5
Example
TG1 -
a,b
TG2 - 1
a,b
a,b
TG3 - 1
6
Example Continued …
7
Example Continued …
8
Example
a,b
––
b +
9
Example
––
a +
10
Task solution …
(a+b)*(aa+ab)
This language may be accepted by the following
FA
11
a
Task continued …
aa
a
a b
b
a a
ab
Λ b a
b ba
a
b
b a
b b
bb 12
Task solution …
Λ + a + b + (a+b)*(aa+bb)
This language may be accepted by the following
FA
13
a
Task continued …
aa
a
a b
b
a a
ab
Λ b a
b ba
a
b
b a
b b
bb 14
TASK
15
Example
16
Example Continued …
b,a b,a
aa
1- 2+
17
Example
18
Example continued …
a
a
a,b a,b
–– +
b
b
y
19
OR
a,b a,b
aa,bb
- +
20
OR
a,b a,b
aa
1- 2+
a,b a,b
bb
3- 4+
21
Note
22
Summing Up
23