1 Introduction

Let X be a real vector space and let \(f:X\rightarrow \mathbb {R}\) satisfy the following condition:

$$\begin{aligned} f(x+y)-f(x)-f(y)\in \mathbb {Z}\;\;\text{ for }\;\;x,y\in X, \end{aligned}$$
(1)

where \(\mathbb {Z}\) denotes the set of all integers.

The Cauchy difference has been studied by lots of authors in connection with the stability problem of the Cauchy equation. Thanks to the van der Corput Theorem (see [15, p. 64]) and its extension due to Baron and Volkmann [4, Theorem 1] the following result is proved.

Theorem 1

[4, Corollary 2] If \(\gamma \in (0,\frac{1}{4})\), \(f:X\rightarrow \mathbb {R}\) satisfies (1) and \(D\subset X\) is a set such that

$$\begin{aligned} \mathrm { int\,}(D-D)\ne \emptyset \end{aligned}$$
(2)

and

$$\begin{aligned} f(D)\subset (-\gamma ,\gamma )+\mathbb {Z}, \end{aligned}$$
(3)

then there exists a continuous linear functional \(L:X\rightarrow \mathbb {R}\) satisfying

$$\begin{aligned} f(x)-L(x)\in \mathbb {Z}\;\;\text{ for }\;\;x\in X. \end{aligned}$$
(4)

By the Steinhaus-Pettis Theorem (see [13, 14], and also [12, Theorems 2.9.1 and 3.7.1]) non-meager sets with the Baire property in a real topological vector space as well as sets of positive Lebesgue measure in \(\mathbb {R}^n\) are natural examples of sets satisfying (2).

Other examples of such sets in an abelian Polish group are Christensen measurable but not Christensen zero sets and universally Baire non-Haar-meager sets.

The definition of a Christensen zero set in an abelian Polish group X was introduced in 1972 by Christensen [6] and is based on the notion of a universally measurable set, i.e. a set which is measurable with respect to the completion of the Borel field with respect to the family of all probability measures on X.

Definition 1

A subset A of an abelian Polish group X is called a Christensen zero set provided there are a universally measurable set \(B\subset X\) with \(A\subset B\) and a Borel probability measure \(\mu \) on X such that \(\mu (x+B)=0\) for all \(x\in X.\)

Over forty years later Darji [7] introduced another family of “small” sets in an abelian Polish group X, called by him Haar-meager, using the \(\sigma \)-field of Borel sets. But it is easy to check that all results from [7] hold if we replace the \(\sigma \)-field of Borel sets by the larger \(\sigma \)-field of all universally Baire sets.

Let us recall that a set \(D\subset X\) is called universally Baire (see e.g. [1, 8]) if for every compact Hausdorff metric space K and every continuous function \(f:K\rightarrow X\) the set \(f^{-1}(D)\) has the Baire property in K.

Definition 2

A subset A of an abelian Polish group X is called Haar-meager if there are a universally Baire set \(B\subset X\) with \(A\subset B,\) a compact metric space K and a continuous function \(f:K\rightarrow X\) such that \(f^{-1}(B+x)\) is meager in K for every \(x\in X\).

In a locally compact abelian Polish group Definitions 1 and 2 coincide with definitions of sets of Haar measure zero and meager sets, respectively. That is why we can say that the notion of a Haar-meager set is a topological analogue to the notion of a Christensen zero set in an abelian Polish group (some similarities can be found e.g. in [2, 11]).

In view of Christensen’s result [6, Theorem 2] condition (2) holds for every universally measurable set which is not a Christensen zero set, and consequently, following Fischer and Słodkowski [9] (who introduced the notion of a Christensen measurable set as a set which is a union of a universally measurable set and a Christensen zero one), (2) also holds for every Christensen measurable set which is not a Christensen zero set. It turns out that universally Baire non-Haar-meager sets satisfy (2), too (see [10, Theorem 2] Footnote 1). Consequently, from Theorem 1 we get the following result.

Corollary 2

Assume that one of the following conditions is valid:

  1. (i)

    X is a real topological vector space and \(D\subset X\) is a non-meager set with the Baire property;

  2. (ii)

    X is a real Polish vector space and \(D\subset X\) is a Christensen measurable set which is not a Christensen zero set Footnote 2;

  3. (iii)

    X is a real Polish vector space and \(D\subset X\) is a universally Baire non-Haar-meager set.

