# Line free sets correlate locally with dense sets of complexity k-2

## Introduction

The aim of this page is to generalize the proof that line-free subsets of $^n$ correlate locally with sets of complexity 1 to an analogous statement for line-free subsets of $[k]^n.$

Until this sentence is removed, there is no guarantee that this aim will be achieved, or even that a plausible sketch will result.

## Notation and definitions

The actual result to be proved is more precise than the result given in the title of the page. To explain it we need a certain amount of terminology. Given $j\leq k$ and a sequence $x\in[k]^n,$ let $U_j(x)$ denote the set $\{i\in[n]:x_i=j\}.$ We call this the j-set of x. More generally, if $E\subset[k],$ let $U_E(x)$ denote the sequence $(U_j(x):j\in E).$ We call this the E-sequence of x. For example, if n=10, k=4, $x=3442411123$ and $E=\{2,3\}$ then the E-sequence of x is $(\{4,9\},\{1,10\}).$ It can sometimes be nicer to avoid set-theoretic brackets and instead to say things like that the 24-sequence of x is $(49,235).$

An E-set is a set $\mathcal{A}\subset[k]^n$ such that whether or not x belongs to $\mathcal{A}$ depends only on the E-sequence of x. In other words, to define an E-set one chooses a collection $\mathcal{U}_E$ of sequences of the form $(U_i:i\in E),$ where the $U_i$ are disjoint subsets of [n], and one takes the set of all x such that $(U_i(x):i\in E)\in\mathcal{U}_E.$ More generally, an $(E_1,\dots,E_r)$-set is an intersection of $E_h$-sets as h runs from 1 to r.

Of particular interest to us will be the sequence $(E_1,\dots,E_{k-1}),$ where $E_j=[k-1]\setminus j.$ What is an $(E_1,\dots,E_{k-1})$set? It is a set where membership depends on k-1 conditions, and the jth condition on a sequence x depends just on the sets $U_i(x)$ with $i\leq k-1$ and $i\ne j.$

Since it provides a useful illustrative example, let us describe the class of sets that will arise in the proof. Suppose we have a set $\mathcal{B}\subset[k-1]^n.$ We can use $\mathcal{B}$ to define a set $\mathcal{C}\subset[k]^n$ as follows. A sequence x belongs to $\mathcal{C}$ if and only if whenever you change all the ks of x into js, for some j<k, you end up with a sequence in $\mathcal{B}.$

To see that this is an $(E_1,\dots,E_{k-1})$-set, it is enough to show that the set $\mathcal{C}_j$ of all x such that changing ks to js is an $E_j$-set. And indeed, whether or not x belongs to that set does depend only on the i-sets $U_i(x)$ with $i\leq k-1$ and $i\ne j,$ since once you know those you have determined the sequence obtained from x when you rewrite the ks as js.



## Proof of the main result, with a gap still left to fill

To write this section, I lifted a section from the equivalent proof for DHJ(3) and made such changes as were necessary. One result did not go through straightforwardly and now needs to be thought about. (It is pretty clear that it can be done -- it will just need a bit of work.)

Let us assume for now that the equal-slices density of $\mathcal{A}$ in $[k]^n$ is at least $\delta$, and that the equal-slices density of $\mathcal{A} \cap [k-1]^n$ in $[k-1]^n$ is at least $\theta$. As discussed in the sections below, we can reduce to this case by passing to subspaces. Let us write $\mathcal{B}$ for $\mathcal{A}\cap[k-1]^n,$ and let $\mathcal{C}$ be the set defined in terms of $\mathcal{B}$ in the previous section.

We shall now deduce from the fact that $\mathcal{A}$ contains no combinatorial line that it is disjoint from $\mathcal{C}.$ Indeed, this is pretty well trivial. Given any sequence x, let $\rho_j(x)$ be the sequence obtained by changing all the ks in x to js. Then the set $\{\rho_1(x),\dots,\rho_{k-1}(x),x\}$ is a combinatorial line (with wildcard set $U_k(x)$). Therefore, not all its points belong to $\mathcal{A}$ which implies that either $x\notin\mathcal{A}$ or $x\notin\mathcal{C}.$

