1 Introduction

What is the maximal upper density of a measurable planar set A with no two points at distance 1? This 40-year-old question has attracted some attention recently, with a sequence of progressively improving estimates, the strongest of which currently being that of Bellitto et al. [3], who gave the upper estimate 0.25646. In the present article, we provide the new upper bound of 0.25442, getting enticingly close to the upper estimate of 0.25 conjectured by Erdős. Our argument builds on the Fourier analytic method of [8]. The main new ingredient is to estimate certain triple-order correlations in A which lead to new linear constraints for the autocorrelation function f corresponding to A.

Let A be a Lebesgue measurable, 1-avoiding set in \(\mathbb {R}^2\), that is, a measurable subset of the plane containing no two points at distance 1. Denote by \(m_1(\mathbb {R}^2)\) the supremum of possible upper densities of such sets A (for the rigorous definition, see Sect. 2). Erdős conjectured in [6] that \(m_1(\mathbb {R}^2)\) is less than 1/4, a conjecture that has been open ever since.

One of the easiest upper bounds for \(m_1(\mathbb {R}^2)\) is 1/3, shown by the fact that A may contain at most one of the vertices of any regular triangle of edge length 1. This simple idea was strengthened by Moser [9] using a special unit distance graph, the Moser spindle, implying that \(m_1(\mathbb {R}^2) \le 2/7 \approx 0.285\). Székely [11] improved the upper bound to \(\approx 0.279\). Applying Fourier analysis and linear programming Oliveira Filho and Vallentin [10] proved that \(m_1(\mathbb {R}^2) \le 0.268\), which was further improved to \(\approx 0.259\) by Keleti et al. [8]. Recently, Bellitto et al. [3] (see also Bellitto [2]) used a purely combinatorial argument—based on the fractional chromatic number of finite graphs—to reach the currently best known bound of 0.25646, by constructing a large unit distance graph inspired by the work of de Grey [7] on the chromatic number of the unit distance graph of \(\mathbb {R}^2\). We revert here to the Fourier analytic method and prove the following improved bound, getting tantalizingly close to the conjecture of Erdős.

Theorem 1.1

Any Lebesgue measurable, 1-avoiding planar set has upper density at most 0.25442.

Despite considerable efforts, these upper bounds are still very far from the largest lower bound for \(m_1(\mathbb {R}^2)\), that is, 0.22936, which is given by a construction of Croft [4]. The question may be formulated in higher dimensions as well. The articles of Bachoc et al. [1] and of DeCorte et al. [5] contain detailed historical accounts and a complete overview of recent results in that direction. Perhaps the most famous related question is the Hadwiger–Nelson problem about the chromatic number \(\chi (\mathbb {R}^2)\) of the plane: how many colours are needed to colour the points of the plane so that there is no monochromatic segment of length 1? Recently, de Grey [7] proved that \(\chi (\mathbb {R}^2) \ge 5\), a result which stirred up interest in this area.

2 Subgraph Constraints

Our proof is based on the techniques presented in [8] and [5], with an essential new ingredient of including triple-correlation constraints.

Let \(A\subset \mathbb {R}^2\) be a measurable, 1-avoiding set. The upper density of A, denoted by \(\overline{\delta (A)}\), is given by

$$\begin{aligned} \overline{\delta (A)} = \limsup _{R \rightarrow \infty } \frac{\lambda _2(A \cap D(x, R))}{\lambda _2(D(x, R))}, \end{aligned}$$

where \(\lambda _2\) is the planar Lebesgue measure, and D(xR) denotes the disc of radius R centered at x. The upper density is independent of the choice of \(x\in \mathbb {R}^2\). In case the limit of the above quantity also exists, we call it the density of A, denoted by \(\delta (A)\):

$$\begin{aligned} \delta (A) = \lim _{R \rightarrow \infty } \frac{\lambda _2(A \cap D(x, R))}{\lambda _2(D(x, R))}, \end{aligned}$$

which is again known to be independent of x. Our goal is to estimate

$$\begin{aligned} m_1(\mathbb {R}^2) = \sup { \{ \overline{\delta (A)} :A\subset \mathbb {R}^2 \text { is 1-avoiding and measurable} \}} \end{aligned}$$

from above.

Due to a trivial argument with taking limits [8], we may assume that A is periodic with respect to a lattice \(L \subset \mathbb {R}^2\), i.e., \(A = A+L\). Measurable periodic sets always have densities. Moreover, \(m_1(\mathbb {R}^2)\) may be approximated arbitrarily well by densities of 1-avoiding, measurable, periodic sets [10]. Therefore, we may restrict ourselves to this class when estimating \(m_1(\mathbb {R}^2)\). The autocorrelation function \(f:\mathbb {R}^2 \rightarrow \mathbb {R}\) of A is defined by

$$\begin{aligned} f(x) = \delta (A \cap (A-x)). \end{aligned}$$
(1)

Then \(\delta (A) = f(0)\), and the fact that A is 1-avoiding translates to the condition that \(f(x)=0\) for all unit vectors x.

To introduce some further notations, assume that C is a finite set of points in the plane. \(\left( {\begin{array}{c}C\\ i\end{array}}\right) \) will denote the set of i-tuples of distinct points of C. Further, let

$$\begin{aligned} \Sigma _i(C)= & {} \sum \limits _{\{x_1, \ldots , x_i \}\in \left( {\begin{array}{c}C\\ i\end{array}}\right) } \!\!\delta ( (A - x_1)\cap \ldots \cap (A - x_i)), \end{aligned}$$
(2)
$$\begin{aligned} \Sigma _i^\circ (C)= & {} \sum \limits _{\{x_1, \ldots , x_i \}\in \left( {\begin{array}{c}C\\ i\end{array}}\right) } \!\!\delta ( A \cap (A - x_1)\cap \ldots \cap (A - x_i)). \end{aligned}$$
(3)

By convention, \(\Sigma _0 (C)=1\) and \(\Sigma _0^\circ (C) = f(0)\). Note also that \(\Sigma _1 (C)= |C|f(0)\), and \(\Sigma _1^\circ (C)= \sum _{x \in C} f(x)\). Obviously,

$$\begin{aligned} \Sigma _i^\circ (C)\le \Sigma _i (C) \end{aligned}$$
(4)

holds for every i.

The estimate for \(m_1(\mathbb {R}^2)\) of Keleti et al. [8] relies on the following lemma. A graph is called a unit distance graph if its vertex set is a subset of \(\mathbb {R}^2\), and its edges are given by the pairs of points being at distance 1. The independence number (i.e., the maximal number of independent vertices) of a graph G is denoted by \(\alpha (G)\). For simplicity, if not specified otherwise, we denote the vertex set of a graph G by the same letter G, while the set of edges is denoted by E(G).

Lemma 2.1

([10, 11] (cf. also [8])) Let f be the autocorrelation function of a measurable, periodic, 1-avoiding set \(A \subset \mathbb {R}^2\), as defined in (1). Then:

  1. (C0)

    \(f(x) = 0\) for every \(x \in \mathbb {R}^2\) with \(|x|=1\).

  2. (C1)

    If G is a finite unit distance graph, then

    $$\begin{aligned} \sum _{x \in G} f(x) \le \alpha (G)f(0). \end{aligned}$$
  3. (C2)

    If \(C \subset \mathbb {R}^2\) is a finite set of points, then

    $$\begin{aligned} \sum _{\{x,y\} \in \left( {\begin{array}{c}C\\ 2\end{array}}\right) } \!\!f(x-y) \ge |C|f(0) -1. \end{aligned}$$

The constraint (C1) was first used by Oliveira and Vallentin [10], while Székely applied (C2) in [11].

We will need a relaxed version of Lemma 2.1, which appeared in [5, Sect. 7.1], called a subgraph constraint. As the actual formula is somewhat hard to extract from the discussion of [5], we include a short proof for convenience.

Lemma 2.2

Let G be a finite graph with independence number \(\alpha (G)\). Then

