Here is the wiki of Three-prisoner problem, in which only one prisoner is pardoned, and the Bayes solution is given in the wiki.
My problem is pretty much the same, except that only one prisoner is executed. Here is the description:
A, B, C are three prisoners, two of which will be pardoned, A asks the warden to tell him which ONE will be pardoned other than himself. A thinks that before asking, he has a chance of $\frac{2}{3}$ to be pardoned, but if he asks, the chance goes down to $\frac{1}{2}$. A's calculation is wrong, explain why.
I wanted to do it the Bayes way, let $A,B,C$ be the event that A,B,C will be pardoned repectively, and let $b$ be the event that the warden mentions B will be pardoned.
The prior here is $P(A) = \frac{2}{3}$, and after observing $b$, the posterior of $A$ is $$P(A|b) = \frac{P(b|A)P(A)}{P(b)}$$ . I think $P(b|A)P(A) = \frac{1}{2}\frac{2}{3}$, since if $A$ happens, the warden should not mention $A$, he should mention the other one who will be pardoned, which has probability $\frac{1}{2}$ for B. And $$P(b) = P(b|A)P(A) + P(b|B)P(B) + P(b|C)P(C)$$ , right? How to calculate this?