Recursive Modes For Precise Analysis Of Logic Programs

Jc Tan, Ip Lin

ILPS '97: Proceedings of the 1997 international symposium on Logic programming(1997)

引用 4|浏览9
暂无评分
摘要
We present a method to improve the precision of mode analysis of logic programs. The idea is to refine the approximation of non-variable terms into a lattice of recursive modes so the recursive data types having proper but not ground instantiation states can be analyzed more precisely. This refinement is significant since the incomplete data structures are a useful technique in logic programming, but the analysis for its applications is usually inaccurate without using the much more expensive domains like type graphs. Because the modes are important to many other analyses, the improvements in the precision can have significant overall benefits. In particular, this idea can improve the precision of analysis for reference-chain patterns and the generalized type synthesis. Perhaps more interesting is that it suggests a method to describe and reason about the modes more precisely without depending on the notion of types. In this paper, we shall demonstrate how to develop a simple abstract domain of recursive modes as an application of the Galois connection approach to abstract interpretation. To evaluate the benefits, a generic analyzer has been designed and implemented.
更多
查看译文
关键词
Recursive mode,logic program,precise analysis
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要