$$\begin{aligned} \sum _{x \in G} f(x) \,-\! \sum _{\{ x, y \} \in E(G)}\!\! f(x - y) \le \alpha (G)f(0). \end{aligned}$$
(C1R)

Note that we may recover condition (C1) of Lemma 2.1 by setting G to be a unit distance graph in C1R.

Proof

Consider the translated sets \(A-x\) for every \(x \in G\). For any point \(z \in A\) consider the function

$$\begin{aligned} g(z)=|\{x\in G: z\in (A-x)\}|-|\{\{x,y\}\in E(G): z\in (A-x)\cap (A-y)\}|. \end{aligned}$$

Loosely speaking, g(z) counts the number of times z is being covered by translates of A corresponding to vertices of G, minus the number of times it is covered by translates corresponding to edges of G. We claim that for each \(z\in A\), \(g(z)\le \alpha (G)\) holds. To see this, let \(v=|\{x\in G: z\in (A-x)\}|\) and \(e=|\{\{x,y\}\in E(G): z\in (A-x)\cap (A-y)\}|\), so that \(g(z)=v-e\). The vertices \(\{x\in G: z\in A-x\}\) span a subgraph \(G'\) of G. Let \(G_1, \dots , G_c\) denote the connected components of \(G'\). Clearly, the number of components satisfies \(c\le \alpha (G)\). Let \(v_i\) and \(e_i\) denote the number of vertices and edges in \(G_i\), respectively. We always have \(e_i\ge v_i -1\) (with equality holding if and only if \(G_i\) is a tree). Therefore,

$$\begin{aligned} e=e_1+\dots +e_c\ge (v_1-1)+\dots +(v_c-1)=v-c\ge v-\alpha (G), \end{aligned}$$

which proves \(g(z)\le \alpha (G)\). Integrating the inequality \(g(z)\le \alpha (G)\) over A (with an obvious limiting process, as A is unbounded), we obtain

$$\begin{aligned} \sum _{x\in G} \delta (A\cap (A-x)) \,-\! \sum _{\{ x, y \} \in E(G)}\!\! \delta (A\cap (A-x)\cap (A-y))\,\le \, \alpha (G)f(0). \end{aligned}$$

Finally, noting that \(\delta (A\cap (A-x))=f(x)\) and \(\delta (A\cap (A-x)\cap (A-y))\le \delta ((A-x)\cap (A-y)) =f(x-y)\), we obtain C1R.\(\square \)

3 Triple Correlations

We continue with estimates involving higher order correlations between the points of A. The proof of (C2), as in [8, 11], is based on the inclusion-exclusion principle:

$$\begin{aligned} 1&\,\ge \, \delta \left( \bigcup _{x \in C} (A - x) \right) \ge \sum _{x \in C} \delta (A - x)\, -\! \sum _{\{x,y\} \in \left( {\begin{array}{c}C\\ 2\end{array}}\right) }\!\! \delta ((A-x) \cap (A - y))\\&\,=\, |C| \delta (A) \,-\! \sum _{\{x,y\} \in \left( {\begin{array}{c}C\\ 2\end{array}}\right) }\!\! \delta (A \cap (A-(x-y))). \end{aligned}$$

Note that at the second inequality above, intersections of three or more sets are omitted. We will make use of the natural idea to take into account triple intersections, which is equivalent to studying the density of prescribed triangles in A. We will then use these estimates to obtain new linear constraints on the autocorrelation function f. First, we set an upper bound for triangle densities.

Lemma 3.1

Assume that \(G\subset \mathbb {R}^2\) is a finite unit distance graph with \(\alpha (G) \le 3\). Then

$$\begin{aligned} \Sigma _3(G) \,\le \, 1 - |G|f(0)\, +\! \sum _{\{x,y\} \in \left( {\begin{array}{c}G\\ 2\end{array}}\right) } \!\!f(x - y). \end{aligned}$$
(T1)

Proof

Since \(\alpha (G) \le 3\), \(\Sigma _i(G) = 0\) holds for every \(i \ge 4\). Thus, by the inclusion-exclusion principle,

