Rudin RCA p.21
Let $(X,\Sigma,\mu)$ be a measure space and $\{f_n\}$ be a sequence of measurable functions on $X$ and suppose that
(a) $0\leq f_1\leq f_2\leq\cdots\leq\infty$ for every $x\in X,$
(b) $f_n\rightarrow f$ pointwise on $X$.
Then $\int_X f_n d\mu \rightarrow \int_X f d\mu$.
==============
I followed the proof, but cannot see why the condition (b) is essential. Every monotonic sequence in extended real system has a limit as a supremum or infimum, so I think the condition (a) implies the condition (b). Am I wrong? How?