Score: 0

Nominal Equational Narrowing: Rewriting for Unification in Languages with Binders

Published: May 20, 2025 | arXiv ID: 2505.14895v1

By: Maribel Fernández, Daniele Nantes-Sobrinho, Daniella Santaguida

Potential Business Impact:

Helps computers solve math problems with tricky rules.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

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.

Page Count
46 pages

Category
Computer Science:
Logic in Computer Science