Nominal Equational Narrowing: Rewriting for Unification in Languages with Binders
Maribel Fernández, Daniele Nantes-Sobrinho, Daniella Santaguida
TL;DR
The paper presents a framework for nominal rewriting and narrowing modulo equational theories to reason about languages with binders, freshness constraints, and structural axioms. Central contributions include the nominal $\\mathcal{E}$-coherence property, the nominal $\\mathcal{E}$-lifting theorem linking rewriting and narrowing, and a correctness proof for a unification procedure based on closed nominal narrowing (RuE-unification). It also develops basic closed narrowing results and demonstrates the approach via a symbolic differentiation example under commutativity, while candidly addressing termination and finiteness limitations and outlining directions for future work. The work advances practical unification and reasoning in nominal settings, enabling applications in programming languages and theorem proving where reasoning modulo renaming and equational axioms is essential.
Abstract
Narrowing extends term rewriting with the ability to search for solutions to equational problems. While first-order rewriting and narrowing are well studied, significant challenges arise in the presence of binders, freshness conditions and equational axioms such as commutativity. This is problematic for applications in programming languages and theorem proving, where reasoning modulo renaming of bound variables, structural congruence, and freshness conditions is needed. To address these issues, we present a framework for nominal rewriting and narrowing modulo equational theories that intrinsically incorporates renaming and freshness conditions. We define and prove a key property called nominal E-coherence under freshness conditions, which characterises normal forms of nominal terms modulo renaming and equational axioms. Building on this, we establish the nominal E-lifting theorem, linking rewriting and narrowing sequences in the nominal setting. This foundational result enables the development of a nominal unification procedure based on equational narrowing, for which we provide a correctness proof. We illustrate the effectiveness of our approach with examples including symbolic differentiation and simplification of first-order formulas.
