Skip to main content

Basic probability in Mathlib

How do I define a probability space and two independent random variables in Lean? Should I use IsProbabilityMeasure or ProbabilityMeasure? How do I condition on an event?

This post answers these and other simple questions about how to express probability concepts using Mathlib.

Read more…