带递归 let 的高阶表达式的名义统一与匹配
Nominal Unification and Matching of Higher Order Expressions with Recursive Let
AI总结:
本文提出带递归 let 的高阶表达式名义统一算法,证明其非确定性多项式时间,并分析多种匹配特化及变量扩展情形的复杂度。
摘要:
本文描述了一种用于带递归 let 的高阶表达式的名义统一的可靠且完备的算法,并证明其运行于非确定性多项式时间。我们还探讨了若干特化情形,例如针对表达式、有向无环图(DAG)以及无垃圾表达式的名义 letrec-匹配,并确定了它们的复杂度。我们还为带递归 let 和原子变量的高阶表达式提供了一种名义统一算法,并证明该算法同样运行于非确定性多项式时间。此外,我们证明了对于带 letrec 和原子变量的名义统一,存在一种猜测策略,该策略在指数增长与非确定性之间进行权衡。针对表示部分 letrec 环境的变量的名义匹配也被证明属于 NP 类。
英文摘要:
A sound and complete algorithm for nominal unification of higher-order expressions with a recursive let is described, and shown to run in nondeterministic polynomial time. We also explore specializations like nominal letrec-matching for expressions, for DAGs, and for garbage-free expressions and determine their complexity. We also provide a nominal unification algorithm for higher-order expressions with recursive let and atom-variables, where we show that it also runs in nondeterministic polynomial time. In addition we prove that there is a guessing strategy for nominal unification with letrec and atom-variable that is a trade-off between exponential growth and non-determinism. Nominal matching with variables representing partial letrec-environments is also shown to be in NP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。