We will now show that $\mathcal{C}$ is dense in equal-slices measure on $[k]^n$.

Hmm ... this is less obvious. So for now let me just say what happens if this is true. If $\mathcal{C}=\mathcal{C}_1\cap\dots\cap\mathcal{C}_{k-1}$ has density at least $\eta,$ then consider all the $2^{k-1}-1$ sets of the form $\mathcal{D}_1\cap\dots\cap\mathcal{D}_{k-1},$ where each $\mathcal{D}_i$ is either $\mathcal{C}_i$ or its complement, and not every $\mathcal{D}_i$ equals $\mathcal{C}_i.$ Then there must be some i such that the measure $\mu(\mathcal{A}\cap\mathcal{D}_i)$ is at least $\delta\mu(\mathcal{D}_i)+\eta/(2^{k-1}-1).$ This gives us a density increase of at least $\eta/2^{k-1}$ on a set of density at least $\eta/2^{k-1}.$

We should be able to move from this relative density-increment under equal-slices to a nearly as good one under uniform by appropriately generalizing the results in the passing between measures section ("relative density version").

## DHJ(k) implies equal-slices Varnavides-DHJ(k)

This section is intended to fill the main gap in the section above. We would like to deduce from DHJ(k) that if $\mathcal{B}$ is an equal-slices dense subset of $[k]^n,$ then with positive probability an equal-slices random combinatorial line is contained in $\mathcal{A}.$

To prove this it is enough to do the following. Let the density of $\mathcal{B}$ be $\theta,$ let $\zeta$ be some positive constant that depends on $\theta$ only, and let M be large enough that every subset of $[M]^k$ of density at least $\zeta$ contains a combinatorial line. We would now like to find a positive linear combination $\nu$ of characteristic functions of M-dimensional subspaces of $[k]^n$ with the following properties.

• $\nu$ is a probability measure: that is, it sums to 1.
• If $\mathcal{B}$ is any subset of $[k]^n$ with equal-slices density $\theta\gt0,$ then $\nu(\mathcal{B})\geq\eta=\eta(\theta)\gt0.$
• Let $\mathcal{L}$ be a set of combinatorial lines. Define the

$\nu$-density of $\mathcal{L}$ to be the probability that a random line L belongs to $\mathcal{L}$ if you choose it by first picking a $\nu$-random subspace and then picking a random line (uniformly) from that subspace. (See below for the definition of $\nu$-random subspace.) Then if the $\nu$-density of $\mathcal{L}$ is at least $c,$ then the equal-slices density of $\mathcal{L}$ is at least $c'(c).$

Let us see why these three properties are enough. Let the M-dimensional subspaces of $[k]^n$ be enumerated as $S_1,\dots,S_N,$ and let $\sigma_i$ be the uniform probability measure on $S_i.$ Then we are looking for a convex combination $\nu=\sum_{i=1}^N\lambda_i\sigma_i$ of the measures $\sigma_i.$ Given such a $\nu,$ we define a $\nu$-random subspace to be what you get when you choose $S_i$ with probability $\lambda_i.$

Suppose we have found $\nu$ with the three properties above, and let $\mathcal{B}$ be a set of equal-slices density $\theta.$ Then by hypothesis we have that $\nu(\mathcal{B})\geq\eta.$ This implies that if $S_i$ is a $\nu$-random subspace, then the probability that $\sigma_i(\mathcal{B})\geq\eta/2$ is at least $\eta/2.$ If we have taken $\zeta$ to be $\eta/2,$ then each subspaces $S_i$ for which $\sigma_i(\mathcal{B})\geq\eta/2$ contains a combinatorial line in $\mathcal{B}.$ Since an M-dimensional subspace contains $(k+1)^M$ combinatorial lines, this implies that the $\nu$-density of the set of all combinatorial lines in $\mathcal{B}$ is at least $\eta/2(k+1)^M.$ Hence, by the third property, the equal-slices density of this set of lines is at least $c(\theta,k,M)\gt0.$

It remains to define an appropriate measure $\nu.$ I think probably a fairly obvious equal-slices measure on M-dimensional subspaces will do the trick, but will have to wait to check this.