A general framework for sound and complete Floyd-Hoare logics

  • Authors:
  • Rob Arthan;Ursula Martin;Erik A. Mathiesen;Paulo Oliva

  • Affiliations:
  • Queen Mary University of London, London, UK;Queen Mary University of London, London, UK;Queen Mary University of London, London, UK;Queen Mary University of London, London, UK

  • Venue:
  • ACM Transactions on Computational Logic (TOCL)
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents an abstraction of Hoare logic to traced symmetric monoidal categories, a very general framework for the theory of systems. Our abstraction is based on a traced monoidal functor from an arbitrary traced monoidal category into the category of preorders and monotone relations. We give several examples of how our theory generalizes usual Hoare logics (partial correctness of while programs, partial correctness of pointer programs), and provide some case studies on how it can be used to develop new Hoare logics (runtime analysis of while programs and stream circuits).