Given an output of positive probability, the ideal observer chooses a symbol maximizing the posterior:
Ties may be broken arbitrarily, and the choice at an impossible output does not matter. This is maximum a posteriori decoding. It minimizes conditional error at each , because a deterministic decision is correct with probability ; a randomized decision is a weighted average of these success probabilities and cannot exceed their maximum.
Write . Then . Applying the two cases from part (b) to the posterior distribution gives
Average with respect to the output law to obtain the conditional entropy upper bound on minimum decoding error:
This is an upper bound on the optimum error probability; it does not hold for arbitrary deliberately poor decoding rules.