首页> 外文期刊>Theory and Practice of Logic Programming >Resource Usage Analysis of Logic Programs via Abstract Interpretation Using Sized Types
【24h】

Resource Usage Analysis of Logic Programs via Abstract Interpretation Using Sized Types

机译:使用大小类型的抽象解释通过逻辑程序进行资源使用分析

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

摘要

We present a novel general resource analysis for logic programs based on sized types. Sized types are representations that incorporate structural (shape) information and allow expressing both lower and upper bounds on the size of a set of terms and their subterms at any position and depth. They also allow relating the sizes of terms and subterms occurring at different argument positions in logic predicates. Using these sized types, the resource analysis can infer both lower and upper bounds on the resources used by all the procedures in a program as functions on input term (and subterm) sizes, overcoming limitations of existing resource analyses and enhancing their precision. Our new resource analysis has been developed within the abstract interpretation framework, as an extension of the sized types abstract domain, and has been integrated into the Ciao preprocessor, CiaoPP. The abstract domain operations are integrated with the setting up and solving of recurrence equations for inferring both size and resource usage functions. We show that the analysis is an improvement over the previous resource analysis present in CiaoPP and compares well in power to state of the art systems.
机译:我们提出了一种基于大小类型的逻辑程序的新型常规资源分析。大小类型是表示包含结构(形状)信息并允许在任何位置和深度上表达一组术语及其子术语的大小的上限和下限的表示形式。它们还允许关联出现在逻辑谓词中不同自变量位置的项和子项的大小。使用这些大小类型,资源分析可以推断程序中所有过程使用的资源的上限和下限,作为输入项(和子项)大小的函数,克服了现有资源分析的局限性并提高了其精度。我们在抽象解释框架内开发了新的资源分析,作为大小类型抽象域的扩展,并已集成到Ciao预处理器CiaoPP中。抽象域操作与递归方程的设置和求解集成在一起,以推断大小和资源使用函数。我们表明,该分析是对CiaoPP中现有资源分析的改进,并且在功能上与先进的系统进行了比较。

著录项

  • 来源
    《Theory and Practice of Logic Programming》 |2014年第5期|739-754|共16页
  • 作者单位

    Dept. of Information and Computing Sciences, Utrecht University;

    IMDEA Software Institute,Spanish Council for Scientific Research (CSIC);

    Spanish Council for Scientific Research (CSIC),Technical University of Madrid (UPM);

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号