【24h】

Embedding a Logical Theory of Constructions in Agda

机译:在Agda中嵌入逻辑结构理论

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

We propose a new way to reason about general recursive functional programs in the dependently typed programming language Agda, which is based on Martin-Loef's intuitionistic type theory. We show how to embed an external programming logic, Aczel's Logical Theory of Constructions (LTC) inside Agda. To this end we postulate the existence of a domain of untyped functional programs and the conversion rules for these programs. Furthermore, we represent the inductive notions in LTC (intuitionistic predicate logic with equality, and totality predicates) as inductive notions in Agda. To illustrate our approach we specify an LTC-style logic for PCF, and show how to prove the termination and correctness of a general recursive algorithm for computing the greatest common divisor of two numbers.
机译:我们提出了一种新的方法来推理基于依赖类型编程语言Agda的通用递归函数程序,该方法基于Martin-Loef的直觉类型理论。我们展示了如何在Agda内嵌入外部编程逻辑,即Aczel的构造逻辑理论(LTC)。为此,我们假设存在未类型化功能程序的域以及这些程序的转换规则。此外,我们将LTC中的归纳概念(具有相等性的直觉谓词逻辑和总计谓词)表示为Agda中的归纳概念。为了说明我们的方法,我们为PCF指定了LTC样式的逻辑,并展示了如何证明用于计算两个数的最大公约数的通用递归算法的终止性和正确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号