首页> 外文会议>Proceedings of the 2012 ACM SIGPLAN principles and practice of declarative programming >Symbolic Evaluation Graphs and Term Rewriting - A General Methodology for Analyzing Logic Programs
【24h】

Symbolic Evaluation Graphs and Term Rewriting - A General Methodology for Analyzing Logic Programs

机译:符号评估图和术语重写-分析逻辑程序的通用方法

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

摘要

There exist many powerful techniques to analyze termination and complexity of term rewrite systems (TRSs). Our goal is to use these techniques for the analysis of other programming languages as well. For instance, approaches to prove termination of definite logic programs by a transformation to TRSs have been studied for decades. However, a challenge is to handle languages with more complex evaluation strategies (such as Prolog, where predicates like the cut influence the control flow). In this paper, we present a general methodology for the analysis of such programs. Here, the logic program is first transformed into a symbolic evaluation graph which represents all possible evaluations in a finite way. Afterwards, different analyses can be performed on these graphs. In particular, one can generate TRSs from such graphs and apply existing tools for termination or complexity analysis of TRSs to infer information on the termination or complexity of the original logic program.
机译:存在许多强大的技术来分析术语重写系统(TRS)的终止和复杂性。我们的目标是也将这些技术用于其他编程语言的分析。例如,数十年来已经研究了通过转换为TRS来证明确定逻辑程序终止的方法。但是,面临的挑战是使用更复杂的评估策略来处理语言(例如Prolog,其中像cut这样的谓词会影响控制流)。在本文中,我们提出了一种分析此类程序的通用方法。在此,首先将逻辑程序转换为符号评估图,该符号评估图以有限的方式表示所有可能的评估。之后,可以对这些图执行不同的分析。特别地,可以从这样的图生成TRS,并且将现有的工具用于TRS的终止或复杂性分析,以推断出有关原始逻辑程序的终止或复杂性的信息。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号