wp Is wlp

  • Authors:
  • Bernhard Möller;Georg Struth

  • Affiliations:
  • Institut für Informatik, Universität Augsburg, Augsburg, Germany;Fakultät für Informatik, Universität der Bundeswehr München, Neubiberg, Germany

  • Venue:
  • RelMiCS'05 Proceedings of the 8th international conference on Relational Methods in Computer Science, Proceedings of the 3rd international conference on Applications of Kleene Algebra
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Using only a simple transition relation one cannot model commands that may or may not terminate in a given state. In a more general approach commands are relations enriched with termination vectors. We reconstruct this model in modal Kleene algebra. This links the recursive definition of the do od loop with a combination of the Kleene star and a convergence operator. Moreover, the standard wp operator coincides with the wlp operator in the modal Kleene algebra of commands. Therefore our earlier general soundness and relative completeness proof for Hoare logic in modal Kleene algebra can be re-used for wp. Although the definition of the loop semantics is motivated via the standard Egli-Milner ordering, the actual construction does not depend on Egli-Milner-isotony of the constructs involved.