Solution (source code)

= Solution

A <Bayesian confirmation> account can dissolve the apparent conflict between logical equivalence and ordinary judgements about relevant evidence. It does so by rejecting an unrestricted positive-instance rule and specifying how the evidence was sampled. <Bayes' theorem> alone does not guarantee that every white shoe is irrelevant, or that every black <raven> provides strong support.

Let $H$ assert that every <raven> is black. Its contrapositive is <logically equivalent> to $H$, so the two descriptions must receive the same <conditional probability>. The <raven paradox> arises if every positive instance of a universal statement automatically confirms it: a white nonraven then confirms the contrapositive and hence $H$. The disputed step is that unrestricted confirmation rule, not the logical equivalence.<Studies in the Logic of Confirmation I by Carl Hempel>[section 5: equivalence and the paradoxes of instance confirmation]{ref}

For background $K$, set $p=P(H\mid K)$, $a=P(E\mid H,K)$ and $b=P(E\mid\neg H,K)$. For $0<p<1$ and positive evidence probability,
$$
P(H\mid E,K)=\frac{pa}{pa+(1-p)b}>p\quad\Longleftrightarrow\quad a>b.
$$
Thus it is the comparison of <likelihoods>, including the sampling protocol and alternatives, that determines support. Merely rewriting $H$ cannot change it.

The <finite-population model of raven confirmation> makes the intuitive difference quantitative. Fix $r$ ravens and $M$ nonblack objects. Compare an all-black-ravens hypothesis with the alternative that exactly one raven is nonblack. A uniform draw among nonblack objects that finds a nonraven has <likelihood ratio> $1/(1-1/M)$. A uniform draw among ravens that finds a black one has <likelihood ratio> $1/(1-1/r)$. If $M\gg r>1$, the former is much nearer one. With equal <prior probabilities>, $M=10^6$ and $r=100$ give posterior probabilities approximately $0.50000025$ and $0.50251256$. A tiny amount of confirmation need have no practical significance.

This example is not a theorem about every possible background. Inspecting an object already known to be a white shoe adds no relevant information about its being a nonraven. Other alternatives or selection mechanisms change the likelihoods and can remove or reverse the support. Conditioning only on the observed colour while silently changing how the object was selected would compare different experiments.<How Bayesian Confirmation Theory Handles the Paradox of the Ravens by Branden Fitelson and James Hawthorne>[Introduction and the treatment of background-sensitive confirmation; the finite model here is stated separately]{ref}

The resolution is therefore qualified. A coherent probability model preserves equivalence and explains why superficially parallel observations need carry radically different evidence. It does not select a unique prior or sampling model without scientific judgement. Those remaining modelling questions are limitations of an application, rather than a contradiction in <Bayesian inference>.