Sub-Probability Distributions #
This file defines a type SPMF as a PMF extended with the option to fail.
The probability of failure is the missing mass to make the PMF sum to 1.
Expose the induced monad instance on SPMF.
Equations
Expose the lifting operations from PMF to SPMF given by OptionT.lift
Equations
@[simp]
@[simp]
The set of outputs with non-zero probability mass.