Support-conditioned facts about PMF.map, PMF.bind and StateT.lift #
A distribution's pushforward or two-stage experiment is deterministic when it is so on the
support: p.map f = PMF.pure b exactly when f is constantly b on p.support
(map_eq_pure_iff), and p.bind f = PMF.pure b when every possible continuation is
(bind_eq_pure_of_forall_mem_support). Pushforwards to different point masses distinguish their
inputs (ne_of_map_eq_pure).
Pairing with a constant second coordinate pins that coordinate on the support
(snd_eq_of_mem_support_map_pair). Lifting a state-free PMF into StateT is such a pairing,
so it keeps the state on its support (snd_eq_of_mem_support_lift) and cannot reach a bad state
from a good one (toOuterMeasure_lift_eq_zero).
Main results #
Cslib.Probability.PMF.map_eq_pure_iff,Cslib.Probability.PMF.ne_of_map_eq_pure: deterministic pushforwards.Cslib.Probability.PMF.bind_eq_pure_of_forall_mem_support: deterministic two-stage experiments.Cslib.Probability.PMF.forall_mem_support_bind: support containment for a mixture.Cslib.Probability.PMF.snd_eq_of_mem_support_map_pair,Cslib.Probability.PMF.snd_eq_of_mem_support_lift,Cslib.Probability.PMF.toOuterMeasure_lift_eq_zero: state-free steps keep their state.