A Nondeterministic Polynomial-Time Unification Algorithm for Bags, Sets and Trees

  • Authors:
  • Evgeny Dantsin;Andrei Voronkov

  • Affiliations:
  • -;-

  • Venue:
  • FoSSaCS '99 Proceedings of the Second International Conference on Foundations of Software Science and Computation Structure, Held as Part of the European Joint Conferences on the Theory and Practice of Software, ETAPS'99
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Unification in logic programming deals with tree-like data represented by terms. Some applications, including deductive databases, require handling more complex values, for example finite sets or bags (finite multisets). We extend unification to the combined domain of bags, sets and trees in which bags and sets are generated by constructors similar to the list constructor. Our unification algorithm is presented as a nondeterministic polynomial-time algorithm that solves equality constraints in the spirit of the Martelli and Montanari algorithm.