期刊文献+

定理证明器Coq与机械语义研究

THEOREM PROVER COQ AND RESEARCH OF MECHANISED SEMANTICS
下载PDF
导出
摘要 随着证明理论和定理证明器的不断发展与成熟,形式语义研究已经从传统的基于手工证明的研究进入到机器可处理的机械语义的研究。交互式定理证明器Coq具备强大的描述能力,可以形式化地描述程序语法和语义,利用其内置函数式编程语言实现对程序语义的复杂操作,通过其证明系统形式地证明操作的正确性。根据形式语义的理论,针对简单类型Lambda演算的操作语义和指称语义,展示了如何利用定理证明器Coq的归纳定义实现它们的形式描述,并对语义的重要属性进行证明,表明机械语义是确保基础软件正确性的基础。 With the continuous development and maturity of proof theory and theorem provers,the research on formal semantics has been entered into studying mechanised semantics processable by machines from conventional study based on paper-and-pencil proving manner. Interactive theorem prover Coq possesses powerful description ability and can formally describe the syntax and semantics of program.We use its built-in functional programming language to achieve complex operation on program semantics,and formally prove the correctness of operation through its proof system.According to the theory of formal semantics,we demonstrate how to use inductive definitions of theorem prover Coq to realise their formal description aiming at the operational and denotational semantics of simple-type Lambda calculus,and prove the important property of semantics,which demonstrates that mechanised semantics is the basis for ensuring the correctness of basic software.
出处 《计算机应用与软件》 CSCD 2015年第10期10-14,共5页 Computer Applications and Software
基金 国家自然科学基金项目(61070226 61003181)
关键词 定理证明 形式语义 Lambda演算 机械语义 Theorem proving Formal semantics Lambda calculus Mechanised semantics
  • 相关文献

参考文献18

  • 1Xavier Leroy. Mechanized semantics with applications to program proof and compiler verification [ M ]//Logics and languages for reliability and security, volume 25 of NATO Science for Peace and Security Series D: Information and Communication Security. IOS Press,2010:195- 224.
  • 2Xavier Leroy. Mechanized semantics for compiler verification [ M ]// Programming Languages and Systems, 10th Asian Symposium, APLAS 2012, volume 7705 of Lecture Notes in Computer Science. Springer, 2012:386 - 388.
  • 3The Coq proof assistant[ EB/OL]. 2014. http ://coq. inria, fr/.
  • 4Yves Bertot, Pierre Castrran. Interactive Theorem Proving and Program Development-Coq' Art : The Calculus of Inductive Constructions [M]. London, UK : Springer,2004.
  • 5Tobias Nipkow, Lawrence C Panlson, Markus Wenzel. Isabelle/HOL: a proof assistant for higher-order logic [ M ]. London, UK : Springer,2002.
  • 6Xavier Loroy. The CompCert verified compiler, software and commented proof[EB/OL]. 2013. http ://compeert. inria, fr/.
  • 7Benjamin C Pierce, Chris Casinghino, Marco Gaboardi, et al. Software Foundations [ EB/OL]. 2013. http://www, eis. upenn, edu/-bepierce/sf./.
  • 8Adam Chlipala. A verified compiler for an impure functional language [ C ]//Proceedings of the 37th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. Madrid, Spain,2010 : 93 - 106.
  • 9Adam Chlipala. A certified type-preserving compiler from lambda cal- culus to assembly language [ C ]//Proceedings of the ACM SIGPLAN 2007 Conference on Programming Language Design and Implementa- tion, San Diego, California, USA,2007:54 - 65.
  • 10Adam Chlipala. Parametric higher-order abstract syntax for mechanized semantics[ C]//Proceedings of the 13th ACM SIGPLAN International Conference on Functional Programming, Victoria, British Columbia, Canada,2008:143 - 156.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部