Let q be a natural number divisible by all the primes up to |F|, such that qf \in \mathbb{Z}^2 for all f \in F\cap \mathbb{Q}^2. By Theorem 1.2(ii), we have a decomposition
{\bf 1}_{\mathbb{T}^2} =_{\mathrm{a.e.}} \sum_{f \in F \cap \mathbb{Q}^2} {\bf 1}_{f+A} + \sum_{f \in F \backslash \mathbb{Q}^2} \varphi_f
where for each f \in F \backslash \mathbb{Q}^2, \varphi_f \colon \mathbb{T}^2 \to [0,1] is qf-invariant and has mean \mu(A)=1/|F|.
For each f \in F \backslash \mathbb{Q}^2, some integer multiple kqf of f lies in the subtorus
\langle h_f \rangle^\perp \coloneqq \{ x \in \mathbb{T}^2: h_f \cdot x = 0 \}.
Since f \not \in \mathbb{Q}^2, the translation action of kqf is ergodic on this subtorus. We conclude that \varphi_f is in fact \langle h_f \rangle^\perp-invariant. If we then define
\Phi_1 \coloneqq \sum_{f \in F \backslash \mathbb{Q}^2: h_f = \pm h_{f_1}} \varphi_f
then \Phi_1 is also \langle h_{f_1} \rangle^\perp-invariant. On reducing (Proof) modulo one, we have
0 =_{\mathrm{a.e.}} \Phi_1 + \sum_{f \in F_1} \varphi_f \hbox{ mod } 1,
where F_1 consists of those f \in F \backslash \mathbb{Q}^2 with h_f \neq \pm h_{f_1}. To eliminate the \varphi_f terms we introduce the difference operators
\partial_v g(x) \coloneqq g(x) - g(x-v)
for any g \colon \mathbb{T}^2 \to \mathbb{T} and v \in \mathbb{T}^2. Observe that these operators \partial_v commute with each other. If f \in F_1 we have
\langle h_f \rangle^\perp + \langle h_{f_1} \rangle^\perp = \mathbb{T}^2
and hence if g_f \in \mathbb{T}^2 we may decompose g_f = g'_f + g''_f where g'_f \in \langle h_f \rangle^\perp and g''_f \in \langle h_{f_1} \rangle^\perp. We then obtain the identities
\partial_{g'_f} \Phi_1 =_{\mathrm{a.e.}} \partial_{g_f} \Phi_{1}
and
\partial_{g'_f} \varphi_f =_{\mathrm{a.e.}} 0.
If one then applies each of the operators \partial_{g'_f} in turn to (?) for f \in F_1 to eliminate the \varphi_f terms, we conclude that
\left(\prod_{f \in F_1} \partial_{g_f}\right) \Phi_{1} =_{\mathrm{a.e.}} 0 \hbox{ mod } 1
whenever g_f \in \mathbb{T}^2. Since \Phi_{1} is \langle h_{f_1} \rangle^\perp-invariant, we may write
\Phi_{1}(x) =_{\mathrm{a.e.}} \tilde \Phi_1(h_{f_1} \cdot x) \hbox{ mod } 1
for some measurable function \tilde \Phi_1 \colon \mathbb{T} \to \mathbb{T}, and then we have
\partial_{\alpha_1} \dots \partial_{\alpha_{|F_1|}} \tilde \Phi_{1} =_{\mathrm{a.e.}} 0
for all \alpha_1,\dots,\alpha_{|F_1|} \in \mathbb{T}. We claim that this implies that \tilde \Phi_1 is a linear function(See also [Austin] for an extensive study on factorization of solutions to partial difference equations in compact abelian groups (such as (?)).)
\tilde \Phi_1(x) = n_1x + \theta_1
for some integer n_1 and \theta_1 \in \mathbb{T}, and almost all x \in \mathbb{T}. We prove this by induction on the number |F_1| of derivatives. For |F_1| \leq 1, \tilde \Phi_{1} is necessarily constant almost everywhere and the claim follows. If |F_1| > 1, then by induction hypothesis, we see that for every \alpha \in \mathbb{T} there exists an integer n_\alpha and \theta_\alpha \in \mathbb{T} such that
\partial_\alpha \tilde \Phi_{1}(x) = n_\alpha x + \theta_\alpha
for almost every x \in \mathbb{T}. As \alpha \to 0, the continuity of translation in the strong operator topology shows that e^{2\pi i \partial_\alpha \tilde \Phi_{1}} converges in L^2(\mathbb{T}) to the constant 1, and hence n_\alpha must vanish for \alpha sufficiently close to the origin. Using the cocycle identity
\partial_{\alpha+\beta} \tilde \Phi_{1}(x) =
\partial_{\alpha} \tilde \Phi_{1}(x) + \partial_{\beta} \tilde \Phi_{1}(x-\alpha)
and induction we conclude that n_\alpha vanishes for all \alpha. This argument also shows that the map \alpha \mapsto \theta_\alpha is a continuous homomorphism from \mathbb{T} to \mathbb{T}, and is thus of the form \theta_\alpha = n_1\alpha for some integer n_1. The function \tilde \Phi_{1}(x) - n_1x is then almost everywhere constant (since all of its derivatives vanish almost everywhere), and the claim follows. In particular we have
\Phi_{1}(x) = n_1 h_{f_1} \cdot x + \theta_1 \hbox{ mod } 1
for almost all x \in \mathbb{T}^2.
Now suppose for contradiction that h_{f_2} \neq \pm h_{f_1}. If we set
\Phi_{2} \coloneqq \sum_{f \in F \backslash \mathbb{Q}^2: h_f = \pm h_{f_2}} \varphi_f
then by repeating the previous arguments, we can find an integer n_2 and \theta_2 \in \mathbb{T} such that
\Phi_{2}(x) = n_2 h_{f_2} \cdot x + \theta_2 \hbox{ mod } 1
for almost all x \in \mathbb{T}^2.
On the other hand, from (Proof) we have
\Phi_{1}(x) + \Phi_{2}(x) \leq 1
for almost all x \in \mathbb{T}^2. Since \Phi_{1} is \langle h_{f_1} \rangle^\perp-invariant, and \Phi_{2} is \langle h_{f_2} \rangle^\perp-invariant, and every coset of \langle h_{f_1} \rangle^\perp intersects every coset of \langle h_{f_2} \rangle^\perp, we have
\| \Phi_{1} \|_{L^\infty(\mathbb{T}^2)} + \| \Phi_{2} \|_{L^\infty(\mathbb{T}^2)} = \| \Phi_{1} + \Phi_{2} \|_{L^\infty(\mathbb{T}^2)} \leq 1.
We conclude that for some i=1,2 we have
\| \Phi_{i} \|_{L^\infty(\mathbb{T}^2)} \leq 1/2.
Comparing this with (?) or (?) we conclude that n_i must vanish, and \Phi_{i} is equal almost everywhere to a constant c_i. Since \Phi_{i} \geq \varphi_{f_i} and \varphi_{f_i} has mean 1/|F|, we have c_i \geq 1/|F|. From (Proof) we then have the inequality
{\bf 1}_{\mathbb{T}^2} \geq {\bf 1}_A + 1/|F|
almost everywhere, but this contradicts the positive measure of A. Hence h_{f_1} = \pm h_{f_2} as required.