Definition
In type theory, the lifting monad is a way of representing partiality. A lifting monad is a construction of the form
where is a chosen set of propositions.
An element of consists of a proposition expressing when the partial element is defined, together with a function producing a value under that assumption. In this way, the lifting construction represents partial elements of whose domains of definition lie in .
When is suitably closed, this construction carries a monad structure. Different choices of give different notions of partiality.
where .
Examples
- If is the class of decidable propositions, then is equivalent to , the maybe monad or option monad.
- If is the class of semidecidable propositions, then one obtains the semidecidable lifting monad, also called the non-termination monad or Sierpinski lifting.
- If is the class of all propositions, then one obtains the full partial-map-classifier monad.
Related Concepts
Maybe Monad
Partial Function
Partiality (Type Theory)
Unbounded Minimization