arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.21097cs.LO
收藏

名义上的反统一

Nominal anti-unification

Alexander Baumgartner, Temur Kutsia, Jordi Levy, Mateu Villaret

摘要:

我们研究名义上的反统一,这是有关计算最不一般的推广给定的条款,在上下文。一般情况下,该问题不存在最小一般解,但如果推广中允许的原子集是有限的,则存在唯一模变量重命名和$α$ -等价的最小一般推广.我们提出了一个计算它的算法,该算法依赖于一个子算法,该子算法建设性地决定上下文中两个术语之间的等方差。我们证明了这两个算法的可靠性和完备性,并分析了它们的复杂性。名义反统一可应用于需要一阶项泛化的问题(归纳学习、克隆检测等),但涉及绑定。

英文摘要:

We study nominal anti-unification, which is concerned with computing least general generalizations for given terms-in-context. In general, the problem does not have a least general solution, but if the set of atoms permitted in generalizations is finite, then there exists a least general generalization which is unique modulo variable renaming and $α$-equivalence. We present an algorithm that computes it. The algorithm relies on a subalgorithm that constructively decides equivariance between two terms-in-context. We prove soundness and completeness properties of both algorithms and analyze their complexity. Nominal anti-unification can be applied to problems were generalization of first-order terms is needed (inductive learning, clone detection, etc.), but bindings are involved.

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

↑