引用本文:陶秋铭,赵琛,郭亮.基于时序逻辑证明编译优化程序变换的保义性.软件学报,2009,20(8):2074-2086
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 5771次   下载 6844 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于时序逻辑证明编译优化程序变换的保义性
陶秋铭1,2, 赵琛1,3, 郭亮3
1.中国科学院 软件研究所 互联网软件技术实验室,北京 100190;2.中国科学院 研究生院,北京 100049;3.中国科学院 软件研究所 基础软件国家工程研究中心,北京 100190
摘要:
基于时序逻辑CTL(computation tree logic)的一种扩展CTL-FV对优化编译中的语句交换和变量替换这两种常见变换的保义性条件给出了形式刻画,采用含条件重写规则定义了保义语句交换Texch和保义变量替换Tsub,并基于一种归纳证明框架对它们的保义性进行了证明.此外,基于变换Texch对程序基本块内保依赖语句重排的保义性也给出了一种构造性的证明.
关键词:  时序逻辑  形式规约  优化编译  程序变换  语句交换  变量替换  语句重排
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China under Grant No.60573164 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2006AA010201 (国家高技术研究发展计划(863))
Proving Soundness of Program Transformations in Optimizing Compilation Based on Temporal Logic
TAO Qiu-Ming,ZHAO Chen,GUO Lian
Abstract:
Two kinds of program transformations widely-used in optimizing compilation, statement exchange and variable substitution, are investigated and their soundness conditions are formally defined with CTL-FV, an extension of the temporal logic CTL (computation tree logic). Sound statement exchange Texch and sound variable substitution Tsub are defined with conditioned rewriting rules and their soundness is proved under an inductive proof frame. In addition, based on Texch, the soundess of another transformation, dependence-preserving statement reordering inside basic blocks of programs, is also proved with a constructive method.
Key words:  temporal logic  formal specification  optimizing compilation  program transformation  statement exchange  variable substitution  statement reordering

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: