Lemma (inclusion-exclusion formula for probability)
Let $A_1, A_2, \ldots, A_n\in\mathcal F$. Then $$ \mathbb P(A_1\union A_2\union\ldots\union A_n) = \sum_{k=1}^n(-1)^{k+1} \sum_{1\leq i_1<i_2<\ldots<i_k\leq n} \mathbb P(A_{i_1}\cap A_{i_2}\cap\ldots\cap A_{i_k}). $$