English

E-unification for Second-Order Abstract Syntax

Logic in Computer Science 2023-11-14 v2

Abstract

Higher-order unification (HOU) concerns unification of (extensions of) λ\lambda-calculus and can be seen as an instance of equational unification (EE-unification) modulo βη\beta\eta-equivalence of λ\lambda-terms. We study equational unification of terms in languages with arbitrary variable binding constructions modulo arbitrary second-order equational theories. Abstract syntax with general variable binding and parametrised metavariables allows us to work with arbitrary binders without committing to λ\lambda-calculus or use inconvenient and error-prone term encodings, leading to a more flexible framework. In this paper, we introduce EE-unification for second-order abstract syntax and describe a unification procedure for such problems, merging ideas from both full HOU and general EE-unification. We prove that the procedure is sound and complete.

Keywords

Cite

@article{arxiv.2302.05815,
  title  = {E-unification for Second-Order Abstract Syntax},
  author = {Nikolai Kudasov},
  journal= {arXiv preprint arXiv:2302.05815},
  year   = {2023}
}

Comments

An extended version (with a few more examples and some extra remarks)

R2 v1 2026-06-28T08:37:55.330Z