A Stepwise Development of the Peterson's Mutual Exclusion Algorithm Using B Abstract Systems
A Stepwise Development of the Peterson's Mutual Exclusion Algorithm Using B Abstract Systems
复制标题
使用B抽象系统逐步开发Peterson互斥算法
DOI:
10.1007/11415787_8
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
J. Attiogbé
中科院分区:
文献类型:
--
作者:
J. Attiogbé
We present a stepwise formal development of the Peterson's mutual exclusion algorithm using Event B. We use a bottom-up approach where we introduce the parallel composition of subsystems which are separately specified. First, we specify subsystems as B abstract systems; then we compose the subsystems to get a first abstract solution for the mutual exclusion. This solution is improved to obtain the Peterson's algorithm. This is achieved by refinement and composition of the former abstract subsystems. Therefore the result is formally proved on the basis of correctness (safety) properties added to the invariant. Atelier B (a B prover) is used to check completely the development.