I am reading the book (available for free from the author's website) "Information Theory, Inference, and Learning Algorithms" by David J.C. MacKay. On p. 328 (p. 340 of the pdf) maximum likelihood decoding of the (7,4) Hamming code is considered and solved by brute-force enumerating posterior probabilities of all codewords. However, I do not quite understand the problem statement which is in terms of "normalized likelihoods".
A codeword $\mathbf{x}$ (4 message bits and 3 parity bits for the (7,4) Hamming code) is sent over some noisy channel. The channel defines (and is defined by) all conditional probabilities $P(\mathbf{y}|\mathbf{x})$. (I am only really interested in symmetric memoryless channels.) When the noisy message $\mathbf{y}$ is received (which may have continuous values, as in the case of BIAWGN channel), it is decoded by finding the $\hat{\mathbf{x}}$ which maximizes the posterior probability, $\hat{\mathbf{x}} = \operatorname{argmax}_{\mathbf{x}}P(\mathbf{x}|\mathbf{y})$, where by Bayes' theorem $$ P(\mathbf{x}|\mathbf{y}) = \frac{P(\mathbf{y}|\mathbf{x})P(\mathbf{x})}{P(\mathbf{y})}. $$
In the setting of the book, the received codeword and the channel are both not given, but instead only "normalized likelihoods". I don't quite understand what these are. The prior distribution $P(\mathbf{x})$ is not mentioned, I guess it is implicitly assumed to be uniform.
The seven "normalized likelihoods" given are $(0.1, 0.4, 0.9, 0.1, 0.1, 0.1, 0.3)$. As illustration some ratios of likelihoods are also given (quote): $$ \frac{P(y_1|x_1=1)}{P(y_1|x_1=0)}=\frac{0.1}{0.9},\quad \frac{P(y_2|x_2=1)}{P(y_2|x_2=0)}=\frac{0.4}{0.6},\quad \text{etc.} $$
Afaik, there is no reason why $P(y_1|x_1=1) + P(y_1|x_1=0)$ should equal 1 for some given $y_1$. For example, in case of BIAWGN channel, $P(y_1|x_1=1)$ and $P(y_1|x_1=0)$ are normal distributions with same standard deviation, centered at (e.g.) $\pm 1$. They do not add to 1 for almost all values of $y_1$. Is this a consequence of this "normalization" of the likelihoods, whatever it means here? The author also writes: "from the point of view of decoding, all that matters is the likelihood ratio". While this seems intuitively plausible to me, is there a simple way to see that this is true in general from the formula of Bayes' theorem? In the book the likelihoods of all codewords are computed. E.g., for $[0000000]$ MacKay obtains the likelihood $P(\mathbf{y}|\mathbf{x}=[0000000]) = 0.0275562$, which is equal to the product of all single-bit likelihoods $\prod_n P(y_n|x_1=0)$. This works out numerically given above values and assuming $P(y_n|x_1=1) + P(y_n|x_1=0) = 1$ for all $n$ (why?) but it would depend on whatever weird "normalization" of the likelihoods is being used, right? How does one see that the posterior probability would not? (In the book, the posterior probability of a codeword is equal to the likelihood divided by the sum of all codeword likelihoods, consistent with the assumption that the prior is uniform.)
How does one obtain these likelihoods in practice? For the binary symmetric channel BSC(p), $y_1$ can only take values $\{0, 1\}$ and (correct me if I'm wrong) $\frac{P(y_1=1|x_1=1)}{P(y_1=1|x_1=0)}=\frac{1-p}{p}$ while $\frac{P(y_1=0|x_1=1)}{P(y_1=0|x_1=0)}=\frac{p}{1-p}$. In this case, the likelihoods for a given $y_1$ do add up to one. This need not be general though, right?
For BIAWGN($\sigma$), suppose (case 1) in one communication I received a fixed value $a_1$ for $y_1$. Alternatively, (more realistically) I know that my received value is in the interval $I_1$ (case 2) or even itself has a probability distribution due to measurement error, $P(a_1)$ (case 3). How to find the likelihoods in these cases ($\mathcal{N}(\mu, \sigma^2)$ is the gaussian distribution centered at $\mu$ with variance $\sigma^2$)? $$ \begin{align} P(y_1|x_1=1) &= \mathcal{N}(1, \sigma^2)(a_1) \qquad \text{(case 1, also cf. eqn. 25.3 in the book)}\\ P(y_1|x_1=1) &= \int_{I_{1}}\mathcal{N}(1, \sigma^2) \qquad \text{(case 2, wrong?)}\\ \qquad ??? \quad \text{(case 3)}\\ \end{align} $$