creators_name: Bryans, Jeremy W. creators_id: jeremy.bryans@ncl.ac.uk type: article datestamp: 2012-01-23 13:10:15 lastmod: 2012-01-23 13:10:15 metadata_visibility: show title: Developing a Consensus Algorithm Using Stepwise Refinement ispublished: pub subjects: Refinement subjects: examples full_text_status: public abstract: Consensus problems arise in any area of computing where distributed processes must come to a joint decision. Although solutions to consensus problems have similar aims, they vary according to the processor faults and network properties that must be taken into account, and modifying these assumptions will lead to different algorithms. Reasoning about consensus protocols is subtle, and correctness proofs are often informal. This paper gives a fully formal development and proof of a known consensus algorithm using the stepwise refinement method Event-B. This allows us to manage the complexity of the proof process by factoring the proof of correctness into a number of refinement steps, and to carry out the proof task concurrently with the development. During the development the processor faults and network properties on which the development steps rely are identified. The research outlined here is motivated by the observation that making different choices at these points may lead to alternative algorithms and proofs, leading to a refinement tree of algorithms with partially shared proofs. date: 2011-10 publication: Proceedings of the 13th international conference on Formal methods and software engineering volume: LNCS number: 6991 publisher: Springer-Verlag pagerange: 553-568 refereed: TRUE official_url: http://dl.acm.org/citation.cfm?id=2075089.2075136 citation: Bryans, Jeremy W. (2011) Developing a Consensus Algorithm Using Stepwise Refinement. Proceedings of the 13th international conference on Formal methods and software engineering, LNCS (6991). pp. 553-568. document_url: http://deploy-eprints.ecs.soton.ac.uk/363/1/icfem.pdf document_url: http://deploy-eprints.ecs.soton.ac.uk/363/2/icfem.pdf