Lecture 3
Lecture 3
Lecture 3
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Proving a Language is Regular<br />
Method 5<br />
Use closure properties<br />
Example L = {w∊(0+1)* | w is a binary<br />
number divisible by 5 consisting of a bunch of<br />
0s squeezed between two bunches of 1s}<br />
We know<br />
1) {binary numbers divisible by 5} is regular<br />
2) bunch of 0s squeezed between 1s is 1 * 0 * 1 *<br />
hence regular<br />
Cite closure under intersection and we’re done!<br />
Friday, February 8, 13