引用本文:李彬,汤震浩,翟娟,赵建华.通过抽象程序证明复杂具体程序.软件学报,2017,28(4):786-803
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4718次   下载 7645 本文二维码信息
码上扫一扫!
分享到: 微信 更多
通过抽象程序证明复杂具体程序
李彬, 汤震浩, 翟娟, 赵建华
计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023
摘要:
描述了证明抽象程序和具体程序满足一致性关系的方法.抽象程序使用抽象数据结构(ADTs),如set,list,map及其上的操作.具体程序使用类C语言中的类型.抽象程序和具体程序一致性证明需要用户给出抽象变量和具体变量的关系、抽象程序程序点和具体程序程序点的对应关系.基于对应关系,抽象程序和具体程序一致性证明可以分解,从而容易并可能自动证明.
关键词:  程序证明  一致性  抽象程序  精化  分解
DOI:10.13328/j.cnki.jos.005195
分类号:
基金项目:国家自然科学基金(61632015,61561146394);国家重点基础研究发展计划(973)(2016YFB1000802)
Verification of Concrete Programs with Respect to Abstract Programs
LI Bin, TANG Zhen-Hao, ZHAI Juan, ZHAO Jian-Hua
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 program. Here, an abstract program uses some abstract data types such as set, list and map, and abstract operations upon those data types. A concrete program uses the types in the C-like language. The approach presented in the paper requires 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 subtasks that can be easily and mostly automatically verified.
Key words:  program verification  consistency  abstract program  refinement  decomposition

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