License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.CSL.2022.37
URN: urn:nbn:de:0030-drops-157574
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2022/15757/
Go to the corresponding LIPIcs Volume Portal


Yernaux, Gonzague ; Vanhoof, Wim

Anti-Unification of Unordered Goals

pdf-format:
LIPIcs-CSL-2022-37.pdf (0.8 MB)


Abstract

Anti-unification in logic programming refers to the process of capturing common syntactic structure among given goals, computing a single new goal that is more general called a generalization of the given goals. Finding an arbitrary common generalization for two goals is trivial, but looking for those common generalizations that are either as large as possible (called largest common generalizations) or as specific as possible (called most specific generalizations) is a non-trivial optimization problem, in particular when goals are considered to be unordered sets of atoms. In this work we provide an in-depth study of the problem by defining two different generalization relations. We formulate a characterization of what constitutes a most specific generalization in both settings. While these generalizations can be computed in polynomial time, we show that when the number of variables in the generalization needs to be minimized, the problem becomes NP-hard. We subsequently revisit an abstraction of the largest common generalization when anti-unification is based on injective variable renamings, and prove that it can be computed in polynomially bounded time.

BibTeX - Entry

@InProceedings{yernaux_et_al:LIPIcs.CSL.2022.37,
  author =	{Yernaux, Gonzague and Vanhoof, Wim},
  title =	{{Anti-Unification of Unordered Goals}},
  booktitle =	{30th EACSL Annual Conference on Computer Science Logic (CSL 2022)},
  pages =	{37:1--37:17},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-95977-218-1},
  ISSN =	{1868-8969},
  year =	{2022},
  volume =	{216},
  editor =	{Manea, Florin and Simpson, Alex},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2022/15757},
  URN =		{urn:nbn:de:0030-drops-157574},
  doi =		{10.4230/LIPIcs.CSL.2022.37},
  annote =	{Keywords: Anti-unification, Logic programming, NP-completeness, Time complexity, Algorithms, Inductive logic programming}
}

Keywords: Anti-unification, Logic programming, NP-completeness, Time complexity, Algorithms, Inductive logic programming
Collection: 30th EACSL Annual Conference on Computer Science Logic (CSL 2022)
Issue Date: 2022
Date of publication: 27.01.2022


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI