English

A General Framework for Sound and Complete Floyd-Hoare Logics

Logic in Computer Science 2013-05-09 v1 Other Computer Science

Abstract

This paper 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 pre-orders and monotone relations. We give several examples of how our theory generalises 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 (run-time analysis of while programs and stream circuits).

Keywords

Cite

@article{arxiv.0807.1016,
  title  = {A General Framework for Sound and Complete Floyd-Hoare Logics},
  author = {Rob Arthan and Ursula Martin and Erik A. Mathiesen and Paulo Oliva},
  journal= {arXiv preprint arXiv:0807.1016},
  year   = {2013}
}

Comments

27 pages

R2 v1 2026-06-21T10:58:03.073Z