基于祖先栈的高效局部展开
Efficient Local Unfolding with Ancestor Stacks
摘要:
目前在逻辑程序的部分评估中使用的最成功的展开规则是基于应用于(覆盖)祖先的良好准序(wqo),即,在推导过程中选择的原子的子序列。祖先(子)序列用于增加展开的专门化能力,同时仍然保证终止,并且还用于减少必须检查wqo的原子的数量。不幸的是,在展开期间维护祖先关系的结构引入了显著的开销。我们提出了一个有效的,实用的本地展开规则的基础上覆盖祖先的概念,可以与wqo结合使用,并允许基于堆栈的实现,而不会失去任何专业化的机会。使用我们的技术,只要执行局部展开,就允许某些非最左边的展开,即,我们讨论了深度优先策略。
英文摘要:
The most successful unfolding rules used nowadays in the partial evaluation of logic programs are based on well quasi orders (wqo) applied over (covering) ancestors, i.e., a subsequence of the atoms selected during a derivation. Ancestor (sub)sequences are used to increase the specialization power of unfolding while still guaranteeing termination and also to reduce the number of atoms for which the wqo has to be checked. Unfortunately, maintaining the structure of the ancestor relation during unfolding introduces significant overhead. We propose an efficient, practical local unfolding rule based on the notion of covering ancestors which can be used in combination with a wqo and allows a stack-based implementation without losing any opportunities for specialization. Using our technique, certain non-leftmost unfoldings are allowed as long as local unfolding is performed, i.e., we cover depth-first strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。