Hostname: page-component-77f85d65b8-grvzd Total loading time: 0 Render date: 2026-03-29T15:26:46.974Z Has data issue: false hasContentIssue false

Indexed and fibered structures for partial and total correctness assertions

Published online by Cambridge University Press:  19 September 2022

U.E. Wolter*
Affiliation:
Department of Informatics, University of Bergen, Bergen, Norway
A.R. Martini
Affiliation:
Av. Marechal Andrea 11/210, Porto Alegre, Brazil
E.H. Häusler
Affiliation:
Departamento de Ciência da Computação, PUC-Rio, Rio de Janeiro, Brazil
*
*Corresponding author. Email: Uwe.Wolter@uib.no
Rights & Permissions [Opens in a new window]

Abstract

Hoare Logic has a long tradition in formal verification and has been continuously developed and used to verify a broad class of programs, including sequential, object-oriented, and concurrent programs. Here we focus on partial and total correctness assertions within the framework of Hoare logic and show that a comprehensive categorical analysis of its axiomatic semantics needs the languages of indexed and fibered category theory. We consider Hoare formulas with local, finite contexts, of program and logical variables. The structural features of Hoare assertions are presented in an indexed setting, while the logical features of deduction are modeled in the fibered one.

Information

Type
Special Issue: LSFA’19 and LSFA’20
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Table 1. Transition semantics for IMP

Figure 1

Table 2. Categories used and introduced in the paper