# Equal-slices measure

(Redirected from Equal-slices density)

## Definition

The equal-slices measure $\mu(A)$ of a set $A \subset ^n$ is defined by the formula

$\mu(A) := \sum_{(a,b,c) \in \Delta_n} \frac{|A \cap \Gamma_{a,b,c}|}{|\Gamma_{a,b,c}|}$

where $\Delta_n := \{ (a,b,c) \in {\Bbb Z}_+^3: a+b+c=n\}$ is the triangular grid and $\Gamma_{a,b,c} \subset ^n$ is the set of slices with exactly a 1s, b 2s, and c 3s. Thus every slice $\Gamma_{a,b,c}$ has measure 1 (hence the name equal-slices), and the entire cube has measure $\frac{(n+1)(n+2)}{2}$. Dividing the equal slices measure by $\frac{(n+1)(n+2)}{2}$ gives the equal-slices density.

Example: in ${}^2$, the diagonal points 11, 22, 33 each have equal-slices measure 1 (and equal-slices density 1/6), whereas the other six off-diagonal points have equal-slices measure 1/2 (and equal-slices density 1/12). The total equal-slices measure of ${}^2$ is 6 (and the equal-slices density is of course 1).

There is a probabilistic interpretation of the equal-slices density of a set $A$. Randomly shuffle the $n$ indices, and then randomly pick $(a,b,c) \in \Delta_n$. The probability that the string $0^a 1^b 2^c$ lies in the shuffled version of $A$ is the equal-slices density of $A$.

The LYM inequality asserts that any line-free subset of $^n$ has equal-slices measure at most 1. The analogue of this for k=3 is the hyper-optimistic conjecture.

The DHJ(3) conjecture,

DHJ(3), Version 1. For every $\delta \gt 0$ there exists n such that every subset $A \subset ^n$ of density at least $\delta$ contains a combinatorial line.

is equivalent to an equal slices version:

DHJ(3), Version 3. For every $\delta \gt 0$ there exists n such that every subset $A \subset ^n$ of equal-slices density at least $\delta$ contains a combinatorial line.

## Version 3 implies Version 1

Suppose that A has density $\geq \delta$ in the usual sense. Let m be such that every subset of $^m$ of equal-slices density $\geq \delta/2$ contains a combinatorial line. Now randomly embed $^m$ into $^n$ by choosing m variable coordinates and fixing the rest. We may suppose that every point in A has $n/3+O(\sqrt{n})$ of each coordinate value and that $m \ll \sqrt{n}$. Therefore, changing coordinates hardly changes the density of a slice. It follows that each point of is in approximately the same number of these random subspaces. Therefore, by averaging, there is a random subspace inside which has equal-slices density at least $\geq \delta/2$, and we are done. (We could think of it Terry’s way: as we move the random subspace around, what we effectively have is a bunch of random variables, each with mean approximately $\delta$, so by linearity of expectation we’ll get equal-slices density at least $\delta/2$ at some point, whatever the measure is.)

## Version 1 implies Version 3

This implication follows from passing between measures. Roughly speaking:

Suppose that A has density $\geq \delta$ in the equal-slices sense. By the first moment method, this means that A has density $\gg \delta$ on $\gg \delta$ on the slices.

Let m be a medium integer (much bigger than $1/\delta$, much less than n).

