Home On complexity of the anti-unification problem
Article
Licensed
Unlicensed Requires Authentication

On complexity of the anti-unification problem

  • E. V. Kostylev and V. A. Zakharov
Published/Copyright: May 9, 2008
Become an author with De Gruyter Brill
Discrete Mathematics and Applications
From the journal Volume 18 Issue 1

Abstract

In this paper we suggest a new algorithm of anti-unification of logic terms represented by acyclic directed graphs and estimate its complexity. The anti-unification problem consists of the following: for two given terms find the most specific term that has the given terms as instances. We suggest an anti-unification algorithm whose complexity linearly depends on the size of the most specific term it computes. It is thus established that the anti-unification problem is of almost the same complexity as the unification problem. It is also shown that there exist terms whose most specific term is of size O(n2), where n is the size of the graphs representing these terms.

Received: 2007-06-14
Published Online: 2008-05-09
Published in Print: 2008-March

© de Gruyter 2008

Downloaded on 30.11.2025 from https://www.degruyterbrill.com/document/doi/10.1515/DMA.2008.007/html
Scroll to top button