arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1312.6323cs.LO
收藏

归纳和共归纳计算的全局语义类型

Global semantic typing for inductive and coinductive computing

Daniel M Leivant

摘要:

归纳和共归纳类型通常被解释为本体(教会式)类型,表示规范的数据集,如自然数,列表和流。出于各种目的,特别是在全局语义上下文中研究程序,最好将类型视为语义属性(Curry风格)。内在理论是在20世纪90年代后期引入的,为程序及其语义类型的推理提供了一个纯粹的逻辑框架。在这里,我们将它们扩展到由归纳和共归纳定义的任何组合给出的数据。这种方法是有趣的,因为它与形式逻辑的语法,语义和证明理论基础紧密配合,在隐式计算复杂性以及从证明中提取程序方面具有潜在的应用。我们证明了一个规范性定理,表明程序类型的全球定义,通过通常的(塔斯基)语义的一阶逻辑,同意其操作语义在预期的模型。最后,我们表明,每一个内在的理论是一个保守的一阶算术扩展解释。这意味着对无限数据对象的量化本身不会导致证明理论的强度超过皮亚诺算术。内在理论完全服从于Curry-Howard态射公式,并被用来表征主要的计算复杂性类。

英文摘要:

Inductive and coinductive types are commonly construed as ontological (Church-style) types, denoting canonical data-sets such as natural numbers, lists, and streams. For various purposes, notably the study of programs in the context of global semantics, it is preferable to think of types as semantical properties (Curry-style). Intrinsic theories were introduced in the late 1990s to provide a purely logical framework for reasoning about programs and their semantic types. We extend them here to data given by any combination of inductive and coinductive definitions. This approach is of interest because it fits tightly with syntactic, semantic, and proof theoretic fundamentals of formal logic, with potential applications in implicit computational complexity as well as extraction of programs from proofs. We prove a Canonicity Theorem, showing that the global definition of program typing, via the usual (Tarskian) semantics of first-order logic, agrees with their operational semantics in the intended model. Finally, we show that every intrinsic theory is interpretable in a conservative extension of first-order arithmetic. This means that quantification over infinite data objects does not lead, on its own, to proof-theoretic strength beyond that of Peano Arithmetic. Intrinsic theories are perfectly amenable to formulas-as-types Curry-Howard morphisms, and were used to characterize major computational complexity classes Their extensions described here have similar potential which has already been applied.

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

↑