Higher-order unification (HOU) concerns unification of (extensions of) -calculus and can be seen as an instance of equational unification (-unification) modulo -equivalence of -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 -calculus or use inconvenient and error-prone term encodings, leading to a more flexible framework. In this paper, we introduce -unification for second-order abstract syntax and describe a unification procedure for such problems, merging ideas from both full HOU and general -unification. We prove that the procedure is sound and complete.

生成讲解博客的中文版本

生成AI智能校验的中文版本