关于发生检查的注记(扩展报告)
A note on occur-check (extended report)
AI总结:
本文将逻辑程序中避免发生检查的 NSTO 条件从“任何一次运行”弱化为“某一次运行”,提出可安全省略发生检查的充分条件,并证明其比良模式和良好模式方法更一般且适用于任意选择规则。
摘要:
我们弱化了“不受发生检查约束”(NSTO)这一概念,而逻辑程序设计中大多数关于避免发生检查的已知结果都建立在该概念之上。NSTO 意味着仅对这样一些原子对执行合一:在非确定性合一算法的任何一次运行中,发生检查都不会成功。本文表明,“任何一次运行”可以弱化为“某一次运行”。我们给出了若干相关的充分条件,在这些条件下可以安全地省略发生检查。我们展示了若干示例,说明所提出的方法比基于良模式(well-moded)和良好模式(nicely moded)程序的方法能给出更一般的结果(其中包括后一类方法无法适用的情况)。此外,我们还给出了一个基于 NSTO 的充分条件,该条件适用于任意选择规则。
英文摘要:
We weaken the notion of "not subject to occur-check" (NSTO), on which most known results on avoiding the occur-check in logic programming are based. NSTO means that unification is performed only on such pairs of atoms for which the occur-check never succeeds in any run of a nondeterministic unification algorithm. Here we show that "any run" can be weakened to "some run". We present some related sufficient conditions under which the occur-check may be safely omitted. We show examples for which the proposed approach provides more general results than the approaches based on well-moded and nicely moded programs (this includes cases to which the latter approaches are inapplicable). We additionally present a sufficient condition based on NSTO, working for arbitrary selection rules.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。