Nominal anti-unification

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Baumgartner, Alexander, Kutsia, Temur, Levy, Jordi, Villaret, Mateu
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913812843593728
author Baumgartner, Alexander
Kutsia, Temur
Levy, Jordi
Villaret, Mateu
author_facet Baumgartner, Alexander
Kutsia, Temur
Levy, Jordi
Villaret, Mateu
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_21097
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Nominal anti-unification
Baumgartner, Alexander
Kutsia, Temur
Levy, Jordi
Villaret, Mateu
Logic in Computer Science
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.
title Nominal anti-unification
topic Logic in Computer Science
url https://arxiv.org/abs/2504.21097