Keywords

1 Introduction

There are two important, seemingly unrelated, concepts that play important roles in Geometric Graph Theory and in Graph Drawing: Hasse diagrams and string graphs.

Hasse diagrams were introduced by Vogt [26] at the end of the 19th century for concise representation of partial orders. Today they are widely used in graph drawing algorithms. Let P be a partially ordered set with partial ordering \(\prec \). For any \(x,y\in P\), we say that y covers x if \(x\prec y\) and there is no \(z\in P\) such that \(x\prec z\prec y\). The Hasse diagram of P is the directed graph on the elements of P, where there is an edge from x to y if and only if y covers x. If we disregard the direction of the edges, we obtain the cover graph of P. The graph on P whose two elements are connected by an edge if and only if they are related by \(\prec \) is the comparability graph of P. The cover graph is a subgraph of the comparability graph.

The intersection graph of a family of sets \(\mathcal {C}\) is the graph whose vertices correspond to the elements of \(\mathcal {C}\) and two vertices are joined by an edge if and only if the corresponding sets have a nonempty intersection. The disjointness graph of \(\mathcal {C}\) is the complement of the intersection graph of \(\mathcal {C}\). A string, or curve, \(\gamma \) is the image of a continuous function \(f:[0,1]\rightarrow \mathbb {R}^{2}\). A curve \(\gamma \) is grounded if one of its endpoints is on the y-axis, and \(\gamma \) lies in the nonnegative half-plane. See Fig. 1 for an illustration of a grounded family of curves and its disjointness graph. A string graph is the intersection graph of curves. The notion was introduced by Benzer [2] and Sinden [24] to describe the incidence structures of intervals in chromosomes and metallic layers in printed networks, respectively. The systematic study of string graphs was initiated in [5] and [10].

Fig. 1.
figure 1

A family of grounded curves and its disjointness graph.

The first sign that the above concepts are intimately related was the following simple fact discovered by Golumbic, Rotem, Urrutia [9], and Lovász [15]: Every comparability graph is the disjointness graph of a collection of curves in the plane. A partial converse of this statement was established in [8].

A useful characterization of cover graphs in terms of strings follows directly from Corollary 2.7 of Middendorf and Pfeiffer [16] and Theorem 1 in [24]. See also [13] and [23] (page 2).

Theorem 1

[16, 24] A triangle-free graph is a cover graph of a partially ordered set if and only if it is isomorphic to the disjointness graph of a family of grounded curves.

The girth of a graph G is the length of the shortest cycle in G. Obviously, every triangle-free graph has girth at least four. According to a classical result of Erdős [6], for every \(r\ge 3\), there exist graphs with n vertices and girth at least r which have arbitrarily large chromatic numbers. Erdős’s construction is probabilistic and does not posses any geometric structure.

For geometrically defined graphs, the situation is more complicated. The chromatic number of intersection graphs of axis-parallel rectangles [1] or chords of a cycle [4, 11, 12] and disjointness graphs of segments in the plane [21, 25] can be bounded from above by a function of their clique numbers. In sharp contrast to this, Pawlik, Kozik, Krawczyk, Lasoń, Micek, Trotter, and Walczak [22] proved that there exist triangle-free intersection graphs of n segments with chromatic number \(\varOmega (\log \log n)\), which disproved a longstanding conjecture of Erdős. In [19], triangle-free disjointness graphs of n curves were constructed, with chromatic number \(\varOmega (\log n)\), cf. [17]. This construction is based on shift graphs, defined by Erdős and Hajnal [7]. It appears to be difficult to extend this method to obtain disjointness graphs of curves with high girth and high chromatic number.

The aim of the present note is to construct such graphs.

Theorem 2

For every positive integer r and for every sufficiently large n, there exists a family of n curves whose disjointness graph has girth at least r and chromatic number at least \(\varOmega (\frac{1}{r}\log n)\).

This result does not remain true if we are allowed to use only x-monotone curves, that is, if every vertical line meets each curve in at most one point. In this case, the chromatic number of the cover graph is bounded from above by a constant [20, 21].

In view of Theorem 1, in order to prove Theorem 2, it is sufficient to establish the following.

Theorem 3

For every positive integer r and for every sufficiently large n, there exists a poset on n vertices whose cover graph has girth at least r and chromatic number \(\varOmega (\frac{1}{r}\log n)\).

The study of combinatorial properties of cover graphs (Hasse diagrams) is an extensive area of research in the theory of partial orders. Bollobás [3] was the first to show the existence of partial orders (actually, lattices) whose cover graphs have arbitrarily large girth and chromatic number. Alternative constructions were found by Nešetřil et al. [14, 18]. Bollobás’s proof, which gives the best known asymptotic bound, builds on Erdős’s probabilistic construction [6] mentioned above. It shows that for a fixed girth r and \(n\rightarrow \infty \), the chromatic number of a cover graph with n vertices can be as large as \(\varOmega (\frac{\log n}{\log \log n})\). Our Theorem 3 improves on this bound.

It is possible that Theorem 3 can be further improved. However, we can show that our bound is tight for an interesting family of cover graphs. A partially ordered set P is called uniquely generated if for every comparable pair of vertices \(x\prec y\), there exists a unique sequence of vertices \(x=v_{1}\prec \dots \prec v_{k}=y\) such that \(v_{i+1}\) covers \(v_{i}\) for \(i=1,\dots ,k-1\). Obviously, if there is no chain with 3 elements in P, then P is uniquely generated and its cover graph is bipartite.

Theorem 4

(i) If P is a uniquely generated poset on n vertices, then the chromatic number of its cover graph is at most \(\lfloor \log _{2} n\rfloor +1\).

(ii) For every integer \(r>3\) and for every sufficiently large n, there exists a uniquely generated poset on n vertices whose cover graph has girth at least r and chromatic number at least \(\varOmega (\frac{1}{r}\log n)\).

2 Cover Graphs with Large Chromatic Number

In this section, we prove Theorem 4. Note that then Theorem 3 is an immediate consequence of part (ii) of Theorem 4. We omit floors an ceilings for easier readability.

Proof of Theorem 4, part (i). Let G be the cover graph of P, let \(<_{P}\) be the partial ordering on P, and let \(\prec \) be a linear extension of \(<_{P}\). For any \(x\in P\), let C(x) denote the set of vertices of P covered by x.

We prove that the greedy coloring of G with respect to \(\prec \) uses at most \(1+\lfloor \log _{2} n\rfloor \) colors. Let \(v_{1}\prec \dots \prec v_{n}\) be the vertices of G. Color them with the elements of \(\mathbb {Z}^{+}\), as follows. For \(i=1,\dots ,n\), if \(v_{1},\dots ,v_{i-1}\) have already been colored, then color \(v_{i}\) with the smallest positive integer k that does not appear among the colors of \(C(v_{i})\).

For each vertex \(v\in V(G)\), let T(v) denote the set of vertices \(u\in V(G)\) such that \(u\le _{P} v\). Note that, as P is uniquely generated, the subgraph of G induced by T(v) is a tree. We claim that if v received color k, then \(|T(v)|\ge 2^{k-1}\). This clearly implies (i), because if the total number of colors used by our coloring is K, then we have \(n\ge 2^{K-1}\).

We prove the claim by induction on k. For \(k=1\), the statement is trivial. Suppose that \(k\ge 2\) and that the claim is true for all positive integers smaller than k. As v received color k, we can find \(k-1\) vertices \(u_{1},\dots ,u_{k-1}\in C(v)\) such that the color of \(u_{i}\) is i, for \(i=1,\dots ,k-1\). By the induction hypothesis, we have \(|T(u_{i})|\ge 2^{i-1}\). Since the trees \(T(u_{1}),\dots ,T(u_{k-1})\subset T(v)\) are pairwise disjoint, we obtain \(|T(v)|\ge 1+\sum _{i=1}^{k-1}2^{i-1}=2^{k-1}\), as required.\(\Box \)

For the proof of part (ii) of Theorem 4, we need the following technical lemma.

Lemma 1

Let A and B be two m-element sets and let G be the random graph on \(A\cup B\) in which every \(a\in A\) and \(b\in B\) are joined by an edge independently with probability \(p=\frac{d}{m}\).

Then the probability that there exist \(X\subset A\) and \(Y\subset B\) such that \(|X||Y|\ge 3m^{2}/d\) and there is no edge between X and Y is at most \(2^{-m}\).

Proof

