Mutual Exclusion Verification of Peterson's solution in Isabelle/HOL

被引:1
作者
Ji, Xiaojun [1 ]
Song, Lihua [1 ]
机构
[1] PLA Univ Sci & Technol, Inst CIS, Nanjing, Jiangsu, Peoples R China
来源
PROCEEDINGS 2016 THIRD INTERNATIONAL CONFERENCE ON TRUSTWORTHY SYSTEMS AND THEIR APPLICATIONS (TSA) | 2016年
关键词
Peterson's solution; mutual exclusion; safety; formal verification; Isabelle/HOL; liveness; PROGRAMS;
D O I
10.1109/TSA.2016.22
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Peterson's solution is a classical algorithm for mutual exclusion problem. But rigorous works on analyzing its properties of safety or liveness are rare so far. In theorem prover Isabelle/HOL, we formally modelled Peterson's solution for two processes, and proved that it satisfies mutual exclusion property. With Paulson's inductive approach, the algorithm is inductively defined as a set of all possible event lists of two concurrent processes, in which event is defined as atomic action of concurrent processe. All of the reasoning codes have been checked by Isabelle/HOL. Comparing with those works based on model checking, our work can be easily generalized to the analysis of Peterson's solution for n (n>2) processes. And the model we defined for Peterson's solution could be extended to analyze liveness property of Peterson's solution. The process of proving also produces some good advices on how to programming Peterson's solution.
引用
收藏
页码:81 / 86
页数:6
相关论文
共 10 条