软件逐步精化及并发程序精化验证
本文选题:软件逐步精化 切入点:精化验证 出处:《上海大学》2016年博士论文 论文类型:学位论文
【摘要】:软件精化技术是软件形式方法的基石之一,是保证软件可靠性的重要手段。精化技术可分为逐步精化和精化验证。逐步精化用于递增式开发,通过逐步引入细节来降低开发复杂度以及保证引入细节前后的一致性。精化验证用于实现的正确性验证,许多程序验证问题都可以归结为精化验证。从上世纪七十年代起,人们已对精化技术开展了大量研究。然而在智能体系统、软件事务内存以及弱内存存储模型中,精化关系变得更加复杂,使得验证更加困难。现有的研究工作尚有许多问题亟待解决。本文在对多智能体系统的逐步精化、软件事务内存和写全序弱内存模型的精化验证方面进行了研究,主要工作和创新点如下。1、对情景化多智能体系统的逐步精化进行研究。由于情景化多智能体系统本身具有的复杂性,人们从宏观、中间及微观三个不同的层次来进行开发,为了保证层次之间及层次内的一致性,开发过程中采用形式的递增式开发方法是必要的。在中间层次上,当引入新的智能体时,我们采用Object-Z表示法对系统进行规格说明描述,并且给出基于Object-Z表示法和活动系统迹语义的精化证明责任。宏观层次到中间层次的转换,从用时间段谓词描述的宏观层次规格说明出发,给出带有时间段谓词的规格说明的精化方法,逐步从宏观层次精化为中间层次。2、对软件事务内存实现正确性的精化验证进行了研究。首先简述了事务内存规格说明1准则(Transactional Memory Specification 1,TMS1)及软件事务内存实现TL2-RCAD。针对交换性和引入简单预言变量的前向模拟这两种验证方法不能验证TL2-RCAD正确性的问题,提出了语义交换的验证方法,给出了证明责任,使得一类这两种方法不能验证的软件事务内存实现得到验证。3、给出写全序弱内存模型新操作语义、编译优化和局部程序转换规则的正确性验证。在写全序弱内存模型上,分析了现有操作语义和公理语义的不足,给出了新公理语义以及在此基础上定义的新操作语义,证明了新公理语义和原公理语义的等价性,以及新操作语义与新公理语义的等价性。在新操作语义的基础上,验证了写全序弱内存模型上的编译优化以及局部程序转换规则的正确性。4、针对目前提出的写全序弱内存模型上线性化定义的不足,定义了一个仅使用调用返回接口的新线性化概念,并且证明该线性化与上下文精化之间的等价性,给出了弱内存模型上原子性的规格说明。5、为模块化的验证写全序弱内存模型上线性化,提出基于依赖保证的模拟,给出该模拟保证精化关系的正确性证明。分析了写全序弱内存模型上的循环锁、票循环锁、读-拷贝-更新实现,给出原子性的规格说明,并验证具体实现与规格说明之间的线性化关系。
[Abstract]:Software refinement is one of the cornerstones of software formal methods and an important means to ensure the reliability of software. By gradually introducing details to reduce development complexity and ensure consistency before and after the introduction of details. Refined verification is used to verify the correctness of the implementation, many program verification problems can be attributed to refined verification. A lot of research has been done on the refinement technology. However, in the agent system, software transaction memory and weak memory storage model, the elaboration relationship becomes more complex. It makes verification more difficult. There are still many problems to be solved. In this paper, we study the refinement of multi-agent system, the refinement verification of software transaction memory and write full order weak memory model. The main work and innovations are as follows: 1. The gradual refinement of situational multi-agent system is studied. Because of the complexity of situational multi-agent system, people develop it from three different levels: macro, middle and micro. In order to ensure the consistency between and within the levels, it is necessary to adopt the formal incremental development method in the development process. At the middle level, when introducing new agents, we use Object-Z representation to describe the system specifications. The responsibility of proof based on Object-Z representation and the semantics of active system trace is given. The transformation from macro level to middle level is based on the specification of macro level described by time period predicate. A refined method for specification with time period predicates is given. In this paper, the verification of the correctness of software transaction memory implementation is studied from macro level refinement to intermediate level. Firstly, the transaction memory specification (1) criterion and the software transaction memory implementation (TL2-RCAD) are briefly introduced in this paper, which include the Transactional Memory memory specification 1 (1) and the software transaction memory implementation (TL2-RCAD). The two verification methods, commutativity and forward simulation with simple predictive variables, cannot verify the correctness of TL2-RCAD. In this paper, a verification method of semantic exchange is proposed, and the burden of proof is given, which verifies a class of software transaction memory implementations that cannot be verified by these two methods. The new operation semantics of write full order weak memory model are given. In this paper, the shortcomings of the existing operation semantics and axiom semantics are analyzed, and the new axiom semantics and the new operation semantics defined on this basis are given. The equivalence between the new axiom semantics and the primitive axiom semantics, and the equivalence between the new operation semantics and the new axiom semantics are proved. The correctness of compiling optimization and local program conversion rules on write full order weak memory model is verified. 4. Aiming at the deficiency of linearization definition on write full order weak memory model, A new linearization concept using only the calling return interface is defined, and the equivalence between this linearization and contextual refinement is proved. In this paper, the specification of atomicity on weak memory model is given. 5. Linearization of full order weak memory model for modularized verification is presented, and the simulation based on dependency guarantee is proposed. The correctness of the simulation to ensure the elaboration relationship is proved. The cyclic lock, ticket cyclic lock, read copy update implementation on the write order weak memory model are analyzed, and the atomic specification is given. The linearization relationship between specification and specification is verified.
【学位授予单位】:上海大学
【学位级别】:博士
【学位授予年份】:2016
【分类号】:TP311.1
【相似文献】
相关期刊论文 前6条
1 祁方民;;Petri网结点精化及其应用[J];计算机与现代化;2014年07期
2 王云峰 ,庞军 ,查鸣 ,杨朝晖 ,郑国梁;精化演算支撑工具的分析[J];计算机应用与软件;2002年02期
3 刘瑜,张世琨,邬伦,叶燕林;地理信息系统中的设计模式——以过滤和精化为例[J];北京大学学报(自然科学版);2001年06期
4 熊建;陈晓克;;基于Wiki技术可持续精化精品课教学平台[J];福建电脑;2010年12期
5 杨朝晖;王云峰;郑国梁;;精化演算支撑工具PRT的研究[J];计算机科学;2000年03期
6 ;[J];;年期
相关会议论文 前5条
1 周鑫;;面对新形势、树立新观念、迎接新挑战——谈企业职工面对“精化分立、分业经营”新形势的感想[A];陕西省体制改革研究会2006-2007优秀论文集[C];2007年
2 高阳;王敏中;;拉伸矩形梁的精化理论[A];北京力学会第11届学术年会论文摘要集[C];2005年
3 高阳;王敏中;;横观各项同性压电矩形直梁的精化理论[A];中国力学学会学术大会'2005论文摘要集(下)[C];2005年
4 赵红丽;范景辉;郭小方;刘广;陈建平;;CR辅助的基线参数精化方法研究[A];第十七届中国遥感大会摘要集[C];2010年
5 江东;王庆宾;王凯;;重力场精化的空间插值方法研究[A];中国测绘学会2010年学术年会论文集[C];2010年
相关重要报纸文章 前10条
1 罗平华;彩虹精化气雾漆龙头今日挂牌[N];证券时报;2008年
2 证券时报记者 罗平华;彩虹精化出口收入逆势增长三成[N];证券时报;2009年
3 证券时报记者 向南;彩虹精化 涉足室内环保业务[N];证券时报;2010年
4 记者 翟敏;彩虹精化上半年业绩平平 管理层就“巨额订单”事件致歉[N];上海证券报;2011年
5 记者 王健杰;彩虹精化营收内降外增[N];北京商报;2009年
6 中国空空导弹研究院 综合管理处;精化军品能力 优化民品结构[N];中国航空报;2004年
7 本报通讯员 周善良 记者 李雨农;精化分立 一所多制[N];中国航空报;2002年
8 武连寅邋蔡军;淮化精化再次入选国家高新企业[N];中国化工报;2007年
9 记者 孙燕飚 刘琼;万润精化再上会 日德企业“锁喉”难改观[N];第一财经日报;2011年
10 记者 况玉清;彩虹精化虚假陈述案下月开庭[N];北京商报;2012年
相关博士学位论文 前5条
1 李壮;软件逐步精化及并发程序精化验证[D];上海大学;2016年
2 陈桂芝;解大规模非对称矩阵特征问题的一些精化算法[D];大连理工大学;2000年
3 梁红瑾;并发程序精化验证及其应用[D];中国科学技术大学;2014年
4 牛大田;计算大规模矩阵部分奇异值分解的精化Lanczos型算法[D];大连理工大学;2003年
5 梁坤;高灵敏度GPS接收技术中几个关键问题的研究[D];中国科学院研究生院(国家天文台);2008年
相关硕士学位论文 前7条
1 钱洁;轨旁系统的形式化建模精化与验证[D];华东师范大学;2015年
2 王玲;模型精化过程中模型间一致性检测研究[D];华东师范大学;2016年
3 陈颖;特殊正交各向异性压电板的精化理论[D];辽宁科技大学;2016年
4 刘稳;隐式重启和精化的全局Lanczos方法与块Lanczos方法[D];南京航空航天大学;2014年
5 刘婷婷;双层梁的精化理论[D];辽宁科技大学;2015年
6 付亚军;面向多主体的基于政策的运行机制研究[D];湖南大学;2009年
7 吴钢;解大规模非对称矩阵特征问题Lanczos方法的两种精化版本[D];大连理工大学;2001年
,本文编号:1594115
本文链接:https://www.wllwen.com/shoufeilunwen/xxkjbs/1594115.html