scholarly journals Generic weakest precondition semantics from monads enriched with order

2015 ◽  
Vol 604 ◽  
pp. 2-29 ◽  
Author(s):  
Ichiro Hasuo
Keyword(s):  
2006 ◽  
Vol 16 (3) ◽  
pp. 429-451 ◽  
Author(s):  
ELLIE D'HONDT ◽  
PRAKASH PANANGADEN

We develop a notion of predicate transformer and, in particular, the weakest precondition, appropriate for quantum computation. We show that there is a Stone-type duality between the usual state-transformer semantics and the weakest precondition semantics. Rather than trying to reduce quantum computation to probabilistic programming, we develop a notion that is directly taken from concepts used in quantum computation. The proof that weakest preconditions exist for completely positive maps follows immediately from the Kraus representation theorem. As an example, we give the semantics of Selinger's language in terms of our weakest preconditions. We also cover some specific situations and exhibit an interesting link with stabilisers.


1994 ◽  
Vol 4 (2) ◽  
pp. 117-146
Author(s):  
Peter Knijnenburg ◽  
Frank Nordemann

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.


2009 ◽  
Vol 44 (8) ◽  
pp. 5-5
Author(s):  
Musard Balliu ◽  
Isabella Mastroeni

Sign in / Sign up

Export Citation Format

Share Document