

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


1
2
3
•Let L 1 and L 2 be arbitrary CFL’s •Let M 1 and M 2 be PDA’s s.t. L(M 1 ) = L 1 , L(M 2 ) = L 2 •M 1 and M 2 exist by definition of L (^1) and L 2 are CFL’s and the fact that for every CFG, there is an equivalent PDA •Construct PDA M 3 from PDA’s M 1 and M 2 •Argue L(M 3 ) = L 1 intersect L 2 •There exists a PDA M 3 s.t. L(M 3 ) = L (^1) intersect L 2 •L 1 intersect L 2 is a CFL
L 1 intersect L 2
L 1
L 2
CFL
M 3 M 1
M 2
PDA’s
5
PDA M 1 PDA M 2 A PDA M^3
6
7
8
9
10
11
12