首页> 外文期刊>Theory and Practice of Logic Programming >Resource Analysis driven by (Conditional) Termination Proofs
【24h】

Resource Analysis driven by (Conditional) Termination Proofs

机译:由(有条件的)终止证明驱动的资源分析

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

摘要

When programs feature a complex control flow, existing techniques for resource analysis produce cost relation systems (CRS) whose cost functions retain the complex flow of the program and, consequently, might not be solvable into closed-form upper bounds. This paper presents a novel approach to resource analysis that is driven by the result of a termination analysis. The fundamental idea is that the termination proof encapsulates the flows of the program which are relevant for the cost computation so that, by driving the generation of the CRS using the termination proof, we produce a linearly-bounded CRS (LB-CRS). A LB-CRS is composed of cost functions that are guaranteed to be locally bounded by linear ranking functions and thus greatly simplify the process of CRS solving. We have built a new resource analysis tool, named MaxCore, that is guided by the VeryMax termination analyzer and uses CoFloCo and PUBS as CRS solvers. Our experimental results on the set of benchmarks from the Complexity and Termination Competition 2019 for C Integer programs show that MaxCore outperforms all other resource analysis tools.
机译:当程序具有复杂的控制流时,用于资源分析的现有技术会产生成本关系系统(CRS),其成本函数保留了程序的复杂流,因此可能无法求解成封闭形式的上限。本文提出了一种新的资源分析方法,该方法由终止分析的结果驱动。基本思想是,终止证明封装了与成本计算相关的程序流,因此,通过使用终止证明驱动CRS的生成,我们生成了线性边界CRS(LB-CRS)。 LB-CRS由成本函数组成,这些成本函数可确保由线性排序函数局部限制,从而大大简化了CRS求解的过程。我们已经建立了一个名为MaxCore的新资源分析工具,该工具由VeryMax终止分析器指导,并使用CoFloCo和PUBS作为CRS求解器。我们在2019年复杂度和终止竞赛中针对C Integer程序的一组基准测试结果表明,MaxCore优于所有其他资源分析工具。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号