Pick (a, b, c) at random that add up to n-m. By the first moment method, we see that with probability $\gg \delta$, A will have density on $\gg \delta$ the of the slices $\Gamma_{a',b',c'}$ with $a' = a + m/3 + O(\sqrt{m})$, $c' = c + m/3 + O(\sqrt{m})$, $c' = c + m/3 + O(\sqrt{m})$.

This implies that A has expected density on a random m-dimensional subspace generated by a 1s, b 2s, c 3s, and m independent wildcards.

Applying Version 1 to that random subspace we obtain the claim.

## Motivation for equal-slices measure

#### Analogies with Sperner's theorem

One indication that the equal-slices measure is a natural measure to consider is that it plays an important role (implicitly or explicitly) in the standard proofs of Sperner's theorem. Recall that Sperner's theorem is the statement that the largest size of any subset $\mathcal{A}$ of $^n$ that does not contain two sets A and B with $A\subset B$ is $\binom n{\lfloor n/2\rfloor}$, the size of the middle layer (or one of the two middle layers if n is odd). Now the equal-slices density on $^n$ can be interpreted as follows: choose a random integer m between 0 and n (chosen uniformly) and a random permutation $\pi$ of $[n]$, and then take the set $\{\pi(1),\dots,\pi(m)\}.$ The probability that this set belongs to $\mathcal{A}$ is the equal-slices density of $\mathcal{A}.$

Now we claim that any set $\mathcal{A}$ of equal-slices density greater than $1/(n+1)$ contains a pair (A,B) with $A\subset B.$ This is a considerable strengthening of Sperner's theorem, since the largest set with equal-slices measure 1 trivially has size equal to the size of the largest slice. And the proof follows almost instantly from the definition of equal-slices density, since if the probability that a random initial segment of a random permutation of $[n]$ lies in $\mathcal{A}$ is greater than $1/(n+1)$ then there must be some permutation of $[n]$ with at least two initial segments belonging to $\mathcal{A}.$

Thus, Sperner's theorem follows from a combination of the definition of equal-slices measure/density, a simple averaging argument, and the trivial observation that if you have a subset of the set $\{0,1,\dots,n\}$ of density greater than $1/(n+1)$ then you can find a configuration inside that subset of the form $x,x+d$ with $d\ne 0.$ This last statement can be thought of as "the one-dimensional corners theorem".

Therefore, it is not completely unreasonable to hope that if we choose a subset of $^n$ that has positive equal-slices density, then it contains a combinatorial line. This would be the two-dimensional analogue of the strong form of Sperner's theorem given by the above proof.

#### The distribution of a random point in a random combinatorial line

Let us choose a random combinatorial line in $^n$ uniformly from all combinatorial lines. Since each element of $[n]$ has an equal chance of being fixed at 1, fixed at 2, fixed at 3, or a wildcard, there are $4^n$ combinatorial lines. And since the number of each type of element is binomially distributed, and the binomial distribution is strongly concentrated about its mean, if you choose a random combinatorial line, then with high probability there will be roughly $n/4$ of each type of coordinate. Therefore, with high probability, a random point on a random combinatorial line takes one of the three values roughly $n/2$ times and the other two roughly $n/4$ times each.

Now let us choose a random point in $^n.$ Then a similar argument shows that with high probability it will take each value roughly $n/3$ times. Therefore, if we let $\mathcal{A}$ be the set of all sequences with roughly equal numbers of 1s, 2s and 3s, we find that it has density very close to 1, but it contains only a tiny proportion of the combinatorial lines.

This indicates that the uniform measure on the whole of $^n$ is not completely appropriate for analytic arguments. Does equal-slices density do any better?

One cannot answer this question without first deciding what one means by a random combinatorial line. The most natural definition seems to be this. First choose a random quadruple of non-negative integers $(a,b,c,r)$ such that $a+b+c+r=n,$ then choose four disjoint sets $A,B,C,D$ of cardinality $a,b,c,d,$ and finally form the combinatorial line $(A\cup D,B,C),(A,B\cup D,C),(A,B,C\cup D)$.

If we do this, then the marginal distribution of the point $(A\cup D,B,C)$ is clearly not given by the equal-slices density (since the expected size of $A\cup D$ is more like $n/2$ than $n/3$). However, the discrepancy between the marginal distribution and the equal-slices density is far less than it is when we do the comparable calculation with the uniform measure. It turns into a mild discrepancy of a kind that occurs with the corners problem as well: it is irritating but not a disaster.

#### Is there a Varnavides theorem?

As we have seen, the fact that points in typical combinatorial lines are not typical points means that we can find dense subsets of $^n$ that do not contain a positive proportion of all possible combinatorial lines. This is worrying if one wants to find an analytic approach to the theorem, because analytic approaches tend to make use not of the hypothesis that a set contains no configurations of the desired kind, but merely that the number of configurations it contains differs by a constant proportion from the expected number of those configurations in a random set.

The equal-slices measure does not obviously have this defect, though nobody has yet checked whether a stronger statement of the above kind really does hold.

## A useful equivalent definition

Another way of defining the equal-slices measure of a set $A\subset^n$ is to choose, uniformly at random, a triple (p,q,r) of non-negative real numbers such that p+q+r=1, to define independent random variables $X_i$ to equal 1 with probability p, 2 with probability q and 3 with probability r, to define $\mu_{p,q,r}(A)$ to be the probability that $(X_1,\dots,X_n)\in A,$ and finally to average over (p,q,r). In other words, we average the measure of A over all trinomial distributions on $^n.$

To see that this gives the same measure, it is enough to check that it is the same on atoms. So let x be a sequence with a 1s, b 2s and c 3s. The probability that we choose this very sequence in the $\mu_{p,q,r}$ distribution is $p^aq^br^c.$ For fixed r the average of this quantity over p is $r^c\int_ 0^{1-r}p^a(1-r-p)^b\,dp.$ At the time of writing I don't see an easy way of completing the proof and don't feel like a huge calculation. So let me say instead that even if the definition is not equivalent, that's not a problem---it is an interesting and potentially useful definition and it is certainly similar in spirit to equal-slices measure.

I've just looked up the Wikipedia article on beta functions which strongly suggests that the above calculation will work out as one hopes. It would be good to tidy up this section by actually doing it.

Note added by Ryan: I would like to confirm that this is true; it should be a consequence of the "type 1 Dirichlet integral".

## Another useful equivalent definition

Another equivalent way to draw from the equal-slices distribution is as follows. Start with a string of $n$ "dots" $\bullet$. Next, place a "bar" $\mid$ randomly in one of the $n+1$ "slots" between (and to the left and right of) the dots. Next, place a second bar randomly in one of the $n+2$ slots formed by the string of $n$ dots and one bar. (At this point we have determined the "slice".) Next, fill in all the dots to the left of the leftmost bar with $1$'s; fill in all the dots between the two bars with $3$'s (not $2$'s!); and, fill in all the dots to the right of the rightmost bar with $2$'s. Delete the bars. Finally, randomly permute the resulting string of $1$'s, $2$'s, and $3$'s.

With this viewpoint, it may be easier to understand the joint distribution of the 1-set and the 2-set of a string drawn from equal-slices. Specifically, it is one that is useful for proving density-Sperner's theorem.

Fact: Let $z$ be a string drawn from the equal-slices distribution, in the manner described above. Let $x \in ^n$ be the string that would have been formed had we filled in all the dots to the left of the first bar with $1$'s and all the dots to its right with $2$'s. Similarly, let $y \in ^n$ be the string that would have been formed had we filled in all the dots to the left of the second bar with $1$'s and all the dots to its right with $2$'s. Then the following should be easy to verify:

(i) $x$ and $y$ are both distributed according to the equal-slices distribution on $^n$ (but not independently);

(ii) $x, y, z$ form a combinatorial line in $^n$; in particular, $x$ and $y$ are "comparable" in $^n$, i.e., either $x \leq y$ or $x \geq y$;

(iii) $\Pr[\text{line is degenerate}] = \Pr[x = y] = 2/(n+2)$.

From these facts we can derive the density version of Sperner's Theorem:

Theorem: Suppose $A \subseteq ^n$ has equal-slices density $\delta$. Then according to the above distribution on $(x,y) \in ^n \times ^n$, we get a nondegenerate combinatorial line in $A$ with probability at least $\delta^2 - \frac{2}{n+2}$.

Proof: Imagining the permutation $\pi$ and the bars being picked in the opposite order, we have

$\Pr[x \in A, y \in A] = \mathbf{E}_{\pi} \Pr_{\text{bar1, bar2}}[x \in A, y \in A]$.

Imagine $\pi$ is fixed and note that the two bars are chosen independently. So the random variables $x \mid \pi$ and $y \mid \pi$ are iid, and therefore the above is

$\mathbf{E}_{\pi}\left[\Pr_{\text{bar1}}[x \in A]^2\right] \geq \mathbf{E}_{\pi}\left[\Pr_{\text{bar1}}[x \in A]\right]^2 = \delta^2,$

since $x$ is distributed as equal-slices. The result now follows using (iii) above.