Let \(N= \frac{3m^{2}}{d}\). For any \(X\subset A\) and \(Y\subset B\), let I(XY) denote the event that there exists no edge between X and Y. Obviously, we have \(\mathbb {P}(I(X,Y))=(1-p)^{|X||Y|}\le e^{-p|X||Y|}\). This yields

$$\mathbb {P}\left( \bigcup _{\begin{array}{c} X\subset A, Y\subset B\\ |X||Y|\ge N \end{array}}I(X,Y)\right) \le \sum _{\begin{array}{c} X\subset A, Y\subset B\\ |X||Y|\ge N \end{array}}e^{-p|X||Y|}\le 2^{2m}e^{-pN}<2^{-m}.$$

\(\Box \)

Proof of Theorem 4, part (ii). Assume that \(n\ge 2^{10r}\), and let \(N=3n\), \(k=\frac{\log _{2} N}{10r}\), and \(m=\frac{N}{k}\). If G is a graph whose vertex set is a subset of the integers, a monotone path in G is a path with vertices \(c_{0}<c_{1}<\dots <c_{t}\) and edges \(c_{i}c_{i+1}\) for \(i=1,\dots ,t-1\). A pair of vertices \(\{a,b\}\) of G is called bad, if there exist two edge-disjoint monotone paths whose endpoints are a and b.

Our goal is to construct a graph G on the vertex set \(\{1,...,N\}\) satisfying the following three conditions:

  1. 1.

    G has no independent set of size larger than 7m,

  2. 2.

    G has at most \(\frac{N}{3}\) bad pairs of vertices,

  3. 3.

    the number of cycles in G of length smaller than r is at most \(\frac{N}{3}\).

