Measuring intercultural competence in middle school students
Thursday, April 14, 3:30, South 328
Extra credit for write-ups
Questions?
Ambiguity of CFGs is Undecidable
From PCP instance P, construct CFG G
S → T // = “top”
S → B // = “bottom”
...
T → ti T ai
...
B → bi B ai
T derives string from tops of tiles, B from bottoms, the ai are tile
identifiers that ensure that both derivations of the same string use the same tiles
String w has ambiguous derivation iff w is the top/bottom of a match in P
Part 1: w has ambiguous derivation
w must = ti1ti2...tin ain...ai2ai1 = bi1bi2...bin ain...ai2ai1
Ambiguity is S → T vs S → B
(Ambiguity within t’s or b’s leads to different
aij sequences)
P has match w/ tiles ai1 ai2 ... ain
Part 2: P has a match
ti1ti2...tin = bi1bi2...bin = w
G derives...
S → T → ti1 T ai1 →
ti1 ti2 T ai2
ai1 ... →
ti1ti2...tin
ain...ai1
= w ain ... ai1
S → B → bi1 B ai1 → ... → bi1bi2...bin ain ... ai1
= w ain ... ai1
2 derivations, therefore G is ambiguous
This construction reduces PCP to ambiguity in CFG
Deciding ambiguity would decide PCP
Which is undecidable
Next
The Recursion Theorem
Definition of “computable function” f(x)
There exists Turing machine that if started with 〈x〉 on tape halts with
〈f(x)〉 on tape