Hostname: page-component-89b8bd64d-shngb Total loading time: 0 Render date: 2026-05-12T14:35:59.835Z Has data issue: false hasContentIssue false

Partial hyperdoctrines: categorical models for partial function logic and Hoare logic

Published online by Cambridge University Press:  04 March 2009

Peter Knijnenburg
Affiliation:
Department of Computer Science, Utrecht University, Padualaan 14, 3584 CH Utrecht, the Netherlands
Frank Nordemann
Affiliation:
Department of Computer Science, Utrecht University, Padualaan 14, 3584 CH Utrecht, the Netherlands

Abstract

In this paper we provide a categorical interpretation of the first-order Hoare logic of a small programming language by giving a weakest precondition semantics for the language. To this end, we extend the well-known notion of a (first-order) hyperdoctrine to include partial maps. The most important new aspect of the resulting partial (first-order) hyperdoctrine is a different notion of morphism between the fibres. We also use this partial hyperdoctrine to give a model for Beeson's Partial Function Logic such that (a version of) his axiomatization is complete with respect to this model. This shows the usefulness of the notion, independent of its intended use as a model for Hoare logic.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 1994

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable