In Discrete mathematics, rule of sum says that "If a first task can be performed in $m$ ways and another can be performed in $n$ ways and two task be independent, then whole work can accomplished in $m+n$ ways".
Now consider this statement: "If $\{A_n\}$ is a sequence of pairwise disjoint subsets of $\mathbb{N}$ and $A=\bigcup_{n=1}^\infty A_n$, then $$\sum_{k\in A} a_k = \sum_{n=1}^\infty\left(\sum_{k\in A_n}a_k\right)$$ where $a_k\ge 0,\forall k$ is hold.".
How i can proof this statement?
P.S.: Question material can be found on: "Principles of Real Analysis, Charalambos D. Aliprantis, 3rd Edition, p. 102, Exc.1".