Does Lebesgue integration have the property of countable subadditivity: 'if $f$ is integrable on $E$ and $E = \bigcup_{i=1}^{\infty} E_n$ then $\int_E f \le \sum_{i=1}^{\infty} \int_{E_n} f$'? You would expect so.
I think I have a counterexample: Let $f : [0,1] \to \mathbb{R}$ be the constant function $f(x) = 1$. Let $B_r(x) \subset \mathbb{R}$ be the ball of radius $r$ centred at $x$. Let $q_1, q_2, q_3, ...$ be an enumeration of elements of $\mathbb{Q} \cap [0,1]$. Since the rationals are dense, $\bigcup_{i=1}^{\infty} B_{2^{-i-2}}(q_i)$ covers [0,1].
$\int_{[0,1]} f = 1$. But $\sum_{i=1}^{\infty} \int_{B_{2^{-i-2}}(q_i) \cap [0,1]} f < \sum_{i=1}^{\infty} m(B_{2^{-i-2}}(q_i)) = \sum_{i=1}^{\infty} 2^{-i-2} = \frac{1}{2} < 1$.
Is this correct (i.e., is it actually a counterexample to countable subadditivity?)? Can you think of a better/simpler counterexample?
Edit: Can you explain where my counterexample goes wrong?