简体   繁体   English

设T = { <M> | M是TM,只要接受w}就接受$ w ^ R $。 表明T是不可判定的

[英]Let T = {<M> | M is a TM that accepts $w^R$ whenever it accepts w}. Show that T is undecidable

Let T = {<M> | 设T = {<M> | M is a TM that accepts w r whenever it accepts w}. M是一个接受W R每当它接受瓦特}一个TM。
Show that T is undecidable. 表明T是不可判定的。

I have two answers to this question - San Diego : 我对这个问题有两个答案 - 圣地亚哥

5.9 5.9
Let T = { <M> | 设T = {<M> | M is a TM that accepts w r whenever it accepts w }. M是一个接受W R每当它接受瓦特}一个TM。

Assume T is decidable and let decider R decide T. Reduce from A TM by constructing a TM S as follows: 假设T是可判定的并且让决策者R决定T.通过如下构造TM S从A TM减少:

  • S: on input <M,w> S:输入<M,w>
    1. create a TM Q as follows: 按如下方式创建TM Q:
      On input x: 输入x:
      1. if x does not have the form 01 or 10 reject. 如果x没有01或10表格拒绝。
      2. if x has the form 01, then accept. 如果x的形式为01,则接受。
      3. else (x has the form 10), Run M on w and accept if M accepts w. else(x的格式为10),在w上运行M并接受M是否接受w。
    2. Run R on 运行R开启
    3. Accept if R accepts, reject if R rejects. 如果R接受则接受,如果R拒绝则拒绝。

Because S decides A TM , which is known to be undecidable, we then know that T is not decidable 因为S决定已知不可判定的A TM ,我们就知道T不可判定

Undisclosed source: 未披露的消息来源:

  • 5.12 We show that A TMm S by mapping ‹ M , w › to ‹ M' › where M' is the following TM: 5.12我们表明,通过映射A TM≤m S <M,W><M”>其中M'是以下TM:

    • M' = “On input x : M' =“输入x
      1. If x = 01 then accept . 如果x = 01则接受
      2. If x ≠ 10 then reject . 如果x ≠10则拒绝
      3. If x = 10 simulate M on w . 如果x = 10则模拟W上的 M.
        If M accepts w then accept ; 如果M接受w接受 ; if M halts and rejects then reject .” 如果M停止并拒绝,那么拒绝 。“

    If ‹ M , w › ∈ A TM then M accepts w and L ( M' ) = {01,10}, so ‹ M' › ∈ S . 如果<M,W>∈A TM然后M接受wL(M ')= {01,10},因此<M'>∈S
    Conversely, if ‹ M , w › ∉ A TM then L ( M' ) = {01}, so ‹ M' › ∉ S . 相反,如果<M,W>∉A TML(M ')= {01},因此<M'>∉S Therefore, 因此,
    M , w › ∈ A TM ⇔ ‹ M' › ∈ S . <M,W>∈A TM⇔<M”>∈S

But I do not understand the following: 但我不明白以下几点:

1- what is the relation between x and w? 1- x和w之间的关系是什么?

2- why we consider the 2 cases ‹ M , w › ∈ A TM and ‹ M , w › ∉ A TM ? 2-为什么我们考虑2案件<M,W>∈A TM<M,W>∉A TM?

3- why if A is mapping reducible to S this makes S undecidable? 3-为什么如果A映射可简化为S这会使S不可判定?

could anyone clarify these points for me? 谁能为我澄清这些要点?

I think it is not suitable for asking in SO because it is not a educational website, but I answered it. 我认为它不适合在SO中询问,因为它不是一个教育网站,但我回答了它。

1- what is the relation between x and w? 1- x和w之间的关系是什么?

Answer 1: x is a symbol that used for using a symbol for operate. 答案1: x是用于使用符号进行操作的符号。 This symbol should not be in alphabet of language, just it. 这个符号不应该是语言的字母,只是它。 It hasn't any relation to w. 它与w没有任何关系。

2- why we consider the 2 cases ‹M, w› ∈ ATM and ‹M, w› ∉ ATM? 2-为什么我们考虑2个案例<M,w>∈ATM和<M,w>∉ATM?

Answer 2: For proofing a language like L is decidable or not, we need to determine a string like w is member of language or not. 答案2:为了证明像L这样的语言是可判定的,我们需要确定一个像w是语言成员的字符串。 So we have to consider two type of string w∉L and w∈L. 所以我们必须考虑两种类型的字符串w∉L和w∈L。

3- why if A is mapping reducible to S this makes S undecidable? 3-为什么如果A映射可简化为S这会使S不可判定?

Answer 3: It means the process of checking a string is in language in A and S is similar and if we can't find a algorithm for checking this for A, we can't find any algorithm for S. 答案3:这意味着检查字符串的过程是用A语言和S语言是相似的,如果我们找不到用于检查A的算法,我们找不到任何S的算法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 资源分布 w.r.t. 个人能力 - 这是一个背包问题吗? - Resource distribution w.r.t. individual capacity - is it a Knapsack problem? 通用排序功能接受T,但要确保T可比 - Generic Sorting function accepts T, but want to ensure T is comparable (w * w^R)^R = w*w^R 的证明 - Proof of (w * w^R)^R = w*w^R 双链表未显示我正在搜索的确切值 - Doubly LinkedList doesn't show the exact value I'm searching for QLikView计算的维度与数据透视表中的其他维度聚合 - QLikView calculated dimension with aggregation w.r.t. other dimension in pivot-table C ++ map :: find或map :: iterator更有效的复杂性 - C++ map::find or map::iterator which is more efficient w.r.t complexity 子问题大小 w.r.t Strassen 矩阵乘法算法 - Subproblem size w.r.t Strassen's Matrix Multiplication algorithm 在已知(光源)点上找到给定多边形的两个“边界”顶点 - Finding two "bounding" vertices of a given polygon w.r.t. a known (light source) point 给定字符串s,找到最短的字符串t,使得t ^ m = s - Given string s, find the shortest string t, such that, t^m=s 令 X,Y,Z,W 为向量频率为 $(x,y,z,w)$ 的词,找到最优编码 - Let X,Y,Z,W be words with vector frequency $(x,y,z,w)$ , Find an optimal code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM