The simp set pmf_norm #
Declares the simp set pmf_norm, in a file of its own because an attribute cannot be used in the
file declaring it. CslibFrontier.Languages.Probabilistic.Norm tags its lemmas.
Main definitions #
The simp set pmf_norm rewrites the law of a closed probabilistic program, and monad notation
on PMF, into a normal form of PMF.bind, PMF.pure and PMF.map: binds are reassociated to the
right, returned values are substituted, maps are pushed into continuations and composed, and
compositions are unfolded to lambdas.