...
首页> 外文期刊>ACM transactions on computational logic >Higher-Order Term Indexing Using Substitution Trees
【24h】

Higher-Order Term Indexing Using Substitution Trees

机译:使用替代树的高阶术语索引

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We present a higher-order term indexing strategy based on substitution trees for simply typed lambda-terms. There are mainly two problems in adapting first-order indexing techniques. First, many operations used in building an efficient term index and retrieving a set of candidate terms from a large collection are undecidable in general for higher-order terms. Second, the scoping of variables and binders in the higher-order case presents challenges.rnThe approach taken in this article is to reduce the problem to indexing linear higher-order patterns, a decidable fragment of higher-order terms, and delay solving terms outside of this fragment. We present insertion of terms into the index based on computing the most specific linear generalization of two linear higher-order patterns, and retrieval based on matching two linear higher-order patterns. Our theoretical framework maintains that terms are in βη-normal form, thereby eliminating the need to renormalize and raise terms during insertion and retrieval. Finally, we prove correctness of our presented algorithms. This indexing structure is implemented as part of the Twelf system to speed up the execution of the tabled higher-logic programming interpreter.
机译:我们为简单类型的lambda项提供基于替换树的高阶项索引策略。适应一阶索引技术主要存在两个问题。首先,对于高阶术语而言,通常无法确定用于构建有效术语索引并从大型集合中检索一组候选术语的许多操作。其次,在高阶情况下对变量和绑定器进行范围界定提出了挑战。本文采用的方法是将问题减少到索引线性高阶模式,可确定的高阶项的片段以及延迟求解外部项这个片段。我们基于计算两个线性高阶模式的最具体线性泛化,以及基于匹配两个线性高阶模式的检索,将词条插入索引。我们的理论框架认为,项为βη-正态形式,从而消除了在插入和检索过程中重新规范化和提出项的需要。最后,我们证明了我们提出的算法的正确性。此索引结构作为Twelf系统的一部分实现,以加快表化高级逻辑程序解释器的执行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号