$$\begin{aligned} 1 \,\ge \, \delta \left( \bigcup _{x \in G}( A - x)\right)&\,=\, \Sigma _1(G) - \Sigma _2(G) + \Sigma _3(G) \\&\,=\,|G|f(0)\, -\! \sum _{\{x,y\} \in \left( {\begin{array}{c}G\\ 2\end{array}}\right) } \!\!f(x - y) + \Sigma _3(G). \end{aligned}$$

\(\square \)

Next, we derive a lower bound for triangle densities.

Lemma 3.2

If G is a finite unit distance graph with \(\alpha (G) \le 3\), then

$$\begin{aligned} \Sigma _3(G) \ge \Sigma _3^\circ (G) \ge \sum _{x \in G}f(x) - 2 f(0). \end{aligned}$$
(T2)

Proof

The first inequality is trivial, as noted in (4). To see the second one, consider the sets \(G_x=A\cap (A-x)\) and take an arbitrary point \(z\in A\). The point z can be contained in at most three \(G_x\)’s, because \(\alpha (G)\le 3\). The total density of points covered by three \(G_x\)’s is exactly \(\Sigma _3^\circ (G)\). All other points in A are covered by at most two \(G_x\)’s. Also, the density of \(G_x\) is f(x), and \(\delta (A)=f(0)\), by definition. Therefore, \(\sum _{x \in G}f(x)\le 2 f(0)+\Sigma _3^\circ (G)\).\(\square \)

We now turn to defining the geometric configurations to which inequalities T1 and T2 will be applied. Note that while the statements of Lemmas 3.1 and 3.2 are fairly trivial, it is not straightforward to find some geometric configurations such that conditions T1 and T2 yield non-trivial new constraints on the autocorrelation function f(x). The search for such configurations is almost like looking for a needle in a haystack, and we cannot point out any general method to succeed.

Let \(\theta \in [0,2\pi ]\) and consider the following eight points in the plane (see Fig. 1): \(V_1=(0, 0)\), \(V_2=({\sqrt{3}}/{2},{1}/{2})\), \(V_3=({\sqrt{3}}/{2}, -{1}/{2})\), \(V_4=(\sqrt{3},0)\), \(V_5=(\cos \theta , \sin \theta )\), \(V_6=({\sqrt{3}}/{2} + \cos \theta ,{1}/{2} + \sin \theta )\), \(V_7=({\sqrt{3}}/{2} + \cos \theta , -{1}/{2} + \sin \theta )\), \(V_8=(\sqrt{3}+\cos \theta , \sin \theta )\). Consider the two unit distance graphs with vertex sets

Fig. 1
figure 1

The unit distance graphs \(G_1(\theta )\) and \(G_2(\theta )\) for \(\theta = 0\)

$$\begin{aligned} G_1= & {} G_1(\theta )=\{V_1, V_2, V_3, V_4, V_5, V_6, V_7\}\quad \text {and} \end{aligned}$$
(5)
$$\begin{aligned} G_2= & {} G_2(\theta )=\{V_1, V_2, V_3, V_4, V_6, V_7, V_8\}, \end{aligned}$$
(6)

and all pairs of vertices at distance 1 being connected with an edge. Notice that for all values of \(\theta \), both \(G_1\) and \(G_2\) have independence number \(\alpha =3\), and both of them contain the same two independent triangles: \((V_1, V_4, V_6)\) and \((V_1, V_4, V_7)\). Therefore, \(\Sigma _3(G_1)=\Sigma _3(G_2)\), which we commonly denote by \(\Sigma _3\). We apply Lemma 3.1 to \(G_1\) to obtain

$$\begin{aligned} \Sigma _3 \,\le \, 1 -7f(0) \,+\! \sum _{\{x,y\} \in \left( {\begin{array}{c}G_1\\ 2\end{array}}\right) } \!\!f(x - y), \end{aligned}$$

while Lemma 3.2 applied to \(G_2\) implies that

$$\begin{aligned} \Sigma _3\ge \sum _{x\in G_2} f(x)- 2f(0). \end{aligned}$$

Comparing these two estimates leads to

