I've read the following assertions:
" Suppose $f \in L^2(\mathbb{R}). $ Then $$ \int_{-\frac{1}{2}}^{\frac{1}{2}} \sum_{k \in \mathbb{Z}} \vert f(x+k) \vert^2 dx = \int_{-\infty}^{\infty} \vert f(x) \vert^2 dx < \infty. $$ Thus, $ \sum_{k \in \mathbb{Z}} \vert f(x+k) \vert^2 < \infty $ for $a.e. x\in \mathbb{R}.$ "
Why exactly does the given equality between the two integrals hold and what property or theorem gives the convergence of the sum?