首页 | 本学科首页   官方微博 | 高级检索  
     


Optimizing Code Generation from SSA Form: A Comparison Between Two Formal Correctness Proofs in Isabelle/HOL
Authors:Jan Olaf Blech  Sabine Glesner  Johannes Leitner  Steffen Mülling
Affiliation:Institute for Program Structures and Data Organization, University of Karlsruhe, 76128 Karlsruhe, Germany
Abstract:Correctness of compilers is a vital precondition for the correctness of the software translated by them. In this paper, we present two approaches for the formalization of static single assignment (SSA) form together with two corresponding formal proofs in the Isabelle/HOL system, each showing the correctness of code generation. Our comparison between the two proofs shows that it is very important to find adequate formalizations in formal proofs since they can simplify the verification task considerably. Our formal correctness proofs do not only verify the correctness of a certain class of code generation algorithms but also give us sufficient, easily checkable correctness criteria characterizing correct compilation results obtained from implementations (compilers) of these algorithms. These correctness criteria can be used in a compiler result checker.
Keywords:formal compiler correctness  SSA representation  optimizing code generation  compiler result checker  Isabelle/HOL
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号