If \(f:X\rightarrow \mathbb {R}\) satisfies (1) and condition (3) holds with \(\gamma \in (0,\frac{1}{4})\), then there exists a unique Footnote 3 continuous linear functional \(L:X\rightarrow \mathbb {R}\) satisfying (4).

It turns out that in Theorem 1\(\gamma \) can not be increased to \(\frac{1}{4}\). More precisely, there exist a discontinuous additive function \(f:\mathbb {R}\rightarrow \mathbb {R}\) and a set \(D\subset \mathbb {R}\) such that (2) and (3) with \(\gamma =\frac{1}{4}\) hold (see [4, Remark 1]).

Nonetheless, Brzdȩk [5] directly proved a stronger result than Corollary (i),(ii) (where (3) holds for \(\gamma =\frac{1}{3}\)).

Theorem 3

[5, Theorem 2, Corollary 3] Assume that one of the following conditions is valid:

  1. (i)

    X is a real Polish vector space and \(D\subset X\) is a Christensen measurable set which is not a Christensen zero set;

  2. (ii)

    X is a real topological vector space and \(D\subset X\) is a non-meager set with the Baire property.

If \(f:X\rightarrow \mathbb {R}\) satisfies (1) and condition (3) holds with \(\gamma =\frac{1}{3}\), then there exists a unique linear functional \(L:X\rightarrow \mathbb {R}\) satisfying (4).

The following natural question arises.

Question 1

What about a topological counterpart to Theorem 3(i)? More precisely: can Corollary (iii) be generalized to the case when (3) holds for \(\gamma =\frac{1}{3}\)?

The aim of the paper is to answer these questions. We prove Theorem 3 assuming the very condition (iii) of Corollary . Our result also generalizes, to some extent, Theorem 3(ii).

2 Preliminaries

In the beginning let us recall two technical lemmas proved by Brzdȩk in [5].

Lemma 4

[5, Lemma 1] Let X be a real vector space, \(\emptyset \ne D\subset X\) and \(f:X\rightarrow \mathbb {R}\) be a function satisfying (1) and

$$\begin{aligned} f(D)\subset \left( -\frac{1}{3},\frac{1}{3}\right) +\mathbb {Z}. \end{aligned}$$
(5)

Then

$$\begin{aligned} f\left( \Big (\frac{1}{2}D\Big )\cap D\right) \subset \left( -\frac{1}{6},\frac{1}{6}\right) +\mathbb {Z}. \end{aligned}$$

Lemma 5

[5, Lemma 2] Let X be a real vector space, \(\emptyset \ne D\subset X\) and \(f:X\rightarrow \mathbb {R}\) be a function satisfying (1) and (5). Let \(x_0\in D\) and \(D_0:=D-x_0\). The following two conditions are valid:

  1. (i)

    if \(f(x_0) \in \Big (-\frac{1}{6},\frac{1}{6}\Big )+\mathbb {Z}\), then

    $$\begin{aligned} f(-D_0\cap D_0) \subset \Big (-\frac{1}{3},\frac{1}{3}\Big )+\mathbb {Z}; \end{aligned}$$
  2. (ii)

    if \(f(x_0)\in ((-\frac{1}{3},-\frac{1}{6}]\cup [\frac{1}{6},\frac{1}{3}))+\mathbb {Z}\), then

    $$\begin{aligned} f(2(-D_0\cap D_0))\subset \Big (-\frac{1}{3},\frac{1}{3}\Big )+\mathbb {Z}. \end{aligned}$$

We also need the definition of an algebraically interior point.

Definition 3

Let X be a real vector space. We say that \(x\in X\) is an algebraically interior point of a set \(D\subset X\), if for every \(z\in X\setminus \{0\}\) there is \(c>0\) such that \(x+az\in D\) for every \(a\in (-c,c)\).

In [5] Brzdȩk proved the following result which will be useful in the sequel.

Proposition 6

[5, Corollary 1, Remark 1] Let X be a real vector space, \(D\subset X\) be a set possessing an algebraically interior point and \(f:X\rightarrow \mathbb {R}\) be a function satisfying (1) and (3) with \(\gamma \in (0,\frac{1}{2})\). Then there exists a unique linear functional \(L:X\rightarrow \mathbb {R}\) such that condition (4) holds.

