Discrete & Computational Geometry

, Volume 52, Issue 4, pp 705–729

# On Sumsets and Convex Hull

• Károly J. Böröczky
• Francisco Santos
• Oriol Serra
Article

## Abstract

One classical result of Freiman gives the optimal lower bound for the cardinality of $$A+A$$ if $$A$$ is a $$d$$-dimensional finite set in $$\mathbb R^d$$. Matolcsi and Ruzsa have recently generalized this lower bound to $$|A+kB|$$ if $$B$$ is $$d$$-dimensional, and $$A$$ is contained in the convex hull of $$B$$. We characterize the equality case of the Matolcsi–Ruzsa bound. The argument is based partially on understanding triangulations of polytopes.

## Keywords

Sumsets Shellable triangulations $$h$$-vector

## 1 Introduction

The topic of this paper is the cardinality of the sum of finite sets in the real affine space. For thorough surveys and background, consult Ruzsa [6], and Tao and Vu [9].

A set $$A$$ in $$\mathbb R^d$$ is $$d$$-dimensional if it is not contained in any affine hyperplane. One seminal result proved by Freiman [1] is that for any finite $$d$$-dimensional set $$A$$ in $$\mathbb R^d$$,
\begin{aligned} |A+A|\ge (d+1)|A| - \frac{d(d+1)}{2}. \end{aligned}
(1)
The inequality is tight and the extremal sets have been characterized by Stanchescu [7]. It was recently generalized by Matolcsi and Ruzsa [5] as follows.

## Theorem 1

(Matolcsi–Ruzsa) If $$B$$ is finite $$d$$-dimensional in $$\mathbb R^d$$ and $$A\subset [B]$$, then for every $$k\in \mathbb N$$
\begin{aligned} |A+kB|\ge {d+k \atopwithdelims ()k} |A| - k {d+k \atopwithdelims ()k+1}. \end{aligned}

In particular, taking $$A=B$$ they get the following, of which (1) is the case $$k=2$$:

## Corollary 2

(Freiman–Matolcsi–Ruzsa) If $$A$$ is finite $$d$$-dimensional in $$\mathbb R^d$$, then for every $$k\in \mathbb N$$
\begin{aligned} |kA|\ge {d+k-1 \atopwithdelims ()k-1} |A| - (k-1) {d+k-1 \atopwithdelims ()k}. \end{aligned}

In these results, for a set $$X\subset \mathbb R^d$$, we set $$1X=X$$, $$kX=(k-1)X+X$$ for $$k\ge 2$$, and $$0X=\{0\}$$. The sum $$X+\emptyset$$ is always the empty set. The convex hull of the set $$X\subset \mathbb R^d$$ is denoted by $$[X]$$. Similarly, $$[x_1,\ldots ,x_m]$$ will denote the convex hull of points $$x_1,\ldots ,x_m\in \mathbb R^d$$.

One of the motivations of the Matolcsi–Ruzsa inequality is the observation that to prove (1) for the sumset $$A+A$$, the relevant points of the second summand are the vertices of $$[A]$$.

The goal of this paper is to give an explicit characterization of the sets $$A$$ and $$B$$ for which the inequality in Theorem 1 is tight, that is, for which $$A\subset [B]$$ and
\begin{aligned} |A+kB|={d+k \atopwithdelims ()k} |A| - k {d+k \atopwithdelims ()k+1}. \end{aligned}
We call such a pair $$(A,B)$$ a $$k$$-critical pair. As in Matolcsi and Ruzsa [5], triangulations of $$B$$ have a crucial role in our paper. By a triangulation $$\mathcal T$$ of $$B$$, we mean a triangulation of $$[B]$$ where the set of vertices of $$\mathcal T$$ is $$B$$. In addition, $$\mathcal T$$ is called stacked if it has $$|B|-d$$ full-dimensional simplices (which is the minimum possible number of simplices in a triangulation of $$|B|$$ points in $$\mathbb R^d$$). As first steps in the characterization, we show that for every $$k$$-critical pair $$(A,B)$$:
• $$B\subset A$$ (Lemma 18).

• $$(A\cap [B'], B')$$ is also $$k$$-critical, for any subset $$B'\subset B$$ (Lemma 19).

• $$B$$ is totally stackable (Corollary 21), meaning that all of its triangulations are stacked.

Total stackability is a very restrictive property that can be expressed in different ways (Lemma 11) and totally stackable sets are completely characterized by Nill and Padrol (see Theorem 12). Section 3 includes these results and some preliminary background on triangulations. The fact that $$B$$ needs to be totally stackable in order to have equality follows from the following refinement of Theorem 1 that we prove in Sect. 6.

## Theorem 3

Let $$\mathcal T$$ be a shellable triangulation of $$B$$ with $$h$$-vector $$(h_0,\dots ,h_d)$$. Let $$A$$ be such that $$B\subset A \subset [B]$$. Then,
\begin{aligned} |A +kB| \ge {d+k\atopwithdelims ()k}|A| - k{d+k\atopwithdelims ()k+1} + \sum _{j=2}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}. \end{aligned}

The $$h$$-vector $$(h_0,h_1,\dots ,h_d)\in \mathbb N^{d+1}$$ (here and in what follows $$\mathbb N=\{0,1,2,\dots \}$$) of a $$d$$-dimensional triangulation is a classical invariant in geometric combinatorics, which can be read either from the $$f$$-vector (the number of simplices of each dimension) or from a shelling. See more background on this topic in Sect. 3. Since $$h_i\ge 0$$ for every $$i$$, Theorem 3 implies Theorem 1. But it also tells us that in order to have equality in Theorem 1 all the shellable triangulations of $$B$$ need to have $$h_i=0$$ for all $$i\ge 2$$, which is equivalent to them having $$|B|-d$$ simplices. Hence, $$B$$ needs to be totally stackable.

It is worth noticing that the inequality in Theorem 3 is equivalent to
\begin{aligned} |A +kB| \ge {d+k\atopwithdelims ()k}|A\setminus B| + \sum _{j=0}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}. \end{aligned}
For the case $$A=B$$ this leads to the following refinement of Corollary 2:

## Corollary 4

Let $$\mathcal T$$ be a shellable triangulation of $$A$$ with $$h$$-vector $$(h_0,\dots ,h_d)$$. Then,
\begin{aligned} |kA| \ge \sum _{j=0}^{\min (d,k)} h_j {d+k - j \atopwithdelims ()k - j}. \end{aligned}

The geometric structure of critical pairs is complemented by its arithmetic structure. To express this arithmetic structure we introduce the following concepts. For finite $$B\subset \mathbb R^d$$, we write $$\Lambda (B)$$ to denote the additive subgroup of $$\mathbb R^d$$ generated by $$B-B$$, and hence by $$B$$ if $$0\in B$$. We note that $$\Lambda (B)$$ is called a lattice if it is of rank $$d$$, which will be the typical case.

## Definition

We say that $$A\subset [B]$$ is stable with respect to $$B$$, or $$B$$-stable if
\begin{aligned} (A+\Lambda (B))\cap [B] =A. \end{aligned}

The fact that $$A$$ is $$B$$-stable provides a substantial arithmetic structure to $$A$$. For example, suppose that $$A$$ is $$B$$-stable and let $$l$$ be a line intersecting $$A$$ and such that $$\Lambda (B)$$ contains non-zero vectors parallel to $$l$$. Let $$w$$ be the shortest such vector (which is unique up to sign). Then $$A\!\cap l$$ can be partitioned into arithmetic progressions with common difference $$w$$, each of which equals $$(x\!+\!\mathbb Zw)\!\cap \! [B]$$ for some $$x\!\in \! \mathbb R^d$$. If, in addition, $$l$$ contains an edge $$[u,v]$$ of $$[B]$$, then one of these arithmetic progressions contains the vertices $$u,v$$ of the edge. In particular, for two parallel lines $$l,l'$$ intersecting $$A$$ these arithmetic progressions have the same common difference ($$w$$ depends only on the direction of $$l$$) and if the lines contain edges $$e, e'$$ with $$\ell (e)\!\ge \! \ell (e')$$ of $$B$$ then the translation of $$A\!\cap e'$$ within $$e$$ matching one vertex of $$e$$ is contained in $$A\!\cap e$$.

As usual, a $$d$$-dimensional (straight) prism $$P$$ is the Minkowski sum of a $$(d-1)$$-dimensional polytope $$Q$$ and a segment $$s$$ not parallel to it. Edges of $$P$$ parallel to $$s$$ are called vertical. We are interested in the case where $$Q$$ is a simplex and where the vertical edges are allowed to have different lengths. We abbreviate this as a simplex-prism. Put differently, a simplex prism is any polytope afffinely equivalent to
\begin{aligned} \left\{ (x,t)\in \mathbb R^{d+1}:\, x\in \Delta \subset \mathbb R^d, t\in \mathbb R, \ell (x)\le t\le u(x)\right\} , \end{aligned}
where $$\Delta$$ is a $$d$$-simplex and $$\ell ,u$$ are two affine functions with $$\ell (x)<u(x)$$ for every $$x\in \Delta$$.

With these geometric and arithmetic ingredients, Sects. 78 and 9 lead to the following explicit characterization of the critical pairs via a case study based in the characterization of totally stackable sets.

## Theorem 5

Let $$k\ge 1$$, $$d\ge 1$$, and let $$A,B\subset \mathbb R^d$$ be finite such that $$B$$ spans $$\mathbb R^d$$, and $$A\subset [B]$$. Equality holds in Theorem 1 if and only if $$B\subset A$$, $$B$$ is contained in the union of the edges of $$[B]$$, and one of the following conditions hold.
1. (i)

$$|B|=d+1$$. That is, $$B$$ is the vertex set of a $$d$$-simplex.

2. (ii)

For $$d\ge 1$$, $$B$$ consists of the vertices of the simplex $$[v_0,\ldots ,v_d]$$, and some extra points on the edge $$[v_0,v_d]$$. The points of $$B$$ on this edge are part of an arithmetic progression $$D$$ contained in $$A$$, and $$A\backslash (B\cup D)$$ is the disjoint union of translates of $$D\setminus \{v_0\}$$.

3. (iii)

For $$d\ge 2$$, $$[B]$$ is a simplex-prism, $$A$$ is stable with respect to $$B$$, and $$A$$ is contained in the vertical edges of $$B$$.

4. (iv)

For $$d= 2$$, $$A$$ consists of the vertices of a triangle and the midpoints of its sides.

5. (v)

For $$d= 2$$, $$B$$ consists of the the vertices of a parallelogram, and $$A$$ is stable with respect to $$B$$ and contained in the boundary of $$[B]$$.

6. (vi)

For $$2\le q<d$$, $$A$$ and $$B$$ are the unions of some $$d-q$$ points and sets $$A', B'$$ respectively, where $$(A',B')$$ is a pair of $$q$$-dimensional sets of type (iii), (iv) or (v). That is to say, $$[A] = [B]$$ is an iterated pyramid over $$[A'] = [B']$$ and the only points of $$A\setminus A'$$ are the new vertices.

Observe that in part (vi) we do not include (iterated) pyramids over the configurations of parts (i) and (ii) because these are again configurations of the types described in (i) and (ii).

The characterization in Theorem 5 reveals two interesting facts about critical pairs.
• The characterization is independent of $$k$$. One direction (the fact that $$k$$-criticality implies $$(k-1)$$-criticality, if $$k\ge 2$$) is proved in Lemma 22. The other direction is only proved as a consequence of the full characterization.

• If $$(A,B)$$ is critical then $$A$$ is stable with respect to $$B$$. Actually, criticality of the pair $$(A,B)$$ depends on $$A$$ and the lattice $$\Lambda (B)$$ generated by the points of $$B$$ rather than the structure of $$B$$ itself. Again, without resorting to the full characterization, we only have a partial direct proof of this, namely the case of dimension one (Proposition 8).

In turn, Theorem 5 yields the following concerning the equality case of Corollary 2.

## Corollary 6

Let $$k\ge 2$$, $$d\ge 2$$, and let the finite $$A$$ span $$\mathbb R^d$$. Equality holds in Corollary 2 if and only if one of the following conditions hold.
1. (i)

The set $$A$$ consists of the vertices of a simplex plus an arithmetic progression contained in an edge of the simplex, starting and ending at the endpoints of the edge.

2. (ii)

The set $$A$$ consists of the vertices of a simplex plus the midpoints of the sides of a certain $$2$$-face of the simplex.

3. (iii)

For $$d\ge q\ge 2$$, $$[A]$$ is an iterated pyramid over a $$q$$-dimensional simplex-prism. There exists a non-zero $$w\in \mathbb R^d$$ such that $$A$$ consists of the vertices of $$[A]$$ and, for each vertical edge of the prism, the arithmetic progression of difference $$w$$ starting and ending at its endpoints.

Actually, Corollary 6 admits the more concise form of Corollary 7. In it, we say that a triangulation $$\mathcal T$$ of a finite set $$A$$ spanning $$\mathbb R^d$$ is unimodular if $$\Lambda (A)$$ is a lattice with determinant $$\Delta$$, and each full dimensional simplex of $$\mathcal T$$ has volume $$\Delta /d!$$. We note that if $$A$$ has a stacked unimodular triangulation then all of its triangulations are unimodular and stacked.

## Corollary 7

Let $$k\ge 2$$, $$d\ge 2$$, and let the finite $$A$$ span $$\mathbb R^d$$. Equality holds in Corollary 2 if and only if $$A$$ has a stacked unimodular triangulation.

To prove Theorem 5, first we consider the one-dimensional case in Sect. 2, which is the base of the arithmetic structure of critical pairs. Next we discuss some useful properties of triangulations of convex polytopes in Sect. 3. Section 4 reviews the proof of the Matolcsi–Ruzsa inequality Theorem 1, and concludes with a technical, but useful, characterization (Theorem 15) of the equality case. Based on this result, we show in Sect. 5 that the pairs $$(A,B)$$ listed in Theorem 5 are $$k$$-critical for any $$k\ge 1$$. Theorem 15 is also the base of the arguments leading to the fundamental properties of $$k$$-critical pairs in Sect. 6. Finally, a case by case analysis in Sects. 7, 8 and 9 describes explicitly the arithmetic structure of the cases in Theorem 5. In Sect. 10 we show how the results of the previous sections imply that the list in Theorem 1 is complete.

## 2 The Case of Dimension One

It is instructive to discuss the one-dimensional version of Theorem 5 first, because it does not require the geometric machinery built later on, and it provides the base of the arithmetic structure of higher dimensional critical pairs.

For rational $$0\le b_1<\cdots <b_n$$, $$n\ge 2$$, we define $$\mathrm{gcd}\{b_1,\ldots ,b_n\}$$ to be the largest rational number $$w$$ such that $$b_1/w,\ldots ,b_n/w$$ are integers. We observe that if $$A,B\subset \mathbb R$$ are finite such that $$A\subset [B]= [0,1]$$, then $$A$$ being stable with respect to $$B$$ is equivalent to saying that $$B\subset \mathbb {Q}$$, and $$A$$ is the union of maximal arithmetic progressions in $$[0,1]$$ with difference $$w=\mathrm{gcd} (B)$$.

We note that the one-dimensional version of Theorem 1 reads as follows. If $$A,B\subset \mathbb R$$ are finite sets with $$A\subset [B]$$, and $$k\ge 1$$, then
\begin{aligned} |A+kB|\ge (k+1)(|A|-1)+1. \end{aligned}
(2)
The first part of the next proposition gives the one-dimensional version of Theorem 5. The second part will be used later.

## Proposition 8

Let $$k\ge 1$$, and let $$A,B\subset \mathbb R$$ be finite such that $$A\subset [B]= [0,1]$$.
1. (i)

The pair $$(A,B)$$ is $$k$$-critical if and only if $$\{ 0,1\}\subset A$$ and $$A$$ is stable with respect to $$B$$.

2. (ii)
If $$C\subset (0,1)$$ is finite, then
\begin{aligned} |C+kB|\ge (k+1)|C|, \end{aligned}
(3)
with equality if and only if $$C$$ is stable with respect to $$B$$.

## Proof

If a finite $$D\subset [B]$$ is stable with respect to $$B$$, then
\begin{aligned} D+kB=D+k\{0,1\}, \end{aligned}
and hence equality holds in (3) for $$D=C$$, and also in (2) for $$D=A$$ provided that $$\{ 0,1\}\subset A$$.

We note that if either $$0\not \in A$$ or $$1\not \in A$$, then a translate of $$A$$ is contained in $$(0,1)$$, a case dealt with in (ii), which shows that $$(A,B)$$ is not $$k$$-critical. Thus let the pair $$(A,B)$$ be $$k$$-critical with $$\{ 0,1\}\subset A$$.

If $$B=\{0,1\}$$, then $$A$$ is clearly stable with respect to $$B$$. Therefore we may assume that $$|B|\ge 3$$. We write $$X'$$ to denote the image of $$X\subset \mathbb R$$ in the torus $$\mathbb R/\mathbb Z$$ by the quotient map. In particular
\begin{aligned} |A'|=|A|-1. \end{aligned}
(4)
Let $$\widetilde{A}\subset [0,2)$$ be the set obtained by choosing the smallest element of $$A+B$$ in each coset of $$\mathbb Z$$ intersecting $$A+B$$. Since $$0\in B$$ yields that $$\widetilde{A}\cap (A+1)=\emptyset$$, the sum $$A+kB$$ contains the disjoint union
\begin{aligned} \{k+1\}\cup \widetilde{A}\cup ((A\backslash \{1\})+1) \cup \cdots \cup ((A\backslash \{1\})+k). \end{aligned}
We deduce using $$|A'+B'|\ge |A'|$$ that
\begin{aligned} |A+kB|\ge |A'+B'|+k|A'|+1\ge (k+1)|A'|-1. \end{aligned}
(5)
As the pair $$(A,B)$$ is $$k$$-critical, (2) and (4) yield that $$|A'+B'|= |A'|$$. In particular
\begin{aligned} a+b\in A' \quad \hbox { for }a\in A'\hbox { and }b\in B'. \end{aligned}
We deduce from $$|B|\ge 3$$ that there exists some non-zero element of $$B'$$, which in turn implies by the finiteness of $$A'$$ that $$B'$$ generates a finite subgroup $$H$$ of $$\mathbb R/\mathbb Z$$, and $$A'$$ is the union of some cosets of $$H$$. It follows that $$B\subset \mathbb Q$$, and $$H$$ is generated by $$w'$$ for $$w=\mathrm{gcd} (B)$$. This implies (i). The argument for (ii) is completely analogous, only $$k+1\not \in C+kB$$, and hence (5) is replaced by $$|C+kB|\ge |C'+B'|+k|C'|$$ where $$|C'|=|C|$$. $$\square$$

## 3 Some Observations about Triangulations

Throughout this paper, a triangulation of a finite point set $$B\subset \mathbb R^d$$ is a geometric simplicial complex with vertex set $$B$$ and underlying space $$[B]$$. A triangulation will be given as a list of $$d$$-simplices.

Let $${\mathcal T}=\{S_1,\ldots , S_m\}$$ be a triangulation of $$B$$. We say that the ordering $$S_1,\ldots , S_m$$ of the simplices of $$\mathcal T$$ is a shelling if, for every $$i$$, the intersection of $$S_i$$ with $$S_1\cup \cdots \cup S_{i-1}$$ is a union of facets of $$S_i$$. Equivalently, if $$S_1\cup \cdots \cup S_{i}$$ is a topological ball for every $$i$$. The index of a simplex $$S_i$$ in a shelling is the number of facets of $$S_i$$ that are contained in $$S_1\cup \cdots \cup S_{i-1}$$. That is, the index of $$S_1$$ is zero and the index of every other $$S_i$$ is an integer between 1 and $$d$$. The $$h$$-vector of a shelling is the vector $$h=(h_0,\ldots ,h_d)$$ with $$h_i$$ equal to the number of simplices of index $$i$$. We recall without proof some simple facts about shellings and $$h$$-vectors (see [4, Sect. 9.5.2] or [10, Chap. 8] for details):

## Lemma 9

1. (i)

Not every triangulation is shellable, but every point set has shellable triangulations. For example, all regular triangulations (which include placing, pulling and Delaunay triangulations) are shellable.

2. (ii)
The $$h$$-vector of a shellable triangulation is independent of the choice of shelling. In fact, the $$h$$-vector of a (perhaps non-shellable) triangulation can be defined as
\begin{aligned} h_k = \sum _{i=0}^k (-1)^{k-i} {d+1-i \atopwithdelims ()k-i} f_{i-1}, \end{aligned}
where $$(f_{-1},\ldots ,f_d)$$ is the $$f$$-vector of $$\mathcal T$$. That is, $$f_i$$ is the number of $$i$$-simplices in $$\mathcal T$$, with the convention that $$f_{-1}=1$$.

3. (iii)

Every triangulation of $$B$$ has $$h_0=1$$, $$h_1= |B|-d-1$$, and $$\sum h_i=m$$, where $$m$$ and $$d$$ are the number of $$d$$-simplices and the dimension of $$\mathcal T$$.

One useful way of constructing triangulations of a point set is the placing procedure, which is recursively defined as follows (see [4, Sect. 4.3.1] for more details). Let $$B\subset \mathbb R^d$$ be a finite point set and let $$x\in B$$ be such that $$B':=B\setminus \{x\}$$ is $$d$$-dimensional and $$x\not \in [B']$$. If $$\mathcal T'$$ is a triangulation of $$B'$$, we call placing of $$x$$ in $$\mathcal T'$$ the triangulation $$\mathcal T$$ of $$B$$ obtained adding to $$\mathcal T'$$ the pyramids with apex at $$x$$ of all the boundary $$(d-1)$$-simplices of $$\mathcal T'$$ that are visible from $$x$$. Here, we say that a $$(d-1)$$-simplex $$S$$ in the boundary of $$B'$$ is visible from $$x$$ if its supporting hyperplane $$H$$ separates $$x$$ from $$B'\setminus H$$. Equivalently, if $$[x,y]\cap [B'] = \{y\}$$ for every point $$y\in S$$. It can be shown that if $$\mathcal T'$$ is shellable then $$\mathcal T$$ is shellable too.

The placing procedure can be used to construct a (shellable) triangulation of $$B$$ from scratch, by choosing an initial simplex $$S=[x_1,\ldots ,x_{d+1}]$$ with $$\{x_1,\ldots ,x_{d+1}\}\subset B$$ and $$S\cap (B\setminus \{x_1,\ldots ,x_{d+1}\}) = \emptyset$$, or to extend a given triangulation of a subset $$B'\subset B$$ with $$[B'] \cap (B\setminus B') = \emptyset$$.

We observe that if $$C=\{x_1,\ldots ,x_{d+1}\}$$ is affinely independent, $$s\in \{1,\ldots ,d+1\}$$, and $$t>0$$, then for the facets $$F_j=[C\backslash x_j]$$ of $$[C]$$, $$j=1,\ldots ,s$$, we have
\begin{aligned} t\cdot \big ([C]\backslash \big (\cup _{j=1}^s F_j\big )\big )= \big \{\sum _{j=1}^{d+1}\lambda _jx_j:\, \lambda _j>0 \hbox { for }j\le \hbox {s},\;\forall \lambda _j\ge 0,\; \sum _{j=1}^{d+1}\lambda _j=t\big \}. \end{aligned}
(6)
Therefore if $$k\ge 1$$, and $$S_1,\ldots , S_m$$ is a shelling of a triangulation $$\mathcal T$$, then
\begin{aligned} T_i+kS_i = (k+1)T_i \hbox { for }i=2,\ldots ,m\hbox { and }T_i=S_i\backslash (S_1\cup \cdots \cup S_{i-1}). \end{aligned}
(7)
Of special interest for us will be stacked triangulations. A stacked triangulation is one that satisfies any of the following equivalent properties, and they are a particular case of placing triangulations, hence shellable.

## Lemma 10

The following properties are equivalent, for a triangulation $$\mathcal T$$ of a point set $$B$$.
1. (i)

The number of $$d$$-simplices in $$\mathcal T$$ equals $$|B|-d$$.

2. (ii)

$$h_i=0$$ for all $$i\ge 2$$.

3. (iii)

The dual graph of $$\mathcal T$$ is a tree. The dual graph is the graph having as vertices the $$d$$-simplices of $$\mathcal T$$ and as edges the adjacent pairs (pairs that share a facet).

4. (iv)

Every simplex of dimension at most $$d-2$$ of $$\mathcal T$$ is contained in $$\partial [B]$$.

## Proof

The equivalence of the first two properties follows from $$\sum h_i=m$$ and $$h_0+h_1=|B| - d$$, where $$m$$ denotes the number of $$d$$-simplices. For a shellable triangulation $$\mathcal T$$, the implications (ii)$$\Rightarrow$$(iii)$$\Rightarrow$$(iv)$$\Rightarrow$$(ii) are also trivial. Hence, the only thing we need to prove is that any of (i), (iii) and (iv) implies $$\mathcal T$$ to be shellable. Let the simplices in $$\mathcal T$$ be ordered $$S_1,\ldots ,S_m$$ in such a way that $$S_i$$ shares at least one facet with $$S_1\cup \ldots \cup S_{i-1}$$, which can always be done. Then:
1. (i)

$$S_1\cup \cdots \cup S_{i}$$ has at most one vertex more than $$S_1\cup \cdots \cup S_{i-1}$$. If the total number of vertices equals $$|B|-d$$ we need the number to always increase by one, which implies $$(S_1\cup \cdots \cup S_{i-1})$$ intersects $$S_i$$ only in a facet.

2. (iii)

If the dual graph is a tree, it has one less edge than vertices. Then, no $$S_i$$ has two facets in common with $$S_1\cup \cdots \cup S_{i-1}$$. It may in principle have a facet plus some lower dimensional face $$\sigma$$, but this would imply the dual graph of the link of $$\sigma$$ in $$S_1\cup \cdots \cup S_{i}$$ to become disconnected. Since at the end of the process all links have connected dual graphs, there has to be a $$j>i$$ such that $$S_j$$ also contains $$\sigma$$ and is glued to $$S_1\cup \cdots \cup S_{j-1}$$ along at least two facets, a contradiction.

3. (iv)

If every simplex of dimension at most $$d-2$$ of $$\mathcal T$$ is contained in $$\partial [B]$$, then every $$(d-1)$$-simplex in $$\mathcal T$$ disconnects $$\mathcal T$$. Hence the dual graph is a tree and, by the previous argument, $$\mathcal T$$ is shellable.$$\square$$

We call a point set $$B$$ totally stackable if all its triangulations are stacked. This poses heavy restrictions on the combinatorics of $$B$$, as we now see:

## Lemma 11

Let $$B\subset \mathbb R^d$$ be a $$d$$-dimensional finite point set. The following conditions are equivalent:
1. (i)

$$B$$ is totally stackable.

2. (ii)

Every $$k$$ points of $$B$$ lie in a face of $$[B]$$ of dimension at most $$k$$, for every $$k$$.

3. (iii)

Every subset $$C$$ of at most $$d-1$$ points of $$B$$ has $$[C]\subset \partial [B]$$.

## Proof

The implication (ii)$$\Rightarrow$$(iii) is obvious, and (iii) clearly implies the last property of Lemma 10 for every triangulation, hence it implies (i). So, we only need to show (i)$$\Rightarrow$$(ii).

Let $$C\subset B$$ be a set of $$k$$ points and let $$F$$ be the minimal face of $$[B]$$ containing $$C$$ (the carrier of $$C$$). Assume that $$\dim (C) > k$$ and, without loss of generality, that $$C$$ is affinely independent. It is easy to show that $$B_F:=B\cap F$$ has a triangulation $$\mathcal T_F$$ using $$C$$ as a simplex. Since $$[C]$$ goes through the interior of $$F$$, the link of $$C$$ in $$\mathcal T_F$$ is a $$(\dim (C)-k)$$-sphere. In particular, since $$\dim (C)-k>0$$, its dual graph has cycles. This $$\mathcal T_F$$ can be extended to a triangulation of $$B$$ (for example via the placing procedure, see [4, Section 4.3.1]) which will still have cycles in its dual graph. $$\square$$

Properties (ii) and (iii) have the following straightforward consequences, which will be useful in order to give an explicit description of all possible totally stackable sets:
• If $$B$$ is totally stackable, every point of $$B$$ is either a vertex of $$[B]$$ or lies in the relative interior of an edge of $$[B]$$. That is, $$B$$ is contained in the union of edges of $$[B]$$. We call the edges of $$[B]$$ that contain points of $$B$$ other than vertices loaded.

• Every subset $$B'$$ of a totally stackable set $$B$$ is totally stackable in $$\mathrm{aff }(B')$$.

Sets satisfying property (iii) of Lemma 11 are called of combinatorial degree one by Nill and Padrol [3], who give a complete classification of them. The description uses iterated pyramids, which we define in terms of the join operator. Let $$B_1$$ and $$B_2$$ be two finite sets in $$\mathbb R^d$$ whose affine hulls are of dimensions $$d_1$$ and $$d_2$$, respectively. We say that $$B_1\cup B_2$$ is a join of $$B_1$$ and $$B_2$$ if the affine hull of $$B_1\cup B_2$$ is of dimension $$d_1+d_2+1$$. For $$i=1,2$$, consider a triangulation for $$B_i$$ where the number of $$d_i$$-simplices is $$m_i$$. These two triangulations induce a triangulation for the join $$B_1\cup B_2$$ where the number of $$(d_1+d_2+1)$$-simplices is $$m_1m_2$$. Moreover, all triangulations of a join arise in this way. A join where $$B_2$$ is a single point is a pyramid, and if $$B_2$$ is affinely independent it is an iterated pyramid over $$B_1$$.

## Theorem 12

(Nill and Padrol [3]) Let $$B$$ be a finite set in $$\mathbb R^d$$ not contained in a hyperplane. Then $$B$$ is totally stackable if and only if $$B$$ is contained in the union of the edges of $$[B]$$, and either of the following conditions holds.
1. (i)

$$[B]$$ is a simplex, and all loaded edges meet at a vertex.

2. (ii)

$$[B]$$ is an iterated pyramid over a polygon, and every loaded edge is a side of the polygon.

3. (iii)

$$[B]$$ is (projectively equivalent to) an iterated pyramid over a simplex-prism, and every loaded edge is a vertical edge of the prism.

Observe that if the polygon in case (ii) is a triangle then $$[B]$$ is a simplex (as in case (i)), but still the two cases differ in which edges are allowed to be loaded. In part (iii) we need to allow projective equivalence on the prisms since being stackable is invariant under it. The effect of a projective deformation on a prism is that the “vertical” edges may no longer be parallel, but rather span lines meeting at a point.

## 4 A Proof of Theorem 1 and Some Consequences for Critical Pairs

In this section, we review the proof of Theorem 1 from Matolcsi and Ruzsa [5] in order to analyze the equality case. This will lead to a technical but useful characterization of critical pairs (Theorem 15), a strengthening of the Matolcsi–Ruzsa inequality (Theorem 20), and various fundamental properties of critical pairs (Theorem 23).

Recall that $$kM=M+\cdots +M$$ denotes the $$k$$-fold Minkowski sum of $$M$$ with itself and $$k\dot{M}=\{kx:\, x\in M\}$$ denotes the dilation of $$M$$ by a factor of $$k$$. We note that if $$M$$ is a convex set in $$\mathbb R^d$$, and $$k\ge 1$$ is an integer, then
\begin{aligned} kM=\{kx:\,x\in M\}=k\cdot M. \end{aligned}
(8)
The following simple observation will be often used.

## Claim 13

Let $$S=[C]$$ be a $$d$$-simplex for $$C= \{v_0,\ldots ,v_d\}$$.
1. (i)

$$|kC|={d+k \atopwithdelims ()k}$$.

2. (ii)
For distinct points $$a,b\in S$$ and $$k\ge 1$$ we have
\begin{aligned} (a+kC)\cap (b+kC)=\emptyset , \end{aligned}
unless both $$a,b\in C$$.

## Proof

We may assume that $$v_0$$ is the origin, and $$v_1,\ldots ,v_d$$ form the orthonormal basis. In this case we have
\begin{aligned} kC=\Big \{(t_1,\ldots ,t_d)\in \mathbb N^d:\,\sum _{i=0}^dt_i\le k\Big \}, \end{aligned}
and hence (i) follows by enumeration.

For (ii), we observe that, for each pair $$x,y\in kC$$ of distinct points, the sets $$x+[0,1)^d$$ and $$y+[0,1)^d$$ are disjoint. Since $$S\backslash \{v_0,\ldots ,v_d\}\subset [0,1)^d$$, it follows from $$(a+kC)\cap (b+kC)\ne \emptyset$$ that either $$a$$ or $$b$$ is a vertex, say $$a$$ is a vertex of $$S$$. Then $$x+a\in \mathbb Z^d$$, thus $$b$$ is a vertex of $$S$$ as well. $$\square$$

## Corollary 14

If $$C= \{v_0,\ldots ,v_d\}$$ is the vertex set of a simplex and if $$A\subset [C]$$, then
\begin{aligned} |A + kC| = {d+k \atopwithdelims ()k}|A| - \sum _{i=1}^{|A\cap C|} \big ( {d+k \atopwithdelims ()k} - {d+k+1-i \atopwithdelims ()k} \big ). \end{aligned}
In particular,
\begin{aligned} |A + kC| \ge {d+k \atopwithdelims ()k}|A| - k{d+k \atopwithdelims ()k+1}, \end{aligned}
with equality if and only if $$C\subset A$$.

## Proof

Clearly,
\begin{aligned} A + kC=\bigcup _{a\in A} (a+kC). \end{aligned}
By Claim 13(i) each of the sets $$a+kC$$ has cardinality $${d+k \atopwithdelims ()k}$$ and, by Claim 13(ii), they are pairwise disjoint except when $$a,a'\in C\cap A$$. That is:
\begin{aligned} |A + kC|={d+k \atopwithdelims ()k}|A \setminus C| + |(A\cap C) + kC|. \end{aligned}
To prove (i) we only need to check that
\begin{aligned} |(A\cap C) + kC| = \sum _{i=1}^{|A\cap C|} {d+k+1-i \atopwithdelims ()k}. \end{aligned}
For this assume, as in the proof of Claim 13(i), that $$v_0$$ is the origin, and $$v_1,\ldots ,v_d$$ form an orthonormal basis. Let $$C_{l}:=\{v_0,v_1,\dots ,v_{l-1}\}$$, $$1\le l\le d+1$$, and assume that $$A\cap C=C_t$$ for some $$t$$. Observe that
\begin{aligned} C_1 +kC=kC, \end{aligned}
and, for each $$l=2,\dots ,d+1$$,
\begin{aligned} (C_{l}+kC) \setminus (C_{l-1}+kC)=\Bigg \{(t_1,\ldots ,t_d)\in \mathbb N^d:\, \begin{array}{l} \sum _{i=0}^dt_i = k+1\\ t_1=\dots =t_{l-2}=0\\ t_{l-1}>0 \end{array}\Bigg \}. \end{aligned}
Hence,
\begin{aligned} |(C_{l}+kC) \setminus (C_{l-1}+kC)|={d+k+1-l \atopwithdelims ()k}, \end{aligned}
and
\begin{aligned} |(A\cap C) + kC| = |C_t + kC| = \sum _{i=1}^{|A\cap C|}{d+k+1-i \atopwithdelims ()k}. \end{aligned}
For the second part of the statement, observe that in $$\sum _{i=1}^{|A\cap C|} \big ( {d+k \atopwithdelims ()k} - {d+k+1-i \atopwithdelims ()k} \big )$$ each summand is non-negative, so
\begin{aligned} {d+k \atopwithdelims ()k}|A| - |A + kC| \le \sum _{i=1}^{d+1} \big ( {d+k \atopwithdelims ()k} - {d+k+1-i \atopwithdelims ()k} \big ) = k{d+k \atopwithdelims ()k+1}, \end{aligned}
with equality if and only if $$|A\cap C|=d+1$$. $$\square$$

## Proof of Theorem 1

Let $$S_1,\ldots ,S_m$$ be a shelling of a triangulation $$\mathcal T$$ of $$B$$. Let $$C_i$$ be the set of vertices $$S_i$$. According to (8),
\begin{aligned} (k+1)S_i, i=1,\ldots ,m, \hbox {form a triangulation of }(k+1)[B]. \end{aligned}
(9)
We define
\begin{aligned} A_1&= A\cap S_1,\\ A_i&= A\cap \big (S_i\backslash (S_1\cup \cdots \cup S_{i-1})\big )\quad \hbox { for }i=2,\ldots ,m. \end{aligned}
We observe that $$A_1,\ldots ,A_m$$ form a partition of $$A$$. Moreover, by shellability,
\begin{aligned} A_i\subset S_i, \hbox { and }A_i \,\hbox {contains at most one vertex of } S_i\hbox { for }i=2,\ldots ,m. \end{aligned}
(10)
We deduce from (7) that
\begin{aligned} |A+kB|\ge \sum _{i=1}^m|A_i+kC_i|. \end{aligned}
(11)
Now Corollary 14 yields that
\begin{aligned} |A_1+kC_1|\ge {d+k \atopwithdelims ()k}|A_1| - k{d+k\atopwithdelims ()k+1} \end{aligned}
(12)
(with equality if and only if $$C_1\subset A_1$$), and Claim 13 (i) and (ii) imply by (10) that
\begin{aligned} |A_i+kC_i|=\sum _{a\in A_i} |a+kC_i|={d+k \atopwithdelims ()k}|A_i| \quad \hbox { for }i=2,\ldots ,m. \end{aligned}
(13)
Theorem 1 follows from combining (11), (12) and (13). $$\square$$

Using the notation of the above proof, the following characterization of equality in Theorem 1 follows from (7) and (9) on the one hand, and (11), (12) and (13) on the other hand.

## Theorem 15

Let $$A, B\subset \mathbb R^d$$ finite such that $$A \subset [B]$$ and $$\mathrm{dim}[B]=d$$, and let $$k\ge 1$$. The pair $$(A,B)$$ is $$k$$-critical if and only if for some shelling $$S_1,\ldots ,S_m$$ of an arbitrary triangulation $$\mathcal T$$ of $$B$$, we have
1. (i)

$$C_1\subset A$$;

2. (ii)

$$A_i+kC_i=(A+kB)\cap (k+1)T_i$$ for $$i=1,\ldots ,m$$

where $$C_i$$ denotes the set of vertices $$S_i$$, $$T_1=S_1$$ and $$T_i=S_i\backslash (S_1\cup \cdots \cup S_{i-1})$$, $$i\ge 2$$, and $$A_i=A\cap T_i$$ for $$i=1,\ldots ,m$$.

We will also use the following consequence of the proof of Theorem 1.

## Lemma 16

Suppose that $$A+x\subset \mathrm{int}[B]$$ for some $$x\in \mathbb R^d$$. Then
\begin{aligned} |A+kB|\ge {d+k \atopwithdelims ()k}|A|. \end{aligned}
(14)

## Proof

If $$A+x\subset \mathrm{int}[B]$$ for some $$x\in \mathbb R^d$$, then $$A\cap B=\emptyset$$ can be assumed, and hence Corollary 14 gives, in the notation of the proof of Theorem 1, $$|A_1+kC_1|\ge {d+k \atopwithdelims ()k}|A_1|$$. Therefore (11) and (13) yields (14). $$\square$$

## 5 Proof of Sufficiency in Theorem 5

Based on Theorem 15, we show that the pairs $$(A,B)$$ in Theorem 5 are $$k$$-critical for any $$k\ge 1$$. First we show that we can restrict $$B$$ to the vertices of $$[B]$$ in the case of the pairs $$(A,B)$$ listed in Theorem 5.

## Lemma 17

If $$(A,B)$$ is any of the pairs listed in Theorem 5, and $$B'$$ is the vertex set of $$[B]$$, then
\begin{aligned} A+kB=A+kB'\hbox { for any }k\ge 1. \end{aligned}

## Proof

It is sufficient to prove that for any $$a\in A$$ and $$b\in B$$, there exist $$a'\in A$$ and $$b'\in B'$$ such that $$a+b=a'+b'$$. Since $$B\subset A$$, we may assume that $$a,b\not \in B'$$. In particular, we may assume that one of the cases (ii)–(iv) holds.

Write $$\{a,b\}=\{\tilde{a},\tilde{b}\}$$, where $$a=\tilde{a}$$ and $$b=\tilde{b}$$ in the cases (ii) and (iv), and vertical edge of $$[B]$$ containing $$\tilde{b}$$ is not longer than the vertical edge containing $$\tilde{a}$$ in the case (iii). The fact that $$A$$ is stable with respect to $$B$$ and the conditions in (ii)–(iv) of Theorem 5 mean that $$\tilde{b}$$ belongs to an arithmetic progression $$D$$ along an edge $$[u,v]$$ of $$[B]$$ containing its two vertices $$u,v$$, and $$\tilde{a}$$ belongs to $$x+D\backslash \{u\}\subset A$$ for some $$x$$. The result follows since $$D+D\backslash \{u\}=\{ u,v\}+D\backslash \{u\}$$. $$\square$$

## Proof of Sufficiency in Theorem 5

Let us assume that the pair $$(A,B)$$ satisfies one of the conditions (i)–(vi) in Theorem 5.

If $$[B]$$ is a simplex, then combining Lemma 17 and Corollary 14 yields equality in Theorem 1. This covers the cases (i), (ii) and (iv) of Theorem 5, and the part of case (vi) when the pair $$(A,B)$$ is obtained by adding $$d-2$$ points to a pair $$(A',B')$$ described in the case (iv).

Therefore we assume that $$[B]$$ is an iterated pyramid over a $$q$$-dimensional simplex-prism $$P$$, $$2\le q\le d$$, and referring to Lemma 17, also that $$B$$ consists of the vertices of $$[B]$$. Let $$B_0= B\backslash (B\cap P)$$. We write $$v_1,\ldots ,v_q,w_1,\ldots ,w_q$$ to denote the vertices of $$P$$ in a way such that the vectors $$w_i-v_i$$ are parallel pointing into the same direction for $$i=1,\ldots ,q$$. We define $$S_i=[\{v_1,\ldots ,v_i, w_i\ldots w_q\}\cup B_0]$$ for $$i=1,\ldots ,q$$, and hence $$S_1,\ldots ,S_q$$ form a shelling of the corresponding triangulation of $$B$$. We write $$A_i$$, $$C_i$$, $$T_i$$ to denote the corresponding sets defined in Theorem 15 for $$i=1,\ldots ,q$$.

Let $$k\ge 1$$ and $$i\in \{1,\ldots ,q\}$$. We claim that assuming $$v_i=0$$, we have
\begin{aligned} A+kB&= (A_i+\Lambda (B))\cap (k+1) [B]\end{aligned}
(15)
\begin{aligned} A_i+kC_i&= (A_i+\Lambda (B))\cap (k+1)T_i . \end{aligned}
(16)
Before proving (15) and (16), we point out that they readily yield Theorem 15 (ii) for the shelling $$S_1,\ldots ,S_q$$. Since Theorem 15 (i) holds by $$B\subset A$$, we deduce equality in Theorem 1 for the pair $$(A,B)$$.
To verify (15) and (16), we observe that each coset of $$\Lambda (B)$$ intersecting $$A$$ has a representative in $$A_i$$. In other words,
\begin{aligned} A+\Lambda (B)=A_i+\Lambda (B). \end{aligned}
(17)
We distinguish two cases. If $$P$$ is parallelogram, then $$P$$ is actually a fundamental parallelogram for the two-lattice $$\Lambda (B)\cap \mathrm{lin}P$$. Since $$A$$ is stable with respect to $$\Lambda (B)$$, we deduce (15) by (17). In addition (16) follows from (7), and the fact that the non-zero elements of $$C_i$$ form a $$\mathbb Z$$-basis of $$\Lambda (B)$$. This covers the case (v) of Theorem 5, and the corresponding part of the case (vi).
Finally we consider the case (iii) of Theorem 5, and the corresponding part of the case (vi). We assume that $$P$$ is not a parallelogram, and hence $$A\cap P$$ is contained in the vertical edges $$[v_j,w_j]$$ of $$P$$, $$j=1,\ldots ,q$$. Let
\begin{aligned} \{z_1,\ldots ,z_{d-1}\}=B_0\cup (\{v_1,\ldots ,v_q\}\backslash \{v_i\}), \end{aligned}
thus there exists $$w\in \mathbb R^d$$ pointing into the same direction as $$w_i-v_i$$ such that $$\{w,z_1,\ldots ,z_{d-1}\}$$ form a $$\mathbb Z$$-basis for $$\Lambda (B)$$. It follows that there exist integers $$m_1,\ldots ,m_q\ge 1$$ such that $$w_j-v_j=m_jw$$ for $$j=1,\ldots ,q$$, and there exists $$\Omega \subset [0,1)$$ such that $$v_j+tw\in A$$ for $$j\in \{1,\ldots ,q\}$$ and $$t\in [0,m_j]$$ if and only if $$t-\lfloor t \rfloor \in \Omega$$. We define the integers $$n_1,\ldots ,n_{d-1}$$ by $$n_p=m_j$$ if $$z_p=m_j$$, and $$n_p=0$$ if $$z_p\in B_0$$. Writing
\begin{aligned} \Xi =\{(i_1,\ldots ,i_{d-1})\in \mathbb Z^{d-1}:\,i_1+\cdots +i_{d-1}=k\hbox { and } i_j\ge 0\}, \end{aligned}
we deduce (15) from (17) and
\begin{aligned} A+kB&= \bigcup _{(i_1,\ldots ,i_{d-1})\in \Xi } \Bigg \{tw+\sum _{j=1}^{d-1}i_jz_j:\, t-\lfloor t \rfloor \in \Omega \hbox { and } 0\le t\le \sum _{j=1}^{d-1}i_jn_j\Bigg \}\\&= (A_i+\Lambda (B))\cap (k+1) [B]. \end{aligned}
Turning to (16), we observe that $$C_i\backslash \{v_i\}$$ form a basis for $$\mathbb R^d$$. Combining this fact with (7) yields
\begin{aligned} A_i+kC_i=(A_i+\Lambda (C_i))\cap (k+1)T_i. \end{aligned}
Since $$\{w\}\cup (C_i\backslash \{v_i,w_i\})$$ form a $$\mathbb Z$$-basis for $$\Lambda (B)$$, and $$A_i+w\subset A_i+\Lambda (C_i)$$, we deduce that $$A_i+\Lambda (C_i)=A_i+\Lambda (B)$$. We conclude (16), and in turn that equality holds in Theorem 1 for the pairs $$(A,B)$$ in Theorem 5. $$\square$$

## 6 Basic Properties of $$k$$-Critical Pairs

The goal of the section is to prove Theorem 23 listing some fundamental properties of $$k$$-critical pairs. The first one is a direct consequence of Theorem 15.

## Lemma 18

If $$(A,B)$$ is a $$k$$-critical pair, $$k\ge 1$$, then $$B\subset A$$.

## Proof

For any $$x\in B$$, we consider a shellable triangulation $$\mathcal T$$ with $$x\in C_1$$ for the first simplex $$S_1=[C_1]$$ of $$\mathcal T$$ (this can be achieved, for example, via a placing triangulation). Theorem 15 yields $$C_1\subset A$$, thus $$x\in A$$. $$\square$$

Based on Theorem 15, we prove that criticality is preserved by taking subsets of $$B$$.

## Lemma 19

Let $$A, B$$ be $$d$$-dimensional point sets with $$A \subset [B]$$, and let $$k\ge 1$$. If $$(A,B)$$ is $$k$$-critical, then $$(A\cap [B'],B')$$ is also $$k$$-critical for every $$B'\subset B$$.

## Proof

Let $$\widetilde{B}=B\cap [B']$$ and $$\widetilde{A}=A\cap [B']$$. Since $$B'\subset \widetilde{B}$$ and $$[B']= [\widetilde{B}]$$, it is sufficient to prove that $$(\widetilde{A},\widetilde{B})$$ is $$k$$-critical.

If $$\mathrm{dim}\,[B']=d$$, then constructing a placing triangulation first for $$\widetilde{B}$$, we obtain some shelling $$S_1,\ldots ,S_m$$ of a triangulation of $$B$$ such that the union of $$S_1,\ldots ,S_n$$ is $$[B']$$ for some $$n\le m$$. Now Theorem 15 (i) and (ii) for the pair $$(A,B)$$ readily yield the analogous properties for the pair $$(\widetilde{A},\widetilde{B})$$.

Next we assume that $$\mathrm{dim}[B']=q<d$$. We choose $$x_1,\ldots ,x_{d-q}\in B$$ such that for $$B^*=\{x_1,\ldots ,x_{d-q}\}\cup \widetilde{B}$$, we have $$\mathrm{dim}[B^*]=d$$ and $$B\cap [B^*]=B^*$$. Let $$A^*=A\cap [B^*]$$. We observe that $$L=\mathrm{aff}\,B'$$ is a supporting $$q$$-plane to $$[B^*]$$, with $$\widetilde{A}=A^*\cap L$$, $$\widetilde{B}=B^*\cap L$$ and $$[\widetilde{B}]=[B^*]\cap L$$.

Let $$\widetilde{S}_1,\ldots ,\widetilde{S}_n$$ be a shelling of some triangulation of $$\widetilde{B}$$, and let $$\widetilde{A}_i$$, $$\widetilde{C}_i$$, $$\widetilde{T}_i$$ for $$i=1,\ldots ,n$$ be the corresponding sets for Theorem 15. We need to prove that they satisfy Theorem 15. Since $$B\subset A$$ according to Lemma 18, Theorem 15 (i) readily follows, and all we have to verify is Theorem 15 (ii).

To achieve that, we observe that $$S_1,\ldots ,S_n$$ is a shelling of a triangulation of $$B^*$$ where $$S_i=[x_1,\ldots ,x_{d-q},\widetilde{S}_i]$$ for $$i=1,\ldots ,n$$. Writing $$A_i$$, $$C_i$$ and $$T_i$$ to denote the corresponding sets in Theorem 15, we have $$A_1=\widetilde{A}_1\cup \{x_1,\ldots ,x_{d-q}\}$$, $$A_i=\widetilde{A}_i$$ for $$i=2,\ldots ,n$$, moreover $$\widetilde{C}_i=C_i\cap L$$ and $$\widetilde{T}_i=T_i\cap L$$ for $$i=1,\ldots ,n$$. The pair $$(A^*,B^*)$$ is $$k$$-critical by the argument above because $$B^*\subset B$$ with $$\mathrm{dim}B^*=d$$, and hence $$A_i$$, $$C_i$$ and $$T_i$$ satisfy Theorem 15 (ii). It follows that the same conclusion holds for $$\widetilde{A}_i$$, $$\widetilde{C}_i$$ and $$\widetilde{T}_i$$, as for $$i=1,\ldots ,n$$, we have
\begin{aligned} (\widetilde{A}+k\widetilde{B})\cap \widetilde{T}_i=L \cap \big ((A^*+k B^*)\cap T_i \big ) \subset L\cap (A_i+kC_i)=\widetilde{A}_i+k\widetilde{C}_i, \end{aligned}
where the first and the last equality is a consequence of the fact that $$L$$ is a supporting $$q$$-plane to $$[B^*]$$. $$\square$$

Under the assumption $$B\subset A$$, the ideas in the proof of Theorem 1 also lead to a proof of Theorem 3. We recall its statement for the convenience of the reader.

## Theorem 20

Let $$A,B\subset \mathbb R^d$$ be finite such that $$\mathrm{dim}\,[B]=d$$ and $$B\subset A \subset [B]$$, and let $$\mathcal T$$ be a shellable triangulation of $$B$$ with $$h$$-vector $$(h_0,\dots ,h_d)$$. Then
\begin{aligned} |A +kB| \ge {d+k\atopwithdelims ()k}|A| - k{d+k\atopwithdelims ()k+1} + \sum _{j=2}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}. \end{aligned}

## Proof

Let $$S_1,\dots ,S_m$$ be a shelling of $$\mathcal T$$. We keep the same notation for $$A_i$$, $$C_i$$ and $$T_i$$ as in the statement of Theorem 15. In particular, we have
\begin{aligned} |A+kB|= \sum _{i=1}^m |(A+kB)\cap (k+1)T_i|. \end{aligned}
Let $$A_i'=A_i\setminus C_i$$. In each $$(k+1)T_i$$, we have, by the same argument as in Corollary 14, and taking into account that $$C_i\subset B \subset A$$,
\begin{aligned} |(A+kB)\cap (k+1)T_i|\ge |A_i+ kC_i| = |A'_i+ kC_i| + |(k+1)C_i \cap (k+1) T_i|. \end{aligned}
(18)
The first summand is
\begin{aligned} |A'_i+ kC_i| = {d+k\atopwithdelims ()k}|A'_i|, \end{aligned}
by Claim 13 (i), and so
\begin{aligned} \sum _{i=1}^m |A'_i+ kC_i| = {d+k\atopwithdelims ()k}|A\setminus B|. \end{aligned}
For the second summand, let $$s_i$$ be the index of $$S_i$$ in the shelling, and hence (6) and enumeration yield
\begin{aligned} |(k+1)C_i \cap (k+1) T_i| = {\left\{ \begin{array}{ll} {d+k+1 - s_i \atopwithdelims ()k+1 - s_i} &{} \text {if } s_i\le k+1,\\ 0 &{} \text {otherwise}.\\ \end{array}\right. } \end{aligned}
Put differently,
\begin{aligned} \sum _{i=1}^m |(k+1)C_i \cap (k+1) T_i| = \sum _{j=0}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}. \end{aligned}
Since $$(k+1)C_i$$ and $$A'_i+ kC_i$$ are disjoint by Claim 13 (ii), we obtain
\begin{aligned} |A+kB|&\ge \sum _{i=1}^m|A'_i+ kC_i| + \sum _{i=1}^m |(k+1)C_i \cap (k+1) T_i|\\&= {d+k\atopwithdelims ()k}|A\setminus B| + \sum _{j=0}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}\\&= {d+k\atopwithdelims ()k}|A| + {d+k+1\atopwithdelims ()k+1} -(d+1){d+k\atopwithdelims ()k} \\&\quad + \sum _{j=2}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}\\&= {d+k\atopwithdelims ()k}|A| - k{d+k\atopwithdelims ()k+1} + \sum _{j=2}^{\min (d,k+1)} h_j {d+k+1 - j \atopwithdelims ()k+1 - j}, \end{aligned}
where, in the last step, we use $$h_0=1$$ and $$h_1=|B|-d-1$$. $$\square$$

## Corollary 21

If the pair $$(A,B)$$ is $$k$$-critical with $$\mathrm{dim}[B]=d$$, then $$B$$ is totally stackable. In particular, $$B$$ is contained in the union of the edges of $$[B]$$.

