Let $f: S\times T \to [0,\infty[$ be a function. I wish to show that
$$\sum_{(s,t)\in S\times T} f(s,t)=\sum_{s\in S}\sum_{t\in T} f(s,t)$$
I know that in general we have $$\int_X g d\mu =\sum_{x\in X} g(x)$$ for a function $g$ defined on $X$ where $\mu$ denotes the counting measure and the theorem then follows by Fubini-Tonelli if we ask that $S,T$ are countable so that our measures are $\sigma$-finite.
But is there a way to get this result if S or T is uncountable?
If an uncountable sum $\sum a_i$ of non-negative numbers is finite then all but countably many terms are $0$. Using this you can see that if either side of the equation is finite then $f(s,t)=0$ except for countably many pairs $(s,t)$ so the uncountable case can also be proved using Tonelli's Theorem.