Kleene under a Demonic Star

  • Authors:
  • Jules Desharnais;Bernhard Möller;Fairouz Tchier

  • Affiliations:
  • -;-;-

  • Venue:
  • AMAST '00 Proceedings of the 8th International Conference on Algebraic Methodology and Software Technology
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

In relational semantics, the input-output semantics of a program is a relation on its set of states. We generalize this in considering elements of Kleene algebras as semantical values. In a nondeterministic context, the demonic semantics is calculated by considering the worst behavior of the program. In this paper, we concentrate on while loops. Calculating the semantics of a loop is diffcult, but showing the correctness of any candidate abstraction is much easier. For deterministic programs, Mills has described a checking method known as the while statement verification rule. A corresponding programming theorem for nondeterministic iterative constructs is proposed, proved and applied to an example. This theorem can be considered as a generalization of the while statement verification rule to nondeterministic loops.