arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1111.0087cs.LOcs.PL
收藏

多层次语境类型论

Multi-level Contextual Type Theory

Mathieu Boespflug, Brigitte Pientka

摘要:

上下文类型论区分了绑定变量和元变量,以在绑定器存在的情况下编写可能不完整的术语。它已经找到了很好的使用作为一个框架,简洁的解释高阶统一,特点洞的证明,并在开发一个基础上编程与高阶抽象语法,体现了编程和推理环境白鲸。然而,为了对这些应用进行推理,我们需要引入元^2-变量来表征对元变量和绑定变量的依赖性。换句话说,我们必须超越只授予绑定变量和元变量的两级系统。本文将上下文类型论推广到n个层次,从而得到一个形式系统,该系统提供了约束变量、元变量等直到Meta n-变量。我们通过将所有这些不同类型的变量折叠成一个由某个水平k索引的变量的单一概念来获得一个统一的帐户。我们给出了一个可判定的双向型系统,它刻画了beta-eta-范式和一个广义置换运算。

英文摘要:

Contextual type theory distinguishes between bound variables and meta-variables to write potentially incomplete terms in the presence of binders. It has found good use as a framework for concise explanations of higher-order unification, characterize holes in proofs, and in developing a foundation for programming with higher-order abstract syntax, as embodied by the programming and reasoning environment Beluga. However, to reason about these applications, we need to introduce meta^2-variables to characterize the dependency on meta-variables and bound variables. In other words, we must go beyond a two-level system granting only bound variables and meta-variables. In this paper we generalize contextual type theory to n levels for arbitrary n, so as to obtain a formal system offering bound variables, meta-variables and so on all the way to meta^n-variables. We obtain a uniform account by collapsing all these different kinds of variables into a single notion of variabe indexed by some level k. We give a decidable bi-directional type system which characterizes beta-eta-normal forms together with a generalized substitution operation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