arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1010.5582cs.PL
收藏

机械化语义学

Mechanized semantics

Xavier Leroy

摘要:

本讲座的目标是展示现代定理证明器--在本例中,Coq证明助手--如何用于机械化程序设计语言及其语义的规范,以及如何对单个程序和通用程序转换进行推理,如通常在编译器中发现的那样。所涵盖的主题包括:操作语义学(小步、大步、定义解释器);指称语义的简单形式;公理语义学和霍尔逻辑;验证条件的生成,以及对程序证明的应用;编译成虚拟机器码及其正确性证明;优化程序转换(死代码消除)及其正确性证明的示例。

英文摘要:

The goal of this lecture is to show how modern theorem provers---in this case, the Coq proof assistant---can be used to mechanize the specification of programming languages and their semantics, and to reason over individual programs and over generic program transformations, as typically found in compilers. The topics covered include: operational semantics (small-step, big-step, definitional interpreters); a simple form of denotational semantics; axiomatic semantics and Hoare logic; generation of verification conditions, with application to program proof; compilation to virtual machine code and its proof of correctness; an example of an optimizing program transformation (dead code elimination) and its proof of correctness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