betaFeedback

WorksComputer Science

A Taxonomy of Predicate Transformer Monads for Specifying Monadic Programs

Abstract

Monads of weakest precondition predicate transformers are the foundation of several verification frameworks for monadic programs. For specifying monadic computations with nondeterminism and nontermination, in addition to weakest preconditions, we introduce the first strongest postcondition monads covering all combinations of angelic or demonic nondeterminism and partial or total interpretations of nontermination. For extending these base strongest postcondition monads with side effects such as mutable state, monad transformers do not yield the expected monads, so we instead generalize the base monads to arrows and use arrow transformers. We give a taxonomy of weakest precondition and strongest postcondition monads, for the base monads and for their versions with state, and show that the known relationships between under- and over-approximate triples based on predicate transformers already hold at the level of the predicate transformers themselves. We use the predicate transformer monads to define under- and over-approximate triples and, where possible, Dijkstra monads. Finally, we relate these two specification styles.

Introduction

Program logics provide a formal way to specify what programs can or should do, and to verify that programs meet their specifications. For programs with nondeterminism, a logic usually either takes a demonic interpretation, requiring all executions to satisfy the specification, or an angelic one requiring the existence of such an execution. For divergence, a total interpretation requires termination, while a partial/liberal one allows divergence. These logics are often presented as deductive systems over triples relating a precondition pp, a program cc, and a postcondition qq. The semantics of triples can often be phrased via Dijkstra’s weakest precondition (wpwp) or strongest postcondition (spsp) predicate transformers [10, 11, 12].

For example, the triple {p}c{q}\{p\}c\{q\} is valid in partial correctness Hoare logic [3, 16] exactly when p⇒dwlp⟦c⟧(q)p \Rightarrow\mathit{dwlp}\llbracket c\rrbracket(q), where dwlp is the demonic, liberal wp variant [11]. In fact, this logic admits a second such characterization [37]: the triple is also valid exactly when asp⟦c⟧(p)⇒q\mathit{asp}\llbracket c\rrbracket(p) \Rightarrow q, for asp, the angelic, total sp variant.

These predicate transformer characterizations of triples are not limited to reasoning about correctness. O’Hearn’s incorrectness logic [30], which specifies which states a program can reach (e.g., error states), uses the same transformer with the implication reversed; the triple [p]c[q][p]c[q] is valid exactly when q⇒asp⟦c⟧(p)q \Rightarrow\mathit{asp}\llbracket c\rrbracket(p). Unlike Hoare logic, there is no equivalent wp characterization [37]. Incorrectness logic triples are called under-approximate, as qq under-approximates the reachable states asp⟦c⟧(p)\mathit{asp}\llbracket c\rrbracket(p). In contrast, Hoare logic triples are over-approximate, as qq over-approximates the reachable states. For simple imperative programs, Verscht and Kaminski [37] taxonomize these under- and over-approximate triples for four wp variants and four sp variants [37, 39], corresponding to the standard interpretations of nondeterminism and nontermination: angelic-demonic and total-liberal.1

Triples and wps have also been used to verify monadic programs [13, 14, 26, 28, 29, 32, 33, 34, 35], which can be shallowly embedded in proof assistants, making verification convenient. A key insight was that the specifications of monadic programs also have monadic structure, so they compose with ret and bind as the programs do. Swamy et al. [33, 34] showed that wps form such a monad. But how do we define wps modularly, one effect at a time? Maillard et al. [26] observe that if we start with a base monotone wp monad WPure(A):=(A→P)→P\mathrm{WPure}(A) := (A \to\mathbb{P}) \to\mathbb{P}, where P\mathbb{P} is the type of propositions, we can add effects with the same monad transformers as for computation monads. For instance, the state monad transformer turns WPure\mathrm{WPure} into the usual monad of stateful wps, of type StT(WPure)(S,A):=S→(A×S→P)→P≅(A×S→P)→(S→P)\mathrm{StT}(\mathrm{WPure})(S,A) := S \to(A \times S \to\mathbb{P}) \to\mathbb{P} \cong(A \times S \to\mathbb{P}) \to(S \to\mathbb{P}). Such wp monads have been used in verification frameworks including F⋆ [2, 26, 33, 34] and Loom [14].

