Bayes' formula

Let $(B_n)_{n\in\N}$ be a partition of $\Omega$ with positive probability and let $A$ be an event of positive probability. Then $$ \prob(B_n | A) = \frac{\prob(A|B_n) \prob(B_n)}{\fsum k1\infty \prob(A|B_k) \prob(B_k) }. $$

We hold a prior belief of the probabilities $\prob(B_n)$. Should we observe the event $A$, this formula gives the posterior probabilities $\prob(B_n|A)$.