命令式程序的可决定增长率性质

Q4 Economics, Econometrics and Finance CESifo DICE Report Pub Date : 2010-05-01 DOI:10.4204/EPTCS.23.1
Amir M. Ben-Amram
{"title":"命令式程序的可决定增长率性质","authors":"Amir M. Ben-Amram","doi":"10.4204/EPTCS.23.1","DOIUrl":null,"url":null,"abstract":"In 2008, Ben-Amram, Jones and Kristiansen showed that for a simple \"core\" programming language - an imperative language with bounded loops, and arithmetics limited to addition and multiplication - it was possible to decide precisely whether a program had certain growth-rate properties, namely polynomial (or linear) bounds on computed values, or on the running time. \nThis work emphasized the role of the core language in mitigating the notorious undecidability of program properties, so that one deals with decidable problems. \nA natural and intriguing problem was whether more elements can be added to the core language, improving its utility, while keeping the growth-rate properties decidable. In particular, the method presented could not handle a command that resets a variable to zero. This paper shows how to handle resets. The analysis is given in a logical style (proof rules), and its complexity is shown to be PSPACE-complete (in contrast, without resets, the problem was PTIME). The analysis algorithm evolved from the previous solution in an interesting way: focus was shifted from proving a bound to disproving it, and the algorithm works top-down rather than bottom-up.","PeriodicalId":35380,"journal":{"name":"CESifo DICE Report","volume":"6 1","pages":"1-14"},"PeriodicalIF":0.0000,"publicationDate":"2010-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":"{\"title\":\"On Decidable Growth-Rate Properties of Imperative Programs\",\"authors\":\"Amir M. Ben-Amram\",\"doi\":\"10.4204/EPTCS.23.1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In 2008, Ben-Amram, Jones and Kristiansen showed that for a simple \\\"core\\\" programming language - an imperative language with bounded loops, and arithmetics limited to addition and multiplication - it was possible to decide precisely whether a program had certain growth-rate properties, namely polynomial (or linear) bounds on computed values, or on the running time. \\nThis work emphasized the role of the core language in mitigating the notorious undecidability of program properties, so that one deals with decidable problems. \\nA natural and intriguing problem was whether more elements can be added to the core language, improving its utility, while keeping the growth-rate properties decidable. In particular, the method presented could not handle a command that resets a variable to zero. This paper shows how to handle resets. The analysis is given in a logical style (proof rules), and its complexity is shown to be PSPACE-complete (in contrast, without resets, the problem was PTIME). The analysis algorithm evolved from the previous solution in an interesting way: focus was shifted from proving a bound to disproving it, and the algorithm works top-down rather than bottom-up.\",\"PeriodicalId\":35380,\"journal\":{\"name\":\"CESifo DICE Report\",\"volume\":\"6 1\",\"pages\":\"1-14\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2010-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"11\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"CESifo DICE Report\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4204/EPTCS.23.1\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"Economics, Econometrics and Finance\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"CESifo DICE Report","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4204/EPTCS.23.1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"Economics, Econometrics and Finance","Score":null,"Total":0}
引用次数: 11

摘要

2008年,Ben-Amram、Jones和Kristiansen证明,对于一种简单的“核心”编程语言——一种具有有界循环的命使式语言,以及仅限于加法和乘法的算术——可以精确地确定程序是否具有一定的增长率属性,即计算值或运行时间是否具有多项式(或线性)界限。这项工作强调了核心语言在减轻程序属性臭名昭著的不可判定性方面的作用,以便处理可判定的问题。一个自然而有趣的问题是,能否在核心语言中添加更多元素,提高其效用,同时保持增长率属性的可决定性。特别是,所提供的方法无法处理将变量重置为零的命令。本文展示了如何处理重置。该分析以逻辑形式(证明规则)给出,其复杂性显示为pspace完全(相反,如果没有重置,问题是PTIME)。分析算法以一种有趣的方式从之前的解决方案演变而来:重点从证明一个界限转移到反驳它,并且算法是自上而下而不是自下而上地工作的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
On Decidable Growth-Rate Properties of Imperative Programs
In 2008, Ben-Amram, Jones and Kristiansen showed that for a simple "core" programming language - an imperative language with bounded loops, and arithmetics limited to addition and multiplication - it was possible to decide precisely whether a program had certain growth-rate properties, namely polynomial (or linear) bounds on computed values, or on the running time. This work emphasized the role of the core language in mitigating the notorious undecidability of program properties, so that one deals with decidable problems. A natural and intriguing problem was whether more elements can be added to the core language, improving its utility, while keeping the growth-rate properties decidable. In particular, the method presented could not handle a command that resets a variable to zero. This paper shows how to handle resets. The analysis is given in a logical style (proof rules), and its complexity is shown to be PSPACE-complete (in contrast, without resets, the problem was PTIME). The analysis algorithm evolved from the previous solution in an interesting way: focus was shifted from proving a bound to disproving it, and the algorithm works top-down rather than bottom-up.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CESifo DICE Report
CESifo DICE Report Economics, Econometrics and Finance-Economics and Econometrics
自引率
0.00%
发文量
0
期刊最新文献
Work and well-being Integrating Older Employees into the Labour Market – Evidence from a German Labour Market Programme How Does Firm Heterogeneity Affect International Tax Policy Implicit complexity for coinductive data: a characterization of corecurrence A type system for PSPACE derived from light linear logic
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1