These exercises are supposed to be handed in on Tuesday May 12. Late exercises will receive a one-point penalty per extra day. The exercises cover section 3 of chapter seventeen and sections 1 and 2 of chapter eighteen of the course book by Partee, Ter Meulen and Wall.
In these exercises we will use the definitions for three languages L1, L2 and L3, two grammars G1 and G2 and one pushdown automaton PDA:
n n n
L1 = { a bc d } = {b,abcd,aabccdd,aaabcccddd,...}
L2 = strings of a's, b's and c's in any order but with equally many
a's as c's
L3 = (ab)*c*
G1 is the grammar <VT,VN,S,R> with VT={a,b,c} , VN={S,A,B} , S=S and
R={<S,aaA>,<S,bbB>,<A,cA>,<A,aa>,<B,cB>,<B,bb>}
G2 is the grammar <VT,VN,S,R> with VT={a,b} , VN={S} , S=S and
R={<S,aSb>,<S,bSa>,<S,SS>,<S,e>}
PDA is the pushdown automaton <K,E,L,D,s,F> with
K={q0,q1,q2} , E={a,b,c} , L={A,B} , s=q0 , F={q0,q1,q2} and
D={(q0,a,e,q0,A),(q0,b,e,q1,B),(q0,c,A,q2,e),(q1,b,e,q1,B),
(q1,c,B,q2,e),(q2,c,A,q2,e),(q2,c,B,q2,e)}
Each exercise is worth one point.