









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Some concept of Automata and Complexity Theory are Administrivia, Closure Properties, Context-Free Grammars, Decision Properties, Deterministic Finite Automata, Intractable Problems, More Undecidable Problems. Main points of this lecture are: Limitations, Finite Automata, Regular Languages, Containing Pattern, Followed, Same Number, Patterns, Prime, Divisible, Design
Typology: Slides
1 / 17
This page cannot be seen from the preview
Don't miss anything!
Many examples of regular languages
q 0 q
0 1 1 0
(^1 0 )
0, 1 q 0 q 1 q 2 q 3
all strings not containing pattern 010 followed by 101
x (^0 0 0 )
0
0 r 1 n+
0 0 0 0
0
0 r 1 n+
General method for showing non- regularity
a “middle part” in z that, even if repeated several times, keeps the input inside L
z (^) a (^1) … ak ak+1 … an-
an
an+1…am
adversary choose n write z = uvw (|uv| ≤ n,|v| ≥ 1)
you choose z ∈ L choose i you win if uv iw ∉ L
1 2
adversary choose n write z = uvw (|uv| ≤ n,|v| ≥ 1)
you choose z ∈ L choose i you win if uv iw ∉ L
1 2
adversary choose n write z = uvw (|uv| ≤ n,|v| ≥ 1)
you z = 0n+1 1 n+ i = 2 uv iw = 0j+2k+l 1 n+ = 0n+1+k 1 n+ ∉ L
1 2 u = 0j, v = 0k, w = 0l 1 n+ j + k + l = n + 1
L 3 = {1n: n is divisible by 3} L 4 = {1n: n is prime}
L 5 = {x: x has same number of 0s and 1s}
L 6 = {x: x has same number of patterns 01 and 10} L 7 = {x: x has more 0s than 1s} L 8 = {x: x has different number of 0s and 1s}