【24h】

On Approximating Real-World Halting Problems

机译:在近似真实世界停滞问题

获取原文

摘要

No algorithm can of course solve the Halting Problem, that is, decide within finite time always correctly whether a given program halts on a certain given input. It might however be able to give correct answers for 'most' instances and thus solve it at least approximately. Whether and how well such approximations are feasible highly depends on the underlying encodings and in particular the Goedelization (programming system) which in practice usually arises from some programming language. We consider BrainF~*ck (BF), a simple yet Turing-complete real-world programming language over an eight letter alphabet, and prove that the natural enumeration of its syntactically correct sources codes induces a both efficient and dense Goedelization in the sense of [Jakoby&Schindelhauer'99]. It follows that any algorithm M approximating the Halting Problem for BF errs on at least a constant fraction ε_M > 0 of all instances of size n for infinitely many n. Next we improve this result by showing that, in every dense Goedelization, this constant lower bound e to be independent of M; while, the other hand, the Halting Problem does admit approximation up to arbitrary fraction δ > 0 by an appropriate algorithm M_δ handling instances of size n for infinitely many n. The last two results complement work by [Lynch'74].
机译:没有算法当然可以解决停止问题,即,在有限时间内决定是否始终正确地在某个给定的输入上停止给定的程序。然而,它可能能够为“大多数”实例提供正确的答案,从而至少大约解决它。这种近似是否有效程度高度取决于底层编码,特别是在实践中通常由某些编程语言产生的Goedelization(编程系统)。我们考虑Brainf〜* CK(BF),一个简单但是简单完成的真实世界编程语言超过八个字母的字母表,并证明了其语法正确的源代码的自然枚举诱导有效和致密的Goedelization在意义上[jakoby&schindelhauer'99]。遵循任何算法M近似BF均匀的BF错误的停止问题,对于无限数量的所有尺寸N的恒定分数ε_m> 0。接下来我们通过表明,在每个密集的歌曲中,这种恒定的下限e独立于m;虽然另一方面,停止问题通过尺寸N的适当算法M_Δ处理实例承认近似到任意分数Δ> 0。最后两种结果通过[Lynch'74]补充工作。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号