首页> 外文学位 >Dependntly Typed Programming with Domain-Specific Logics.
【24h】

Dependntly Typed Programming with Domain-Specific Logics.

机译:具有特定领域逻辑的依赖类型编程。

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

摘要

This dissertation describes progress on programming with domain-specific specification logics in dependently typed programming languages. Domain-specific logics are a promising way to verify software, using a logic tailored to a style of programming or an application domain. Examples of domain-specific logics include separation logic, which has been used to verify imperative programs, and authorization logics, which have been used to verify security properties in security-typed languages. The first goal of the research described here is to show that it is possible to define, study, automate, and use domain-specific logics within a dependently typed programming language. We demonstrate this fact with a significant new example, showing how to embed a security-typed language using dependent types.;This example suggests that better support for programming with logics in type theory will facilitate this style of program verification. The central notion in logic is consequence---entailment from premises to conclusions---and two notions of consequence are necessary for programming with logics: derivability, which captures uniform reasoning, and admissibility, which captures inductive proofs and functional programs. Presently, derivability is better supported in LF-based proof assistants, such as Twelf, Delphin, and Beluga, whereas admissibility is better supported in proof assistants based on Martin-La type theory, such as Coq, Agda, and Epigram. Our second contribution is to show that it is possible to implement, within a dependently typed programming language, a logical framework that allows derivability and admissibility to be mixed in novel and interesting ways.;The above framework is simply-typed, which makes it suitable for programming with abstract syntax but not logical derivations. Our third contribution is to generalize this framework to dependent types, which we accomplish as an instance of a more general problem: We describe Directed Type Theory (DTT), a new notion of dependent type theory, inspired by higher-dimensional category theory, which equips each type with a notion of transformation on its elements. The structural properties of a logic arise as a special case, by considering a type of contexts equipped with an appropriate notion of transformation. DTT is an exciting development independently of our application, as it generalizes recent connections between type theory, homotopy theory, and category theory to the asymmetric case.
机译:本文描述了在依赖类型的编程语言中使用领域特定规范逻辑进行编程的进展。特定于领域的逻辑是一种有前途的验证软件的方法,它使用了一种适合于编程风格或应用程序域的逻辑。特定领域逻辑的示例包括用于验证命令式程序的分隔逻辑和用于验证安全类型语言的安全属性的授权逻辑。此处描述的研究的首要目标是表明有可能在依赖类型的编程语言中定义,研究,自动化和使用特定领域的逻辑。我们通过一个重要的新示例演示了这一事实,该示例演示了如何使用依赖类型嵌入安全类型的语言;该示例表明,对类型理论中的逻辑进行更好的编程支持将有助于这种程序验证样式。逻辑的中心概念是结果-从前提到结论-从逻辑到编程都需要两个结果概念:可派生性(捕获统一推理)和可容许性(捕获归纳证明和功能程序)。当前,在基于LF的证明助手(例如Twelf,Delphin和Beluga)中,可派生性得到了更好的支持,而在基于马丁·拉类型理论(例如Coq,Agda和Epigram)的证明助手中,可受理性得到了更好的支持。我们的第二个贡献是表明有可能在依赖类型的编程语言中实现一个逻辑框架,该框架允许将派生性和可容许性以新颖有趣的方式混合在一起;上述框架是简单类型的,因此很适合用于使用抽象语法而不是逻辑派生进行编程。我们的第三个贡献是将这个框架概括为依存类型,我们将其作为一个更普遍的问题的一个实例来完成:我们描述了有向类型理论(DTT),这是一种受高维类别理论启发的依存类型理论的新概念,在每种类型的元素上都配备了转换概念。通过考虑配备了适当的转换概念的上下文类型,逻辑的结构属性作为特殊情况出现。 DTT是一个令人兴奋的发展,独立于我们的应用程序,它概括了类型理论,同伦理论和类别理论与不对称情况之间的最新联系。

著录项

  • 作者

    Licata, Daniel R.;

  • 作者单位

    Carnegie Mellon University.;

  • 授予单位 Carnegie Mellon University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2011
  • 页码 202 p.
  • 总页数 202
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

  • 入库时间 2022-08-17 11:44:46

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号