Monads of sps are less understood. For a start, monotone sps alone do not form a lawful monad. Maillard et al. obtain a base sp monad of type SPost(A):=P→(A→P)\mathrm{SPost}(A) := \mathbb{P} \to(A \to\mathbb{P}) by further restricting the carrier to predicate transformers whose postconditions imply the precondition. We observe that the resulting monad can specify not only pure programs, but also nondeterministic and nonterminating ones, under an angelic and total interpretation. In this paper we introduce the first sp monads for all four interpretations of nondeterminism and nontermination by instead restricting the carrier to standard classes of predicate transformers [8]: the angelic monad variants are disjunctive (i.e., preserve potentially infinite non-empty disjunctions), demonic ones conjunctive (i.e., preserve such conjunctions), total ones strict (i.e., ⊥\bot precondition results in ⊥\bot postcondition), and liberal ones terminating (i.e., ⊤\top precondition results in $\top postcondition). Applying similar restrictions to the monotone wp monad gives one wp monad per interpretation. While these four wp monads are submonads of the WPure\mathrm{W}^{\mathrm{Pure}} monad above, the four sp monads are more interesting, since each of them needs its own ret and bind tailored to its carrier restriction.

When also considering effects such as state, a further challenge is effect modularity: adding the ability to reason about new effects by applying a monad transformer, which yields a lawful monad for free. The state monad transformer, however, does not turn these base sp monads into the monads we expect for stateful sps, producing instead: StT⁡(SPost⁡)(S,A)=S→P→(A×S→P)\operatorname{StT}(\operatorname{SPost})(S,A)=S\to\mathbb{P}\to(A\times S\to\mathbb{P}). Such an sp takes one initial state and, separately, one precondition proposition, whereas a stateful sp should take a precondition that is a predicate over initial states, as in the type (S→P)→(A×S→P)(S\to\mathbb{P})\to(A\times S\to\mathbb{P}). Underlying this is a more basic challenge: even setting modularity aside, there was no known way to construct lawful stateful sp monads of the expected shape, which need a restricted carrier and a matching ret and bind, separately for each of the four interpretations.

We solve both challenges by generalizing our sp monads to Hughes arrows with application [17], since arrow transformers then yield stateful sp monads of the expected shape in an effect-modular way. We start with a base arrow of type SPArr⁡(B,A):=(B→P)→(A→P)\operatorname{SPArr}(B,A):=(B\to\mathbb{P})\to(A\to\mathbb{P}) satisfying a variant of the carrier restrictions above. By fixing the input type BB to unit, an arrow with application yields a monad [24]:

SP⁡(A):=SPArr⁡(unit,A)=(unit→P)→(A→P)≅P→(A→P)\operatorname{SP}(A):=\operatorname{SPArr}(\mathrm{unit},A)=(\mathrm{unit}\to\mathbb{P})\to(A\to\mathbb{P})\cong\mathbb{P}\to(A\to\mathbb{P})

Moreover, since arrows have an input type, which arrow transformers can extend, applying the state arrow transformer gives us StArrT⁡(SP⁡)(S,B,A)=(B×S→P)→(A×S→P)\operatorname{StArrT}(\operatorname{SP})(S,B,A)=(B\times S\to\mathbb{P})\to(A\times S\to\mathbb{P}), which, when the input type is fixed, provides the expected shape of a stateful sp monad. Crucially, the resulting stateful monads inherit the carrier restriction and lawfulness of the base arrow, since the state arrow transformer only adds the state to the input and output types.

This allows us to give a taxonomy of these base and stateful sp and wp monads (Figure 1, in § 2.2) and show that the relationships established by Verscht and Kaminski [37] between under- and over-approximate triples already hold for the predicate transformers themselves. Additionally, we use the predicate transformer monads to define under- and over-approximate triples and, where possible, Dijkstra monads [2, 26, 33]. A Dijkstra monad is a monad-like structure of computations indexed by elements of a specification monad [26]. A specification monad is ordered by specification precision so that bind is monotone [15, 20].

