首页> 外文期刊>International Journal of Foundations of Computer Science >ON THE EDGE OF DECIDABILITY IN COMPLEXITY ANALYSIS OF LOOP PROGRAMS
【24h】

ON THE EDGE OF DECIDABILITY IN COMPLEXITY ANALYSIS OF LOOP PROGRAMS

机译:在循环程序复杂性分析中的确定性边缘

获取原文
获取原文并翻译 | 示例
           

摘要

We investigate the decidability of the feasibility problem for imperative programs with bounded loops. A program is called feasible if all values it computes are polynomially bounded in terms of the input. The feasibility problem is representative of a group of related properties, like that of polynomial time complexity. It is well known that such properties are undecidable for a Turing-complete programming language. They may be decidable, however, for languages that are not Turing-complete. But if these languages are expressive enough, they do pose a challenge for analysis. We are interested in tracing the edge of decidability for the feasibility problem and similar problems. In previous work, we proved that such problems are decidable for a language where loops are bounded but indefinite (that is, the loops may exit before completing the given iteration count). In this paper, we consider definite loops. A second language feature that we vary, is the kind of assignment statements. With ordinary assignment, we prove undecidability of a very tiny language fragment. We also prove undecidability with lossy assignment (that is, assignments where the modified variable may receive any value bounded by the given expression, even zero). But we prove decidability with max assignments (that is, assignments where the modified variable never decreases its value).
机译:我们研究了有界循环的命令式程序可行性问题的可判定性。如果程序计算的所有值均以输入为多项式边界,则称为可行程序。可行性问题代表一组相关属性,例如多项式时间复杂度。众所周知,对于图灵完备的编程语言而言,此类属性是不确定的。但是,对于图灵不完整的语言,它们可能是可决定的。但是,如果这些语言具有足够的表现力,那么它们的确会给分析带来挑战。我们有兴趣追踪可行性问题和类似问题的可判定性边缘。在以前的工作中,我们证明了这种问题对于循环受限但不确定的语言是可以确定的(也就是说,循环可能在完成给定的迭代计数之前退出)。在本文中,我们考虑定环。我们改变的第二种语言功能是赋值语句的类型。通过普通分配,我们证明了很小的语言片段的不确定性。我们还证明了有损赋值(即,修改后的变量可能会收到由给定表达式限制的任何值,甚至零)的赋值的不确定性。但是我们证明了最大分配(即修改后的变量从不减小其值的分配)的可判定性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号