Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2107.00341

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computational Complexity

arXiv:2107.00341 (cs)
[Submitted on 1 Jul 2021 (v1), last revised 20 Oct 2021 (this version, v2)]

Title:Anti-unification of Unordered Goals

Authors:Gonzague Yernaux, Wim Vanhoof
View a PDF of the paper titled Anti-unification of Unordered Goals, by Gonzague Yernaux and Wim Vanhoof
View PDF
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 \textit{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.
Comments: CSL 2022 paper with appendices
Subjects: Computational Complexity (cs.CC); Logic in Computer Science (cs.LO)
ACM classes: F.2.0
Cite as: arXiv:2107.00341 [cs.CC]
  (or arXiv:2107.00341v2 [cs.CC] for this version)
  https://doi.org/10.48550/arXiv.2107.00341
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.4230/LIPIcs.CSL.2022.7
DOI(s) linking to related resources

Submission history

From: Gonzague Yernaux [view email]
[v1] Thu, 1 Jul 2021 10:11:07 UTC (252 KB)
[v2] Wed, 20 Oct 2021 10:18:59 UTC (251 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Anti-unification of Unordered Goals, by Gonzague Yernaux and Wim Vanhoof
  • View PDF
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.CC
< prev   |   next >
new | recent | 2021-07
Change to browse by:
cs
cs.LO

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Gonzague Yernaux
Wim Vanhoof
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack