1 Introduction

We study the connected blocks polytope \(\textrm{CBP}(G)\) of a connected graph G, which is closely related to several polytopes from literature. Our study generalizes some known results about these polytopes and also considers new aspects that have not been studied so far at all. Our aim is to understand connectivity in a polyhedral way and we are interested in finding sets of blocks of a graph that induce a connected subgraph. This generalizes the problem of finding a maximum weighted subtree of a weighted tree. For the exact definitions of the following mentioned related polytopes, as well as of the connected blocks polytope and their connections to each other, see Sect. 3. All of theses polytopes are defined over a graph or, more general, a matroid, and most of them coincide if the underlying graph is a bridgeless cactus graph, i.e., a graph in which two cycles have at most one vertex in common.

In [6], the connected subgraph polytope \(\textrm{CSP}(G)\) of a graph G is studied, where a complete inequality description for the connected subgraph polytope of a tree is provided. As we will see in Proposition 3.1, the connected subgraph polytope and the connected blocks polytope coincide if the underlying graph is a tree. In Theorem 5.11, we provide a complete facet description for the connected blocks polytope, generalizing the aforementioned result in [6].

In literature, the Eulerian subgraph polytope mostly appears as a special case of the cycle polytope of a binary matroid, e.g., see [1]. In this case the considered subgraphs have components that are Eulerian but these subgraphs are not necessarily connected. To the best of our knowledge, the actual Eulerian subgraph polytope – where only Eulerian subgraphs are considered – has not been studied so far. This can be of interest, e.g., for optimization purposes such as finding a minimum/maximum weighted Eulerian subgraph in a weighted graph G. Our research covers the case that the underlying graph is a Eulerian cactus graph. In this case the cycle polytope would be given by the unit cube of some dimension, but the connected blocks polytope is more complicated and is affinely isomorphic to the actual Eulerian subgraph polytope in the considered case, see Proposition 3.1. In [1], a complete facet description of the cycle polytope of a binary matroid without some forbidden minors is given. Furthermore, the polyhedral edges are characterized and it is shown that the cycle polytope is Hirsch if the binary matroid does not have a special minor. We obtain similar results for the connected blocks polytope which directly implies that same results for the actual Eulerian subgraph polytope hold if the underlying graph is a Eulerian cactus graph.

The 2-edge-connected subgraph polytope has mostly been studied with the additional condition that the considered subgraphs are spanning subgraphs [2, 9]. We want to look at the case where all 2-edge-connected subgraphs are allowed. Therefore consider the case where the underlying graph is a 2-edge-connected cactus graph. In this case the spanning 2-edge-connected subgraph polytope has dimension zero since the only spanning 2-edge-connected subgraph is the graph G itself. The 2-edge-connected subgraph polytope, as we will consider it, however, is more complex and is affinely isomorphic to the connected blocks polytope, if the underlying graph is a 2-edge-connected cactus graph, see Proposition 3.1. In [2, 9], several facet-defining inequalities for the spanning 2-edge-connected subgraph polytope are studied. Furthermore, a complete inequality description is provided for some classes of graphs such as series–parallel graphs and Halin graphs. Since we also provide a complete inequality description of the connected blocks polytope, see Theorem 5.11, this directly implies the same result for the 2-edge-connected subgraph polytope, if the underlying graph is a 2-edge-connected cactus graph.

There exists no study of Ehrhart theoretical aspects for any of the above mentioned polytopes so far.

Our Contribution and Organization

In Sect. 2, we give all the needed preliminaries on graph theory and introduce some notations. In Sect. 3, we formally define the connected blocks polytope and explain its relation to other polytopes of interest. We then start with some basic results on the connected blocks polytope in Sect. 4, where we determine the dimension of \(\textrm{CBP}(G)\) and characterize when connected blocks polytopes are simple and simplicial, respectively. Afterwards we study the facets in Sect. 5, where we give a complete facet description of \(\textrm{CBP}(G)\) in Theorem 5.11. This also yields a complete facet description for the Eulerian (2-edge-connected) subgraph polytope of Eulerian (2-edge-connected, respectively) cactus graphs and in particular generalizes the mentioned main result of [6]. In Sect. 6, motivated by [1], we characterize the polyhedral edges of connected blocks polytopes and show that the polytopes are Hirsch. In Sect. 7, we initiate the study of Ehrhart theoretical aspects of connected blocks polytopes. We show that connected blocks polytopes admit a regular unimodular triangulation and are Gorenstein, which implies unimodality of its \(h^*\)-vector. Thus, these polytopes are not only interesting from an optimization point of view but also from a discrete geometry and Ehrhart theoretical point of view. We give the Ehrhart theoretical preliminaries in the beginning of that section since there is no knowledge on Ehrhart theory needed in the rest of the paper.

2 Preliminaries

By G we denote an undirected graph with vertex set V(G) and edge set E(G). A connected graph G is 2-connected (or biconnected) if \(\vert V(G) \vert \ge 3\) and \(G-v\) is connected for every vertex \(v \in V(G)\). Here, \(G-v\) denotes the graph where v and all its incident edges are deleted from G. An edge \(e \in E(G)\) is called a bridge if the graph \(G-e\), given by the graph with vertex set V(G) and edge set \(E(G) {\setminus } \{e\}\), has more connected components than G. A block of G is a maximal 2-connected subgraph of G or a bridge together with its two incident vertices, and by \(\mathcal {B}\) we denote the set of blocks of G. If \(H \subseteq G\) is a subgraph of G whose blocks are contained in \(\mathcal {B}\), we write \(\mathcal {B}[H]\) for the set of blocks of H. For a subset of the blocks \(\mathcal {A}\subseteq \mathcal {B}\) we denote by \(G[\mathcal {A}]\) the graph that is induced by \(\mathcal {A}\), i.e., \(G[\mathcal {A}] :=\bigcup _{B \in \mathcal {A}}B\), and with \(\mathcal {B}\langle \mathcal {A}\rangle \subseteq \mathcal {B}\) we denote the smallest set of blocks of \(\mathcal {B}\) that induces a connected subgraph of G containing \(\mathcal {A}\). A vertex \(v \in V(G)\) is a cut vertex if \(G-v\) has more components than G and by \(X \subseteq V(G)\) we denote the set of cut vertices of G. Note that a connected graph on at least three vertices is 2-connected if and only if it has no cut vertices. For a connected graph G its block-cut tree, denoted by \(\mathcal {T}:=\mathcal {T}(G)\), is the tree with vertex set \(V(\mathcal {T})=\mathcal {B}\cup X\) and edge set \(E = \left\{ \{B,v\} \mid B \in \mathcal {B}, \ v \in X \cap V(B) \right\} \), see Fig. 1 for an example. Note that the block-cut tree is indeed a treeFootnote 1. We say that G is a block path of length n if G has n blocks \(\mathcal {B}=\{B_1,\ldots ,B_n\}\) such that \(B_i\) and \(B_{i+1}\) have a common vertex for \(i \in [n-1]\), where \([\ell ]\) denotes the set \(\{1,\ldots ,\ell \}\), and no other pair of blocks shares a common vertex. Equivalently, G is a block path if and only if its block-cut tree \(\mathcal {T}\) is a path. A cycle in G is a subgraph \(C \subseteq G\) with pairwise distinct vertices \(v_1,\ldots ,v_n\), \(n \ge 3\), and edge set \(E(C)=\{v_iv_{i+1 \bmod n} \mid i \in [n]\}\). A graph G is called a cactus graph if any two cycles have at most one vertex in common. A graph G is called Eulerian if there exists a Eulerian tour in G, i.e., a route starting and ending at the same vertex traversing every edge of G exactly once. Equivalently, a graph is Eulerian if and only if it is connected (except for possibly some isolated vertices) and every vertex has even degree. Observe that a Eulerian cactus graph is precisely one without any bridges and only one component containing edges.

Fig. 1
figure 1

Example for a graph G, its block structure, and its block-cut tree \(\mathcal {T}(G)\)

3 Considered Polytopes

3.1 Connected Blocks Polytope

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. For a subset of the blocks \(\mathcal {A}\subseteq \mathcal {B}\) we define the incidence vector \(\chi ^\mathcal {A}\in \{0,1\}^{\mathcal {B}}\) by

$$\begin{aligned} \chi _B^\mathcal {A}:={\left\{ \begin{array}{ll} 1, \text { if } B \in \mathcal {A}, \\ 0, \text { otherwise}.\end{array}\right. } \end{aligned}$$

We are interested in finding subsets of blocks that induce a connected graph. We define the connected blocks polytope of G by

$$\begin{aligned} \textrm{CBP}(G) :=\textrm{conv}\{\chi ^\mathcal {A}\mid \mathcal {A}\subseteq \mathcal {B}, \ G[\mathcal {A}] \text { is connected} \}. \end{aligned}$$

We also consider the empty graph to be connected and hence, \(\chi ^\emptyset =\textbf{0} \in \textrm{CBP}(G)\). Given the block-cut tree \(\mathcal {T}\) of G and \(\mathcal {A}\subseteq \mathcal {B}\subseteq V(\mathcal {T})\), we let \(\mathcal {T}\langle \mathcal {A}\rangle \subseteq \mathcal {T}\) denote the smallest subtree containing \(\mathcal {A}\). Then \(G[\mathcal {A}]\) is connected if and only if \(V(\mathcal {T}\langle \mathcal {A}\rangle ) \cap \mathcal {B}=\mathcal {A}\). Thus, we get

$$\begin{aligned} \textrm{CBP}(G) = \textrm{conv}\{\chi ^\mathcal {A}\mid \mathcal {A}\subseteq \mathcal {B}, \ V(\mathcal {T}\langle \mathcal {A}\rangle ) \cap \mathcal {B}=\mathcal {A}\}. \end{aligned}$$

In the following, we will show that \(\textrm{CBP}(G)\) is closely related to several polytopes from literature.

3.2 Connected Subgraph Polytope

The connected subgraph polytope \(\textrm{CSP}(G)\) of a graph G is defined as

$$\begin{aligned} \textrm{CSP}(G) :=\textrm{conv}\{\chi ^{E(H)} \mid H \subseteq G \text { is connected} \}, \end{aligned}$$

where \(\chi ^{E(H)} \in \{0,1\}^{E(G)}\) for a subgraph \(H \subseteq G\) is defined as

$$\begin{aligned} \chi ^{E(H)}_e:={\left\{ \begin{array}{ll} 1, \text { if } e \in E(H), \\ 0, \text { otherwise}.\end{array}\right. } \end{aligned}$$

If T is a tree, every block of T consists of a single edge \(e \in E(T)\) together with its incident vertices. We thus have a one-to-one correspondence between the blocks of T and the edges of T and it directly follows that

$$\begin{aligned} \textrm{CBP}(T)=\textrm{CSP}(T) \end{aligned}$$

for every tree T. Hence, every connected subgraph polytope of a tree is a connected blocks polytope. The converse is not true since in a tree every block contains at most two cut vertices, while this does not hold for arbitrary graphs.

In [6], a complete inequality description is provided for \(\textrm{CSP}(G)\) in the case that G is a tree, a cycle, or has no matching of cardinality three. In Theorem 5.11, we generalize the first case ( [6, Theorem 6]) by giving a complete facet description for \(\textrm{CBP}(G)\) for general graphs, i.e., the connected blocks polytopes that are not necessarily given by the connected subgraph polytope of a tree.

3.3 Eulerian Subgraph Polytope

For a graph G the Eulerian subgraph polytope is defined as

$$\begin{aligned} \textrm{ESP}(G) :=\textrm{conv}\{ \chi ^{E(H)} \mid H \subseteq G \text { is Eulerian} \}. \end{aligned}$$
(1)

In the literature, the term Eulerian subgraph polytope is also used for the cycle polytope of a graphic matroid; see for example [1] for a definition and more details. However, that definition also allows subgraphs that have multiple non-trivial components (each of which is Eulerian). Thus those graphs are not really Eulerian and the naming is misleading. Our definition in (1) is thus different but arguably more sound in terms of graph theory.

Suppose now that G is a connected Eulerian cactus graph. Then the blocks of G are exactly the cycles of G. Given a cycle C of G, every Eulerian subgraph H of G either contains all edges of C or none, since otherwise there would exist a bridge in H. Hence, \(x_e=x_f\) for all \(x \in \textrm{ESP}(G)\) and all \(e,f \in E(C)\). Thus it is not necessary to have one variable per edge in G, but it suffices to have one variable for each cycle in G. For a Eulerian cactus graph G, let \(\mathcal {C}:=\mathcal {C}(G)\) denote the set of cycles of G. The previous discussion gives rise to what we call the projected Eulerian subgraph polytope of a Eulerian cactus graph G. Namely,

$$\begin{aligned} \textrm{ESP}_p(G):=\textrm{conv}\{\chi ^{\mathcal {C}(H)} \mid H \subseteq G \text { Eulerian} \}, \end{aligned}$$

where \(\chi ^{\mathcal {C}(H)} \in \{0,1\}^\mathcal {C}\) is defined by

$$\begin{aligned} \chi ^{\mathcal {C}(H)}_C :={\left\{ \begin{array}{ll} 1, \text { if } C \in \mathcal {C}(H), \\ 0, \text { otherwise.}\end{array}\right. } \end{aligned}$$

By the above discussion, the two polytopes \(\textrm{ESP}_p(G)\) and \(\textrm{ESP}(G)\) are unimodular equivalent. Since every block of a Eulerian cactus graph is a cycle and every Eulerian subgraph of a Eulerian cactus graph is precisely a subset of cycles whose union is connected, it directly follows that

$$\begin{aligned} \textrm{CBP}(G)=\textrm{ESP}_p(G) \end{aligned}$$

for every Eulerian cactus graph G.

As already mentioned, the cycle polytope of a graphic matroid has been studied in literature. [1] provides a nonredundant linear system of inequalities describing the cycle polytope of a graphic matroid. If G is a graph such that every subgraph whose components are Eulerian already is connected except possibly some isolated vertices, the cycle polytope and the Eulerian subgraph polytope defined in (1) coincide and Theorem 4.23 of [1] is true in this case. Note that this is only the case if and only if all two edge-disjoint cycles of G share a common vertex. To the best of our knowledge, there is no work on the Eulerian subgraph polytope as defined in (1). We start to close this gap by considering the case that the underlying graph is a Eulerian cactus graph. Note that the cycle polytope of a Eulerian cactus graph would be unimodular equivalent to the trivial unit cube \(Q_n:=[0,1]^n\) of dimension n, where n is given by the number of cycles of G. In our case, however, we typically deal with strict subpolytopes of \(Q_n\).

3.4 2-Edge-Connected Subgraph Polytope

We say that G is 2-edge-connected if G is connected and contains no bridges. We define the 2-edge-connected subgraph polytope by

$$\begin{aligned} \textrm{TECSP}(G) :=\textrm{conv}\{ \chi ^{E(H)} \mid H \subseteq G \text { is } 2\text {-edge-connected} \}. \end{aligned}$$
(2)

In the literature, the 2-edge-connected subgraph polytope is typically only considered with the additional restriction that the subgraphs need to be spanning, see [2], i.e., the subgraphs must contain all vertices of the underlying graph. As there is no work on the 2-edge-connected subgraph polytope as defined in (2), we start to close this gap by considering the case that the underlying graph is a 2-edge-connected cactus graph. Note that the spanning 2-edge-connected subgraph polytope of a 2-edge-connected cactus graph G would be \(\{\chi ^{E(G)}\}=\{\textbf{1}\}\), since G is the only spanning 2-edge-connected subgraph of G. In our case, however, the polytope is much more interesting.

Suppose that G is a 2-edge-connected cactus graph. By definition a connected cactus graph is 2-edge-connected if it contains no bridges, i.e., if and only if it is Eulerian. Analogously to the Eulerian subgraph polytope of a Eulerian cactus graph we observe that for 2-edge-connected cactus graphs the 2-edge-connected subgraph polytope is unimodular equivalent to the connected blocks polytope.

Summing up, we obtain the following relations, where \(\mathcal {P}_1 \cong \mathcal {P}_2\) denotes that the two polytopes \(\mathcal {P}_1\) and \(\mathcal {P}_2\) are unimodular equivalent:

Proposition 3.1

  1. (i)

    Let T be a tree. Then we have

    $$\begin{aligned} \textrm{CBP}(T)=\textrm{CSP}(T). \end{aligned}$$
  2. (ii)

    Let G be a connected Eulerian cactus graph. Then we have

    $$\begin{aligned} \textrm{ESP}_p(G)=\textrm{CBP}(G) \cong \textrm{TECSP}(G)=\textrm{ESP}(G). \end{aligned}$$

Thus, in the following, it will suffice to consider the general connected blocks polytope, to directly obtain results on the other above mentioned polytopes.

4 Polyhedral Warm-Up

In this section we determine the dimension of the connected blocks polytope and characterize when those polytopes are simple and simplicial, respectively.

Proposition 4.1

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Then we have

$$\begin{aligned} \dim (\textrm{CBP}(G))=\vert \mathcal {B}\vert . \end{aligned}$$

In particular, \(\textrm{CBP}(G)\) is full-dimensional.

Proof

The \(\vert \mathcal {B}\vert +1\) vectors \(\{\chi ^{\{B\}}\}_{B \in \mathcal {B}} \cup \{\textbf{0}\}\) are affinely independent vertices of \(\textrm{CBP}(G)\). \(\square \)

Proposition 4.2

Let G be a connected graph and \(\mathcal {B}\) its set of blocks.

  1. (i)

    \(\textrm{CBP}(G)\) is simple if and only if G has at most one cut vertex.

  2. (ii)

    \(\textrm{CBP}(G)\) is simplicial if and only if \(\vert \mathcal {B}\vert \le 2\).

Proof

  1. (i)

    The polytope is trivial if G has no cut vertex. Suppose G has precisely one cut vertex \(v \in V(G)\). Then \(\textrm{CBP}(G)\) is given by the \(\vert \mathcal {B}\vert \)-dimensional unit cube since every subset \(\mathcal {A}\subseteq \mathcal {B}\) induces a connected subgraph of G. In particular, \(\textrm{CBP}(G)\) is simple. Suppose now that there are at least two distinct cut vertices \(v,w \in V(G)\). Since these two vertices are connected in G by a block path of length \(\ge 1\), there must exist a block path \(P_3=B_1 \cup B_2 \cup B_3 \subseteq G\) of length 3. Consider the face \(\mathcal {F}\) of \(\textrm{CBP}(G)\) given by

    $$\begin{aligned} \mathcal {F}:=\{ x\in \textrm{CBP}(G) \mid x_B=0 \text { for all } B \in \mathcal {B}\backslash \{B_1,B_2,B_3\}\}. \end{aligned}$$

    Then \(\mathcal {F}\) is unimodular equivalent to the 3-dimensional connected blocks polytope of \(P_3\). It is easy to verify that the vertex \(\chi ^{\{B_1\}}\) of \(\textrm{CBP}(P_3)\) lies in an edge with each of the vertices \(\chi ^\emptyset , \chi ^{\{B_3\}}, \chi ^{\{B_1,B_2\}}\) and \(\chi ^{\{B_1,B_2,B_3\}}\), see also Sect. 6. Thus, by Proposition 2.4 of [13] the vertex figure of \(\chi ^{\{B_1\}}\) is not a simplex, \(\mathcal {F}\) is not simple, and thus \(\textrm{CBP}(G)\) is not simple.

  2. (ii)

    For \(\vert \mathcal {B}\vert \in \{1,2\}\), we have \(\textrm{CBP}(G)=Q_1\) or \(\textrm{CBP}(G)=Q_2\), respectively, which are simplicial. Suppose \(\vert \mathcal {B}\vert \ge 3\). Let \(B_1\) and \(B_2\) be blocks sharing a common vertex. Since \(\vert \mathcal {B}\vert \ge 3\),

    $$\begin{aligned} \mathcal {F}:=\{x \in \textrm{CBP}(G) \mid x_B=0 \text { for all } B \in \mathcal {B}\backslash \{B_1,B_2\} \} \end{aligned}$$

    defines a proper face of \(\textrm{CBP}(G)\). Since \(\mathcal {F}\) is affinely isomorphic to \(Q_2\), it follows that \(\textrm{CBP}(G)\) is not simplicial.

\(\square \)

5 Facets

In this section we will provide a complete and irredundant facet description for the connected blocks polytope.

5.1 Box Inequalities

We first show that the box inequalities \(0 \le x_B \le 1\) for \(B \in \mathcal {B}\) define facets of \(\textrm{CBP}(G)\).

Theorem 5.1

Let G be a connected graph, \(\mathcal {B}\) its set of blocks and \(B \in \mathcal {B}\). Then the inequalities

$$\begin{aligned} x_B \ge 0 \text { and } x_B \le 1 \end{aligned}$$

define facets of \(\textrm{CBP}(G)\).

Proof

Since \(\textrm{CBP}(G)\) is a 0-1-polytope, it is clear that the inequalities define supporting hyperplanes of \(\textrm{CBP}(G)\). Let \(\mathcal {F}\) be the face of \(\textrm{CBP}(G)\) defined by \(x_B=0\), i.e.,

$$\begin{aligned} \mathcal {F}:=\{x \in \textrm{CBP}(G) \mid x_B=0 \}. \end{aligned}$$

Then the \(\vert \mathcal {B}\vert \) many vertices \(\{\chi ^{\{B'\}}\}_{B' \in \mathcal {B}{\setminus } \{B\}} \cup \{{\textbf {0}}\}\) lie in \(\mathcal {F}\) and are affinely independent. It follows that \(\mathcal {F}\) is a facet, since \(\dim (\textrm{CBP}(G))=\vert \mathcal {B}\vert \).

Now consider \(x_B \le 1\) and let \(\mathcal {B}=\{B_1,\ldots ,B_n\}\). After possibly reordering the blocks we can assume that \(B=B_1\) and \(G[\{B_1,\ldots ,B_i\}]\) is connected for all \(i \in [n]\). Then the incidence vectors \(\chi ^{\{B_1,\ldots ,B_i\}}\) are vertices of the face defined by \(x_B=1\) for all \(i \in [n]\). Since these \(\vert \mathcal {B}\vert \) many vectors are affinely independent, the inequality \(x_B \le 1\) defines a facet of \(\textrm{CBP}(G)\). \(\square \)

5.2 Independent Blocks Inequalities

We will motivate the next type of inequalities by a few examples. Consider a block path \(P_3=B_1 \cup B_2 \cup B_3\) of length 3, which can also be seen as a subgraph of the graph in Fig. 1. Since the blocks \(B_1\) and \(B_3\) do not share a common vertex, we have to find an inequality that is feasible for \(\textrm{CBP}(P_3)\), but not for \(\chi ^{\{B_1,B_3\}}\). This can be achieved by imposing the inequality

$$\begin{aligned} x_{B_1}-x_{B_2}+x_{B_3} \le 1. \end{aligned}$$

For an arbitrary connected graph G with set of blocks \(\mathcal {B}\) this can be generalized to

$$\begin{aligned} x_{B_1}-x_{B_2}+x_{B_3} \le 1, \end{aligned}$$
(3)

for any \(B_1,B_2,B_3 \in \mathcal {B}\), with \(V(B_1) \cap V(B_3)=\emptyset \) and \(B_2 \in \mathcal {B}\langle \{B_1,B_3\}\rangle \setminus \{B_1,B_3\}\). It is easy to check that together with the box inequalities this already describes all feasible lattice points

$$\begin{aligned} \textrm{CBP}(G) \cap \mathbb {Z}^\mathcal {B}. \end{aligned}$$

However, these inequalities do not suffice to describe \(\textrm{CBP}(G)\), i.e., the convex hull of these points. For example consider a block path \(P_5=B_1\cup B_2\cup B_3\cup B_4\cup B_5\) of length 5, which again can be seen as a subgraph of the graph in Fig. 1. Then the inequality

$$\begin{aligned} x_{B_1}-x_{B_2}+x_{B_3}-x_{B_4}+x_{B_5} \le 1 \end{aligned}$$

is valid for \(\textrm{CBP}(P_5)\) and forbids the point \((\frac{1}{2},0,\frac{1}{2},0,\frac{1}{2})^T\), which would remain feasible if only the inequalities in (3) and the box inequalities were imposed. Similarly, if G is a graph with blocks \(\mathcal {B}=\{B_1,B_2,B_3,B\}\) such that \(V(B) \cap V(B_i) \ne \emptyset \) for all \(i \in [3]\) and \(V(B_i) \cap V(B_j)=\emptyset \) for \(i,j \in [3]\), \(i\ne j\), then also the inequality

$$\begin{aligned} x_{B_1}+x_{B_2}+x_{B_3}-2x_{B} \le 1 \end{aligned}$$

defines a supporting hyperplane of \(\textrm{CBP}(G)\) and cuts off the otherwise feasible point \((\frac{1}{2},\frac{1}{2},\frac{1}{2},0)^T\). (For the graph in Fig. 1 a subgraph of this type would be given by \(B_3 \cup B_4 \cup B_5 \cup B_8\), where \(B=B_4\).)

We now generalize these examples as follows. For a connected graph G and its set of blocks \(\mathcal {B}\) we call \(\mathcal {I}\subseteq \mathcal {B}\) an independent set of blocks if there are no two blocks in \(\mathcal {I}\) that share a common vertex. Equivalently, all blocks of \(\mathcal {I}\) have distance at least four to each other in the block-cut tree \(\mathcal {T}(G)\). If \(\mathcal {A}\subseteq \mathcal {B}\) is a set of blocks such that \(G[\mathcal {A}]\) is connected and \(\mathcal {A}\) contains an independent set of blocks \(\mathcal {I}\subseteq \mathcal {A}\), then \(\mathcal {A}\) also contains all blocks of \(\mathcal {B}\langle \mathcal {I}\rangle \). On the other hand, if \(\mathcal {A}\) does not induce a connected subgraph, then there always exists an independent set of blocks \(\mathcal {I}\subseteq \mathcal {B}\), such that \(\mathcal {I}\subseteq \mathcal {A}\) but \(\mathcal {B}\langle \mathcal {I}\rangle \nsubseteq \mathcal {A}\). This motivates the independent blocks inequalities, defined as follows.

Definition 5.2

(Independent Blocks Inequality) Let G be a connected graph, \(\mathcal {B}\) its set of blocks, and \(\mathcal {I}\subseteq \mathcal {B}\) an independent set of blocks. We call

$$\begin{aligned} \sum _{B \in \mathcal {B}}\alpha _Bx_B \le 1 \end{aligned}$$
(4)

an independent blocks inequality if

  • for \(B \notin \mathcal {B}\langle \mathcal {I}\rangle \) we have \(\alpha _B=0\),

  • for \(B \in \mathcal {I}\) we have \(\alpha _B=1\), and

  • for \(B \in \mathcal {B}\langle \mathcal {I}\rangle \setminus \mathcal {I}\) we have \(\alpha _B \in \mathbb {Z}_{\le 0}\),

such that

  • \(\sum _{B \in \mathcal {B}\langle \mathcal {I}\rangle \backslash \mathcal {I}}\alpha _B=-(\vert \mathcal {I}\vert -1)\), and

  • for all \(I \subseteq \mathcal {I}\) we have

    $$\begin{aligned} \sum _{B \in \mathcal {B}\langle I\rangle \backslash \mathcal {I}}\alpha _B \le -(\vert I \vert -1). \end{aligned}$$
    (5)

We will also denote an independent blocks inequality by the pair \((\mathcal {I},\alpha )\).

Observe that for \(\mathcal {I}=\{B\} \subseteq \mathcal {B}\) we get the box inequality \(x_B \le 1\).

Example 5.3

Consider again the graph G of Fig. 1. We will give some examples of independent blocks inequalities of G here, by writing the coefficient \(\alpha _B\) in the corresponding block B.

figure a
figure b

The necessary condition (5) ensures that inequality (4) defines a supporting hyperplane of \(\textrm{CBP}(G)\):

Lemma 5.4

Let G be a connected graph. The independent blocks inequalities define supporting hyperplanes of \(\textrm{CBP}(G)\).

Proof

Let \(\mathcal {B}\) be the set of blocks of G. Consider an independent blocks inequality \((\mathcal {I},\alpha )\) and let \(\mathcal {A}\subseteq \mathcal {B}\) be a set of blocks inducing a connected subgraph of G. The only positive summands of \(\sum _{B \in \mathcal {B}}\alpha _B\chi _B^\mathcal {A}\) are \(\alpha _B\chi _B^\mathcal {A}=1\) for \(B \in \mathcal {I}\cap \mathcal {A}\). Since \(G[\mathcal {A}]\) is connected we have \(\chi ^\mathcal {A}_B=1\) for \(B \in \mathcal {B}\langle \mathcal {I}\cap \mathcal {A}\rangle \) and, hence, it follows

$$\begin{aligned} \sum _{B \in \mathcal {B}}\alpha _B \chi ^\mathcal {A}_B =\sum _{B \in \mathcal {A}}\alpha _B \le \sum _{B \in \mathcal {B}\langle \mathcal {I}\cap \mathcal {A}\rangle }\alpha _B = \vert \mathcal {I}\cap \mathcal {A}\vert +\sum _{B \in \mathcal {B}\langle \mathcal {I}\cap \mathcal {A}\rangle \setminus \mathcal {I}}\alpha _B \le 1, \end{aligned}$$

where the last inequality follows by condition (5) setting \(I :=\mathcal {I}\cap \mathcal {A}\). \(\square \)

In the following the next observation will be useful that is easy to verify.

Observation 5.5

Let G be a connected graph, \(\mathcal {B}\) its set of blocks, and \((\mathcal {I},\alpha )\) an independent blocks inequality. Then

$$\begin{aligned} \sum _{B \in \mathcal {B}}\alpha _B=1. \end{aligned}$$

We will prove in Theorem 5.9 that the independent blocks inequalities define facets. To simplify the proof, we will first describe an inductive construction for these inequalities; see Fig. 3 for an illustration. Afterwards, we show that this construction actually yields all possible independent blocks inequalities. We also introduce the following notation. For a connected graph G and a cut vertex \(v \in X\) we denote by \(\mathcal {K}_v\) the set of components of \(G-v\) after adding back v into each component together with its correspondent incident edges, see Fig. 2 for an example. Furthermore, for an independent set of blocks \(\mathcal {I}=\{B_1,\ldots ,B_k\} \subseteq \mathcal {B}\) we denote with \(\mathcal {I}_\ell \) the subset \(\mathcal {I}_\ell =\{B_1,\ldots ,B_\ell \} \subseteq \mathcal {I}\) for \(\ell \in [k]\).

Fig. 2
figure 2

Example for a graph G and the components of \(\mathcal {K}_v\)

Construction 5.6

Let G be a connected graph, \(\mathcal {B}\) its set of blocks, and \(\mathcal {I}=\{B_1,\ldots ,B_k\} \subseteq \mathcal {B}\) be an independent set of blocks. We will construct pairs \((\mathcal {I}^{(\ell )},\alpha ^{(\ell )})\), where \(\mathcal {I}^{(\ell )} \subseteq \mathcal {I}_\ell \) and \(\alpha ^{(\ell )} \in \mathbb {Z}^\mathcal {B}\), for \(\ell \in [k]\), such that the pair \((\mathcal {I}^{(\ell )},\alpha ^{(\ell )})\) defines an independent blocks inequality. After possibly renumbering the blocks we can assume that \(\mathcal {B}\langle \mathcal {I}_\ell \rangle \subsetneq \mathcal {B}\langle \mathcal {I}_{\ell +1} \rangle \) for all \(\ell \in [k-1]\).

Base case

We start by setting \(\mathcal {I}^{(1)}=\{B_1\}\), \(\alpha ^{(1)}_{B_1}=1\), and \(\alpha ^{(1)}_B=0\) for all \(B \in \mathcal {B}\backslash \{B_1\}\). Hence, the first inequality is given by

$$\begin{aligned} x_{B_1} \le 1, \end{aligned}$$

and this defines an independent blocks inequality.

Construction Step

Assume that \((\mathcal {I}^{(\ell )},\alpha ^{(\ell )})\) has already been determined and by induction defines an independent blocks inequality. We obtain \((\mathcal {I}^{(\ell +1)},\alpha ^{(\ell +1)})\) as follows.

Consider the unique block path \(P \subseteq G\) connecting \(B_{\ell +1}\) to \(\mathcal {B}\langle \mathcal {I}_\ell \rangle \) not including \(B_{\ell +1}\) or any block of \(\mathcal {B}\langle \mathcal {I}_\ell \rangle \).

Let \(v \in V(G)\) be the cut vertex joining \(\mathcal {B}\langle \mathcal {I}_\ell \rangle \) with P (or \(B_{\ell +1}\) if \(P=\emptyset \)).

Let \(H \in \mathcal {K}_v\) such that \(\sum _{B \in \mathcal {B}[H]} \alpha ^{(\ell )}_B=1\).Footnote 2 Observe, that \(B_{\ell +1} \notin \mathcal {B}[H]\).

Let \(B'\) be the block of H containing v.

  • Choose \(A_\ell \in \mathcal {B}[P] \cup \{B'\}\).

  • Set \(\alpha ^{(\ell +1)}_{B_{\ell +1}}=1\), \(\alpha ^{(\ell +1)}_{A_\ell }=\alpha ^{(\ell )}_{A_\ell }-1\), and \(\alpha ^{(\ell +1)}_{B}=\alpha ^{(\ell )}_{B}\) for all \(B \in \mathcal {B}{\setminus } \{B_{\ell +1},A_\ell \}\).

  • If \(A_\ell =B'\) and \(\alpha ^{(\ell )}_{B'}=1\), we set \(\mathcal {I}^{(\ell +1)}=(\mathcal {I}^{(\ell )}\setminus \{B'\})\cup \{B_{\ell +1}\}\); otherwise we set \(\mathcal {I}^{(\ell +1)}=\mathcal {I}^{(\ell )}\cup \{B_{\ell +1}\}\).

Fig. 3
figure 3

This illustrates an example for a construction step in Construction 5.6. The blocks are depicted by cycles and the only vertices drawn are the cut vertices. With the notation of Construction 5.6, we have \(\ell =4\), \(\mathcal {I}^{(4)}=\{B_1,B_2,B_3,B_4\}\), \(\alpha ^{(4)}_{B_i}=1\) for \(i\in [4]\), \(\alpha ^{(4)}_{A_1}=-1\), \(\alpha ^{(4)}_{A_{2,3}}=-2\) and \(\alpha ^{(4)}_B=0\) for all other blocks \(B \in \mathcal {B}\). The blocks of \(\mathcal {I}^{(4)}\) and the block \(B_5\) have thicker borders, the blocks of \(\mathcal {B}\langle \mathcal {I}_4\rangle \) are colored in blue and the blocks of P are colored in orange. The candidates for the block \(A_4\) are the three blocks belonging to P and the block \(B'\). Then we set \(\alpha ^{(5)}_{B_5}=1\), \(\alpha ^{(5)}_{A_4}=-1\) and \(\alpha ^{(5)}_{B}=\alpha ^{(4)}_B\) for all \(B \in \mathcal {B}{\setminus } \{B_5,A_4\}\)

The following lemma shows that Construction 5.6 is well-defined and yields an independent blocks inequality.

Lemma 5.7

Let G be a connected graph and \(\mathcal {B}\) its set of blocks.

  1. (i)

    Let \(v \in X\) be a cut vertex of G and let \((\mathcal {I},\alpha )\) be an independent blocks inequality. Then there exists a unique \(H \in \mathcal {K}_v\) with

    $$\begin{aligned} \sum _{B \in \mathcal {B}[H]}\alpha _B=1, \end{aligned}$$

    and we have

    $$\begin{aligned} \sum _{B \in \mathcal {B}[H']}\alpha _B=0 \end{aligned}$$

    for all \(H' \in \mathcal {K}_v \setminus \{H\}\).

  2. (ii)

    Let \(\mathcal {I}=\{B_1,\ldots ,B_k\} \subseteq \mathcal {B}\) be an independent set of blocks. \((\mathcal {I}^{(\ell )},\alpha ^{(\ell )})\), as defined by Construction 5.6, is an independent blocks inequality for all \(\ell \in [k]\).

Proof

  1. (i)

    For any \(H'' \in \mathcal {K}_v\) we have \(\sum _{B \in \mathcal {B}[H'']}\alpha _B=\sum _{B \in \mathcal {B}}\alpha _B \chi ^{\mathcal {B}[H'']} \le 1\) since \((\mathcal {I},\alpha )\) defines an independent blocks inequality. Suppose there are two subgraphs \(H_1 \ne H_2 \in \mathcal {K}_v\) such that \(\sum _{B \in \mathcal {B}[H_1]} \alpha _B=\sum _{B \in \mathcal {B}[H_2]}\alpha _B=1\). Then we would have \(\sum _{B \in \mathcal {B}[H_1 \cup H_2]}\alpha _B=2\) which is a contradiction since \(\mathcal {B}[H_1 \cup H_2]=\mathcal {B}[H_1]\cup \mathcal {B}[H_2]\) induces a connected subgraph of G but \((\mathcal {I},\alpha )\) defines a feasible independent blocks inequality. If there is no \(H \in \mathcal {K}_v\) with \(\sum _{B \in \mathcal {B}[H]}\alpha _B=1\), we would have \(\sum _{B \in \mathcal {B}}\alpha _B \le 0\) which is again a contradiction due to Observation 5.5. Hence, there is exactly one subgraph \(H \in ~\mathcal {K}_v\) with \(\sum _{B \in \mathcal {B}[H]}\alpha _B=1\). Suppose now there exists an \(H' \in K_v\setminus \{H\}\) such that \(\sum _{B \in \mathcal {B}[H']}\alpha _B<0\). By Observation 5.5 we have

    $$\begin{aligned} 1=\sum _{B \in \mathcal {B}}\alpha _B=\sum _{B \in \mathcal {B}[H']}\alpha _B+\sum _{H'' \in K_v\setminus \{H'\}}\sum _{B\in \mathcal {B}[H'']}\alpha _B, \end{aligned}$$

    and this would imply \(\sum _{H'' \in K_v{\setminus } \{H'\}}\sum _{B\in \mathcal {B}[H'']}\alpha _B > 1\), which is a contradiction since \(\bigcup _{H'' \in K_v\setminus \{H'\}}H''\) is a connected subgraph.

  2. (ii)

    This follows by straight-forward induction on \(\ell \), where the base case is the fact that \(x_{B_1} \le 1\) trivially forms an independent blocks inequality.

\(\square \)

The next lemma shows that Construction 5.6 yields all possible independent blocks inequalities.

Lemma 5.8

Let G be a connected graph. Any independent blocks inequality can be obtained by Construction 5.6.

Proof

We show the statement by induction on the number of blocks in \(\mathcal {B}\langle \mathcal {I}\rangle \). If \(\vert \mathcal {B}\langle \mathcal {I}\rangle \vert =1\), the independent blocks inequality is simply \(x_B \le 1\) for \(B \in \mathcal {B}\), which is the base case of Construction 5.6. Suppose now that \(\vert \mathcal {B}\langle \mathcal {I}\rangle \vert >1\). In the following, we deconstruct an independent blocks inequality by undoing a construction step, see Fig. 4 for an illustration. Therefore pick a block \(B' \in \mathcal {I}\) such that \(\mathcal {B}\langle \mathcal {I}\backslash \{B'\}\rangle \subsetneq \mathcal {B}\langle \mathcal {I}\rangle \). Consider the block path \(P \subseteq G\) connecting \(B'\) with \(\mathcal {B}\langle \mathcal {I}\backslash \{B'\}\rangle \) not including \(B'\) or any block of \(\mathcal {B}\langle \mathcal {I}\backslash \{B'\}\rangle \). Let \(v \in V(G)\) be the cut vertex joining \(\mathcal {B}\langle \mathcal {I}\backslash \{B'\}\rangle \) with P (or \(B'\) if \(P=\emptyset \)). Let \(K \in \mathcal {K}_v\) be the component containing \(B'\). By Lemma 5.7 we have \(\sum _{B \in \mathcal {B}[K]}\alpha _B \in \{0,1\}\). If \(\sum _{B \in \mathcal {B}[K]}\alpha _B =0\), this implies that \(\alpha _A=-1\) for a unique \(A \in \mathcal {B}[P]\), since \(B'\) is the only block \(B\in \mathcal {B}[K]\) with \(\alpha _B>0\). In this case, set \(\mathcal {I}':=\mathcal {I}{\setminus } \{B'\}\), \(\beta _{B'} :=0\), \(\beta _{A}:=0\) and \(\beta _B:=\alpha _B\) for all \(B \in \mathcal {B}{\setminus }\{B',A\}\) and we claim that \((\mathcal {I}',\beta )\) is an independent blocks inequality. If \(\sum _{B \in \mathcal {B}[K]}\alpha _B =1\), we pick any block \(A \in \mathcal {B}\) containing v that does not belong to K and set \(\beta _{B'}:=0\), \(\beta _{A}:=\alpha _{A}+1\) and \(\beta _B:=\alpha _B\) for all \(B \in \mathcal {B}{\setminus } \{B',A\}\). Furthermore, if \(\beta _{A}=1\), we set \(\mathcal {I}'=(\mathcal {I}\cup \{A\}){\setminus }\{B'\}\), and in the other cases, i.e.. \(\beta _{A} \le 0\), we set \(\mathcal {I}'=\mathcal {I}{\setminus } \{B'\}\). Again, we claim that \((\mathcal {I}',\beta )\) is an independent blocks inequality, what can be easily verified in both cases. \(\square \)

Fig. 4
figure 4

This illustrates the second case of the proof of Lemma 5.8 in an example. The blocks are depicted by cycles and the only vertices drawn are the cut vertices. In this case we have \(\mathcal {I}=\{B_1,B_2,B_3,B_4,B'\}\), \(\alpha _{B'}=\alpha _{B_i}=1\) for \(i\in [4]\), \(\alpha _{A_1}=\alpha _{A_4}=-1\), \(\alpha _{A_{2,3}}=-2\) and \(\alpha _B=0\) for all other blocks \(B \in \mathcal {B}\). The blocks of \(\mathcal {I}\) have thicker borders, the blocks of \(\mathcal {B}\langle \mathcal {I}\setminus \{B'\}\rangle \) are colored in blue and the blocks of P are colored in orange. We then set \(\beta _{B'}=0\), \(\beta _{A}=1\), \(\beta _B=\alpha _B\) for all \(B \in \mathcal {B}{\setminus } \{B',A\}\) and \(\mathcal {I}'=\{B_1,B_2,B_3,B_4,A\}\). It is also possible to set \(\beta _{B'}=\beta _{A_4}=0\) and \(\beta _B=\alpha _B\) for all \(B \in \mathcal {B}{\setminus }\{B',A_4\}\). In this case \(\mathcal {I}'\) is given by \(\mathcal {I}'=\{B_1,B_2,B_3,B_4\}\)

Theorem 5.9

Let G be a connected graph. Each independent blocks inequality \((\mathcal {I},\alpha )\) defines a facet of \(\textrm{CBP}(G)\).

Proof

The independent blocks inequality \((\mathcal {I},\alpha )\) are feasible by Lemma 5.4, and can be obtained by Construction 5.6 by Lemma 5.8. We show inductively that in each construction step we retain the property of being a facet-defining inequality. In Theorem 5.1 we have already shown that \(x_B \le 1\) defines a facet for all \(B \in \mathcal {B}\).

Generally observe that it suffices to show that \((\mathcal {I},\alpha ')\) – where \(\alpha '\in \mathbb {Z}^{\mathcal {B}\langle \mathcal {I}\rangle }\) with \(\alpha '_B=\alpha _B\) for \(B \in \mathcal {B}\langle \mathcal {I}\rangle \) – defines a facet for the connected blocks polytope of the graph \(G[\mathcal {B}\langle \mathcal {I}\rangle ]\): First of all indeed \((\mathcal {I},\alpha ')\) defines an independent blocks inequality for \(G[\mathcal {B}\langle \mathcal {I}\rangle ]\) since \(\alpha _B=0\) for all \(B \notin \mathcal {B}\langle \mathcal {I}\rangle \). Let \(\mathcal {F}_{\mathcal {B}\langle \mathcal {I}\rangle }\) be the face defined by \((\mathcal {I},\alpha ')\) of \(G[\mathcal {B}\langle \mathcal {I}\rangle ]\) and \(\mathcal {F}\) be the face defined by \((\mathcal {I},\alpha )\) of G, respectively, and suppose that \(\mathcal {F}_{\mathcal {B}\langle \mathcal {I}\rangle }\) is a facet. Let v be a vertex of \(\mathcal {F}_{\mathcal {B}\langle \mathcal {I}\rangle }\). Then \(w \in \mathbb {R}^\mathcal {B}\), defined by \(w_B:=v_B\) if \(B \in \mathcal {B}\langle \mathcal {I}\rangle \) and \(w_B:=0\) if \(B \notin \mathcal {B}\langle \mathcal {I}\rangle \), is a vertex of \(\mathcal {F}\) because

$$\begin{aligned} 1=\sum _{B \in \mathcal {B}\langle \mathcal {I}\rangle }\alpha _Bv_B=\sum _{B \in \mathcal {B}}\alpha _Bw_B. \end{aligned}$$

Furthermore, let \(\mathcal {B}{\setminus } \mathcal {B}\langle \mathcal {I}\rangle =\{B_1,\ldots ,B_k\}\). After possibly reordering, we can assume that \(\mathcal {B}^{(i)}:=\mathcal {B}\cup \{B_1,\ldots ,B_i\}\), \(i \in [k]\), induce connected subgraphs of G. Since \(\chi ^{\mathcal {B}\langle \mathcal {I}\rangle }\) is a vertex of \(\mathcal {F}\) and \(\alpha _B=0\) for all \(B \in \mathcal {B}\setminus \mathcal {B}\langle \mathcal {I}\rangle \), \(\chi ^{\mathcal {B}^{(i)}}\) is a vertex of \(\mathcal {F}\) for \(i \in [k]\). Since these vertices are affinely independent to the before described lifted vertices, we get

$$\begin{aligned} \dim (\mathcal {F})=\dim (\mathcal {F}_{\mathcal {B}\langle \mathcal {I}\rangle })+k, \end{aligned}$$

which shows that \(\mathcal {F}\) is a facet if \(\mathcal {F}_{\mathcal {B}\langle \mathcal {I}\rangle }\) is a facet.

Let \((\mathcal {I}^{(\ell )},\alpha ^{(\ell )})\) be the independent blocks inequality defined in the \(\ell \)-th construction step of Construction 5.6 and let \(\mathcal {F}^{(\ell )}\) be the corresponding face of \(G[\mathcal {B}\langle \mathcal {I}^{(\ell )}\rangle ]\). By induction, \(\mathcal {F}^{(\ell )}\) is in fact a facet. Let \(B_{\ell +1}\) be the new block of \(\mathcal {I}^{(\ell +1)}\). There exists a block \(B'\) in \(\mathcal {B}\langle \mathcal {I}^{(\ell +1)}\rangle \) where the coefficient was decreased by one. Let \(P=A_1 \cup \ldots \cup A_m \subseteq G\) be the block path connecting \(B_{\ell +1}\) and \(\mathcal {B}\langle \mathcal {I}^{(\ell )} \rangle \) not containing \(B_{\ell +1}\) or any block of \(\mathcal {B}\langle \mathcal {I}^{(\ell )} \rangle \), such that \(A_1\) and \(B_{\ell +1}\) share a common vertex. We distinguish two cases. Suppose first that \(B'=A_{m'}\) for some \(m' \in [m]\). Then all vertices of \(\textrm{CBP}(G[\mathcal {B}\langle \mathcal {I}^{(\ell )} \rangle ])\) lying in \(\mathcal {F}^{(\ell )}\) also belong to \(\mathcal {F}^{(\ell +1)}\) by adding zeros at the new coordinates. The vectors

$$\begin{aligned} \chi ^{\mathcal {B}\langle \mathcal {I}^{(\ell )} \rangle \cup \{A_j,\ldots ,A_m\}}, \, j=m'+1,\ldots ,m \end{aligned}$$

and

$$\begin{aligned} \chi ^{\{B_{\ell +1}\} \cup \{A_1,\ldots ,A_j\}}, \, j=0,\ldots , m'-1 \end{aligned}$$

and also the vector \(\chi ^{\mathcal {B}\langle \mathcal {I}^{(\ell +1)}\rangle }\) are vertices of \(\mathcal {F}^{(\ell +1)}\). Hence, the face \(\mathcal {F}^{(\ell +1)}\) is a facet of \(\textrm{CBP}(G[\mathcal {B}\langle \mathcal {I}^{(\ell +1)}\rangle ])\), since the constructed vertices are affinely independent. For the second case we suppose that the block \(B'\) where the coefficient was decreased by one belongs to \(\mathcal {B}\langle \mathcal {I}^{(\ell )} \rangle \). Then all vertices \(\chi \) of \(\mathcal {F}^{(\ell )}\) with \(\chi _{B'}=0\) yield vertices of \(\mathcal {F}^{(\ell +1)}\) by adding zeros at the new coordinates. For every vertex \(\chi '\) of \(\mathcal {F}^{(\ell )}\) with \(\chi '_{B'}=1\) the vector \(\chi '+\chi ^{\mathcal {B}[P] \cup \{B_{\ell +1}\}}\) is a vertex of \(\mathcal {F}^{(\ell +1)}\). Furthermore, the vectors

$$\begin{aligned} \chi ^{\{B_{\ell +1}\} \cup \{A_1,\ldots ,A_j\}}, \, j=0,\ldots ,m, \end{aligned}$$

belong to \(\mathcal {F}\). This shows that \(\mathcal {F}^{(\ell +1)}\) is a facet, since again the constructed vertices are affinely independent. \(\square \)

For a connected graph G and its set of blocks \(\mathcal {B}\) we let

$$\begin{aligned} \mathcal {P}(G)=\{ x \in [0,1]^{\mathcal {B}} \mid x \text { satisfies all independent blocks inequalities} \}. \end{aligned}$$

It is clear that \(\textrm{CBP}(G) \subseteq \mathcal {P}(G)\) and we will show in Theorem 5.11 that they indeed coincide. For this the following will be useful.

Observation 5.10

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Let \((\mathcal {I}^{(1)},\alpha ^{(1)})\) and \((\mathcal {I}^{(2)},\alpha ^{(2)})\) induce independent blocks inequalities, such that \(\mathcal {B}\langle \mathcal {I}^{(1)}\rangle \cap \mathcal {B}\langle \mathcal {I}^{(2)}\rangle = \emptyset \) and \(\mathcal {I}^{(1)} \cup \mathcal {I}^{(2)}\) is an independent set of blocks. Let \(P \subseteq G\) be the unique block path connecting \(\mathcal {B}\langle \mathcal {I}^{(1)}\rangle \) and \(\mathcal {B}\langle \mathcal {I}^{(2)}\rangle \) not containing any block of \(\mathcal {B}\langle \mathcal {I}^{(1)}\rangle \) or \(\mathcal {B}\langle \mathcal {I}^{(2)}\rangle \) and let \(B' \in \mathcal {B}[P]\). Then \((\mathcal {I}^{(1)}\cup \mathcal {I}^{(2)},\beta )\) defines an independent blocks inequality, where \(\beta \) is given by

$$\begin{aligned} \beta _B :={\left\{ \begin{array}{ll} \alpha ^{(1)}_B, &{}\text {if } B \in \mathcal {B}\langle \mathcal {I}^{(1)}\rangle , \\ \alpha ^{(2)}_B, &{}\text {if } B \in \mathcal {B}\langle \mathcal {I}^{(2)}\rangle , \\ -1, &{}\text {if } B=B', \\ 0, &{}\text {otherwise}. \end{array}\right. } \end{aligned}$$

We can now state the main result of this section.

Theorem 5.11

Let G be a connected graph. Then \(\textrm{CBP}(G) = \mathcal {P}(G)\). In particular the independent blocks inequalities, together with nonnegativity constraints, yield the complete and irredundant facet description of \(\textrm{CBP}(G)\).

Proof

It is clear that \(\textrm{CBP}(G) \subseteq \mathcal {P}(G)\). Let \(x \in \mathcal {P}(G)\). We show that there exists a \(k \in \mathbb {N}\) and \(\lambda _1,\ldots ,\lambda _k \in \mathbb {R}_{>0}\), with \(\sum _{i=1}^k \lambda _i \le 1\), and vertices \(v_1,\ldots ,v_k\) of \(\textrm{CBP}(G)\), such that

$$\begin{aligned} x=\sum _{i=1}^k \lambda _iv_i. \end{aligned}$$

This yields that x can be written as a convex combination of the vertices of \(\textrm{CBP}(G)\) since the zero vector can be added to the sum with coefficient \(1-\sum _{i=1}^k \lambda _i\). We proceed by induction on the number of blocks in G and show the stronger statement that for every \(x \in \mathcal {P}(G)\) there exist \(k \in \mathbb {N}\), \(\lambda _1,\ldots ,\lambda _k \in \mathbb {R}_{>0}\), vertices \(v_1,\ldots ,v_k\) of \(\textrm{CBP}(G)\), and an independent blocks inequality \((\mathcal {I},\alpha )\), such that

$$\begin{aligned} x=\sum _{i=1}^k \lambda _iv_i \end{aligned}$$

and

$$\begin{aligned} \sum _{i=1}^k \lambda _i \le \sum _{B \in \mathcal {B}}\alpha _Bx_B. \end{aligned}$$

Since \(x \in \mathcal {P}(G)\), this implies \(\sum _{i=1}^k \lambda _i \le 1\). Let \(\mathcal {B}\) be the set of blocks of G. If \(\vert \mathcal {B}\vert =1\), the statement is obviously true. Suppose now that \(\vert \mathcal {B}\vert =n\) and by induction the statement is true for all connected graphs with less than n blocks. Let \(x=(x_{B_1},\ldots ,x_{B_n}) \in \mathcal {P}(G)\) and \(\mu =\min _{i \in [n]}x_{B_i}\). Then we can write x as

$$\begin{aligned} x=\mu \cdot \textbf{1}+y, \end{aligned}$$

with \(y:=(x_{B_1}-\mu ,\ldots ,x_{B_n}-\mu )\). Observe that all entries of y are between 0 and 1 and there is at least one entry in y that is 0. Let \(G_y\) be the graph that is given by the union of the blocks of \({{\,\mathrm{\textrm{supp}}\,}}(y):=\{B \in \mathcal {B}\mid y_B > 0\}\) and let \(K_1,\ldots ,K_m\) be the components of \(G_y\). For \(i\in [m]\) we denote by \(y^{(i)}\) the orthogonal projection of y to \(K_i\). We show that \(y^{(i)} \in \mathcal {P}(K_i)\) for all \(i \in [m]\). Every independent blocks inequality \((\mathcal {I},\alpha )\) of any \(\textrm{CBP}(K_i)\) induces an independent blocks inequality \((\mathcal {I},\alpha ')\) of G, where \(\alpha '\) is defined by

$$\begin{aligned} \alpha '_B={\left\{ \begin{array}{ll}\alpha _B, &{} \text {if } B \in \mathcal {B}\langle \mathcal {I}\rangle , \\ 0,&{} \text {otherwise.}\end{array}\right. } \end{aligned}$$

With this it follows

$$\begin{aligned} \sum _{B \in \mathcal {B}[K_i]}\alpha _By_B^{(i)}&=\sum _{B \in \mathcal {B}}\alpha '_Bx_B-\mu \underbrace{\sum _{B \in \mathcal {B}}\alpha '_B}_{=1} \le 1-\mu \le 1, \end{aligned}$$

which shows that \(y^{(i)} \in \mathcal {P}(K_i)\). Hence, by induction, there exist \(\lambda _1^{(i)},\ldots ,\lambda _{k_i}^{(i)}>0\) and vertices \(v_1^{(i)},\ldots ,v_{k_i}^{(i)}\in \textrm{CBP}(K_i)\) and an independent blocks inequality \((\mathcal {I}^{(i)},\alpha ^{(i)})\) of \(\textrm{CBP}(K_i)\) such that

$$\begin{aligned} y^{(i)}=\sum _{j=1}^{k_i} \lambda _j^{(i)}v_j^{(i)}, \end{aligned}$$

and

$$\begin{aligned} \sum _{j=1}^{k_i}\lambda _j^{(i)} \le \sum _{B \in \mathcal {B}[K_i]} \alpha ^{(i)}_By^{(i)}_B, \end{aligned}$$
(6)

Let \(w_j^{(i)}:=v_j^{(i)} \times \{0\}_{B \in \mathcal {B}{\setminus }\mathcal {B}[K_i]}\). We note that the \(w_j^{(i)}\) are vertices of \(\textrm{CBP}(G)\). We can hence write x as

$$\begin{aligned} x=\mu \cdot \textbf{1} + \sum _{i=1}^m\sum _{j=1}^{k_i} \lambda _j^{(i)}w_j^{(i)}, \end{aligned}$$

For the sum of coordinates we have

$$\begin{aligned} \mu +\sum _{i=1}^m\sum _{j=1}^{k_i} \lambda _j^{(i)}&\overset{(6)}{\le } \mu +\sum _{i=1}^m\sum _{B \in \mathcal {B}[K_i]} \alpha ^{(i)}_By_B^{(i)} \\&= \mu +\sum _{i=1}^m \left( \sum _{B \in \mathcal {B}[K_i]} \alpha ^{(i)}_B(x_B-\mu ) \right) . \end{aligned}$$

Let \(\mathcal {B}(\mu ) :=\{ B \in \mathcal {B}\mid x_B=\mu \}\). Hence, \(G[\mathcal {B}{\setminus } \mathcal {B}(\mu )]=G_y\). Then there exists a set of blocks \(\mathcal {A}:=\{A_1,\ldots ,A_t\} \subseteq \mathcal {B}(\mu )\), \(t \le m-1\), such that \(G[\mathcal {B}\setminus \mathcal {A}]\) has exactly m components and \(G_y \subseteq G[\mathcal {B}{\setminus } \mathcal {A}]\). Let \(n_s\) be the number of components of \(G[\mathcal {B}\setminus \{A_s\}]\) for \(s \in [t]\). We then define \(\beta \) by

$$\begin{aligned} \beta _B:={\left\{ \begin{array}{ll} \alpha ^{(i)}_B, &{}\text {if } B \in \mathcal {B}[K_i], \\ -(n_s-1), &{}\text {if } B=A_s, s \in [t], \\ 0, &{}\text {otherwise}. \end{array}\right. } \end{aligned}$$

Note that \(\sum _{i=1}^t \beta _{A_i}=m-1\). Iteratively applying Observation 5.10 yields that \((\mathcal {I},\beta )\), with \(\mathcal {I}=\bigcup _{i=1}^m\mathcal {I}^{(i)}\), defines an independent blocks inequality of \(\textrm{CBP}(G)\). Moreover,

$$\begin{aligned} \mu +\sum _{i=1}^m \left( \sum _{B \in \mathcal {B}[K_i]} \alpha ^{(i)}_B(x_B-\mu )\right)&=-(m-1)\mu +\sum _{i=1}^m\sum _{B \in \mathcal {B}[K_i]} \alpha ^{(i)}_Bx_B \\&=\sum _{i=1}^t \beta _{A_i}x_{A_i}+\sum _{i=1}^m\sum _{B \in \mathcal {B}[K_i]} \beta _Bx_B \\&=\sum _{B \in \mathcal {B}}\beta _Bx_B. \end{aligned}$$

\(\square \)

6 Edges

In this section we fully characterize the edges of the connected blocks polytope and show as an application that connected blocks polytopes are Hirsch. The following theorem considers the polyhedral edges incident to the origin, i.e., the empty subset of blocks.

Theorem 6.1

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Consider \(\emptyset \ne \mathcal {A}\subseteq \mathcal {B}\) such that \(G[\mathcal {A}]\) is connected. Then \(\{{\textbf {0}},\chi ^\mathcal {A}\}\) is an edge of \(\textrm{CBP}(G)\) if and only if \(\vert \mathcal {A}\vert =1\).

Proof

Due to Theorem 5.11, the only homogeneous facets are the faces given by \(\{x \in \mathbb {R}^\mathcal {B}\mid x_B=0 \text { for a } B \in \mathcal {B}\}\). Hence, the vertex figure of the origin is the same as the vertex figure of the origin in the unit cube \(Q_{\vert \mathcal {B}\vert } \subseteq \mathbb {R}^\mathcal {B}\). \(\square \)

The next theorem characterizes the edges of \(\textrm{CBP}(G)\) in the remaining cases.

Theorem 6.2

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Let \(\emptyset \ne \mathcal {A}_1,\mathcal {A}_2 \subseteq \mathcal {B}\), \(\mathcal {A}_1 \ne \mathcal {A}_2\), \(G[\mathcal {A}_1]\) and \(G[\mathcal {A}_2]\) connected, and \(\vert \mathcal {A}_1 \vert \le \vert \mathcal {A}_2 \vert \). Then \(\{\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2}\}\) is an edge of \(\textrm{CBP}(G)\) if and only if one of the following conditions holds:

  1. (i)

    \(G[\mathcal {A}_1 \cup \mathcal {A}_2]\) is disconnected, or

  2. (ii)

    \(\mathcal {A}_1 \subseteq \mathcal {A}_2\) and there is a unique block in \(\mathcal {A}_2 \setminus \mathcal {A}_1\) that shares a common vertex with a block of \(\mathcal {A}_1\).

Proof

First suppose that \(G[\mathcal {A}_1 \cup \mathcal {A}_2]\) is disconnected. Let \(\vert \mathcal {A}_1 \vert =k\) and \(\vert \mathcal {A}_2 \vert =\ell \). Then

$$\begin{aligned} \mathcal {H}:=\Big \{ x \in \mathbb {R}^\mathcal {B}\Big \vert \textstyle {\frac{1}{k}}\sum _{B \in \mathcal {A}_1}x_B+\textstyle {\frac{1}{\ell }} \sum _{B \in \mathcal {A}_2}x_B-2\sum _{B \in \mathcal {B}\setminus (\mathcal {A}_1 \cup \mathcal {A}_2)}x_B=1 \Big \} \end{aligned}$$

is a supporting hyperplane for \(\textrm{CBP}(G)\) and the only vertices contained in this hyperplane are \(\chi ^{\mathcal {A}_1}\) and \(\chi ^{\mathcal {A}_2}\). Thus \(\{\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2}\}\) is an edge of \(\textrm{CBP}(G)\).

Suppose now that \(\mathcal {A}_1 \subseteq \mathcal {A}_2\) and that there is a unique block \(B' \in \mathcal {A}_2 \backslash \mathcal {A}_1\) that shares a vertex with a block of \(\mathcal {A}_1\). Let \(m=\vert \mathcal {A}_2 \backslash \mathcal {A}_1 \vert \). We consider the face \(\mathcal {F}\) of \(\textrm{CBP}(G)\) defined by

$$\begin{aligned} \mathcal {F}:=&\{x \in \textrm{CBP}(G) \mid x_A=1 \text { for } A \in \mathcal {A}_1, x_A=0 \text { for } A \notin \mathcal {A}_2\} \\ =&\textrm{conv}\{\chi ^\mathcal {A}\mid \mathcal {A}_1 \subseteq \mathcal {A}\subseteq \mathcal {A}_2, G[\mathcal {A}] \text { is connected} \}. \end{aligned}$$

Then the hyperplane

$$\begin{aligned} \mathcal {H}:=\{x \in \mathbb {R}^\mathcal {B}\mid (m-1) x_{B'}-\textstyle {\sum _{B\in \mathcal {A}_2 \backslash \left( \mathcal {A}_1 \cup \{B\}\right) }x_B}=0 \} \end{aligned}$$

is a supporting hyperplane for \(\mathcal {F}\) and \(\chi ^{\mathcal {A}_1}\) and \(\chi ^{\mathcal {A}_2}\) are the only vertices of \(\mathcal {F}\) in \(\mathcal {H}\).This shows that \(\{\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2}\}\) is an edge of \(\mathcal {F}\) and hence of \(\textrm{CBP}(G)\).

It remains to show that in all other cases \(\{\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2}\}\) is not an edge of \(\textrm{CBP}(G)\). We first consider the case that \(G[\mathcal {A}_1 \cup \mathcal {A}_2]\) is connected but \(\mathcal {A}_1 \nsubseteq \mathcal {A}_2\) and \(\mathcal {A}_2 \nsubseteq \mathcal {A}_1\). Then \(\mathcal {A}_1 \cap \mathcal {A}_2\) and \(\mathcal {A}_1 \cup \mathcal {A}_2\) induce connected subgraphs of G different from \(\mathcal {A}_1\) and \(\mathcal {A}_2\). For their incidence vectors we obtain the relation

$$\begin{aligned} \frac{1}{2}\Big (\chi ^{\mathcal {A}_1}+\chi ^{\mathcal {A}_2}\Big )=\frac{1}{2}\Big (\chi ^{\mathcal {A}_1\cap \mathcal {A}_2}+\chi ^{\mathcal {A}_1 \cup \mathcal {A}_2}\Big ), \end{aligned}$$

which shows that there is a second pair of vertices of \(\textrm{CBP}(G)\) that has the same midpoint as \(\chi ^{\mathcal {A}_1}\) and \(\chi ^{\mathcal {A}_2}\). Hence, \(\{\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2}\}\) is not an edge of \(\textrm{CBP}(G)\).

The second case to consider is that \(\mathcal {A}_1 \subseteq \mathcal {A}_2\) and there are at least two blocks \(B_1\) and \(B_2\) in \(\mathcal {A}_2 \backslash \mathcal {A}_1\) that each shares a vertex with some block of \(\mathcal {A}_1\) (possibly distinct). Thus, the two graphs \(G[\mathcal {A}_1 \cup \{B_1\}]\) and \(G[\mathcal {A}_1 \cup \{B_2\}]\) are connected subgraphs of G. Now we join the blocks of \(\mathcal {A}_2 \backslash (\mathcal {A}_1 \cup \{B_1,B_2\})\) with \(\mathcal {A}_1 \cup \{B_1\}\) or \(\mathcal {A}_1 \cup \{B_2\}\) iteratively in the following way. We set \(\mathcal {A}_1^{(1)}:=\mathcal {A}_1 \cup \{B_1\}\) and \(\mathcal {A}_2^{(1)}:=\mathcal {A}_1 \cup \{B_2\}\) and \(\mathcal {B}^{(1)}:=\{B_1,B_2\}\). For increasing \(\ell \), starting with \(\ell =1\), we pick a block \(B' \in \mathcal {A}_2 \backslash (\mathcal {A}_1 \cup \mathcal {B}^{(\ell )})\) that shares a common vertex with a block of \(\mathcal {A}_1^{(\ell )}\) or \(\mathcal {A}_2^{(\ell )}\) (or both). We set \(\mathcal {A}_1^{(\ell +1)}:=\mathcal {A}_1^{(\ell )} \cup \{B'\}\) and \(\mathcal {A}_2^{(\ell +1)}:=\mathcal {A}_2^{(\ell )}\), if \(B'\) shares a common vertex with a block of \(\mathcal {A}_1^{(\ell )}\), and else, we set \(\mathcal {A}_1^{(\ell +1)}:=\mathcal {A}_1^{(\ell )}\) and \(\mathcal {A}_2^{(\ell +1)}:=\mathcal {A}_2^{(\ell )}\cup \{B'\}\). In both cases we set \(\mathcal {B}^{(\ell +1)}:=\mathcal {B}^{(\ell )}\cup \{B'\}\). By construction it is clear that such a block \(B'\) always exists as long as \(\mathcal {A}_2 \backslash (\mathcal {A}_1 \cup \mathcal {B}^{(\ell )}) \ne \emptyset \). In the end, we obtain two sets of blocks \(\mathcal {A}'_1\) and \(\mathcal {A}'_2\) that induce connected subgraphs of G and whose incidence vectors have the same midpoint as \(\chi ^{\mathcal {A}_1}\) and \(\chi ^{\mathcal {A}_2}\) in the polytope \(\textrm{CBP}(G)\). Hence, \(\{\chi ^{\mathcal {A}_1}, \chi ^{\mathcal {A}_2}\}\) is not an edge of \(\textrm{CBP}(G)\). \(\square \)

We recall that a d-dimensional polytope \(\mathcal {P}\) is Hirsch, if its diameter is at most \(k-d\), where k denotes the number of facets of \(\mathcal {P}\). In [5], Dantzig stated the Hirsch conjecture, first formulated by Hirsch in 1957, which claims that every polytope is Hirsch. More than fifty years later, Santos found the first counterexample to the Hirsch conjecture, see [10]. To show that connected blocks polytopes are Hirsch, we first give an upper bound on their diameter.

Lemma 6.3

Let G be a connected graph. Then \(\textrm{CBP}(G)\) has diameter at most \(\dim (\textrm{CBP}(G))\), i.e., for each pair of vertices there exists a path along the edges of the polytope between those vertices traversing at most \(\dim (\textrm{CBP}(G))\) many edges.

Proof

Let \(\mathcal {B}\) be the set of blocks and let \(\delta (\chi _1,\chi _2)\) denote the distance of the vertices \(\chi _1\) and \(\chi _2\) in the graph of the polytope \(\textrm{CBP}(G)\). At first we remark that if \(\mathcal {A}_1,\mathcal {A}_2 \subseteq \mathcal {B}\), such that \(G[\mathcal {A}_1]\) and \(G[\mathcal {A}_2]\) are connected, with \(\mathcal {A}_1 \subseteq \mathcal {A}_2\), we have \(\delta (\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2}) \le \vert \mathcal {A}_2 {\setminus } \mathcal {A}_1 \vert \): Let \(\mathcal {A}_2=\mathcal {A}_1 \cup \{B_1,\ldots ,B_k\}\). After possibly reordering we can assume that \(\mathcal {A}^{(i)}:=\mathcal {A}_1 \cup \{B_1,\ldots ,B_i\}\) induces a connected subgraph for all \(i \in \{0,\ldots ,k\}\). Due to Theorems 6.1 and 6.2, respectively, we see that \(\{\chi ^{\mathcal {A}^{(i-1)}},\chi ^{\mathcal {A}^{(i)}}\}\) is an edge of \(\textrm{CBP}(G)\) for all \(i \in [k]\). This implies \(\delta (\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2})\le \vert \mathcal {A}_2 {\setminus } \mathcal {A}_1\vert \).

Now let \(\mathcal {A}_1,\mathcal {A}_2 \subseteq \mathcal {B}\) be arbitrary sets of blocks each inducing a connected subgraph. Clearly, \(G[\mathcal {A}_1 \cap \mathcal {A}_2]\) also induces a connected subgraph. Then by the previous case, we have

$$\begin{aligned} \delta (\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_2})&\le \delta (\chi ^{\mathcal {A}_1},\chi ^{\mathcal {A}_1\cap \mathcal {A}_2})+\delta (\chi ^{\mathcal {A}_2},\chi ^{\mathcal {A}_1\cap \mathcal {A}_2}) \\&\le \vert \mathcal {A}_1 \setminus (\mathcal {A}_1\cap \mathcal {A}_2) \vert + \vert \mathcal {A}_2 \setminus (\mathcal {A}_1\cap \mathcal {A}_2) \vert \\&\le \vert \mathcal {B}\vert =\dim (\textrm{CBP}(G)), \end{aligned}$$

where the last inequality follows because the two sets are disjoint. \(\square \)

From this it easily follows:

Corollary 6.4

The connected blocks polytopes are Hirsch.

Proof

Let \(\mathcal {B}\) the set of blocks of a connected graph G. The dimension of \(\textrm{CBP}(G)\) is \(\vert \mathcal {B}\vert \) by Proposition 4.1. In Theorem 5.1, we showed that the box inequalities are facets of \(\textrm{CBP}(G)\). Hence, \(\textrm{CBP}(G)\) has at least \(2 \cdot \vert \mathcal {B}\vert \) many facets. By Lemma 6.3, the diameter of \(\textrm{CBP}(G)\) is bounded by

$$\begin{aligned} \dim (\textrm{CBP}(G))=\vert \mathcal {B}\vert = 2 \cdot \vert \mathcal {B}\vert - \dim (\textrm{CBP}(G)) \le k-\dim (\textrm{CBP}(G)), \end{aligned}$$

where k denotes the number of facets of \(\textrm{CBP}(G)\). \(\square \)

7 Unimodular Triangulations

In this section, using our above obtained knowledge of the polytope’s facets, we study the \(h^*\)-vector of the connected blocks polytope. We start by providing the needed preliminaries from Ehrhart theory. Afterwards, we show that connected blocks polytopes admit a regular unimodular triangulation by giving a squarefree Gröbner basis. Continuing, we show that connected blocks polytopes are Gorenstein of index 2. Both results together imply unimodality of the \(h^*\)-vector. Furthermore, we will determine the \(h^*\)-polynomial of connected blocks polytopes explicitly, in the case that the underlying graph is a block path. We close this section by giving a lower bound on \(h^*_1\).

7.1 Lattice Polytopes and Ehrhart Theory

Let \(\mathcal {P}\subseteq \mathbb {R}^d\) be a lattice polytope. We say that \(\mathcal {P}\) is reflexive if its dual polytope \(\mathcal {P}^\Delta \subseteq \mathbb {R}^d\) is also a lattice polytope. If \(\mathcal {P}\) can be written as

$$\begin{aligned} \mathcal {P}=\{x \in \mathbb {R}^d \mid A \cdot x \le \textbf{1} \}, \end{aligned}$$

where A is an integer matrix, it already follows that \(\mathcal {P}\) is reflexive. Furthermore, we say that \(\mathcal {P}\) is Gorenstein of index k if the k-th dilation \(k\mathcal {P}\) of \(\mathcal {P}\) is reflexive.

Ehrhart [7] proved that \(|n\mathcal {P}\cap \mathbb {Z}^d|\) – i.e., the number of lattice points in the n-th dilation of \(\mathcal {P}\) – is given by a polynomial \(E(\mathcal {P},n)\) in n of degree \(\dim P\). Similarly, the \(h^*\)-polynomial \(h^*(\mathcal {P},t)=h_0^*(\mathcal {P})+h_1^*(\mathcal {P})t+\cdots +h_d^*(\mathcal {P}) t^d\) of a d-dimensional lattice polytope \(\mathcal {P}\) is obtained by applying a particular change of basis to \(E(\mathcal {P},n)\); namely, we have

$$\begin{aligned} E(\mathcal {P},n)=h_0^*(\mathcal {P}) {n+d\atopwithdelims ()d}+h_1 ^*(\mathcal {P}) {n+d-1\atopwithdelims ()d} +\cdots + h_d^*(\mathcal {P}){n\atopwithdelims ()d} \,. \end{aligned}$$

All coefficients of \(h^*(\mathcal {P},t)\) are nonnegative [11]. For \(k\in \mathbb {N}\), \(\mathcal {P}\) is Gorenstein of index k if \(h^*(\mathcal {P},t)=t^{d+1-k} h^*\left( \mathcal {P},\frac{1}{t}\right) \) [8]. A triangulation \(\mathcal {S}\) of a d-dimensional lattice polytope \(\mathcal {P}\) is a subdivision into simplices of dimension at most d. Such a triangulation is unimodular if all its simplices are, i.e., they have normalized volume 1. The f-polynomial of \(\mathcal {S}\) is defined as

$$\begin{aligned} f(\mathcal {S},t)=f_{-1}+f_0t+\cdots +f_dt^{d+1}, \end{aligned}$$

where \(f_i=|\{F\in \mathcal {S}\mid \dim (F)=i\}|\). The h-polynomial \(h(\mathcal {S},t)\) of \(\mathcal {S}\) is defined via the relation

$$\begin{aligned} f(\mathcal {S},t)=\sum _{i=0}^{d+1}h_it^i(t+1)^{d+1-i}. \end{aligned}$$

If \(\mathcal {P}\) admits a unimodular triangulation \(\mathcal {S}\), then \(h^*(\mathcal {P},t)=h(\mathcal {S},t)\).

To calculate a regular, possibly unimodular, triangulation of \(\mathcal {P}\), one often computes a Gröbner basis. Let \(\mathbb {K}\) be a field and \(\mathbb {K}[y_1^{\pm },\ldots ,y_d^{\pm },s]\) be the Laurent polynomial ring. For a lattice polytope \(\mathcal {P}\subseteq \mathbb {R}^d\) and any \(\alpha =(\alpha _1,\ldots ,\alpha _d)\in \mathcal {P}\cap \mathbb {Z}^d\), we set \(y^\alpha =y_1^{\alpha _1}\cdots y_d^{\alpha _d} \in \mathbb {K}[y_1^{\pm },\ldots ,y_d^{\pm },s]\). The ring \(\mathbb {K}[\mathcal {P}]:=\mathbb {K}[y^\alpha s~|~\alpha \in \mathcal {P}\cap \mathbb {Z}^d]\) is the toric ring of \(\mathcal {P}\), i.e., \(\mathbb {K}[\mathcal {P}]\) is the subring of \(\mathbb {K}[y_1^{\pm },\ldots ,y_d^{\pm },s]\) generated by the monomials \(y^\alpha s\) for \(\alpha \in \mathcal {P}\cap \mathbb {Z}^d\). Let \(S=\mathbb {K}[x_\alpha ~|~\alpha \in \mathcal {P}\cap \mathbb {Z}^d]\), where \(\deg (x_\alpha )=1\). The toric ideal \(I_{\mathcal {P}}\) of \(\mathcal {P}\) is the kernel of the surjective ring homomorphism

$$\begin{aligned} \pi :S\rightarrow \mathbb {K}[P] \text {, with } \pi (x_\alpha ) :=y^\alpha s. \end{aligned}$$

A term order on a polynomial ring, here \(R=\mathbb {K}[x_1,\ldots ,x_n]\), is a total order < on the set of monomials, such that for all monomials abc we have \(1<a\), and \(a<b\) implies \(ac<bc\). A prototypical example is given by the degree reverse lexicographic ordering \(<_{\textrm{rev}}\) (degrevlex), induced by \(x_1<\cdots < x_n\); we have \(x_1^{\alpha _1}\cdots x_n^{\alpha _n}<_{\textrm{rev}}x_1^{\beta _1}\cdots x_n^{\beta _n}\) if and only if \(\sum _{i=1}^n \alpha _i<\sum _{i=1}^n \beta _i\), or \(\sum \alpha _i=\sum \beta _i\) and \(\alpha _\ell >\beta _\ell \) for \(\ell =\min \{j~|~\alpha _j\ne \beta _j\}\). For a polynomial \(f\in R\), its initial term \(\textrm{in}_<(f)\) is the largest monomial appearing in f. The initial ideal \(\textrm{in}_<(I)\) of an ideal \(I\subseteq R\) is the ideal generated by all initial terms in I. We call a set of generators \(g_1,\ldots ,g_r\) of I a Gröbner basis (w.r.t. <) if \(\textrm{in}_<(g_1),\ldots ,\textrm{in}_<(g_r)\) generate \(\textrm{in}_<(I)\).

Any Gröbner basis of the toric ideal \(I_{\mathcal {P}}\) of a lattice polytope \(\mathcal {P}\) gives rise to a regular triangulation \(\Delta _{\mathcal {P}}\) of \(\mathcal {P}\) on the vertex set \(\mathcal {P}\cap \mathbb {Z}^d\) as follows: A set \(M\subseteq \mathcal {P}\cap \mathbb {Z}^d\) is the vertex set of a simplex in \(\Delta _{\mathcal {P}}\) if and only if \(\prod _{\alpha \in M}x_\alpha \notin \sqrt{\textrm{in}_<(I_{\mathcal {P}})}\). The triangulation \(\Delta _{\mathcal {P}}\) is a regular unimodular triangulation if and only if \(\textrm{in}_<(I_{\mathcal {P}})=\sqrt{\textrm{in}_<(I_{\mathcal {P}})}\). This is the case if and only if \(I_{\mathcal {P}}\) has a squarefree Gröbner basis (see e.g., [12, Corollary 8.9]), i.e., there exists a Gröbner basis whose initial terms are squarefree.

7.2 Results for the Connected Blocks Polytopes

We now focus on Gröbner bases for connected blocks polytopes. For a connected graph G and its set of blocks \(\mathcal {B}\), we consider the polynomial ring \(\mathbb {K}[x_{\mathcal {A}} \mid \mathcal {A}\subseteq \mathcal {B}, \, G[\mathcal {A}] \text { connected}]\). We consider the partial order where \(x_{\mathcal {A}_{1}} < x_{\mathcal {A}_{2}}\) if and only if \(\mathcal {A}_{1} \supset \mathcal {A}_{2}\). We use the degree reverse lexicographic ordering w.r.t. any linear extension of this partial order.

Theorem 7.1

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Then

$$\begin{aligned}&\mathcal {G}:=\{\underline{x_{\mathcal {A}_{1}}x_{\mathcal {A}_{2}}}-x_{\mathcal {A}_{1} \cap \mathcal {A}_{2}}x_{\mathcal {A}_{1} \cup \mathcal {A}_{2}} \mid \mathcal {A}_{1},\mathcal {A}_{2} \subseteq \mathcal {B},\ \mathcal {A}_{1} \nsubseteq \mathcal {A}_{2}, \ \mathcal {A}_{2} \nsubseteq \mathcal {A}_{1}, \\&G[\mathcal {A}_{1}], \ G[\mathcal {A}_{2}], \ G[\mathcal {A}_{1} \cup \mathcal {A}_{2}] \text { connected} \} \end{aligned}$$

is a Gröbner basis of the toric ideal of \(\textrm{CBP}(G)\). In particular, \(\textrm{CBP}(G)\) has a regular unimodular triangulation. The leading monomials are the underlined terms.

Proof

Let \({\tilde{\mathcal {B}}} =\{\mathcal {B}_{1},\ldots ,\mathcal {B}_{m}\}\) be the set of all subsets of blocks inducing a connected subgraph. Let \(x^{a}-x^{b} \in I_{\textrm{CBP}(G)}\), \(a,b \in \mathbb {N}^{\tilde{\mathcal {B}}}\), with \(\textrm{in}_<(x^{a}-x^{b})=x^{a}\). We have to show that there exists \(\mathcal {A}_{1}, \mathcal {A}_{2} \in {\tilde{\mathcal {B}}}\), \(x_{\mathcal {A}_{1}}x_{\mathcal {A}_{2}}-x_{\mathcal {A}_{1} \cap \mathcal {A}_{2}}x_{\mathcal {A}_{1} \cup \mathcal {A}_{2}} \in \mathcal {G}\) such that \(x_{\mathcal {A}_{1}}x_{\mathcal {A}_{2}}\) divides \(x^a\), since \(\textrm{in}_{<}(x_{\mathcal {A}_{1}}x_{\mathcal {A}_{2}}-x_{\mathcal {A}_{1} \cap \mathcal {A}_{2}}x_{\mathcal {A}_{1} \cup \mathcal {A}_{2}})=x_{\mathcal {A}_{1}}x_{\mathcal {A}_{2}}\). Without loss of generality we can assume that \(\gcd (x^{a},x^{b})=1\). Let \(\mathcal {B}[x^{a}] :=\bigcup _{a_{\mathcal {B}_{i}} \ne 0}\mathcal {B}_{i}\). Since \(x^{a}-x^{b} \in I_{\textrm{CBP}(G)}\), we have \(\deg (x^{a})=\deg (x^{b})\) and \(\mathcal {B}[x^{a}]=\mathcal {B}[x^{b}]\). In particular, \(G[\mathcal {B}[x^{a}]]\) and \(G[\mathcal {B}[x^{b}]]\) have the same connected components. Suppose that there is no element in \(\mathcal {G}\) whose initial term divides \(x^a\). If there are two sets of blocks \(\mathcal {A}'_{1}, \mathcal {A}'_{2} \in {\tilde{\mathcal {B}}}\)io with \(a_{\mathcal {A}'_{1}},a_{\mathcal {A}'_{2}} \ne 0\) such that \(G[\mathcal {A}'_{1} \cup \mathcal {A}'_{2}]\) is connected, and \(\mathcal {A}'_{1} \nsubseteq \mathcal {A}'_{2}\) and \(\mathcal {A}'_{2} \nsubseteq \mathcal {A}'_{1}\), then \(x_{\mathcal {A}'_{1}}x_{\mathcal {A}'_{2}}-x_{\mathcal {A}'_{1} \cap \mathcal {A}'_{2}}x_{\mathcal {A}'_{1} \cup \mathcal {A}'_{2}} \in \mathcal {G}\) and \(x_{\mathcal {A}'_{1}}x_{\mathcal {A}'_{2}}\) divides \(x^a\). Hence, assume that for all \(\mathcal {A}'_{1},\mathcal {A}'_{2} \in {\tilde{\mathcal {B}}}\) with \(a_{\mathcal {A}'_{1}},a_{\mathcal {A}'_{2}}\ne 0\) we have \(\mathcal {A}'_{1} \subseteq \mathcal {A}'_{2}\) or \(\mathcal {A}'_{2} \subseteq \mathcal {A}'_{1}\). Then the appearing sets of blocks of \(x^a\) of each component K of \(G[\mathcal {B}[x^{a}]]\) build a chain \(\mathcal {A}'_{1} \subseteq \mathcal {A}'_{2} \subseteq \ldots \subseteq \mathcal {A}'_{k}\) and, in particular, we have \(a_{\mathcal {B}[K]} \ne 0\). Since \(\gcd (x^{a},x^{b})=1\), we have \(b_{\mathcal {B}[K]}=0\) and since \(G[\mathcal {B}[x^{b}]]\) has the same components, for every \(\mathcal {A}\in {\tilde{\mathcal {B}}}\) with \(b_{\mathcal {A}} \ne 0\) there exists an \(\mathcal {A}' \in {\tilde{\mathcal {B}}}\) with \(\mathcal {A}\subsetneq \mathcal {A}'\) and \(a_{\mathcal {A}'} \ne 0\). But because of \(\deg (x^{a})=\deg (x^{b})\) this means that \(\textrm{in}_{<}(x^{a}-x^{b})=x^{b}\), which is a contradiction to the assumption that \(x^{a}\) is the initial term of \(x^{a}-x^{b}\).

Since \(\mathcal {G}\) is square free, it follows from [12, Corollary 8.9] that \(\textrm{CBP}(G)\) has a regular unimodular triangulation. \(\square \)

Theorem 7.2

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Then the connected blocks polytope \(\textrm{CBP}(G)\) is Gorenstein of index 2.

Proof

We have to show that the dual polytope of \(2 \cdot \textrm{CBP}(G)- \textbf{1}\) is a lattice polytope. By Theorem 5.11 we know that all inequalities defining \(\textrm{CBP}(G)\) are either of the form \(x_B \ge 0\) for some \(B \in \mathcal {B}\) or independent blocks inequalities. Then the inequalities defining \(2 \cdot \textrm{CBP}(G)\) are either of the form \(x_B \ge 0\) or \(\sum _{B \in \mathcal {B}}\alpha _Bx_B \le 2\), where there exists an independent set of blocks \(\mathcal {I}\subseteq \mathcal {B}\) such that \((\mathcal {I},\alpha )\) defines an independent blocks inequality. Thus the inequalities describing \(2 \cdot \textrm{CBP}(G)-\textbf{1}\) are of the form \(x_B+1 \ge 0\) and \(\sum _{B \in \mathcal {B}}\alpha _B(x_B+1) \le 2\). The first inequality is equivalent to \(-x_B \le 1\) and the second inequality is equivalent to \(\sum _{B \in \mathcal {B}}\alpha _Bx_B \le 1\), since \(\sum _{B \in \mathcal {B}} \alpha _B=1\). Since all coefficients are integral, this shows that \(2 \cdot \textrm{CBP}(G)\) is a reflexive polytope.

\(\square \)

It is well known due to Stanley that a result like Theorem 7.2 is equivalent to the following statement.

Corollary 7.3

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. The \(h^*\)-vector of \(\textrm{CBP}(G)\) is of the form \((h_0^*,h_1^*,h_2^*,\ldots ,h_{n-1}^*,h_n^*)\), where \(n=\vert \mathcal {B}\vert \),

$$\begin{aligned} h_n^*&=0, \text { and} \\ h^*_i&=h^*_{n-i-1} \text { for } i=0,\ldots ,\lfloor \frac{n}{2}\rfloor . \end{aligned}$$

Furthermore, Theorem 1 of [3] implies that the \(h^*\)-vector of a Gorenstein lattice polytope with a regular unimodular triangulation is unimodal. Hence, from Theorems 7.1 and 7.2 we get:

Corollary 7.4

Let G be a connected graph. The \(h^*\)-vector of \(\textrm{CBP}(G)\) is unimodal.

Theorem 7.6 shows the explicit description of the \(h^*\)-vector for the connected blocks polytope of a block path of length n, which is given by the \((n+1)\)-st Narayana polynomial. To this end we define:

Definition 7.5

For \(n \in \mathbb {N}_{>0}\) and \(1 \le k \le n\) the Narayana number N(nk) is defined by

$$\begin{aligned} N(n,k):=\frac{1}{n}\left( {\begin{array}{c}n\\ k\end{array}}\right) \left( {\begin{array}{c}n\\ k-1\end{array}}\right) . \end{aligned}$$

The n-th Narayana polynomial is given by

$$\begin{aligned} \sum _{k=1}^n N(n,k)x^{k-1}. \end{aligned}$$

Theorem 7.6

Let \(G'\) be a block path of length n. Then the \(h^*\)-polynomial of \(\textrm{CBP}(G')\) is given by the \((n+1)\)-st Narayana polynomial.

Proof

Let \(\mathcal {B}=\{B_1,\ldots ,B_n\}\) be the set of blocks of \(G'\), where \(B_i\) and \(B_{i+1}\) have a common vertex for \(i \in [n-1]\). In [4], Braun showed that the \(h^*\)-polynomial of

$$\begin{aligned} \mathcal {P}_n :=\textrm{conv}\{\textbf{0},{\textbf {e}}_i-{\textbf {e}}_j \mid n \ge i > j \ge 1\}, \end{aligned}$$

where \({\textbf {e}}_i\) denotes the i-th standard unit vector, is given by the n-th Narayana polynomial. We will show that \(\textrm{CBP}(G')\) and \(\mathcal {P}_{n+1}\) are unimodular equivalent. Our connected blocks polytope is given by

$$\begin{aligned} \textrm{CBP}(G')=\textrm{conv}\{\textbf{0}, \chi ^{\{B_k,\ldots ,B_\ell \}} \mid 1 \le k \le \ell \le n\}. \end{aligned}$$

\(\mathcal {P}_{n+1}\) lies in the n-dimensional subspace \(V :=\{x \in \mathbb {R}^{n+1} \mid \sum _{i=1}^n x_i=0\}\). We define the linear map \(\varphi :\mathbb {R}^\mathcal {B}\rightarrow V\) by

$$\begin{aligned} \varphi (\chi ^{\{B_i\}}):={\textbf {e}}_i-{\textbf {e}}_{i+1}, \end{aligned}$$

for all \(i \in [n]\). Then \(\varphi \) is a unimodular transformation that maps \(\textrm{CBP}(G')\) to \(\mathcal {P}_{n+1}\). Thus, \(\textrm{CBP}(G')\) and \(\mathcal {P}_{n+1}\) have the same \(h^*\)-vector. \(\square \)

We finish by giving a lower bound for \(h_1^*\):

Theorem 7.7

Let G be a connected graph and \(\mathcal {B}\) its set of blocks. Then,

$$\begin{aligned} h_1^*\ge \dim \textrm{CBP}(G)-1 \end{aligned}$$

and \(h^*_1=\dim \textrm{CBP}(G)-1\) if and only if \(\vert \mathcal {B}\vert \le 2\).

Proof

Let \(V(\textrm{CBP}(G))\) denote the set of vertices of \(\textrm{CBP}(G)\). We have

$$\begin{aligned} h^*_1=\vert V(\textrm{CBP}(G)) \vert -(\dim (\textrm{CBP}(G))+1). \end{aligned}$$

Hence, we count the vertices of \(\textrm{CBP}(G)\). Let \(\mathcal {B}=\{B_1,\ldots ,B_n\}\). Without loss of generality we can assume that \(G[\{B_1,\ldots ,B_i\}]\) is connected for all \(i \in [n]\). Then the incidence vectors \(\chi ^{\{B_1, \ldots , B_i\}}\) yield \(\vert \mathcal {B}\vert \) many vertices of \(\textrm{CBP}(G)\). Additionally, there are the vertices \(\chi ^\emptyset \) and \(\chi ^B\) for all \(B \in \mathcal {B}\backslash \{B_1\}\). Due to Proposition 4.1, \(\vert V(\textrm{CBP}(G))\vert \ge 2 \cdot \dim (\textrm{CBP}(G))\) and \(h_1^*\ge \dim \textrm{CBP}(G)+1\). For \(\vert \mathcal {B}\vert \le 2\) it is clear that these are all the vertices of \(\textrm{CBP}(G)\), which shows \(h_1^*= \dim \textrm{CBP}(G)-1\) if \(\vert \mathcal {B}\vert \le 2\). For \(\vert \mathcal {B}\vert \ge 3\) we know that \(B_3\) shares a common node with \(B_1\) or \(B_2\) by choice of the numbering of \(B_1,\ldots ,B_n\). Hence, \(\chi ^{\{B_1 \cup B_3\}}\) or \(\chi ^{\{B_2 \cup B_3\}}\) is another vertex of \(\textrm{CBP}(G)\). Hence, \(h_1^*> \dim \textrm{CBP}(G)-1\). \(\square \)

For a symmetric \(h^*\)-vector the so-called \(\gamma \)-vector is defined by a specific change of basis in the polynomial ring \(\mathbb {R}[x]\). For a connected graph G, since \(\gamma _1=h^*_1-(\dim (\textrm{CBP}(G))-1)\), it directly follows from Theorem 7.7 that the \(\gamma \)-vector of \(\textrm{CBP}(G)\) has the property that \(\gamma _1 \ge 0\) and \(\gamma _1=0\) if and only if \(\vert \mathcal {B}\vert \le 2\), where \(\mathcal {B}\) denotes the set of blocks of G.