Proof. Write \(F_i(t) \stackrel{\text{def}}{=}\Pr(X_i \le t)\) for the CDF of \(X_i\).
Only if: the CDF determines the PMF through its jumps. Choose an index \(i\) and a value \(x\) of \(X_i\). Every number below \(x\) lies in exactly one of the intervals \((-\infty, x - 1]\), \((x - 1, x - \tfrac{1}{2}]\), \((x - \tfrac{1}{2}, x - \tfrac{1}{3}]\), \(\ldots\), so the event \({\mathopen{}\left\{X_i < x\right\}\mathclose{}}\) is the disjoint union of the events \(B_1 \stackrel{\text{def}}{=}{\mathopen{}\left\{X_i \le x - 1\right\}\mathclose{}}\) and \(B_k \stackrel{\text{def}}{=}{\mathopen{}\left\{x - \tfrac{1}{k - 1} < X_i \le x - \tfrac{1}{k}\right\}\mathclose{}}\) for \(k \ge 2\), and for each \(K\), the events \(B_1, \ldots, B_K\) have union \({\mathopen{}\left\{X_i \le x - \tfrac{1}{K}\right\}\mathclose{}}\):
\[
\begin{aligned}
\Pr(X_i < x)
&= \sum_{k=1}^{\infty} \Pr(B_k)
&& \text{(countable additivity)} \\
&= \lim_{K \to \infty} \sum_{k=1}^{K} \Pr(B_k)
&& \text{(definition of an infinite series)} \\
&= \lim_{K \to \infty} \Pr(X_i \le x - \tfrac{1}{K})
&& \text{(finite additivity)} \\
&= \lim_{K \to \infty} F_i(x - \tfrac{1}{K})
&& \text{(definition of the CDF)}
\end{aligned}
\]
The event \({\mathopen{}\left\{X_i \le x\right\}\mathclose{}}\) is the disjoint union of \({\mathopen{}\left\{X_i < x\right\}\mathclose{}}\) and \({\mathopen{}\left\{X_i = x\right\}\mathclose{}}\), so:
\[
\begin{aligned}
\mathbb{P}(X_i = x)
&= \Pr(X_i \le x) - \Pr(X_i < x)
&& \text{(finite additivity)} \\
&= F_i(x) - \Pr(X_i < x)
&& \text{(definition of the CDF)} \\
&= F_i(x) - \lim_{K \to \infty} F_i(x - \tfrac{1}{K})
&& \text{(the display above)} \\
&= F_1(x) - \lim_{K \to \infty} F_1(x - \tfrac{1}{K})
&& \text{(} F_i = F_1 \text{)} \\
&= \mathbb{P}(X_1 = x)
&& \text{(the same two steps, for } X_1 \text{)}
\end{aligned}
\]
If: the PMF determines the CDF through sums. Let \(S\) be the set of values \(u\) with \(\mathbb{P}(X_1 = u) > 0\). Since the PMFs are equal, \(S\) is also the set of \(u\) with \(\mathbb{P}(X_i = u) > 0\), so \(S \subseteq \mathcal{R}(X_i)\) and \(S \subseteq \mathcal{R}(X_1)\). For every real \(t\), the event \({\mathopen{}\left\{X_i \le t\right\}\mathclose{}}\) is the disjoint union of the events \({\mathopen{}\left\{X_i = u\right\}\mathclose{}}\) over the countably many \(u \in \mathcal{R}(X_i)\) with \(u \le t\), so:
\[
\begin{aligned}
F_i(t)
&= \sum_{u \in \mathcal{R}(X_i),\, u \le t} \mathbb{P}(X_i = u)
&& \text{(countable additivity)} \\
&= \sum_{u \in S,\, u \le t} \mathbb{P}(X_i = u)
&& \text{(drop the terms that are } 0 \text{)} \\
&= \sum_{u \in S,\, u \le t} \mathbb{P}(X_1 = u)
&& \text{(the PMFs are equal)} \\
&= \sum_{u \in \mathcal{R}(X_1),\, u \le t} \mathbb{P}(X_1 = u)
&& \text{(restore the terms that are } 0 \text{)} \\
&= F_1(t)
&& \text{(countable additivity)}
\end{aligned}
\]