3 The main result

Now, we are ready to prove a topological analog to Theorem 3(i).

Theorem 7

Let X be a real Polish vector space and \(D\subset X\) be a universally Baire non-Haar-meager set. If \(f:X\rightarrow \mathbb {R}\) is a function satisfying (1) and (5), then there exists a unique linear functional \(L:X\rightarrow \mathbb {R}\) fulfilling (4).

Proof

First we prove that there exists a set \(A\subset X\) such that 0 is an algebraically interior point of \(A-A\) and

$$\begin{aligned} f(A)\subset \left( -\frac{1}{6},\frac{1}{6}\right) +\mathbb {Z}. \end{aligned}$$
(6)

To this end fix \(x\in X\setminus \{0\}\). Choose a compact interval \(I\subset \mathbb {R}\) and define \(k_x:\mathbb {R}\rightarrow X\) by \(k_x(t)=tx\) for \(t\in \mathbb {R}\). Since D is a universally Baire non-Haar-meager set, for the continuous function \(f_x:=k_x|_I\) mapping I into X there exists \(y_x\in X\) such that the set \(k_x^{-1}(D+y_x)\cap I=f_x^{-1}(D+y_x)\) is not meager and has the Baire property in I; consequently \(T_x:=k_x^{-1}(D+y_x)\) is not meager and has the Baire property in \(\mathbb {R}\). It means that \(T_x=(U_x\setminus I_x)\cup J_x\) for some non-empty open set \(U_x\subset \mathbb {R}\) and meager sets \(I_x,J_x\). Put \(S_x:=U_x\setminus I_x\subset T_x\). Clearly, \(T_xx-y_x\subset D\) so, according to (5),

$$\begin{aligned} f(S_xx-y_x)\subset f(T_xx-y_x)\subset f(D)\subset \left( -\frac{1}{3},\frac{1}{3}\right) +\mathbb {Z}. \end{aligned}$$

Choose \(c_x\in S_x\); hence \(f(c_xx-y_x)\subset (-\frac{1}{3},\frac{1}{3})+\mathbb {Z}.\) Then, by Lemma 5 (with \(D=S_xx-y_x\) and \(x_0=c_xx-y_x\)), we obtain:

  1. (i)

    if \(f(c_xx-y_x)\in (-\frac{1}{6},\frac{1}{6})+\mathbb {Z}\), then

    $$\begin{aligned} f([(S_x-c_x)\cap (-S_x+c_x)]x)\subset \left( -\frac{1}{3},\frac{1}{3}\right) +\mathbb {Z}; \end{aligned}$$
  2. (ii)

    if \(f(c_xx-y_x)\in (-\frac{1}{3},-\frac{1}{6}]\cup [\frac{1}{6},\frac{1}{3})+\mathbb {Z}\), then

    $$\begin{aligned} f(2[(S_x-c_x)\cap (-S_x+c_x)]x)\subset \left( -\frac{1}{3},\frac{1}{3}\right) +\mathbb {Z}. \end{aligned}$$

Now, put

