Formal proofs of functional correctness and rigorous analyses of fault tolerance have, traditionally, been separate processes. In the former a programming logic (proof) or computational model (model checking) is used to establish that all the system's behaviours satisfy some (specification) criteria. In the latter, techniques derived from engineering are used to determine quantitative properties such as probability of failure (given failure of some component) or expected performance (an average measure of execution time, for example).
To combine the formality and the rigour requires a quantitative approach within which functional correctness can be embedded. Programming logics for probability are capable in principle of doing so, and in this article we illustrate the use of the probabilistic guarded-command language (pGCL) and its logic for that purpose.
We take self-stabilisation as an example of fault tolerance, and present program-logical techniques for determining, on the one hand, that termination occurs with probability one and, on the other, the the expected time to termination is bounded above by some value. An interesting technical novelty required for this is the recognition of both "angelic" and "demonic" refinement, reflecting our simultaneous interest in both upper- and lower bounds.
|Title of host publication||RIGOROUS DEVELOPMENT OF COMPLEX FAULT-TOLERANT SYSTEMS|
|Editors||Michael Butler, Cliff Jones, Alexander Romanovsky, Elena Troubitsyna|
|Place of Publication||Berlin; New York|
|Publisher||Springer, Springer Nature|
|Number of pages||18|
|Publication status||Published - 2006|
|Event||Workshop on Rigorous Open Development Environment for Complex Systems - Newcastle upon Tyne|
Duration: 1 Jan 2005 → …
|Name||Lecture Notes in Computer Science|
|Conference||Workshop on Rigorous Open Development Environment for Complex Systems|
|City||Newcastle upon Tyne|
|Period||1/01/05 → …|