简体   繁体   English

一只不经意的图灵机如何工作?

[英]How does an oblivious Turing machine work?

I am reading the book Computational Complexity: A Modern Approach and I am having problems understanding oblivious Turing machines . 我正在阅读“ 计算复杂性:现代方法”这本书,我在理解不经意的图灵机时遇到了问题。

An oblivious Turing machine (TM) is such a TM that the movement of its heads is entirely determined by the length of the input . 不经意的图灵机(TM)是这样的TM,其头部的移动完全由输入长度决定。 That is, the TM is oblivious to its input. 也就是说,TM没有注意到它的输入。 So far so good. 到现在为止还挺好。

But one of the excercises is to prove the following theorem: 但其中一个练习是证明以下定理:

If a language L is decidable in time T(n) 
then there exists an oblivious TM that decides L in time O(T(n)^2). 

It is obvious that the oblivious TM must not operate on the original input of L but at some coded version. 很明显,遗忘的TM不能在L的原始输入上操作,而是在某些编码版本上操作。 That is, the gist of the theorem is the coding of a bitstring to an integer (length of the input of the oblivious TM). 也就是说,定理的要点是将位 编码整数 (不经意的TM的输入的长度)。 But if one would want to code the set of possible inputs of L (bitstrings) to an integer, one would run into very high numbers fairly quickly since there are 2^n bitstrings of length n . 但是如果想要将L (位串)的可能输入的集合编码为整数,则由于存在长度为n 2^n串,因此将很快地遇到非常高的数。

Am I understanding the problem correctly? 我能正确理解问题吗? How do you prove the theorem? 你如何证明这个定理?

Here I suggest you read this paper. 我建议你阅读这篇论文。 It is a rather interesting and wonderful paper that will give you a proof at a lower time bound that requested. 这是一篇非常有趣和精彩的论文,可以在更低的时间范围内为您提供证据。 (I think you should be able to finagle it to be O(N^2) or you could conclude that O(N*log(N)) is technically O(N^2) but following this proof directly may upset your professor. I imagine he intends for you to approach it differently. (我认为你应该能够把它变成O(N ^ 2),或者你可以断定O(N * log(N))在技术上是O(N ^ 2)但直接遵循这个证明可能会让你的教授感到不安。我想他打算让你以不同的方式接近它。

Edit: 编辑:

The original link to the paper no longer works. 该论文的原始链接不再有效。 Here is another publicly posted one. 这是另一个公开发布的。

http://www-dev.ccs.neu.edu/home/viola/classes/papers/PippengerF-Oblivious.pdf http://www-dev.ccs.neu.edu/home/viola/classes/papers/PippengerF-Oblivious.pdf

"Relations Among Complexity Measures" by Michael J. Fischer and Nicholas Pippenger, 1979. “复杂性措施之间的关系”,Michael J. Fischer和Nicholas Pippenger,1979年。

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

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