$$\begin{aligned} W_x:=\left\{ \begin{array}{ll} (S_x-c_x)\cap (-S_x+c_x), &{} \text{ if } f(c_xx-y_x)\in \Bigg (-\frac{1}{6},\frac{1}{6}\Bigg )+\mathbb {Z};\\ 2[(S_x-c_x)\cap (-S_x+c_x)], &{} \text{ if } f(c_xx-y_x)\in \Bigg (-\frac{1}{3},-\frac{1}{6}\Big ]\cup \Big [\frac{1}{6},\frac{1}{3}\Bigg )+\mathbb {Z}. \end{array}\right. \end{aligned}$$

Since

$$\begin{aligned} V_x:=\left\{ \begin{array}{ll} (U_x-c_x)\cap (-U_x+c_x), &{} \text{ if } f(c_xx-y_x)\in \Bigg (-\frac{1}{6},\frac{1}{6}\Bigg )+\mathbb {Z};\\ 2[(U_x-c_x)\cap (-U_x+c_x)], &{} \text{ if } f(c_xx-y_x)\in \Bigg (-\frac{1}{3},-\frac{1}{6}\Big ]\cup \Big [\frac{1}{6},\frac{1}{3}\Bigg )+\mathbb {Z} \end{array}\right. \end{aligned}$$

is a symmetric neighbourhood of 0, \(W_x\cap V_x\) is co-meager in \(V_x\). Hence \(W_x\) is a non-meager set with the Baire property in \(\mathbb {R}\) and

$$\begin{aligned} f(W_xx)\subset \left( -\frac{1}{3},\frac{1}{3}\right) +\mathbb {Z}. \end{aligned}$$

Now, let \(A_x:=W_x\cap \left( \frac{1}{2}W_x\right) \). Clearly, \(A_x\cap (\frac{1}{2}V_x)\) is co-meager in \(\frac{1}{2}V_x\subset V_x\). Thus \(A_x\) is a non-meager set with the Baire property in \(\mathbb {R}\) and, by the Pettis Lemma (see [13, Corollary 5]), \(0\in \mathrm { int\,}_{\mathbb {R}}(A_x-A_x)\). Consequently, 0 is the algebraically interior point of the set \(A-A\), where \(A:=\bigcup _{x\in X\setminus \{0\}}A_xx\).

Moreover, in view of Lemma 4 (with \(D=W_xx\)),

$$\begin{aligned} f(A_xx)\subset \left( -\frac{1}{6},\frac{1}{6}\right) +\mathbb {Z} \end{aligned}$$

and condition (6) holds, which ends the proof of the first step.

Further, setting \(x=y=0\) and next \(y=-x\) in (1), we get \(f(0)\in \mathbb {Z}\) and hence

$$\begin{aligned} f(x)+f(-x)\in \mathbb {Z}\;\;\text{ for }\;\;x\in X. \end{aligned}$$

Thus

$$\begin{aligned} f(A-A)\subset f(A)-f(A)+\mathbb {Z}\subset \left( -\frac{1}{3},\frac{1}{3}\right) +\mathbb {Z} \end{aligned}$$

and, in view of Proposition 6, we obtain the thesis. \(\square \)

In [7] Darji proved that every Haar-meager set is meager, but the converse implication holds if and only if the abelian Polish group considered is locally compact. That is why Theorem 7 generalizes, to some extent, Theorem 3(ii).

4 An application to functionals which are orthogonally additive modulo \(\mathbb {Z}\)

Let us recall the following result of Brzdȩk.

Theorem 8

[5, Theorem 3] Let \((X,\langle \cdot ,\cdot \rangle )\) be a real inner product space with \(\dim X>1\). Assume also that one of the following conditions holds:

  1. (i)

    X is a Polish space and \(D\subset X\) is a Christensen measurable set which is not a Christensen zero set,

  2. (ii)

    \(D\subset X\) is a non-meager set with the Baire property.

If \(f:X\rightarrow \mathbb {R}\) is a functional satisfying

$$\begin{aligned} f(x+y)-f(x)-f(y)\in \mathbb {Z}\;\;\text{ for } \text{ all } \;\;x,y\in X \;\;\text{ with }\;\;\langle x,y\rangle =0 \end{aligned}$$
(7)

and

$$\begin{aligned} f(D)\subset \left( -\frac{1}{6},\frac{1}{6}\right) +\mathbb {Z}, \end{aligned}$$
(8)

then there exists a unique linear functional \(L:X\rightarrow \mathbb {R}\) and a unique \(\alpha \in \mathbb {R}\) with

$$\begin{aligned} f(x)-\alpha \Vert x\Vert ^2-L(x)\in \mathbb {Z}\;\;\text{ for }\;\;x\in X. \end{aligned}$$
(9)

Now, in exactly the same way as in the proof of Theorem 8 (see [5, the proof of Theorem 3]) we can derive a topological counterpart to Theorem 8(i).

Corollary 9

Let \((X,\langle \cdot ,\cdot \rangle )\) be a real inner product space with \(\dim X>1\) and \(D\subset X\) be a universally Baire non-Haar-meager set. If \(f:X\rightarrow \mathbb {R}\) is a functional satisfying (7) and (8), then there exists a unique linear functional \(L:X\rightarrow \mathbb {R}\) and a unique \(\alpha \in \mathbb {R}\) with (9).

Since each non-meager set is non-Haar-meager, Corollary 9 in some sense generalizes Theorem 8(ii). Moreover, it also refers to [3, Corollary 1] due to Baron and Forti.