首页> 外文会议>Asian symposium on programming languages and systems >Programming and Proving with Classical Types
【24h】

Programming and Proving with Classical Types

机译:经典类型的编程和证明

获取原文

摘要

The propositions-as-types correspondence is ordinarily presented as linking the metatheory of typed λ-calculi and the proof theory of intuitionistic logic. Griffin observed that this correspondence could be extended to classical logic through the use of control operators. This observation set off a flurry of further research, leading to the development of Parigot's λμ-calculus. In this work, we use the λμ-calculus as the foundation for a system of proof terms for classical first-order logic. In particular, we define an extended call-by-value λμ-calculus with a type system in correspondence with full classical logic. We extend the language with polymorphic types, add a host of data types in 'direct style', and prove several metatheoretical properties. All of our proofs and definitions are mechanised in Isabelle/HOL, and we automatically obtain an interpreter for a system of proof terms cum programming language—called /iML- using Isabelle's code generation mechanism. Atop our proof terms, we build a prototype LCF-style interactive theorem prover—called /xTP- for classical first-order logic, capable of synthesising μML programs from completed tactic-driven proofs. We present example closed /xML programs with classical tautologies for types, including some inexpressible as closed programs in the original λμ-calculus, and some example tactic-driven μTP proofs of classical tautologies.
机译:通常将命题即类型对应关系作为类型化λ计算的元理论和直觉逻辑的证明理论的链接来呈现。格里芬(Griffin)指出,可以通过使用控制运算符将这种对应关系扩展到经典逻辑。这一发现引发了一连串的进一步研究,从而导致了Parigot的λμ演算的发展。在这项工作中,我们使用λμ微积分作为经典一阶逻辑证明项系统的基础。特别是,我们定义了一个与完全经典逻辑相对应的类型系统扩展的按值调用λμ演算。我们用多态类型扩展语言,以“直接样式”添加大量数据类型,并证明几种元理论属性。我们所有的证明和定义都在Isabelle / HOL中实现了机械化,并且我们使用Isabelle的代码生成机制自动为证明术语和编程语言(称为/ iML)的系统获取了解释器。在证明条件之上,我们构建了一个原型LCF风格的交互式定理证明器(称为/ xTP-),用于经典的一阶逻辑,能够从完整的战术驱动证明中合成μML程序。我们提供了带有经典重言式类型的封闭/ xML程序示例,包括原始λμ演算中一些无法表达的封闭程序,以及经典重言式的一些示例策略驱动的μTP证明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号