Monadic relations between predicate transformer monads

Figure 1. Monadic relations between the monads of predicate transformers, with the SP monads on top and the WP monads below, (a) for the base monads and (b) for the monads with state. In (a), SPDSP\mathrm{SP}_{\mathrm{DSP}} and SPASLP\mathrm{SP}_{\mathrm{ASLP}} are isomorphic (≅\cong) to SPASP\mathrm{SP}_{\mathrm{ASP}} and SPDSLP\mathrm{SP}_{\mathrm{DSLP}}. Unmarked implications relate the elements of the two monads; in (b), * and ⋆ mark implications that compare their aspOf and dslpOf components, respectively. An adjunction points from its left adjoint to its right adjoint.

We make the following contributions:

  • We introduce the first lawful sp monads covering all four interpretations of nondeterminism and nontermination. They are derived from arrows with application restricted to preserve non-empty disjunctions (angelic) or conjunctions (demonic), and ⊥\bot (total) or ⊤\top (liberal). This allows adding state using arrow transformers, whereas monad transformers do not yield the expected monads. We also obtain four base wp monads by applying similar restrictions directly to the monotone wp monad [26]. Unlike the wp monads, which are all submonads of the same monad, each sp monad has its own ret and bind.

  • We recast Verscht and Kaminski’s taxonomy of triples [37] as a taxonomy of the eight wpwp and spsp monads, and show that the relationships they establish between under- and over-approximate triples already hold for predicate transformers, both for the base monads and for their versions with state.

  • We construct triples (precondition, monadic computation, postcondition) in terms of monad morphisms from our base computation monad of nondeterminism and nontermination into our eight wpwp and spsp monads. We also add state and exceptions to both the computation monad and the wpwp and spsp monads and lift the monad morphisms for free, through monad transformers as in DM4All [2, 26] and through arrow transformers for the spssps. This, for instance, allows us to define the semantics of incorrectness logic triples [p]c[q][p]c[q] for monadic programs cc as q⇒asp⟦c⟧(p)q \Rightarrow asp\llbracket c\rrbracket(p), analogous to O’Hearn’s original definition above [30]. We use the monad morphisms to prove that simple programs satisfy triples for both correctness and incorrectness in a style inspired by Loom [14], though focused not on automation but on generality, since we consider both over- and under-approximation, spssps, and general wpswps.

  • We show that our new aspasp and dslpdslp monads and all wpwp monads form specification monads [26]. This lets us verify monadic programs by comparing the specification produced by one of our monad morphisms with the intended specification using the specification monad’s order. This covers both over- and under-approximation by flipping the order, and as for triples, we use this to verify simple monadic programs. As these predicate transformer monads are specification monads, our monad morphisms targeting them give rise to Dijkstra monads [26]. The dspdsp and aslpaslp monads have binds that are not monotone with respect to their natural orders, so they are not specification monads, which limits how specifications can be weakened and composed.

  • For intended specifications expressed as triples, we show that the Loom-inspired verification style and the Dijkstra monad-inspired one are conceptually equivalent for the specification monads based on wpswps as well as over-approximate aspasp and under-approximate dslpdslp. This requires turning triples into predicate transformers, which we show is possible for the specification monads above, but not for under-approximate aspasp and over-approximate dslpdslp.

  • To study the expressive power of our stateful spsp and wpwp specification monads, we compare them to stateful versions of existing specification monads [26], such as predicates on results Pred⁡(A)=A→P\operatorname{Pred}(A)=A\to\mathbb{P} and pairs of pre- and postconditions, by establishing Galois connections, some of which are isomorphisms. In particular, we show that the known isomorphism [25] between the predicate monad Pred⁡(A)\operatorname{Pred}(A) and the base spsp monad of Maillard et al. extends to isomorphisms between aspasp and dwlpdwlp and between dslpdslp and awpawp as specification monads in the stateful setting.

  • We fully mechanize all definitions and proofs in Rocq.

