Møgelberg, R. E., & Zwart, M. (2024). What Monads Can and Cannot Do With a Few Extra Pages. Logical Methods in Computer Science. Preprint submitted to arXiv:2311.15919v2 [cs.LO] 1 Nov 2024.
This paper explores the combination of the delay monad, in both its coinductive and guarded recursive forms, with other monads representing computational effects, aiming to understand how to model and reason about programs with diverse effects in type theory.
The authors employ the framework of Clocked Cubical Type Theory (CCTT) to formally analyze the interaction between the delay monad and other monads. They investigate specific combinations with common monads like exceptions, reader, global state, continuations, and selection, examining their algebraic properties and distributive laws.
The study provides a systematic understanding of how the delay monad interacts with other effects, establishing principles for combining them and identifying limitations. It lays the groundwork for incorporating a wider range of computational effects into type theories like CCTT.
This research contributes to the field of formal methods, particularly in the context of type theory and programming language semantics. It advances the understanding of how to model and reason about programs with complex computational effects within a rigorous type-theoretic framework.
The paper primarily focuses on algebraic monads and specific examples. Further research could explore combinations with non-algebraic monads and investigate the implications of distributive laws up to weak bisimilarity for program verification and reasoning.
To Another Language
from source content
arxiv.org
Deeper Inquiries