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

通过抽象程序证明复杂具体程序
引用本文:李彬,汤震浩,翟娟,赵建华.通过抽象程序证明复杂具体程序[J].软件学报,2017,28(4):786-803.
作者姓名:李彬  汤震浩  翟娟  赵建华
作者单位:计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023,计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023,计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023,计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023
基金项目:国家自然科学基金(61632015,61561146394);国家重点研发计划项目课题(2016YFB1000802)
摘    要:本文描述了证明抽象程序和具体程序满足一致性关系的方法.抽象程序使用抽象数据结构(ADTs)如set、list、map及其上的操作.具体程序使用类C语言中的类型.抽象程序和具体程序一致性证明需要用户给出抽象变量和具体变量的关系,抽象程序程序点和具体程序程序点的对应关系.基于对应关系,抽象程序和具体程序一致性证明可以分解,从而容易并可能自动证明.

关 键 词:程序证明  一致性  抽象程序  精化  分解
收稿时间:2016/6/20 0:00:00
修稿时间:2016/11/26 0:00:00

Verification of Concrete Programs with Respect to Abstract Programs
LI Bin,TANG Zhen-Hao,ZHAI Juan and ZHAO Jian-Hua.Verification of Concrete Programs with Respect to Abstract Programs[J].Journal of Software,2017,28(4):786-803.
Authors:LI Bin  TANG Zhen-Hao  ZHAI Juan and ZHAO Jian-Hua
Affiliation:State Key Laboratory for Novel Software Technology(Nanjing University), Nanjing 210023, China,State Key Laboratory for Novel Software Technology(Nanjing University), Nanjing 210023, China,State Key Laboratory for Novel Software Technology(Nanjing University), Nanjing 210023, China and State Key Laboratory for Novel Software Technology(Nanjing University), Nanjing 210023, China
Abstract:This paper presents an approach to prove that a concrete program correctly implements its corresponding abstract programs. Here, an abstract program uses some abstract data types such as Set, List, Map, BiRelation and abstract operations. A concrete program uses the types in the C-like language. The approach presented in the paper needs one to specify correspondences between the abstract program and the concrete program, including correspondences between program points and correspondences between variables. Based on the correspondences, the verification task can be divided into small ones that can be easily and mostly automatically verified.
Keywords:program verification  consistency  abstract program  refinement  decomposition
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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