# Corners theorem

In arithmetic combinatorics, the corners theorem states that for every $\varepsilon >0$, for large enough $N$, any set of at least $\varepsilon N^{2}$ points in the $N\times N$ grid $\{1,\ldots ,N\}^{2}$ contains a corner, i.e., a triple of points of the form $\{(x,y),(x+h,y),(x,y+h)\}$ with $h\neq 0$. It was first proved by Miklós Ajtai and Endre Szemerédi in 1974 using Szemerédi's theorem. In 2003, József Solymosi gave a short proof using the triangle removal lemma.

## Statement

Define a corner to be a subset of $\mathbb {Z} ^{2}$ of the form $\{(x,y),(x+h,y),(x,y+h)\}$, where $x,y,h\in \mathbb {Z}$ and $h\neq 0$. For every $\varepsilon >0$, there exists a positive integer $N(\varepsilon )$ such that for any $N\geq N(\varepsilon )$, any subset $A\subseteq \{1,\ldots ,N\}^{2}$ with size at least $\varepsilon N^{2}$ contains a corner.
The condition $h\neq 0$ can be relaxed to $h>0$ by showing that if $A$ is dense, then it has some dense subset that is centrally symmetric.

## Proof overview

What follows is a sketch of Solymosi's argument.
Suppose $A\subset \{1,\ldots ,N\}^{2}$ is corner-free. Construct an auxiliary tripartite graph $G$ with parts $X=\{x_{1},\ldots ,x_{N}\}$, $Y=\{y_{1},\ldots ,y_{N}\}$, and $Z=\{z_{1},\ldots ,z_{2N}\}$, where $x_{i}$ corresponds to the line $x=i$, $y_{j}$ corresponds to the line $y=j$, and $z_{k}$ corresponds to the line $x+y=k$. Connect two vertices if the intersection of their corresponding lines lies in $A$.
Note that a triangle in $G$ corresponds to a corner in $A$, except in the trivial case where the lines corresponding to the vertices of the triangle concur at a point in $A$. It follows that every edge of $G$ is in exactly one triangle, so by the triangle removal lemma, $G$ has $o(|V(G)|^{2})$ edges, so $|A|=o(N^{2})$, as desired.

## Quantitative bounds

Let $r_{\angle }(N)$ be the size of the largest subset of $[N]^{2}$ which contains no corner. The best known bounds are
    ${\frac {N^{2}}{2^{(c_{1}+o(1)){\sqrt {\log _{2}N}}}}}\leq r_{\angle }(N)\leq {\frac {N^{2}}{(\log \log N)^{c_{2}}}},$
where $c_{1}\approx 1.822$ and $c_{2}\approx 0.0137$. The lower bound is due to Green, building on the work of Linial and Shraibman. The upper bound is due to Shkredov.

## Multidimensional extension

A corner in $\mathbb {Z} ^{d}$ is a set of points of the form $\{a\}\cup \{a+he_{i}:1\leq i\leq d\}$, where $e_{1},\ldots ,e_{d}$ is the standard basis of $\mathbb {R} ^{d}$, and $h\neq 0$. The natural extension of the corners theorem to this setting can be shown using the hypergraph removal lemma, in the spirit of Solymosi's proof. The hypergraph removal lemma was shown independently by Gowers and Nagle, Rödl, Schacht and Skokan.

### Multidimensional Szemerédi's Theorem

The multidimensional Szemerédi theorem states that for any fixed finite subset $S\subseteq \mathbb {Z} ^{d}$, and for every $\varepsilon >0$, there exists a positive integer $N(S,\varepsilon )$ such that for any $N\geq N(S,\varepsilon )$, any subset $A\subseteq \{1,\ldots ,N\}^{d}$ with size at least $\varepsilon N^{d}$ contains a subset of the form $a\cdot S+h$. This theorem follows from the multidimensional corners theorem by a simple projection argument. In particular, Roth's theorem on arithmetic progressions follows directly from the ordinary corners theorem.