Artifact and use of AI. The Rocq development is available at https://github.com/lastland/SpecMonad/tree/main/Code. It was developed in part interactively with the help of AI coding agents (Claude, Codex, and OpenCode), especially for proofs, which are machine-checked by Rocq. Any AI-generated code that affects the trusted computing base (definitions and theorem statements) was carefully reviewed by the authors. AI agents were used to help with \LaTeX programming and to improve some of the text of the paper; we wrote the original text, checked all proposed improvements, and take full responsibility for the paper and artifact.

Background: Weakest Precondition Monads

Monadic computations can be specified in terms of weakest precondition predicate transformers [33, 34]. A wpwp maps predicates on the output called postconditions to predicates on the input called preconditions: if the precondition holds, then the computation is guaranteed to produce a result satisfying the postcondition. A pure computation of type AA can be understood as having an output of type AA and an input of type unit\mathrm{unit}. Therefore, a wpwp for a pure computation of type AA is a function from predicates on AA to predicates on unit\mathrm{unit}, specifically the following type: (A→P)→(unit→P)≅(A→P)→P(A \to\mathbb{P}) \to(\mathrm{unit} \to\mathbb{P}) \cong(A \to\mathbb{P}) \to\mathbb{P}. Prior work [2, 19] noted that this is the type of a continuation monad on the return type P\mathbb{P} with the corresponding ret\mathrm{ret} and bind\mathrm{bind}:

ret v:=λ post. post v,bind m f:=λ post. m (λa. f a post).(1)\begin{aligned} \mathrm{ret}\ v &:= \lambda\ \mathit{post}.\ \mathit{post}\ v,\\ \mathrm{bind}\ m\ f &:= \lambda\ \mathit{post}.\ m\ (\lambda a.\ f\ a\ \mathit{post}). \tag*{(1)} \end{aligned}

We call this base wpwp monad WP. This monadic structure of wpswps has been exploited to naturally compose specifications, and to map monadic computations to their predicate transformer semantics [26].

Predicates over any type are ordered as subsets, or equivalently by pointwise logical implication, which we write ⊑\sqsubseteq: for φ,ψ:A→P\varphi,\psi: A \to\mathbb{P}, φ⊑ψ\varphi\sqsubseteq\psi iff ∀(a:A). φ(a)⇒ψ(a)\forall(a : A).\,\varphi(a) \Rightarrow\psi(a). In general, one works with monotone predicate transformers that preserve the order relations on predicates [8, 12]. The monotonicity condition on wpwp is, for all postconditions q1,q2:A→Pq_1,q_2 : A \to\mathbb{P}:

q1⊑q2⇒wp(q1)⊑wp(q2).q_1 \sqsubseteq q_2 \Rightarrow wp(q_1) \sqsubseteq wp(q_2).

For example, ret x\mathrm{ret}\ x is a monotone predicate transformer, as the condition q1⊑q2⇒(ret x)(q1)⊑(ret x)(q2)q_1 \sqsubseteq q_2 \Rightarrow(\mathrm{ret}\ x)(q_1) \sqsubseteq(\mathrm{ret}\ x)(q_2) unfolds into (∀(a:A). q1(a)⇒q2(a))⇒q1(x)⇒q2(x)(\forall(a : A).\,q_1(a) \Rightarrow q_2(a)) \Rightarrow q_1(x) \Rightarrow q_2(x) which trivially holds. bind m f\mathrm{bind}\ m\ f is also a monotone predicate transformer, provided that both mm and ff are monotone predicate transformers.

Moreover, not only predicates are ordered, but also predicate transformers themselves can be ordered in a pointwise manner:

wp1⊑wp2iff∀(q:A→P). wp1(q)⊑wp2(q).wp_1 \sqsubseteq wp_2 \quad\text{iff}\quad\forall(q : A \to\mathbb{P}).\,wp_1(q) \sqsubseteq wp_2(q).

Then, a natural question is whether the monadic structure preserves such order on predicate transformers. For weakest precondition monads, both ret\mathrm{ret} and bind\mathrm{bind} preserve the order above.

