English

A Saturation-Based Unification Algorithm for Higher-Order Rational Patterns

Logic in Computer Science 2025-04-18 v2 Programming Languages

Abstract

Higher-order unification has been shown to be undecidable. Miller discovered the pattern fragment and subsequently showed that higher-order pattern unification is decidable and has most general unifiers. We extend the algorithm to higher-order rational terms (a.k.a. regular B\"{o}hm trees, a form of cyclic λ\lambda-terms) and show that pattern unification on higher-order rational terms is decidable and has most general unifiers. We prove the soundness and completeness of the algorithm.

Keywords

Cite

@article{arxiv.2312.07263,
  title  = {A Saturation-Based Unification Algorithm for Higher-Order Rational Patterns},
  author = {Zhibo Chen and Frank Pfenning},
  journal= {arXiv preprint arXiv:2312.07263},
  year   = {2025}
}