dc.creator | Maillard, Kenji | |
dc.creator | Ahman, Danel | |
dc.creator | Atkey, Robert | |
dc.creator | Martínez, Guido | |
dc.creator | Hritcu, Catalin | |
dc.creator | Rivas, Exequiel | |
dc.creator | Tanter, Éric | |
dc.date.accessioned | 2022-03-16T01:22:47Z | |
dc.date.accessioned | 2022-10-15T01:07:30Z | |
dc.date.available | 2022-03-16T01:22:47Z | |
dc.date.available | 2022-10-15T01:07:30Z | |
dc.date.created | 2022-03-16T01:22:47Z | |
dc.date.issued | 2019-09 | |
dc.identifier | Maillard, Kenji; Ahman, Danel; Atkey, Robert; Martínez, Guido; Hritcu, Catalin; et al.; Dijkstra monads for all; Association for Computing Machinery; Proceedings of the ACM on Programming Languages; 3; 104; 9-2019; 1-29 | |
dc.identifier | 2475-1421 | |
dc.identifier | http://hdl.handle.net/11336/153411 | |
dc.identifier | CONICET Digital | |
dc.identifier | CONICET | |
dc.identifier.uri | https://repositorioslatinoamericanos.uchile.cl/handle/2250/4328234 | |
dc.description.abstract | This paper proposes a general semantic framework for verifying programs with arbitrary monadic side-effects using Dijkstra monads, which we define as monad-like structures indexed by a specification monad. We prove that any monad morphism between a computational monad and a specification monad gives rise to a Dijkstra monad, which provides great flexibility for obtaining Dijkstra monads tailored to the verification task at hand. We moreover show that a large variety of specification monads can be obtained by applying monad transformers to various base specification monads, including predicate transformers and Hoare-style pre- and postconditions. For defining correct monad transformers, we propose a language inspired by Moggi's monadic metalanguage that is parameterized by a dependent type theory. We also develop a notion of algebraic operations for Dijkstra monads, and start to investigate two ways of also accommodating effect handlers. We implement our framework in both Coq and F, and illustrate that it supports a wide variety of verification styles for effects such as exceptions, nondeterminism, state, input-output, and general recursion. | |
dc.language | eng | |
dc.publisher | Association for Computing Machinery | |
dc.relation | info:eu-repo/semantics/altIdentifier/url/https://dl.acm.org/citation.cfm?id=3341708 | |
dc.relation | info:eu-repo/semantics/altIdentifier/doi/http://dx.doi.org/10.1145/3341708 | |
dc.rights | https://creativecommons.org/licenses/by/2.5/ar/ | |
dc.rights | info:eu-repo/semantics/openAccess | |
dc.subject | PROGRAM VERIFICATION | |
dc.subject | SIDE-EFFECTS | |
dc.subject | MONADS | |
dc.subject | DEPENDENT TYPES | |
dc.subject | FOUNDATIONS | |
dc.title | Dijkstra monads for all | |
dc.type | info:eu-repo/semantics/article | |
dc.type | info:ar-repo/semantics/artículo | |
dc.type | info:eu-repo/semantics/publishedVersion | |