2015
DOI: 10.1016/j.tcs.2015.03.020
|View full text |Cite
|
Sign up to set email alerts
|

Dijkstra and Hoare monads in monadic computation

Abstract: The Dijkstra and Hoare monads have been introduced recently for capturing weakest precondition computations and computations with pre-and post-conditions, within the context of program verification, supported by a theorem prover. Here we give a more general description of such monads in a categorical setting. We first elaborate the recently developed view on program semantics in terms of a triangle of computations, state transformers, and predicate transformers. Instantiating this triangle for different comput… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
19
0

Year Published

2015
2015
2024
2024

Publication Types

Select...
6
2

Relationship

1
7

Authors

Journals

citations
Cited by 18 publications
(19 citation statements)
references
References 25 publications
0
19
0
Order By: Relevance
“…They can be described as a computations in the opposite category (CL ) op of complete lattices and meet-preserving functions. This is precisely like in the above 'logical' categories of the form (−) op , see also [43,42]. In general the predicates Pred(1), i.e.…”
Section: Predicates and Testsmentioning
confidence: 57%
“…They can be described as a computations in the opposite category (CL ) op of complete lattices and meet-preserving functions. This is precisely like in the above 'logical' categories of the form (−) op , see also [43,42]. In general the predicates Pred(1), i.e.…”
Section: Predicates and Testsmentioning
confidence: 57%
“…The realization that predicate transformers form monads [Ahman et al 2017;Jacobs 2014Jacobs , 2015Swamy et al 2013Swamy et al , 2016 is the starting point to provide a uniform notion of specifications. Generalizing over prior work, we show that this is true not only for weakest precondition transformers, but also for strongest postconditions, and pairs of pre-and postconditions (see §4.1).…”
Section: Specification Monadsmentioning
confidence: 99%
“…As we shall see this construction is generic and leads to a categorical equivalence between Dijkstra monads and effect observations. In this section, we introduce more formally the notion of Dijkstra monad using dependent type theory, seen as the internal language of a comprehension category [Jacobs 1993], and then build a category DMon of Dijkstra monads. In order to compare this notion of Dijkstra monads to effect observations, we also introduce a category of monadic relations MonRel and show that there is an adjunction ∫ ⊣ pre : MonRel −→ DMon.…”
Section: Dijkstra Monads From Effect Observationsmentioning
confidence: 99%
See 1 more Smart Citation
“…Dijkstra algorithm is widely used in finding the shortest path from a starting point to other vertices [12][13][14] . The advantage of the algorithm lies in finding out the vertex closest to the starting point, automatically taking it as the new starting point (knee point), and updating the original path information simultaneously.…”
Section: Establishment Of the Minimum Distance Matrixmentioning
confidence: 99%