English

Regular Typed Unification

Logic in Computer Science 2025-02-14 v2

Abstract

Here we define a new unification algorithm for terms interpreted in semantic domains denoted by a subclass of regular types here called deterministic regular types. This reflects our intention not to handle the semantic universe as a homogeneous collection of values, but instead, to partition it in a way that is similar to data types in programming languages. We first define the new unification algorithm which is based on constraint generation and constraint solving, and then prove its main properties: termination, soundness, and completeness with respect to the semantics. Finally, we discuss how to apply this algorithm to a dynamically typed version of Prolog.

Keywords

Cite

@article{arxiv.2404.16406,
  title  = {Regular Typed Unification},
  author = {João Barbosa and Mário Florido and Vítor Santos Costa},
  journal= {arXiv preprint arXiv:2404.16406},
  year   = {2025}
}

Comments

In Proceedings ICLP 2024, arXiv:2502.08453