$$\begin{aligned} \sum _{x\in G_2} f(x)\,\le \, 1-5f(0) \,+\! \sum _{\{x,y\} \in \left( {\begin{array}{c}G_1\\ 2\end{array}}\right) }\!\! f(x - y). \end{aligned}$$
(CT)

This constraint turns out to be surprisingly powerful.

It is natural to wonder whether sharper bounds on \(m_1(\mathbb {R}^2)\) could be reached by imposing further conditions on f, possibly coming from 4-tuple, 5-tuple, etc., correlations of the set A. The answer is provided by Theorems 1.1 and 7.3 in [5], which state that if we write up all complete positivity constraints or all Boolean quadratic constraints on the function f, then the implied upper bound on the density of A will converge to \(m_1(\mathbb {R}^2)\). This means, in theory, that this method is guaranteed to succeed in proving the conjecture \(m_1(\mathbb {R}^2)<0.25\), if the inequality is true. In practice, however, the Boolean quadratic cone has so many facets even in relatively small dimensions that it is hopeless to add them all in any kind of numerical computation. For this reason, one is restricted to finding “clever” new constraints by geometric intuition, such as CT above. In comparison, we are not aware of such a theoretical guarantee of success for the method of fractional chromatic numbers of [3]: as far as we know, it may well happen that the fractional chromatic number of any finite unit distance graph is smaller than 4, while \(m_1(\mathbb {R}^2)<0.25\).

4 Fourier Analysis and Linear Programming

A detailed description of the Fourier analytic method can be found in [8], we will only summarize the essentials here. We remind the reader that the 1-avoiding set A is assumed to be periodic with a period lattice L. This enables us to perform a Fourier expansion of \(f(x)=\delta (A\cap (A-x))\) in the Hilbert space \(L^2(\mathbb {R}^2/L)\).

We also apply a standard trick of averaging. Note that all the inequalities stated in constraints (C1), (C2), C1R, and CT hold for all rotated copies of a given graph. Thus, they may be averaged over the orthogonal group O(2) of the plane. We will use the notation \(\mathring{f}(x)\) for the radial average of f(x):

$$\begin{aligned} \mathring{f}(x) = \frac{1}{2 \pi } \int _{S^1} f(\xi |x|) \,d \omega (\xi ), \end{aligned}$$
(7)

where \(\omega \) is the perimeter measure on the unit circle \(S^1\). The advantage of this averaging is that \(\mathring{f}\) is radial, i.e., \(\mathring{f}(x)\) depends only on |x|. Also, the above remark shows that the constraints (C1), (C2), C1R, and CT remain valid for the function \(\mathring{f}\).

As usual, the Bessel function of the first kind with parameter 0, \(\Omega _2(|x|)\), is defined as

$$\begin{aligned} \Omega _2(|x|) = \frac{1}{2 \pi } \int _{S^1} e^{ i x \xi }d \omega (\xi ). \end{aligned}$$

As explained in [8],

$$\begin{aligned} \mathring{f}(x) \,=\!\sum _{u \in 2 \pi L^*}\widehat{f}(u) \Omega _2( |u| |x|), \end{aligned}$$

where \(L^*\) denotes the dual lattice of L. Introducing the notation

$$\begin{aligned} \kappa (t) \,=\! \sum _{u \in 2 \pi L^* , |u| = t} \widehat{f}(u), \end{aligned}$$

the previous equation simplifies to

$$\begin{aligned} \mathring{f}(x) = \sum _{t \ge 0} \kappa (t) \Omega _2( t |x|), \end{aligned}$$
(8)

where the summation is taken for those values of t which come up as a length of a vector in \(2\pi L^*\).

Introduce the notations \(\delta = \delta (A)\) and \(\tilde{\kappa }(t) = {\kappa (t)}/{\delta }\). Conditions \(f(x) \ge 0\), \(f(0) = \delta \), (C0), C1R, and CT via (7) and (8) lead to the following properties of the function \(\tilde{\kappa }(t)\) (see [8] for details):

(\(\widehat{\text {CP}}\)):

