首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:Extracting Imperative Programs from Proofs: In-place Quicksort
  • 本地全文:下载
  • 作者:Ulrich Berger ; Monika Seisenberger ; Gregory J. M. Woods
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2014
  • 卷号:26
  • 页码:84-106
  • DOI:10.4230/LIPIcs.TYPES.2013.84
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:The process of program extraction is primarily associated with functional programs with less focus on imperative program extraction. In this paper we consider a standard problem for imperative programming: In-place Quicksort. We formalize a proof that every array of natural numbers can be sorted and apply a realizability interpretation to extract a program from the proof. Using monads we are able to exhibit the inherent imperative nature of the extracted program. We see this as a first step towards an automated extraction of imperative programs. The case study is carried out in the interactive proof assistant Minlog.
  • 关键词:Program Extraction; Verification; Realizability; Imperative Programs; In-Place Quicksort;Computational Monads; Minlog
国家哲学社会科学文献中心版权所有