English

Partiality, Revisited: The Partiality Monad as a Quotient Inductive-Inductive Type

Logic in Computer Science 2017-06-28 v2

Abstract

Capretta's delay monad can be used to model partial computations, but it has the "wrong" notion of built-in equality, strong bisimilarity. An alternative is to quotient the delay monad by the "right" notion of equality, weak bisimilarity. However, recent work by Chapman et al. suggests that it is impossible to define a monad structure on the resulting construction in common forms of type theory without assuming (instances of) the axiom of countable choice. Using an idea from homotopy type theory - a higher inductive-inductive type - we construct a partiality monad without relying on countable choice. We prove that, in the presence of countable choice, our partiality monad is equivalent to the delay monad quotiented by weak bisimilarity. Furthermore we outline several applications.

Keywords

Cite

@article{arxiv.1610.09254,
  title  = {Partiality, Revisited: The Partiality Monad as a Quotient Inductive-Inductive Type},
  author = {Thorsten Altenkirch and Nils Anders Danielsson and Nicolai Kraus},
  journal= {arXiv preprint arXiv:1610.09254},
  year   = {2017}
}

Comments

v1: 16 pages. v2: 17 pages, llncs style. Minor changes. The final publication is available at Springer via http://dx.doi.org/10.1007/978-3-662-54458-7_31

R2 v1 2026-06-22T16:35:24.892Z