\(\tilde{\kappa }(t) \ge 0\) for every \(t \ge 0\);

(\(\widehat{\text {CS}}\)):

\( \sum _{t \ge 0} \tilde{\kappa }(t) =1\);

(\(\widehat{\text {C0}}\)):

\( \sum _{t \ge 0} \tilde{\kappa }(t) \Omega _2( t ) =0 \);

(\(\widehat{\text {C1R}}\)):

for every finite graph G,

$$\begin{aligned} \sum _{t \ge 0}\tilde{\kappa }(t) \left( \sum _{x \in G} \Omega _2( t |x|)\, -\! \sum _{\{x,y\} \in E(G)} \!\! \Omega _2( t|x -y|)\right) \le \, \alpha (G); \end{aligned}$$
(\(\widehat{\text {CT}}\)):

for any \(\theta \in [0,2\pi ]\), and the graphs \(G_1(\theta )\) and \(G_2(\theta )\) defined in Sect. 3 by (5) and (6),

$$\begin{aligned} \sum _{t \ge 0}\tilde{\kappa }(t) \left( \sum _{\{x,y\} \in \left( {\begin{array}{c}G_1\\ 2\end{array}}\right) } \!\!\Omega _2( t |x -y|)\,-\,\sum _{x\in G_2} \Omega _2( t |x|) \right) \ge \, 5 -\frac{1}{\delta }. \end{aligned}$$

Forget, for a moment, that \(\delta =\delta (A)\) and just fix any particular value of \(\delta >0\). Consider the coefficients \(\tilde{\kappa }(t)\) (for \(t\ge 0\)) as variables in the continuous linear program

$$\begin{aligned} \text {maximize } \tilde{\kappa }(0) \text { subject to } (\widehat{\text {CP}}), (\widehat{\text {CS}}),(\widehat{\text {C0}}), (\widehat{\text {C1R}}), (\widehat{\text {CT}}). \end{aligned}$$
(9)

Let \(s=\sup \tilde{\kappa }(0)\) denote the solution of this LP-problem. If, for a given value of \(\delta \), there exists a 1-avoiding set A with density \(\delta \), then there exists a system of values \(\tilde{\kappa }(t)\) satisfying (9) such that \(\tilde{\kappa }(0)=\delta \). Therefore, in such a case, \(s\ge \delta \). Conversely, if for a given value of \(\delta \) we find that \(s<\delta \), then we may conclude that no 1-avoiding set with density \(\delta \) exists, therefore, \(m_1(\mathbb {R}^2)\le \delta \). By linear programming duality, the inequality \(s<\delta \) may be testified by the existence of a witness function.

Proposition 4.1

Let \(\mathcal {G}\) be a finite family of finite graphs in \(\mathbb {R}^2\), \(\mathcal {T}\) be a finite collection of angles in \([0, 2\pi ]\), and for each \(\theta \in \mathcal {T}\) consider the unit distance graphs \(G_1(\theta ), G_2(\theta )\) defined in Sect. 3 by (5) and (6). Suppose that for some non-negative numbers \(v_0\), \(v_1\), \(w_G\) for \(G \in \mathcal {G}\), and \(w_\theta \) for \(\theta \in \mathcal {T}\), the function W(t) defined by

$$\begin{aligned} \begin{aligned} W(t)&= v_0 + v_1 \Omega _2(t) + \sum _{G \in \mathcal {G}} w_G \left( \sum _{x \in G} \Omega _2( t |x|) \,-\!\! \sum _{\{x,y\} \in E(G) }\!\! \Omega _2( t |x -y|) \right) \\&\qquad - \,\sum _{\theta \in \mathcal {T}} w_{\theta } \left( \sum _{\{x,y\} \in \left( {\begin{array}{c}G_1(\theta )\\ 2\end{array}}\right) } \!\!\Omega _2(t|x-y|)\,-\!\! \sum _{x \in G_2(\theta )} \!\! \Omega _2( t |x|) \right) \\ \end{aligned} \end{aligned}$$
(10)

