首页> 外文会议>International Workshop on Algebraic Development Techniques >Extraction of structured programs from specification proofs
【24h】

Extraction of structured programs from specification proofs

机译:从规格证明中提取结构化计划

获取原文

摘要

We present a method using an extended logical system for obtaining programs from specifications written in a sublanguage of CASL. These programs are "correct" in the sense that they satisfy their specifications. The technique we use is to extract programs from proofs in formal logic by techniques due to Curry and Howard. The logical calculus, however, is novel because it adds structural rules corresponding to the standard ways of modifying specifications: translating (renaming), taking unions, and hiding signatures. Although programs extracted by the Curry-Howard process can be very cumbersome, we use a number of simplifications that ensure that the programs extracted are in a language close to a standard high-level programming language. We use this to produce an executable refinement of a given specification and we then provide a method for producing a program module that maximally respects the original structure of the specification. Throughout the paper we demonstrate the technique with a simple example.
机译:我们使用扩展逻辑系统介绍了一种方法,用于从CASL的子语言编写的规范获取程序。这些程序是“正确”的意义,即他们满足他们的规格。我们使用的技术是通过Curry和Howard的技术提取正式逻辑的证明程序。然而,逻辑微积分是新颖的,因为它增加了与修改规范的标准方式相对应的结构规则:翻译(重命名),起床和隐藏签名。虽然咖喱霍华德过程提取的程序可能非常麻烦,但我们使用许多简化,以确保提取的程序以靠近标准高级编程语言的语言。我们使用它来产生给定规范的可执行细化,然后我们提供一种用于制造程序模块的方法,该程序模块最大地尊重规范的原始结构。在整个论文中,我们用一个简单的例子展示了该技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号