arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.03943cs.FLcs.LOmath.LO
收藏

mwp分析的改进与实现:实现隐式计算复杂性

mwp-Analysis Improvement and Implementation: Realizing Implicit Computational Complexity

Clément Aubert, Thomas Rubiano, Neea Rusch, Thomas Seiller

摘要:

隐式计算复杂性(ICC)推动了对复杂性类的更好理解,但它也指导了资源感知语言和静态源代码分析器的开发。在开发的方法中,mwp流分析证明多项式的界限上的大小操纵的值的一个命令式程序。这个结果是通过限制状态之间的转换而不是像大多数静态分析器那样孤立地关注状态来获得的,并且不关心值的终止或严格边界。这些差异,以及其内置的组合性,使mwp流分析一个很好的目标,以确定如何ICC启发的技术与更传统的静态分析方法相比,分歧。本文的贡献是三方面的:我们微调的内部机械的原始分析,使其易于处理的实践中,我们扩展的分析,函数调用,并利用其机械计算的分析结果有效地,我们实现了作为一个轻量级的工具,自动执行C程序的数据大小分析的结果。这种记录的努力准备和认证的复杂性分析的发展,通过将昂贵的分析转化为一个易于处理的程序,进一步解相关的问题,如果一个边界存在的问题,计算它。

英文摘要:

Implicit Computational Complexity (ICC) drives better understanding of complexity classes, but it also guides the development of resources-aware languages and static source code analyzers. Among the methods developed, the mwp-flow analysis certifies polynomial bounds on the size of the values manipulated by an imperative program. This result is obtained by bounding the transitions between states instead of focusing on states in isolation, as most static analyzers do, and is not concerned with termination or tight bounds on values. Those differences, along with its built-in compositionality, make the mwp-flow analysis a good target for determining how ICC-inspired techniques diverge compared with more traditional static analysis methods. This paper's contributions are threefold: we fine-tune the internal machinery of the original analysis to make it tractable in practice; we extend the analysis to function calls and leverage its machinery to compute the result of the analysis efficiently; and we implement the resulting analysis as a lightweight tool to automatically perform data-size analysis of C programs. This documented effort prepares and enables the development of certified complexity analysis, by transforming a costly analysis into a tractable program, that furthermore decorrelates the problem of deciding if a bound exist with the problem of computing it.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