satisfies \(W(0) \ge 1\) and \(W(t) \ge 0\) for \(t>0\). Then \(m_1(\mathbb {R}^2) \le \delta \), where \(\delta \) is the positive solution of the equation

$$\begin{aligned} \delta ^2 = \delta \left( v_0 + \sum _{G \in \mathcal {G}} w_G \alpha (G) - 5\sum _{\theta \in \mathcal {T}} w_\theta \right) + \sum _{\theta \in \mathcal {T}} w_\theta . \end{aligned}$$
(11)

Proof

For any function W(t) satisfying \(W(0) \ge 1\) and \(W(t) \ge 0\) for \(t>0\) we have

$$\begin{aligned} \delta = \tilde{\kappa }(0) \le \sum _{t \ge 0} \tilde{\kappa }(t)W(t). \end{aligned}$$
(12)

If W(t) is of the form (10), then inequalities \((\widehat{\text {CP}})\), \((\widehat{\text {CS}})\), \((\widehat{\text {C0}})\), \((\widehat{\text {C1R}})\), and (12) imply

$$\begin{aligned} \delta \le v_0 + \sum _{G \in \mathcal {G}} w_G \alpha (G) - 5\sum _{\theta \in \mathcal {T}} w_\theta + \frac{1}{\delta }\sum _{\theta \in \mathcal {T}} w_\theta . \end{aligned}$$
(13)

\(\square \)

5 Numerical Bounds

As indicated in Proposition 4.1 above, we will use two types of constraints, C1R and CT, in addition to the trivial ones. Constraint C1R will be applied to certain isosceles triangles in the plane. Constraint CT will be applied, with particular choices of the angle \(\theta \), to the graphs \(G_1(\theta ), G_2(\theta )\) defined by (5) and (6).

In order to handle the linear program numerically, we use a discrete approximation. Based on the previous results, we only search for the coefficients \(\tilde{\kappa }(t_i)\), where \(t_i = i \varepsilon _0\), with \(\varepsilon _0 = 0.05\) and \(i \le 12000\), thus, \(t_i \in [ 0, 600 ]\). For all other values of \(t \ge 0\), we set \(\tilde{\kappa }(t) = 0\). The error resulting from the discretization is corrected in the last step of the algorithm.

Finding suitable triangles and graphs which yield strong upper bounds on \(m_1(\mathbb {R}^2)\) is a tedious task, where we utilized a bootstrap algorithm. Once a given set of constraints is fixed, and the corresponding linear program is solved, one has to numerically search for configurations of points for which C1R or CT is violated. Adding these to the list of constraints, and dropping the non-binding ones, the same procedure may be repeated until no significant improvement is obtained. In its polished form, our construction uses 15 nontrivial linear constraints: ten of the type C1R and five of type CT.

The family \(\mathcal {G}\) used for the estimate consists of ten triangles of the form \(\{(x_1, 0), (x_2, y), (x_2, -y)\}\), with the triples \((x_1, x_2, y)\) being listed in Table 1. Constraint CT is applied to the graphs defined by (5) and (6) with the values of \(\theta \) ranging over the family \(\mathcal {T}\), which is listed in Table 3. In order to avoid errors stemming from numerical computations, all the non-zero norms and distances between points of the configurations are chosen to be at least 0.1.

Fig. 2
figure 2

The function \(\mathring{f}(x) / \delta \)

Using these graphs, we construct the witness function W(t) as in (10) with the coefficients described in Table 4. It is easy to check numerically that W(t) satisfies the required properties. Technical details about the rigorous verification of this are described in [8]. With this construction of W(t), the quadratic equation (11) takes the form

$$\begin{aligned} \delta ^2 + 7.188702 \, \delta - 1.893645= 0, \end{aligned}$$

whose positive solution is \(\delta = 0.254416\).

The coefficients \(\tilde{\kappa }(t)\) obtained as the solution of the linear program (9) also provide the normalized, radialized autocorrelation function \(\mathring{f}(x)/\delta \) via (8). This function could, in principle, be the autocorrelation of a hypothetical 1-avoiding set A with density \(\delta =0.254416\). The function is plotted in Fig. 2.