For finite-valued discrete random variables, the conditional entropy is
The chain rule for information entropy in two orders gives
Therefore
using nonnegativity of conditional entropy and the fact that conditioning reduces entropy. This proves the required inequality.
For Fano's inequality, let take values in an alphabet of size , let be any estimator, and put
Because is determined by ,
Now . If , is determined by ; if , at most values remain possible. Hence
Combining the bounds yields