Lecture 2
Lecture 2
Part 1
Let Σ = { a, b, c}
L1 = { am bn |m, n ≥ 0} is regular
L2 = {a n b n |n ≥ 0} is context-free but not regular
L3 = {a n b n c n |n ≥ 0} is context-sensitive but
neither regular nor context-free
Showing a language that is type-0, but none of
CSL, CFL, or RL is very intricate and is omitted