5.32
2024-10-01
题目
Prove that the following two languages are undecidable.
b. PREFIX-FREE
思路
点击展开
对 5.21 略作修改,让骨牌匹配等价于找到 CFG 的一个字符串是另一个字符串的前缀
解答
点击展开
对 5.21 的 Hint 修改,增加
Given an instance
of the Post Correspondence Problem, construct a CFG
where
如果存在骨牌匹配,即
反之,如果存在
评论区
最新评论
--