five

Extraction of structured programs from specification proofs

收藏
Monash University Figshare2026-02-11 更新2026-07-07 收录
下载链接:
https://bridges.monash.edu/articles/report/Extraction_of_structured_programs_from_specification_proofs/20707828
下载链接
链接失效反馈
官方服务:
资源简介:
We present a method using an extended logical system for obtaining "correct" programs from specifications written in a sublanguage of CASL. By "correct" we mean programs that 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, has the novel feature that as well as the conventional logical rules it includes structural rules corresponding to the standard ways of modifying specifications: translating (renaming), taking unions of specifications 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 which respects the original structure of the specification as much as possible. Throughout the paper we demonstrate the technique with a simple example.
创建时间:
2022-08-31
二维码
社区交流群
二维码
科研交流群
商业服务