计算机科学 > 程序设计语言
[提交于 2020年10月30日]
标题:Typable Fragments of Polynomial Automatic Amortized Resource Analysis
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Being a fully automated technique for resource analysis, automatic amortized resource analysis (AARA) can fail in returning worst-case cost bounds of programs, fundamentally due to the undecidability of resource analysis. For programmers who are unfamiliar with the technical details of AARA, it is difficult to predict whether a program can be successfully analyzed in AARA. Motivated by this problem, this article identifies classes of programs that can be analyzed in type-based polynomial AARA. Firstly, it is shown that the set of functions that are typable in univariate polynomial AARA coincides with the complexity class PTIME. Secondly, the article presents a sufficient condition for typability that axiomatically requires every sub-expression of a given program to be polynomial-time. It is proved that this condition implies typability in multivariate polynomial AARA under some syntactic restrictions.
提交历史
来自:Long Pham[v1] 2020年10月30日 星期五 16:17:49 UTC