简体   繁体   English

具有无用状态的图灵机接受的语言?

[英]Language Accepted by a Turing Machine with a Useless State?

What language is accepted by a Turing machine which has a state that it does not enter on input I? 图灵机接受的语言处于未在输入I上输入的状态?

Specifically, 特别,

  1. If the accept state is the state that it never enters then should L={empty}? 如果接受状态是它永远不会进入的状态,那么L = {empty}应该吗?

  2. If the reject state is the state that it never enters then should L={everything}? 如果拒绝状态是从未进入的状态,那么L = {everything}应该吗?

  3. What if the TM has multiple accept/reject states? 如果TM具有多个接受/拒绝状态怎么办?

  4. What if the state that it never enters is neither the reject nor accept states? 如果它从未进入的状态既不是拒绝状态也不是接受状态怎么办? How does that affect L? 这对L有何影响?

I have searched around and I have found a couple threads that helped prove that this problem is undecidable but is it Turing-recognizable? 我四处搜寻,发现了几个线程,可以帮助证明这个问题尚不确定,但是它可以被图灵识别吗? Co-Turing Recognizable? 可以共同识别? Both? 都?

  1. If it is given that the halt-accept state is never entered for any input I, then it is safe to assert that L(M) is the empty set. 如果假定从未为任何输入I输入暂停接受状态,则可以断言L(M)是空集。 Note: it is undecidable and unrecognizable in general whether this is the case; 注意:是否确实如此,这通常是无法决定和无法识别的; however, it is co-recognizable, in that you can recognize if a TM accepts something . 但是,它是可以共同识别的,因为您可以识别TM是否接受某些东西

  2. If it is given that the halt-reject state is never entered for any input I, then we cannot assert that L(M) is the set of all strings. 如果假定从未为任何输入I输入停止拒绝状态,则我们不能断言L(M)是所有字符串的集合。 A TM can fail to halt on an input - never entering halt-reject or halt-accept - in which case the string is not in L(M). TM可能无法在输入上停止-永不输入停止拒绝或停止接受-在这种情况下,字符串不在L(M)中。 Note: it is undecidable and unrecognizable in general whether a TM never enters the halt-reject state for some input; 注意:对于某个输入,TM是否从未进入暂停拒绝状态通常是无法决定和无法识别的。 however, it is co-recognizable, in that you can recognize if a TM rejects something . 但是,它是可以共同识别的,因为您可以识别TM是否拒绝某些东西

  3. If the TM has multiple accept/reject states, then we might mean that it is known that just one of them is never entered, or that none of them is ever entered. 如果TM具有多个接受/拒绝状态,则可能意味着您知道从未输入过其中一个,也从未输入过任何一个。 The second of these possibilities is indistinguishable from the cases we considered in points 1 and 2 above. 这些可能性中的第二种与我们在以上第1点和第2点中考虑的情况没有区别。 The first of these possibilities, on the other hand, is indistinguishable from a TM with fewer accept/reject states, the one never visited being removed. 另一方面,这些可能性中的第一种与具有较少接受/拒绝状态的TM是无法区分的,从未访问过的TM被移除。 Because, in general, L(M) can be anything, this means that we cannot say anything about L(M) in this case. 因为通常,L(M)可以是任何值,这意味着在这种情况下我们无法对L(M)进行任何说明。 Note: it is undecidable and unrecognizable, in general, whether a TM with multiple accept/reject states never visits one of these states on some input; 注意:通常,具有多个接受/拒绝状态的TM是否从不通过某些输入访问这些状态之一,这是无法决定和无法识别的。 however, it is co-recognizable, in that you can recognize if a TM accepts/rejects something by visiting one or any of the accept/reject states. 但是,它是可以共同识别的,因为您可以通过访问一个或任何一个接受/拒绝状态来识别TM是否接受/拒绝某物

  4. If the state which is never entered for any input I is neither accepting nor rejecting, we cannot necessarily say anything about the language of the machine. 如果我从未接受或拒绝任何输入而从未进入的状态,那么我们就不必说任何有关机器语言的信息。 This is because such a TM is equivalent to one with that state removed; 这是因为这样的TM相当于删除了该状态的TM。 in general, such a TM can have any language. 通常,这样的TM可以具有任何语言。

Now, maybe these questions are intended for a specific input I. In that case: 现在,也许这些问题是针对特定输入I的。在这种情况下:

  1. This simply means that I is not in L(M). 这仅表示我不在L(M)中。 It is undecidable and unrecognizable to decide whether M doesn't accept I, but it is co-recognizable in that you can recognize if I is accepted. 决定M是否不接受I是无法确定的,也是无法识别的,但是可以共同识别,因为您可以识别我是否被接受。

  2. This says nothing about whether or not I is in L(M). 这并没有说明我是否在L(M)中。 It is undecidable and unrecognizable to decide whether M doesn't explicitly reject I, but it is co-recognizable in that you can recognize if I is explicitly rejected. 决定M是否不明确拒绝我是无法确定和无法识别的,但是可以共同识别,因为您可以识别是否明确拒绝了我。

  3. If the TM never enters any accept/reject states on input I, see the above answers. 如果TM从未在输入I上输入任何接受/拒绝状态,请参见上述答案。 If the TM never enters just one accept/reject state on input I, we cannot say anything about whether I is in L(M). 如果TM从未在输入I上仅进入一种接受/拒绝状态,我们就无法说出我是否处于L(M)。 It is undecidable and unrecognizable in general whether I doesn't cause M to enter any or any given accept/reject state, but it is co-recognizable in that you can recognize if I does cause the TM to enter such a state. 我是否不让M进入任何一个或任何给定的接受/拒绝状态,这通常是无法确定和无法识别的,但是可以共同识别,因为您可以识别出我是否确实导致TM进入了这种状态。

  4. This has no effect on L since such a TM is equivalent to a smaller one with the unvisited state removed, and in general a TM can either accept or reject any string. 这对L没有影响,因为这样的TM相当于删除了未访问状态的较小TM,并且通常TM可以接受或拒绝任何字符串。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM