Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2023-03-10 09:55 4ac69b29

View on Github →

feat(probability/probability_mass_function): basic lawful monad lemmas for pmf. (#18469) This file adds basic lemmas for monadic operations on pmf, mirroring the lemmas for is_lawful_monad.

Estimated changes

added theorem pmf.bind_map
added theorem pmf.map_bind
modified theorem pmf.map_comp
added theorem pmf.map_const
modified theorem pmf.map_id
modified theorem pmf.pure_map