## Proof

We have $$B\subset A$$ according to Lemma 18. Theorem 20 yields that every shellable (in particular, every regular) triangulation has $$h_2=0$$. According to the characterization of the $$h$$-vectors by Stanley [8] (see also Theorem 8.34 in Ziegler [10]), we have $$h_j=0$$ for $$j\ge 2$$, which, by Lemma 10, implies that $$B$$ is stacked. That is, every regular triangulation of $$B$$ has $$|B|-d$$ $$d$$-simplices. It is a fact (see [4, Theorem 8.5.19]) that then all the triangulations (regular or not) have the same number $$|B|-d$$ of $$d$$-simplices. That is, $$B$$ is totally stackable. $$\square$$

Next we prove that equality in Theorem 1 is preserved under reducing the value of $$k$$.

## Lemma 22

If $$(A,B)$$ is $$k$$-critical for $$k\ge 2$$ with $$\mathrm{dim}[B]=d$$, then it is also $$k'$$-critical for every $$k'=1,\ldots ,k-1$$.

## Proof

Let $$S_1,\dots ,S_m$$ be a shelling of a triangulation of $$B$$. We use the notation of Theorem 15. Condition (i) of Theorem 15 is independent of $$k$$, and hence we need to check condition (ii).

Let $$z\in (A+(k-1)B)\cap T_i$$ for $$i=1,\ldots ,m$$, and what we need to show is that $$z\in A_i+(k-1)C_i$$. Since $$B$$ is totally stackable by Corollary 21, we may assume that $$C_i=\{v_0,\ldots ,v_d\}$$ in a way such that $$T_i=S_i\backslash [v_1,\ldots ,v_d]$$ if $$i\ge 2$$, and $$z\not \in [v_1,\ldots ,v_d]$$ if $$i=1$$. In particular, $$v_0\in A_i$$, and
\begin{aligned} z=\sum _{j=0}^d\lambda _jv_j \hbox { where }\lambda _0>0, \lambda _j\ge 0\hbox { for }j=1,\ldots ,d,\hbox { and }\lambda _0+\cdots +\lambda _d=k \end{aligned}
by (6). If $$z\in kC_i$$, or equivalently each $$\lambda _i$$ is an integer, then $$v_0\in A_i$$ and $$\lambda _0>0$$ yield that $$z\in A_i+(k-1)C_i$$. Therefore we assume that $$z\not \in kC_i$$.
Since $$z+v_0\in (A+kB) \cap (k+1)\,T_i$$ and $$(A,B)$$ is $$k$$-critical, Theorem 15 (ii) yields that
\begin{aligned} z+v_0=a+\sum _{j=0}^dm_jv_j \end{aligned}
(19)
where $$a\in A_i$$, every $$m_j\ge 0$$ is an integer. and $$m_0+\cdots +m_d=k$$. We have
\begin{aligned} a=\sum _{j=0}^d\alpha _jv_j \hbox { where }\alpha _0>0, \alpha _j\ge 0\hbox { for }j=1,\ldots ,d,\hbox { and }\alpha _0+\cdots +\alpha _d=1, \end{aligned}
and $$\alpha _0>0$$ is a consequence of (6). As $$C_i$$ is affinely independent, the coefficients satisfy $$\lambda _0+1=\alpha _0+m_0$$ and $$\lambda _j=\alpha _j+m_j$$ for $$j=1,\ldots ,d$$.
Since $$z\not \in kC_i$$, we deduce that some $$\alpha _j$$ is not integer, which in turn implies that $$\alpha _0<1$$. We have $$\alpha _0+m_0=\lambda _0+1>1$$ based on (19), thus $$m_0\ge 1$$ by $$\alpha _0<1$$. Therefore
\begin{aligned} z=a+(m_0-1)v_0+\sum _{j=1}^dm_jv_j\in A_i+(k-1)C_i, \end{aligned}
as it is required by Theorem 15 (ii). $$\square$$

We summarize Lemmas 18, 19 and 22 and Corollary 21 as follows.

## Theorem 23

If the pair $$(A,B)$$ is $$k$$-critical for $$k\ge 2$$ with $$\mathrm{dim}\,[B]=d$$, then
1. (i)

$$B\subset A$$;

2. (ii)

$$(A\cap [B'],B')$$ is also $$k$$-critical for every $$B'\subset B$$;

3. (iii)

$$B$$ is totally stackable, thus $$B$$ is contained in the union of the edges of $$[B]$$;

4. (iv)

$$(A,B)$$ is $$1$$-critical, and hence $$|A+B|= (d+1)|A| - d(d+1)/2$$.

From now on we consider $$k$$-critical pairs $$(A,B)$$ for $$k=1$$, which will be simply called critical pairs. Theorem 23 (iv) shows that $$k$$-critical pairs are critical. We also speak about critical sets in the case of the one dimensional version $$|A+B|\ge 2|A|-1$$ of the Matolcsi–Ruzsa inequality.

## 7 The Case of a Simplex

In this section we consider the case where $$[B]$$ is a $$d$$-simplex. First we discuss iterated pyramids, a case that will be used later on as well.

## Lemma 24

Let $$1\le q< d$$, and let $$(A,B)$$ be a critical pair with $$\mathrm{dim}[B]=d$$ such that $$[B]$$ is an iterated pyramid over $$[B_0]$$ where $$B_0\subset B$$ and $$\mathrm{dim}[B_0]=q$$. Then
1. (i)

$$(A\cap [B_0],B_0)$$ is a critical pair, and

2. (ii)

$$|(A\cap L)+B_0|=(q+1)|A\cap L|$$ for any affine $$q$$-plane $$L$$ parallel to $$L_0=\mathrm{aff} (B_0)$$ intersecting $$A$$ and avoiding the vertices of $$[B]$$.

## Proof

We have $$B\subset A$$ by Theorem 23 (i), and the pair $$(A\cap [B_0],B_0)$$ is critical by Theorem 23 (ii). Let $$[B]=[x_1,\ldots ,x_{d-q},B_0]$$, and let $$\widetilde{B}$$ be the join of $$\{x_1,\ldots ,x_{d-q}\}$$ and $$B_0$$. In particular, $$(A,\widetilde{B})$$ is a critical pair, by Lemma 19.

We may assume that $$0\in B_0$$. We divide $$A$$ into equivalence classes according to the cosets of $$H=\mathbb Zx_1+\cdots +\mathbb Zx_{d-q}+L_0$$, and hence adding $$\widetilde{B}\subset H$$ to different equivalence classes results in disjoint sets. One equivalent class is $$\widetilde{A}=\{x_1,\ldots ,x_{d-q}\}\cup (A\cap [B_0])$$, and
\begin{aligned} |\widetilde{A}+\widetilde{B}|\ge (d+1)|\widetilde{A}|-d(d+1)/2 \end{aligned}
(20)
by Theorem 1. Any other equivalence class is of the form $$A\cap L$$ for an affine $$q$$-plane $$L$$ parallel to $$L_0$$ that avoids $$\widetilde{B}$$ and intersects $$A$$. Since a translate of $$A\cap L$$ is contained in the relative interior of $$[B_0]$$, Lemma 16 yields
\begin{aligned} |(A\cap L)+\widetilde{B}|\ge (d+1)|A\cap L|. \end{aligned}
(21)
As $$(A,\widetilde{B})$$ is a critical pair, (20) and (21) imply
\begin{aligned} (d+1)|A\cap L|=|(A\cap L)+\widetilde{B}|=|(A\cap L)+B_0|+\sum _{i=1}^{d-q}|(A\cap L)+x_i|, \end{aligned}
therefore $$|(A\cap L)+B_0|=(q+1)|A\cap L|$$. $$\square$$

We recall that an edge of $$[B]$$ is loaded if it contains at least three points of $$B$$.

## Proposition 25

Let $$A,B$$ be finite $$d$$-dimensional sets in $$\mathbb R^d$$, $$d\ge 2$$ with $$A\subset [B]$$. If $$[B]$$ is a simplex, and $$(A,B)$$ is a critical pair, then $$B\subset A$$, $$B$$ is contained in the edges of $$[B]$$, and one of the following conditions hold:
1. (i)

$$|B|=d+1$$; or

2. (ii)

there is a unique loaded edge $$[u,v]$$ of $$B$$; the points of $$B$$ in this edge are part of an arithmetic progression $$D$$ contained in $$A$$; and $$A\backslash (B\cup D)$$ is the disjoint union of translates $$D\setminus \{v\}$$; or

3. (iii)

there exist two or three loaded edges for $$B$$, which are sides of a two dimensional face $$T$$ of $$[B]$$, and $$A$$ consists of the vertices of $$[B]$$, and the midpoints of the sides of $$T$$.

## Proof

The facts that $$B\subset A$$ and $$B$$ is contained in the edges of $$[B]$$ follow from Theorem 23 (i) and (iii). Let $$B'$$ be the vertex set of $$[B]$$.

We may assume $$|B|>d+1$$, and hence there exists a loaded edge $$[u,v]$$ of $$[B]$$.

It follows from Lemma 24 (i) and Proposition 8 (i) that $$B\cap [u,v]$$ is part of a maximal arithmetic progression $$D$$ containing the vertices $$u,v$$, and $$A\cap [u,v]$$ contains $$D$$, and the rest of $$A\cap [u,v]$$ is the disjoint union of translates of $$D\setminus \{v\}$$. In particular, Lemma 24 (ii) and Proposition 8 (ii) imply that
\begin{aligned} A\backslash (D\cup B') \hbox { is the disjoint union of translates of }D\setminus \{v\}. \end{aligned}
(22)
If there exists a unique loaded edge of $$B$$, then (22) yields (ii). Therefore we may assume that there are at least two loaded edges of $$[B]$$. Since $$B$$ is totally stackable by Theorem 23 (iii), it follows that either all loaded edges meet in a vertex, or they form a triangular $$2$$-dimensional face by Theorem 12.

Therefore we may assume $$[v_0,v_1]$$ and $$[v_0,v_2]$$ are two loaded edges of $$B$$ with $$v_0=0$$, and let $$T=[v_0,v_1,v_2]$$ be the $$2$$-face containing these two edges. In particular, $$(A\cap T, B\cap T)$$ is a critical pair by Theorem 23 (ii). It follows by (22) that for $$i=1,2$$, $$A\cap T$$ contains an arithmetic progression $$D_i$$ of length $$m_i\ge 3$$ with endpoints $$v_0$$ and $$v_i$$. According to (22), $$a_1=\frac{m_1-2}{m_1-1}\,v_1$$ is part of a translate of $$D_2\backslash \{v_2\}$$ contained in $$A\cap T$$, and hence also of a segment $$\sigma \subset T$$ of length at least $$\frac{m_2-2}{m_2-1}\,\Vert v_2\Vert$$. Since $$\frac{m_i-2}{m_i-1}\ge \frac{1}{2}$$, we deduce that $$m_1=m_2=3$$, $$D_1=\{v_0,a_1,v_1\}$$ and $$D_2=\{v_0,a_2,v_1\}$$ for $$a_2=\frac{1}{2}\,v_2$$. It follows by (22) that $$a_0=\frac{1}{2}(v_1+v_2)=a_1+a_2\in A$$.

Let $$a\in A\backslash (D_1\cup B')$$, and let $$L=a+\mathrm{lin}\{v_1,v_2\}$$. It follows by (22) applied to the edge $$[v_0,v_1]$$ that $$a\in \{p,p-a_1\}$$ where $$\{p,p-a_1\}\subset A$$. Now $$p\not \in (D_2\cup B')$$, and hence applying (22) to the edge $$[v_0,v_2]$$, we conclude that either $$p+a_2\in A$$, or $$p-a_2\in A$$. In other words, either $$[p,p-a_1,p+a_2]\subset [B]\cap L$$, or $$[p,p-a_1,p-a_2]\subset [B]\cap L$$. Since $$[B]\cap L$$ is a translate of $$\lambda T$$ for $$\lambda \in (0,1]$$ and $$\{p,p-a_1\}\cap D_1=\emptyset$$, we deduce that $$\lambda =1$$, and $$\{p,p-a_1,p-a_2\}=\{a_0,a_2,a_1\}$$. Therefore $$A$$ consists of the vertices of $$[B]$$, and the midpoints of $$T$$. $$\square$$

## 8 Critical Pairs $$(A,B)$$ with $$\mathrm{dim}[B]=2$$

In this section, $$A,B$$ are finite sets in $$\mathbb R^2$$ satisfying that $$A\subset [B]$$ and $$B$$ spans $$\mathbb R^2$$. Thus the case $$k=1$$ of Theorem 1 can be written into the form
\begin{aligned} |A+B|\ge 3|A|-3. \end{aligned}
(23)
We note that the case when $$[B]$$ is a triangle is handled in Sect. 7, and hence we start with the case when $$[B]$$ is a quadrilateral.

## Proposition 26

Let $$(A,B)$$ be a critical pair with $$[B]=[v_0,v_1,v_2,v_3]$$ a quadrilateral. Then $$A\subset \partial [B]$$ and $$[B]$$ is a trapezoid. Moreover
1. (i)

if $$B$$ consists of the vertices of a parallelogram, then $$A$$ can be partitioned into pairs of points, each a translate of a pair of consecutive points of $$B$$;

2. (ii)

if $$B$$ has a loaded edge or is not a parallelogram, then $$A$$ is contained in two parallel edges of $$B$$, say $$e_{1}=[v_0,v_1]$$ and $$e_{2}=[v_2,v_3]$$, and each of $$A\cap e_i$$ can be partitioned into maximal arithmetic progressions with common difference $$w$$; in addition, if $$\ell (e_2)\le \ell (e_1)$$ and $$[v_0,v_2]$$ is an edge of $$[B]$$, then $$(A\cap e_2)-(v_2-v_0)= A\cap (e_2-(v_2-v_0))$$.

## Proof

Let $$B'=\{v_0,v_1,v_2,v_3\}$$ be the vertices of $$B$$, where we may assume that $$v_0=o$$ and $$[0,v_1], [0, v_2]$$ are edges of $$[B]$$. By Theorem 23, we may assume that $$B\subset A$$ and that $$(A,B')$$ is critical.

Suppose that $$[B]$$ has no pair of parallel sides. We say that a side of $$[B]$$ is big if the sum of the angles at the endpoints of the side is less than $$\pi$$. Since one side out of two opposite sides of $$[B]$$ is big, there exists a vertex of $$[B]$$ where two big sides meet. Therefore we may assume that $$B=\{o,v_1,v_2,t_1v_1+t_2v_2\}$$, where
\begin{aligned} 0<t_1\le t_2<1\hbox { and } t_1+t_2>1. \end{aligned}
In addition, if $$s_1v_1+s_2v_2\in A$$ then $$s_1+s_2\le t_1+t_2$$.
Let $$B_0'=\{o,v_1,v_2\}$$. We observe that any coset of $$\mathbb Z^2=\mathbb Zv_1+\mathbb Zv_2$$ intersects $$[0,1) v_1+[0,1) v_2$$ in exactly one point, therefore no two points of $$A\backslash B_0'$$ are in the same coset. We deduce that
\begin{aligned} |A+B_0'|=|A\setminus B_0'|\cdot |B_0'|+|2B_0'|=3(|A|-3)+6=3\cdot |A|-3. \end{aligned}
On the other hand, if $$s_1v_1+s_2v_2\in A+B_0$$ then $$s_1+s_2\le t_1+t_2+1$$. Therefore $$2(t_1+t_2)> t_1+t_2+1$$ yields
\begin{aligned} 2(t_1v_1+t_2v_2)\in (A+B')\backslash (A+B_0'), \end{aligned}
and hence $$|A+B'|>|A+B_0'|=3\cdot |A|-3$$, contradicting that $$(A,B')$$ is a critical pair. This proves the first part of the statement.
For (i), suppose that $$B=B'$$ and $$[B]$$ is a parallelogram. We may assume that $$[B]=[0,1]^2$$. We partition $$A=A_0\cup \cdots \cup A_t$$ into equivalence classes according to $$\mathbb Z^2$$, where $$A_0=B$$. We observe that, for $$i>0$$, each $$A_i$$ consists either of one single point or a pair which is a translate of a pair of consecutive vertices in $$B$$. We have
\begin{aligned} |A+B|=\sum _{i=0}^k |A_i+B|=3|A_0|-3+\sum _{i=1}^k|A_i+B|=3|A|-3, \end{aligned}
which implies $$|A_i+B|=3|A_i|$$ for each $$i=1,\ldots ,k$$. This implies that no $$A_i$$ consists of a single point.
Finally, to prove (ii), we suppose that $$v_1=\lambda (v_3-v_2)$$ with $$\lambda \ge 1$$ and that the edge $$e_1=[o,v_1]$$ is loaded if $$\lambda =1$$. Set $$A_i=A\cap e_i$$ and $$B_i=B\cap e_i$$ for $$i=1,2$$. Consider equivalence classes of $$A$$ determined by the cosets of the subgroup $$H=\mathbb Zv_2+\mathbb Rv_1$$. One equivalence class of $$A$$ is $$A_1\cup A_2$$, and the rest are of the form $$A\cap l$$ for some line $$l$$ parallel to $$[o,v_1]$$, and intersecting $$\mathrm{int}[B]$$. For such a line $$l$$ we claim that
\begin{aligned} |(A\cap l)+B|>3|A\cap l|. \end{aligned}
(24)
Indeed, if $$\lambda > 1$$ then
\begin{aligned} |(A\cap l)+B'|=|(A\cap l)\cup ((A\cap l)+v_1)\cup ((A\cap l)+\{v_2,v_3\})|>3|A\cap l|. \end{aligned}
If $$\lambda =1$$ then $$|B_1|>2$$ by our assumption, and we have $$|(A\cap l)+B_1|\ge |A\cap l|+|B_1|-1= |A\cap l|+2$$. Hence,
\begin{aligned} |(A\cap l)+(B_1\cup B_2)|&= |(A\cap l)+B_1|+|(A\cap l)+B_2| \\&\ge ( |A\cap l|+2)+(2|A\cap l|-1)>3|A\cap l|. \end{aligned}
Since $$|(A_1\cup A_2)+(B_1\cup B_2)|\ge 3|(A_1\cup A_2)|-3$$ by Theorem 1, it follows from (24) that $$A=A_1\cup A_2$$, and in turn $$B\subset A$$ implies that $$B=B_1\cup B_2$$. This shows that both $$A$$ and $$B$$ are contained in two parallel lines of the trapezoid. Therefore,
\begin{aligned} |A+B|=|A_1+B_1|+|A_2+B_2|+|(A_1+B_2)\cup (A_2+B_1)|, \end{aligned}
where, by Proposition 8 (i), $$|A_i+B_i|\ge 2|A_i|-1$$ with equality if and only if $$A_i$$ is stable with respect to $$B_i$$. Moreover we have also $$|(A_1+B_2)\cup (A_2+B_1)| \ge |A_1|+|A_2|-1$$. Hence, it follows from $$|A+B|=3|A|-3$$ that there is equality in the three inequalities above, which implies
\begin{aligned} A_2\subseteq A_1+v_2 \hbox { and } (A_1+v_2)\cap [v_2,v_3]\subseteq A_2, \end{aligned}
which together with the other two equalities imply (ii). $$\square$$

## Lemma 27

If $$(A,B)$$ is a critical pair, and $$[B]$$ is a polygon, then $$[B]$$ has at most four vertices.

## Proof

We suppose that $$P=[B]$$ is a polygon of at least five vertices, and seek a contradiction. According to Theorem 23, we may assume that $$P$$ is a pentagon, and $$B$$ consists of the vertices of $$P$$. For any vertex $$v$$ of $$P$$, let $$P_v$$ be the convex hull of the other four vertices of $$P$$. It follows again by Theorem 23 that $$(A\cap P_v,B\cap P_v)$$ is a critical pair, as well, and hence Proposition 26 yields that $$P_v$$ is a trapezoid.

Since the sum of the angles of $$P$$ is $$3\pi$$, there exists a side $$f$$ of $$P$$ such that the sum of the angles at the two endpoints is at least $$\frac{6\pi }{5}>\pi$$. Let $$e$$ be the diagonal of $$P$$ not meeting $$f$$, and let $$v$$ be the vertex not in $$e\cup f$$. It follows that $$P_v$$ is a trapezoid where $$e$$ and $$f$$ are parallel, and $$\ell (e)>\ell (f)$$. We deduce from Proposition 26 that there exists $$x\in A\cap e$$ different from the endpoints of $$e$$.

Now let $$w$$ be an endpoint of $$f$$. Since $$e$$ is a diagonal of $$P_w$$, we have $$x\in A\cap \mathrm{int}P_w$$. However Proposition 26 (i) and (ii) applied to the pair $$(A\cap P_w,B\cap P_w)$$ shows that $$A\cap \mathrm{int}P_w=\emptyset$$, which is a contradiction. $$\square$$

## 9 Critical Pairs $$(A,B)$$ where $$[B]$$ is an Iterated Pyramid Over a Simplex-Prism

Our first statement is a preparation for the proof of Lemma 29.

## Lemma 28

If $$A,B\subset \mathbb R^d$$, $$d\ge 2$$, are finite such that $$x+A\subset \mathrm{int}[B]$$ for $$x\in \mathbb R^d$$, and $$[B]$$ is a $$d$$-dimensional simplex-prism, then
\begin{aligned} |A+B|> (d+1)|A|. \end{aligned}

## Proof

Let $$[v_0,\ldots ,v_{d-1}]$$ and $$[w_0,\ldots ,w_{d-1}]$$ be the facets of $$[B]$$ such that $$[v_i,w_i]$$ are the parallel vertical edges for $$i=0,\ldots ,d-1$$, and
\begin{aligned} \Vert v_i-w_i\Vert \le \Vert v_0-w_0\Vert \hbox { for }i=1,\ldots ,d-1. \end{aligned}
(25)
We may assume that $$v_0$$ is the origin, and $$A\subset \mathrm{int}[B]$$. Let $$\widetilde{B}\!=\!\!\{v_0,w_0,\ldots ,v_{d-1},w_{d-1}\}$$ be the vertex set of $$[B]$$, and let $$B'\!=\!\{v_1,w_1,\ldots ,v_{d-1},w_{d-1}\}$$.
We divide $$A$$ into equivalence classes according to the subgroup
\begin{aligned} H=\mathbb Zv_1+\cdots +\mathbb Zv_{d-1}+\mathbb Rw_0, \end{aligned}
and hence adding $$\widetilde{B}\subset H$$ to different equivalence classes results in disjoint sets. As $$A\subset \mathrm{int}[B]$$ and (25) yield that $$A\subset (0,1)v_1+\cdots +(0,1)v_{d-1}+(0,1) w_0$$, any equivalence class is of the form $$A\cap l$$ for a line $$l$$ parallel to $$w_0$$ and intersecting $$A$$, and a translate of $$A\cap l$$ is contained in $$[v_0,w_0]\backslash \{v_0,w_0\}$$. Thus Proposition 8 (ii) implies
\begin{aligned} |(A\cap l)+ \{v_0,w_0\}|\ge 2|A\cap l|. \end{aligned}
(26)
We note that
\begin{aligned} \hbox { the sets }l+v_i, i=0,\ldots ,d-1, \hbox {are pairwise disjoint}, \end{aligned}
(27)
therefore
\begin{aligned} |(A\cap l)+B'|=\sum _{i=1}^{d-1}|(A\cap l)+\{v_i,w_i\}|\ge \sum _{i=1}^{d-1}(|A\cap l|+1)> (d-1)|A\cap l|. \end{aligned}
(28)
We conclude $$|A+B|\ge |A+\widetilde{B}|> (d+1)|A|$$ by (26), (27) and (28). $$\square$$

Combining Lemmas 24 and 28 yield the following.

## Lemma 29

If $$d>q\ge 2$$ and $$(A,B)$$ is a critical pair such that $$B$$ spans $$\mathbb R^d$$, $$A\subset [B]$$, and $$[B]=[x_1,\ldots ,x_{d-q}, P]$$ for a $$q$$-dimensional simplex-prism $$P$$, then $$A=\{x_1,\ldots ,x_{d-q}\}\cup (A\cap P)$$.

It remains to describe the structure of $$A$$ and $$B$$ when $$[B]$$ is a simplex-prism.

## Proposition 30

If $$d\ge 3$$, and $$(A,B)$$ is a critical pair such that $$[B]$$ is a $$d$$-dimensional polytope projectively equivalent to a simplex-prism, then $$B\subset A$$, and
1. (i)

the vertical edges of $$[B]$$ are parallel,

2. (ii)

$$A$$ is contained in the vertical edges of $$[B]$$,

3. (iii)

there exists a vertical vector $$w\ne 0$$ such that for each vertical edge $$e$$, $$A\cap e$$ can be partitioned into maximal arithmetic progressions of difference $$w$$ in $$e$$, one of them containing both endpoints of $$e$$, and this longest arithmetic progression contains $$B\cap e$$. In addition if $$e$$ and $$f$$ are vertical edges, and $$e+v\subset f$$ in a way such that $$e+v$$ and $$f$$ share a common endpoint, then $$(A\cap e)+v=A\cap (e+v)$$.

## Proof

We have $$B\subset A$$ by Theorem 23 (i). Let $$[v_0,\ldots ,v_{d-1}]$$ and $$[w_0,\ldots ,w_{d-1}]$$ be the facets of $$[B]$$ such that $$[v_i,w_i]$$ are the vertical edges for $$i=0,\ldots ,d-1$$.

For $$0\le i<j\le d-1$$, it follows from Theorem 23 (iii) that $$(A_{ij},B_{ij})$$ is a critical pair for $$A_{ij}=[v_i,w_i,v_j,w_j]\cap A$$ and $$B_{ij}=[v_i,w_i,v_j,w_j]\cap B$$, therefore Proposition 26 yields that
\begin{aligned}{}[v_i,w_i,v_j,w_j]&\hbox {is a trapezoid, and}\end{aligned}
(29)
\begin{aligned} A_{ij}\hbox { and }B_{ij}&\hbox {satisfy the conditions of Proposition 26 (i) or (ii).} \end{aligned}
(30)
We verify (i) using an indirect argument. We suppose that the lines of the vertical edges meet at a point $$p\in \mathbb R^d$$, and seek a contradiction. We may assume that $$w_i\in [p,v_i]$$ for $$i=0,\ldots ,d-1$$. Since the pair composed of $$A\cap [v_0,v_1,w_1,v_2,w_2]$$ and $$B\cap [v_0,v_1,w_1,v_2,w_2]$$ is critical by Theorem 23 (iii), and $$[v_1,w_1,v_2,w_2]$$ is a trapezoid according to (29) , Lemma 29 yields that
\begin{aligned} A\cap [v_0,v_1]=\{v_0,v_1\}. \end{aligned}
(31)
However $$w_i\in [p,v_i]$$ for $$i=0,1$$ and (29) yield that $$[w_0,w_1]$$ is parallel with and shorter than $$[v_0,v_1]$$. We deduce from Proposition 26 that $$|A\cap [v_0,v_1]|\ge 3$$, contradicting (31), and implying (i).

We prove (ii) again by contradiction, therefore we suppose that there exists an $$x\in A$$ not contained in the vertical edges.

According to the Charateodory theorem (see, e.g., Grünbaum [2]), if $$x\in [X]\backslash X$$ for $$X\subset \mathbb R^d$$, then $$x\in [x_0,\ldots ,x_d]$$ for $$x_0,\ldots ,x_d\in X$$. It follows that possibly after reindexing, there exists $$m$$ such that $$1\le m\le d$$, $$[x_0,\ldots ,x_m]$$ is an $$m$$-simplex, and
\begin{aligned} x\in \mathrm{relint}[x_0,\ldots ,x_m] =\{t_0x_0+\cdots +t_mx_m:\,t_0,\ldots ,t_m>0\hbox { and } t_0+\cdots +t_m=1\}. \end{aligned}
(32)
We deduce from (32) that there exists $$1\le m\le d$$, and affinely independent vertices $$x_0,\ldots ,x_m$$ of $$[B]$$ such that $$x\in \mathrm{relint} [x_0,\ldots ,x_m]$$. Since an $$m$$-simplex has no two parallel edges, we may assume that $$x_0=v_0$$, and $$w_0\not \in \{x_1,\ldots ,x_m\}$$. In particular, $$x\in A\cap P$$ for $$P=[v_0,v_1,w_1,\ldots ,v_{d-1},w_{d-1}]$$ where $$Q=[v_1,w_1,\ldots ,v_{d-1},w_{d-1}]$$ is a simplex-prism by (i). It follows from $$x\in \mathrm{relint} [x_0,\ldots ,x_m]$$ that $$x\ne v_0$$ and $$x\not \in Q$$. Since the pair $$(A\cap P, B\cap P)$$ is critical, this contradicts Lemma 29, and hence implies (ii).

The last property (iii) follows from (30) and Proposition 26. $$\square$$

## 10 Proof of Necessity in Theorem 5

Let $$(A,B)$$ be a $$k$$-critical pair for some $$k\ge 1$$ with $$\mathrm{dim}[B]=d$$. In particular, $$(A,B)$$ a $$1$$-critical and $$B$$ is totally stackable by Theorem 23. According to Theorem 12, $$[B]$$ is a simplex, or an iterated pyramid over a polygon, or over (a projective deformation of) a simplex-prism. If $$[B]$$ is a simplex, then the characterization in Theorem 5 (i), (ii), (iv) and (vi) is achieved by Proposition 8 if $$d=1$$, and Proposition 25 if $$d\ge 2$$.

Therefore let $$[B]$$ be an iterated pyramid over $$P$$ with $$\mathrm{dim}P=q$$ where $$P$$ is polygon or a projective deformation of a simplex-prism. We may assume that $$P$$ is not a triangle. Since the pair $$(A\cap P,B\cap P)$$ is $$1$$-critical by Theorem 23 (ii), Proposition 26 and 27 yield that if $$P$$ is a polygon, then it is a trapezoid. In addition, Proposition 30 yields that the vertical edges of $$P$$ are parallel even if $$q\ge 3$$.

We deduce from Lemma 29 that any point of $$A$$ is a vertex of $$[B]$$, or contained in $$P$$. Therefore we conclude Theorem 5 (iii) and (v) from Proposition 26 if $$q=2$$, and from Proposition 30 if $$q\ge 3$$.

## Notes

### Acknowledgments

Part of the research was done during an FP7 Marie Curie Fellowship of the first name author at BarcelonaTech, whose hospitality is gratefully acknowledged. Károly J. Böröczky was supported by the FP7 IEF Grant GEOSUMSETS and OTKA Grant 109789. Francisco Santos was supported by the Spanish Ministry of Science (MICINN) through Grant MTM2011-22792. Oriol Serra was supported by the Spanish Ministry of Science (MICINN) under Project MTM2011-28800-C02-01, and by the Catalan Research Council under Grant 2009SGR1387.

## References

1. 1.
Freiman, G.: Foundations of a Structural Theory of Set Addition. American Mathematical Society, Providence, RI (1973)
2. 2.
Grünbaum, B.: Convex Polytopes, 2nd edn. Springer, New York (2003)
3. 3.
Nill, B., Padrol, A.: The degree of point configurations: Ehrhart theory, Tverberg points and almost neighborly polytopes. Eur. J. Comb. arXiv:1209.5712
4. 4.
De Loera, J.A., Rambau, J., Santos, F.: Triangulations: Structures for Algorithms and Applications. Algorithms and Computation in Mathematics, vol. 25. Springer, Berlin (2010)Google Scholar
5. 5.
Matolcsi, M., Ruzsa, I.Z.: Sumsets and the convex hull. In: Chudnovsky, D., Chudnovsky, G. (eds.) Additive Number Theory: Festschrift in Honor of the Sixtieth Birthday of Melvyn B. Nathanson, pp. 221–227. Springer, New York (2010)
6. 6.
Ruzsa, I.Z.: Sumsets and structure. Combinatorial Number Theory and Additive Group Theory. Advanced Courses in Mathematics, CRM Barcelona, pp. 87–210. Birkhäuser, Basel (2009)Google Scholar
7. 7.
Stanchescu, Y.: On the simplest inverse theorem for sums of sets in several dimensions. Combinatorica 18, 139–149 (1998)
8. 8.
Stanley, R.P.: Cohen–Macaulay complexes. In: Aigner, M. (ed.) Higher Combinatorics. NATO Advanced Study Institute Series, pp. 51–62. Reidel, Dordrecht (1977)
9. 9.
Tao, T., Vu, V.: Additive Combinatorics. Cambridge University Press, Cambridge (2006)
10. 10.
Ziegler, G.M.: Lectures on Polytopes, revised edn. Springer, New York (1998)Google Scholar

## Authors and Affiliations

• Károly J. Böröczky
• 1
• 2
• Francisco Santos
• 3
• Oriol Serra
• 4
1. 1.Alfréd Rényi Institute of MathematicsHungarian Academy of SciencesBudapestHungary
2. 2.Central European UniversityBudapestHungary