arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0508111cs.PLcs.SE
收藏

逻辑程序分析和专门化的通用框架

A Generic Framework for the Analysis and Specialization of Logic Programs

German Puebla, Elvira Albert, Manuel Hermenegildo

摘要:

抽象解释和部分演绎之间的关系受到了相当大的关注,并从部分演绎和抽象解释的角度出发提出了(部分)整合。在这项工作中,我们提出了什么,我们认为是第一个充分描述的通用算法的有效和精确的集成抽象的解释和部分演绎。作为出发点,国家的最先进的算法上下文敏感,多变量抽象的解释和(抽象)部分演绎,我们提出了一个算法,它结合了最好的两个世界。关键要素包括抽象解释固有的准确成功传播和部分演绎可实现的强大程序转换。在我们的算法中,出现在分析图中的调用不被分析w.r.t.该程序的原始定义,但w.r.t.这些程序的专门定义。这种专门的定义是通过应用展开和抽象可执行性来获得的。我们的框架是参数w.r.t.不同的控制策略和抽象域。这些参数的不同组合对应于用于程序分析和专门化的现有算法。同时,我们的方法打开了大门,严格更精确的结果比每个单独的技术实现的有效计算。该算法现在是CiaoPP分析和专业化系统的关键组件之一。

英文摘要:

The relationship between abstract interpretation and partial deduction has received considerable attention and (partial) integrations have been proposed starting from both the partial deduction and abstract interpretation perspectives. In this work we present what we argue is the first fully described generic algorithm for efficient and precise integration of abstract interpretation and partial deduction. Taking as starting point state-of-the-art algorithms for context-sensitive, polyvariant abstract interpretation and (abstract) partial deduction, we present an algorithm which combines the best of both worlds. Key ingredients include the accurate success propagation inherent to abstract interpretation and the powerful program transformations achievable by partial deduction. In our algorithm, the calls which appear in the analysis graph are not analyzed w.r.t. the original definition of the procedure but w.r.t. specialized definitions of these procedures. Such specialized definitions are obtained by applying both unfolding and abstract executability. Our framework is parametric w.r.t. different control strategies and abstract domains. Different combinations of such parameters correspond to existing algorithms for program analysis and specialization. Simultaneously, our approach opens the door to the efficient computation of strictly more precise results than those achievable by each of the individual techniques. The algorithm is now one of the key components of the CiaoPP analysis and specialization system.

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

↑