Suppose that such a graph G exists. Let \(G'\) denote the graph obtained from G by deleting \(\frac{2N}{3}\) vertices: at least one vertex from every bad pair and at least one vertex from every cycle of length smaller than r. Then \(G'\) has n vertices and girth at least r. Condition 1 implies that the chromatic number of \(G'\) is at least \(\frac{n}{7m}>\frac{1}{10^{3}r}\log _{2}n\). Define a partially ordered set P with partial ordering \(<_{P}\) on \(V(G')\) in such a way that \(a<_{P} b\) if and only if \(a<b\) and there exists a monotone path in \(G'\) with endpoints a and b. Then P meets all the requirements of part (ii) of the theorem. Indeed, as \(G'\) has no bad pair of vertices, the cover graph of P is equal to \(G'\), and P is uniquely generated.

We construct a graph G with the above three properties, as follows. Divide \(\{1,\dots ,N\}\) into k intervals of size m, denoted by \(A_{1},...,A_{k}\). For every \(1\le i<j\le k\) and for any \(x\in A_{i}\), \(y\in A_{j}\), join x and y by an edge independently with probability \(p_{ij}=\frac{2^{j-i}}{m}\). Denote the resulting graph by G.

First, we show that, with probability larger than \(\frac{2}{3}\), condition 1 is satisfied: G does not contain an independent set of size larger than 7m. Let \(\mathcal {A}\) denote the event that for every pair (ij) with \(1\le i<j\le k\), and for every pair of subsets \(X\subset A_{i}\) and \(Y\subset A_{j}\) with no edge running between X and Y, we have \(|X||Y|<3m^{2}2^{i-j}\). By Lemma 1, for a fixed pair (ij) with \(1\le i<j\le k\), with probability at least \(1-2^{-m}\) there exists no \(X\subset A_{i}\) and \(Y\subset A_{j}\) such that \(|X||Y|\ge 3m^{2}2^{i-j}\) and there is no edge between X and Y. As there are fewer than \(k^{2}\) different pairs (ij) with \(1\le i<j\le k\), we have \(\mathbb {P}(\mathcal {A})\ge 1-k^{2}2^{-m}>\frac{2}{3}\).

We show that if \(\mathcal {A}\) happens, then G has no independent set of size larger than 7m. Suppose for contradiction that \(I\subset V(G)\) is an independent set with \(|I|>7m\). For \(i=1,...,k\), let \(I_{i}=I\cap A_{i}\). Clearly, there exists an index \(1\le h\le k\) such that \(\sum _{i=1}^{h}|I_{i}|\ge 3m\) and \(\sum _{i=h+1}^{k}|I_{i}|\ge 3m\). Then we have

$$\begin{aligned} 9m^{2}\le \left( \sum _{i=1}^{h}|I_{i}|\right) \left( \sum _{i=h+1}^{k}|I_{i}|\right) =\sum _{i=1}^{h}\sum _{j=h+1}^{k}|I_{i}||I_{j}|\le \sum _{i=1}^{h}\sum _{j=h+1}^{k}3m^{2}2^{i-j}, \end{aligned}$$
(1)

where the last inequality holds if \(\mathcal {A}\) occurs. However,

$$\sum _{i=1}^{h}\sum _{j=h+1}^{k}2^{i-j}\le \sum _{l=1}^{k}l2^{-l}<2,$$

which contradicts the left-hand side of (1).

Next, we prove that the probability that G satisfies condition 2 is larger than \(\frac{2}{3}\). Let X stand for the number of bad pairs of vertices in G, and let \(\mathcal {B}\) denote the event that \(X \le \frac{N}{3}\). Let \(x\in A_{i}\) and \(y\in A_{j}\), where \(1\le i<j\le k\). Let \(x=v_{0},v_{2},\dots ,v_{l}=y\) such that \(v_{t}\in A_{i_{t}}\) for \(t=0,\dots ,l\), where \(i=i_{0}<\dots <i_{l}=j\). The probability that \(v_{0},\dots ,v_{l}\) is a monotone path in G is

$$\prod _{t=0}^{l-1}\frac{2^{i_{l+1}-i_{l}}}{m}=\frac{2^{j-i}}{m^l}<\frac{2^{k}}{m^{l}}.$$

There are \(\left( {\begin{array}{c}j-i-1\\ l-1\end{array}}\right) m^{l-1}<2^{k}m^{l-1}\) ways to choose the vertices of a monotone path of length l with endpoints x and y. Hence, the probability that there exist two edge-disjoint monotone paths with endpoints x and y, where one of these paths has length l and the other has length \(l'\), is at most

$$(2^{k}m^{l-1})(2^{k}m^{l'-1})\frac{2^{k}}{m^{l}}\frac{2^{k}}{m^{l'}}=\frac{2^{4k}}{m^{2}}.$$

There are fewer than \(k^{2}\) ways to choose \((l,l')\), so the probability that \(\{x,y\}\) is a bad pair of vertices is less than \(\frac{k^{2}2^{4k}}{m^{2}}<\frac{1}{9n}\). Therefore, we have \(\mathbb {E}(X)< N^{2}\frac{1}{9N}=\frac{N}{9}\). Applying Markov’s inequality, we obtain that \(1-\mathbb {P}(\mathcal {B})=\mathbb {P}(X > \frac{N}{3}) < \frac{1}{3}\).

Finally, we show that G satisfies condition 3, with probability larger than \(\frac{2}{3}\). Let Y be the number of cycles of length at most \(r-1\) in G, and let \(\mathcal {C}\) denote the event that \(Y\le \frac{N}{3}\). Let \(p=n^{-(r-1)/r}\). Note that each pair of vertices in G is joined by an edge with probability at most \(\frac{2^{k}}{m}<p\). Then we have

$$\mathbb {E}(Y)<\sum _{l=3}^{r-1}N^{l}p^{l}<rN^{\frac{r-1}{r}}<\frac{N}{9}.$$

Indeed, there are \(\frac{(l-1)!}{2}\left( {\begin{array}{c}N\\ l\end{array}}\right) <N^{l}\) possible copies of the cycle of length l, and the probability that a fixed copy of such a cycle appears in G is at most \(p^{l}\). Applying Markov’s inequality, we get \(1-\mathbb {P}(\mathcal {C})=\mathbb {P}(Y > \frac{N}{3})<\frac{1}{3}\).

In conclusion, we proved that \(\mathbb {P}(\mathcal {A}),\mathbb {P}(\mathcal {B}),\mathbb {P}(\mathcal {C})>\frac{2}{3}\). Thus, the probability that the event \(\mathcal {A}\wedge \mathcal {B}\wedge \mathcal {C}\) occurs is nonzero. This means that there exists a graph G satisfying conditions 1, 2, and 3, which completes the proof of the theorem.\(\Box \)