For stateful programs with state type SS, preconditions must refer to the initial state and postconditions to the result and final state. Following Maillard et al. [26], we can do so systematically by applying the state monad transformer StT\mathrm{StT} to the WP monad described above. Now the postcondition predicates are not only on the underlying type, but also on the state (A×S→P)(A \times S \to\mathbb{P}), while preconditions are predicates over the initial state (S→P)(S \to\mathbb{P}). This gives the following monadic structure on StT⁡(WP⁡)(S,A):=(A×S→P)→S→P\operatorname{StT}(\operatorname{WP})(S,A) := (A \times S \to\mathbb{P}) \to S \to\mathbb{P}, which is essentially the same as above, but threading around the state:

ret⁡ x:=λs post⁡. post⁡ (x,s),bind⁡ w f:=λs post⁡. w s (λ(x,s′). f x s′ post⁡).(2)\begin{aligned} \operatorname{ret}\ x &:= \lambda s\ \operatorname{post}.\ \operatorname{post}\ (x,s),\\ \operatorname{bind}\ w\ f &:= \lambda s\ \operatorname{post}.\ w\ s\ (\lambda(x,s').\ f\ x\ s'\ \operatorname{post}). \tag*{(2)} \end{aligned}

Again, these predicates are naturally ordered, and we restrict the carrier to predicate transformers that are monotone. For this monad, the monadic structure (ret, bind) also respects the monotonicity condition.

Strongest Postcondition Monads

In contrast to wpswps, spssps map preconditions to postconditions. In the base case, an spsp is therefore a function from predicates on 11 to predicates on AA, of type (1→P)→(A→P)≅P→(A→P)(1 \to\mathbb{P}) \to(A \to\mathbb{P}) \cong\mathbb{P} \to(A \to\mathbb{P}). Unlike for wpswps, there is no well-known monad of a similar shape to inspire our definitions of ret and bind.

Base spsp Monads

Maillard et al. [26] define a base spsp monad, SPost⁡(A):=P→(A→P)\operatorname{SPost}(A) := \mathbb{P} \to(A \to\mathbb{P}), with the following ret and bind, inspired by the treatment of skip and sequencing in the classical strongest postcondition calculus [12]:

ret⁡ v:=λpre⁡ a. pre⁡∧a=v,bind⁡ m f:=λpre⁡ b. ∃a. f a (m pre⁡ a) b.(3)\begin{aligned} \operatorname{ret}\ v &:= \lambda\operatorname{pre}\ a.\ \operatorname{pre} \land a = v,\\ \operatorname{bind}\ m\ f &:= \lambda\operatorname{pre}\ b.\ \exists a.\ f\ a\ (m\ \operatorname{pre}\ a)\ b. \tag*{(3)} \end{aligned}

To satisfy the monad laws, they consider monotone spssps of the smaller type (pre⁡:P)→(A→P/pre⁡)(\operatorname{pre}:\mathbb{P}) \to(A \to\mathbb{P}_{/\operatorname{pre}}), where P/pre⁡={p:P∣p⇒pre⁡}\mathbb{P}_{/\operatorname{pre}} = \{p : \mathbb{P} \mid p \Rightarrow\operatorname{pre}\}. This smaller type suffices for the monad laws, and we observe that it is, in fact, equivalent to a carrier of disjunctive, strict spssps.

Disjunctivity and strictness (along with conjunctivity and termination, introduced shortly) are properties of predicate transformers that form classes closed under sequential composition. Therefore, they are usually called homomorphism properties. Using an spsp as an example, for every non-empty family of preconditions (pi)i∈I(p_i)_{i \in I}, the disjunctivity condition on spsp states that:

References

  1. [1]A. Aguirre, S. Katsumata, and S. Kura. Weakest preconditions in fibrations. Math. Struct. Comput. Sci., 32(4):472–510, 2022.
  2. [2]D. Ahman, C. Hrițcu, K. Maillard, G. Martínez, G. Plotkin, J. Protzenko, A. Rastogi, and N. Swamy. Dijkstra monads for free. POPL. 2017.
  3. [3]K. R. Apt, Ten years of Hoare’s logic: A survey – part II: Nondeterminism. Theor. Comput. Sci., 28(1–2):83–109, 1984.
  4. [4]K. Asada. Arrows are strong monads. In V. Capretta and J. Chapman, editors, Proceedings of the 3rd ACM SIGPLAN Workshop on Mathematically Structured Functional Programming, MSFP@ICFP 2010, Baltimore, MD, USA, September 25, 2010. 2010.DOI
  5. [5]F. Ascari, R. Bruni, R. Gori, and F. Logozzo. Revealing sources of (memory) errors via backward analysis. Proc. ACM Program. Lang., 9(OOPSLA1):1321–1348, 2025.DOI
  6. [6]F. Ascari, R. Bruni, R. Gori, and A. Raadt. U-turn: Enhancing incorrectness analysis by reversing direction. Proc. ACM Program. Lang., 10(POPL):1326–1352, 2026.DOI
  7. [7]R. Atkey. What is a categorical model of arrows? Electronic Notes in Theoretical Computer Science, 229(5):19–37, 2011. Proceedings of the Second Workshop on Mathematically Structured Functional Programming (MSFP 2008).DOI
  8. [8]R.-J. Back and J. von Wright. Refinement Calculus: A Systematic Introduction. Graduate Texts in Computer Science. Springer, 1998.
  9. [9]E. de Vries and V. Koutavas. Reverse Hoare logic. In G. Barthe, A. Pardo, and G. Schneider, editors, Software Engineering and Formal Methods - 9th International Conference, SEFM 2011, Montevideo, Uruguay, November 14-18, 2011. Proceedings. 2011.
  10. [10]E. W. Dijkstra. Guarded commands, nondeterminacy and formal derivation of programs. CACM, 18(8):453–457, 1975.
  11. [11]E. W. Dijkstra. A Discipline of Programming. Prentice Hall PTR, Upper Saddle River, NJ, USA, 1st edition, 1976.
  12. [12]E. W. Dijkstra and C. S. Scholten. Predicate Calculus and Program Semantics. Texts and Monographs in Computer Science. Springer-Verlag, 1990.DOI
  13. [13]G. Ebner, G. Martínez, A. Rastogi, T. Dardimier, M. Frisella, T. Ramananandro, and N. Swamy. PulseCore: An impredicative concurrent separation logic for dependently typed programs. Proc. ACM Program. Lang., 9(PLDI), 2025.DOI
  14. [14]V. Gladshtein, G. Pîrlea, Q. Zhao, V. Kurin, and I. Sergey. Foundational multi-modal program verifiers. Proc. ACM Program. Lang., 10(POPL):2233–2264, 2026.DOI
  15. [15]I. Hasuo. Generic weakest precondition semantics from monads enriched with order. Theor. Comput. Sci., 604:2–29, 2015.
  16. [16]C. A. R. Hoare. An axiomatic basis for computer programming. Commun. ACM, 12(10):576–580, 1969.
  17. [17]J. Hughes. Generalising monads to arrows. Sci. Comput. Program., 37(1–3):67–111, 2000.DOI
  18. [18]B. Jacobs. Dijkstra and Hoare monads in monadic computation. Theor. Comput. Sci., 604:30–45, 2015.DOI
  19. [19]K. Jensen. Connection between Dijkstra’s predicate-transformers and denotational continuation-semantics. DAIMI Report Series 7.86, 1978.DOI
  20. [20]S. Katsumata and T. Sato. Preorders on monads and coalgebraic simulations. FOSSACS, 2013.
  21. [21]S. Lack and R. Street. Skew monoidales, skew warpings and quantum categories. Theory and Applications of Categories, 26(15):385–402, 2012.arxiv.org/abs/1205.0074
  22. [22]K. R. M. Leino. Efficient weakest preconditions. Inf. Process. Lett., 93(6):281–288, 2005.DOI
  23. [23]J. Li, N. Zilberstein, and A. Silva. Total outcome logic: Unified reasoning for a taxonomy of program logics. CoRR, abs/2411.00197, 2024.arxiv.org/abs/2411.00197
  24. [24]S. Lindley, P. Wadler, and J. Yallop. Idioms are oblivious, arrows are meticulous, monads are promiscuous. Electron. Notes Theor. Comput. Sci., 229(5):97–117, 2011.DOI
  25. [25]K. Maillard. Principles of Program Verification for Arbitrary Monadic Effects. PhD thesis, Université Paris Sciences et Lettres, 2019.DOI
  26. [26]K. Maillard, D. Ahman, R. Atkey, G. Martínez, C. Hriţcu, E. Rivas, and E. Tanter. Dijkstra monads for all. PACMPL, 3(ICFP), 2019.arxiv.org/abs/1903.01237
  27. [27]B. Möller, P. O’Hearn, and T. Hoare. On algebra of program correctness and incorrectness. In Relational and Algebraic Methods in Computer Science - 19th International Conference, RAMiCS 2021, Marseille, France, November 2-5, 2021, Proceedings. 2021.
  28. [28]A. Nanevski, G. Morrisett, A. Shinnar, P. Govereau, and L. Birkedal. Ynot: dependent types for imperative programs. ICFP. 2008.
  29. [29]A. Nanevski, J. G. Morrisett, and L. Birkedal. Hoare type theory, polymorphism and separation. JFP, 18(5-6):865–911, 2008.DOI
  30. [30]P. W. O’Hearn. Incorrectness logic. Proc. ACM Program. Lang., 4(POPL):10:1–10:32, 2020.DOI
  31. [31]R. Paterson. Arrows and computation. In J. Gibbons and O. de Moor, editors, The Fun of Programming, pages 201–222. Palgrave, 2003.DOI
  32. [32]L. Silver and S. Zdancewic. Dijkstra monads forever: termination-sensitive specifications for interaction trees. Proc. ACM Program. Lang., 5(POPL):1–28, 2021.DOI
  33. [33]N. Swamy, J. Weinberger, C. Schlesinger, J. Chen, and B. Livshits. Verifying higher-order programs with the Dijkstra monad. PLDI, 2013.
  34. [34]N. Swamy, C. Hriţcu, C. Keller, A. Rastogi, A. Delignat-Lavaud, S. Forest, K. Bhargavan, C. Fournet, P.-Y. Strub, M. Kohlweiss, J.-K. Zinzindohoué, and S. Zanella-Béguelin. Dependent types and multi-monadic effects in F*. POPL, 2016.
  35. [35]W. Swierstra and T. Baanen. A predicate transformer semantics for effects (functional pearl). PACMPL, 3(ICFP):103:1–103:26, 2019.DOI
  36. [36]F. Verbeek, M. S. Sefat, Z. Fu, and B. Ravindran. On extending incorrectness logic with backwards reasoning. Proc. ACM Program. Lang., 9(POPL):391–415, 2025.DOI
  37. [37]L. Verscht and B. L. Kaminski. A taxonomy of Hoare-like logics: Towards a holistic view using predicate transformers and Kleene algebras with top and tests. Proc. ACM Program. Lang., 9(POPL):1782–1811, 2025.
  38. [38]L. Xia, Y. Zakowski, P. He, C. Hur, G. Malecha, B. C. Pierce, and S. Zdancewic. Interaction trees: representing recursive and impure programs in Coq. Proc. ACM Program. Lang., 4(POPL):51:1–51:32, 2020.DOI
  39. [39]L. Zhang and B. L. Kaminski. Quantitative strongest post: a calculus for reasoning about the flow of quantitative information. Proc. ACM Program. Lang., 6(OOPSLA1):1–29, 2022.DOI
  40. [40]N. Zilberstein, D. Dreyer, and A. Silva. Outcome logic: A unifying foundation for correctness and incorrectness reasoning. Proc. ACM Program. Lang., 7(OOPSLA1):522–550, 2023.DOI

Paper details

vlnc:W_47sj5pxu
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents