alphaFeedback

WorksMathematics

Sharp results for the Erdős, Pach, Pollack and Tuza problem

AI contributions
Not recorded for this paper
View details

Abstract

We consider the Erdős, Pach, Pollack and Tuza problem, asking for the maximum diameter of a graph with given order nn, minimum degree δδ and clique number at most ωω. We solve their problem asymptotically for the first hard case, ω≤3ω\leq 3, for the smallest values of δδ by determining the smallest rational number f(δ)f(δ) such that diam(G)≤f(δ)n+O(1)diam(G) \leq f(δ)n+O(1) for all graphs GG with order nn, minimum degree δδ and clique number ω≤3ω\leq 3. We also consider the weaker version where the clique number ω≤3ω\leq 3 is replaced by having chromatic number χ≤3χ\leq 3 and solve this version for small δδ, thereby yielding a counterexample to a conjecture of Erdős et al. in a regime where this conjecture was still open. When restricting the conjecture to graphs with chromatic number χ≤3χ\leq 3, we show that this counterexample appears for the smallest possible δδ, namely δ=16.δ=16.

Introduction

Solving a question by Gallai, in [5] Erdős, Pach, Pollack and Tuza determined the maximum diameter of a graph given its minimum degree and order asymptotically. Furthermore, they also did this for the class of triangle-free and C4C_4-free graphs. We summarise [5].

Theorem 1. ([5]) A connected graph GG with minimum degree δ\delta and order nn satisfies diam⁡(G)≤3nδ+1+O(1)\operatorname{diam}(G) \le\frac{3n}{\delta+1} + O(1). If additionally ω(G)≤2\omega(G) \le2, then diam⁡(G)≤2nδ+O(1)\operatorname{diam}(G) \le\frac{2n}{\delta} + O(1).

The ratio diam⁡(G)/n\operatorname{diam}(G)/n cannot be further improved: sharpness can be derived from blowing up the vertices of a path by complete graphs or complete bipartite graphs. We present a more elegant proof for the triangle-free case, avoiding case distinctions, for clarity.

Proof of Theorem 1 for ω≤2\omega\le2. Let v0,vd∈V(G)v_0, v_d \in V(G) be such that d=diam⁡(G)=d(v0,vd)d = \operatorname{diam}(G) = d(v_0,v_d) and Ni:=Ni(v0)={x∈V(G)∣d(v0,x)=i}N_i := N_i(v_0) = \{x \in V(G) \mid d(v_0,x) = i\}. For every 0≤i≤d−30 \le i \le d-3, ∣Ni∣+∣Ni+1∣+∣Ni+2∣+∣Ni+3∣≥2δ|N_i|+|N_{i+1}|+|N_{i+2}|+|N_{i+3}| \ge2\delta, since the neighbourhoods of the endvertices uu and vv of an edge uv∈Ni+1×Ni+2uv \in N_{i+1} \times N_{i+2} have to be disjoint. Summing all these inequalities leads to 4n>∑i=0d−3(∣Ni∣+∣Ni+1∣+∣Ni+2∣+∣Ni+3∣)≥2δ(d−2)4n > \sum_{i=0}^{d-3} (|N_i| + |N_{i+1}| + |N_{i+2}| + |N_{i+3}|) \ge2\delta(d-2).

Since the sharp graphs for Theorem 1 have large clique number, they also considered similar statements with restrictions on clique number, i.e., bounding ω(G)\omega(G). They formulated the following conjecture:

Conjecture 2 ([5]). Let r,δ≥2r, \delta\ge2 be fixed integers and let GG be a connected graph of order nn and minimum degree δ\delta. (i) If GG is K2rK_{2r}-free and δ\delta is a multiple of (r−1)(3r+2)(r-1)(3r+2), then, as n→∞n \to\infty,

diam⁡(G)≤2(r−1)(3r+2)2r2−1⋅nδ+O(1)=(3−22r−1−1(2r−1)(2r2−1))nδ+O(1).\begin{aligned} \operatorname{diam}(G) \le\frac{2(r-1)(3r+2)}{2r^2-1}\cdot\frac{n}{\delta}+O(1) \\ &=\left(3-\frac{2}{2r-1}-\frac{1}{(2r-1)(2r^2-1)}\right)\frac{n}{\delta}+O(1). \end{aligned}

(ii) If GG is K2r+1K_{2r+1}-free and δ\delta is a multiple of 3r−13r-1, then, as n→∞n \to\infty,

diam⁡(G)≤3r−1r⋅nδ+O(1)=(3−22r)nδ+O(1).\begin{aligned} \operatorname{diam}(G) \le\frac{3r-1}{r}\cdot\frac{n}{\delta}+O(1) \\ &=\left(3-\frac{2}{2r}\right)\frac{n}{\delta}+O(1). \end{aligned}

In [2], Czabarka, Singgih, and Székely gave counterexamples to Conjecture 2 (i) for every r≥2r \ge2 and δ>2(r−1)(3r+2)(2r−3)\delta> 2(r-1)(3r+2)(2r-3) (leaving the regime (r−1)(3r+2)≤δ≤2(r−1)(3r+2)(2r−3)(r-1)(3r+2) \le\delta\le2(r-1)(3r+2)(2r-3) still open). They subsequently stated an updated version of the conjecture, which no longer requires cases.

Conjecture 3 ([2]). For every k≥3k \ge3 and δ≥⌈3k2⌉−1\delta\ge\left\lceil\frac{3k}{2} \right\rceil- 1, if GG is a connected graph of order nn, minimum degree at least δ\delta and ω(G)≤k\omega(G) \le k (weaker version χ(G)≤k\chi(G) \le k), then diam⁡(G)≤(3−2k)nδ+O(1)\operatorname{diam}(G) \le\left(3-\frac{2}{k}\right)\frac{n}{\delta}+O(1).

The weaker version has been proven for k∈{3,4}k \in\{3,4\} in [1] (for k=4k=4) and [4]. In this weaker version the colour classes of the ithi^{\mathrm{th}} neighbourhoods give information on the structure of the graphs with most edges (maximising the minimum degree), implying one can conclude more compared to the version where the clique number is bounded.

Let GG be a graph and N0⊂V(G)N_0 \subset V(G) be a subset of vertices. For all i≥1i \ge1, define Ni(N0):={v∈V(G)∣min⁡u∈N0(d(u,v))=i}N_i(N_0):=\{v \in V(G)\mid\min_{u\in N_0}(d(u,v))=i\} (we will refer to these vertex sets as layers and omit the argument N0N_0 if it is clear from the context or not important how N0N_0 is chosen). If N0={u}N_0=\{u\}, we simply write Ni(u)N_i(u) instead of Ni({u})N_i(\{u\}). Let dd be the largest integer such that NdN_d is not empty. For X⊂VX \subset V, the graph G[X]=(X,E∩(X2))G[X]=\left(X,E\cap\binom{X}{2}\right) is the subgraph of G=(V,E)G=(V,E) induced by XX. For a graph GG with d≥2d \ge2, where G[N0∪N1]≅G[Nd−1∪Nd]G[N_0\cup N_1]\cong G[N_{d-1}\cup N_d] and the isomorphism maps vertices in N0N_0 to Nd−1N_{d-1} and vertices in N1N_1 to NdN_d, we define the concatenation G′G' as the graph obtained by taking the disjoint union of GG and G−N0−N1G-N_0-N_1, indexing consecutive layers of G′G' that originate from GG as Ni′=NiN'_i=N_i (0≤i≤d0\le i\le d) and those that originate from G−N0−N1G-N_0-N_1 as Nd−1+i′=NiN'_{d-1+i}=N_i (2≤i≤d2\le i\le d), and adding edges between the last layer of GG and the first layer of G−N0−N1G-N_0-N_1 such that G′[N0′∪N1′∪N2′]≅G′[Nd−1′∪Nd′∪Nd+1′]G'[N'_0\cup N'_1\cup N'_2]\cong G'[N'_{d-1}\cup N'_d\cup N'_{d+1}], where for each k∈{0,1,2}k\in\{0,1,2\} the isomorphism should map vertices in Nk′N'_k to vertices in Nd−1+k′N'_{d-1+k}. An example of a graph GG and its concatenation G′G' is given in Figure 1. For integers δ\delta and ω\omega (or χ\chi), we call GG induced by consecutive layers N0,…,NdN_0,\ldots,N_d repeatable (with respect to δ,ω\delta,\omega or δ,χ\delta,\chi) if d≥2d\ge2, G[N0∪N1]≅G[Nd−1∪Nd]G[N_0\cup N_1]\cong G[N_{d-1}\cup N_d] such that the isomorphism maps vertices in N0N_0 to Nd−1N_{d-1} and vertices in N1N_1 to NdN_d and GG has clique number at most ω\omega (or chromatic number at most χ\chi) and every vertex in GG, except for vertices in its first and last layer, has degree at least δ\delta. Remark that the concatenation G′G' of a repeatable graph GG is again repeatable. We call the integer d−1d-1 the repetition length of GG. We call a graph a fundamental block if it is obtained by deleting the vertices in the first and the last layer of a repeatable graph. For example, the graph GG shown in Figure 1 is repeatable with respect to δ=3\delta=3 and ω=3\omega=3 (or χ=3\chi=3), has repetition length 3 and the graph induced by N1∪N2∪N3N_1\cup N_2\cup N_3 is a fundamental block.

Figure 1. The graph GG (where vertices in N0N_0 are shown larger) and its concatenation G′G'

In the current paper, we will focus on graphs with clique number ω≤3\omega\le3 or chromatic number χ≤3\chi\le3. For each integer δ≥4\delta\ge4, let f(δ)f(\delta) be the smallest rational number such that diam⁡(G)≤f(δ)n+O(1)\operatorname{diam}(G) \le f(\delta)n + O(1) for all graphs GG with order nn, minimum degree δ\delta and clique number ω≤3\omega\le3. Similarly, let f′(δ)f'(\delta) be this number when the restriction ω≤3\omega\le3 is replaced by χ≤3\chi\le3 (so f(δ)≥f′(δ)f(\delta) \ge f'(\delta)).

To determine f(δ)f(\delta) (or f′(δ)f'(\delta)), it suffices to find the best repeatable graph. More precisely, even the best minimal repeatable graph would suffice (as defined in Subsec. 1.1).

One direction is trivial: if there is a repeatable graph GG (with respect to δ,ω\delta,\omega or δ,χ\delta,\chi) with repetition length pp and the graph induced by all layers of GG except the first and the last layer has order nn, then we can concatenate GG several times (the resulting graph will have clique number at most ω\omega or chromatic number at most χ\chi and all vertices except for vertices in the first and last layer have degree at least δ\delta). Connecting every vertex from the first and last layer with the vertices of a (different) Kδ,δK_{\delta,\delta} results in a graph with minimum degree at least δ\delta and clique number bounded by three, ω≤3\omega\le3 (or chromatic number at most three, χ≤3\chi\le3). By repeatedly concatenating, we see that the asymptotic ratio between the diameter and the order goes to pn\frac{p}{n}, illustrating why it is a lower bound for f(δ)f(\delta) (or f′(δ)f'(\delta)).

Conversely, consider for every d≥2d \ge2 the graph with diameter dd (under the δ\delta and ω\omega or χ\chi condition) with minimum order. For such a graph, ∣Ni∣≤2δ|N_i| \le2\delta, as otherwise one can replace Ni−1N_{i-1} and Ni+1N_{i+1} by an independent set of the same size and replace NiN_i by a Kδ,δK_{\delta,\delta} whose vertices are all connected to Ni−1∪Ni+1N_{i-1} \cup N_{i+1}. This implies that there is a finite bound BB (depending only on δ\delta) for the number of possibilities G[Ni∪Ni+1]G[N_i \cup N_{i+1}]. By the pigeonhole principle, this means that there exists a constant CC (also depending only on δ\delta) such that every graph (under the δ\delta and ω\omega or χ\chi condition) with diameter at least CC must contain a subgraph induced by consecutive layers that is repeatable. Among all possible minimal repetition lengths, let ff be the best ratio of the repetition length to the order. One can remove repeatable graphs (if G[⋃i=rsNi]G[\bigcup_{i=r}^{s}N_i] is repeatable, removing it implies we replace GG by the graph G′G' which is formed by adding edges to G[⋃i=1rNi]∪G[⋃i=sdNi]G[\bigcup_{i=1}^{r}N_i] \cup G[\bigcup_{i=s}^{d}N_i] between NrN_r and NsN_s such that G′[Nr∪Ns]≅G[Nr∪Nr+1]G'[N_r \cup N_s] \cong G[N_r \cup N_{r+1}] and the isomorphism maps the vertices of NsN_s to Nr+1N_{r+1}) one by one until the resulting graph’s diameter is at most CC. As the order nn goes to infinity, one deduces from this that initially diam⁡(G)≤fn+O(1)\operatorname{diam}(G) \le fn + O(1) (if the repeatable graph is not minimal, then either it contains a shorter repeatable graph which has a ratio which is not worse, or removing that shorter repeatable graph results in a repeatable graph with a better ratio).

The rest of this paper is structured as follows. In Section 2, we consider the case where ω(G)≤3\omega(G) \le3 and determine f(4),f(5)f(4), f(5) and f(6)f(6) exactly. The repetition length of this optimal repeatable graph becomes long, indicating that solving the question from [5] exactly in general is probably very difficult. We observe that the optimal repeatable graphs for δ=4,5,6\delta= 4,5,6 have equal chromatic number and clique number, χ(G)=ω(G)=3\chi(G) = \omega(G) = 3, which we expect to hold in the general case. We therefore formulate the following conjecture.

Conjecture 4. For every δ≥4\delta\ge4, f(δ)=f′(δ)f(\delta) = f'(\delta).

For some small orders, extremal graphs with χ(G)>ω(G)\chi(G) > \omega(G) exist, and they are not unique.

In Section 3, we consider the weaker variant where we concentrate on 3-colourable graphs and determine f′(7)f'(7) and f′(8)f'(8) exactly and a lower bound for f′(16)f'(16) (which is in fact also exact under some additional mild assumptions).

Czabarka, Singgih, and Székely showed in [4] that f′(δ)=73δf'(\delta) = \frac{7}{3\delta} is an upper bound for f′(δ)f'(\delta).

We compare the exact values that we obtained with this general upper bound in Table 1.

δ\deltaf(δ)f(\delta)f′(δ)f'(\delta)f′(δ)‾\overline{f'(\delta)}
447\frac{4}{7}47\frac{4}{7}712\frac{7}{12}
5511\frac{5}{11}511\frac{5}{11}715\frac{7}{15}
61437\frac{14}{37}1437\frac{14}{37}718\frac{7}{18}
7-1752\frac{17}{52}13\frac{1}{3}
8-27\frac{2}{7}724\frac{7}{24}
16-31216\frac{31}{216}748\frac{7}{48}

Table 1. A comparison between f(δ)f(\delta), f′(δ)f'(\delta) and f′(δ)‾\overline{f'(\delta)} for small values of δ\delta. The value in red is a lower bound for f′(16)f'(16), which is exact under additional mild assumptions.

When ω\omega or χ\chi is at most 3, the bounds in Conjecture 2 (i) are only stated when 8∣δ8 \mid\delta and these were disproved in [2] when δ≥24\delta\ge24. For δ∈{8,16}\delta\in\{8,16\}, the conjectured bounds from Conjecture 2 (i) yield f(8)≤27f(8) \le\frac{2}{7} and f(16)≤17f(16) \le\frac{1}{7}. As such, the results in Table 1 indicate that (likely) f(8)=27f(8) = \frac{2}{7} (as conjectured), but f(16)≥f′(16)≥31216>17f(16) \ge f'(16) \ge\frac{31}{216} > \frac{1}{7}, thereby yielding the first counterexample to Conjecture 2 (i) in this regime. For the sake of clarity, we stress that we can show that f′(16)=31216f'(16) = \frac{31}{216} under additional mild assumptions, but the inequality f′(16)≥31216f'(16) \ge\frac{31}{216} holds unconditionally. Finally, we remark that the asymptotic maximum diameter for a kk-colourable graph is known to be of the form (3−Θ(1k))nδ+O(1)\left(3-\Theta\left(\frac{1}{k}\right)\right)\frac{n}{\delta}+O(1) by [2] and [3], but the exact determination of fk′(δ)f'_k(\delta) (and fk(δ)f_k(\delta)) – the analogues for f′(δ)f'(\delta) and f(δ)f(\delta) when 3 is replaced by kk – remains open.

Notation and terminology

We use mostly standard terminology, but explain additional notation in this subsection.

Let G=(V,E)G=(V,E) be a graph and X,Y⊂V(G)X,Y\subset V(G). The graph G[X]G[X] is the subgraph induced by the set XX. This is the graph with vertex set XX and edge set E∩(X2)E\cap\binom{X}{2}.

The graph G[X,Y]G[X,Y] is the bipartite graph with vertex set X∪YX\cup Y and edge set {xy∈E(G):x∈X,y∈Y}\{xy\in E(G):x\in X,y\in Y\}. Equivalently, G[X,Y]G[X,Y] equals G[X∪Y]G[X\cup Y] with the edges in (X2)∪(Y2)\binom{X}{2}\cup\binom{Y}{2} deleted. It is complete iff E(G[X,Y])=X×YE(G[X,Y])=X\times Y. Note that G[X,Y]G[X,Y] is a (possibly strict) subgraph of G[X∪Y]G[X\cup Y].

A repeatable graph G[⋃h=ijNh]G\left[\bigcup_{h=i}^{j}N_h\right] is minimal if there is no repeatable G[⋃h=i′j′Nh]G\left[\bigcup_{h=i'}^{j'}N_h\right] where i≤i′<j′≤ji\le i'<j'\le j and (i′,j′)≠(i,j)(i',j')\ne(i,j). For example, the two graphs in Figure 1 are both repeatable, but only the leftmost graph is a minimal repeatable graph. For the (iterative) concatenation of a minimal repeatable graph G[⋃h=ijNh]G\left[\bigcup_{h=i}^{j}N_h\right], we will call the repetition length of GG the period of the concatenation.

A part of a graph GG is periodic with period pp if G[⋃j=ii+pNj]G\left[\bigcup_{j=i}^{i+p}N_j\right] only depends on i mod pi\bmod p for some imin⁡≤i≤imax⁡−pi_{\min}\le i\le i_{\max}-p and that part has no smaller pp satisfying the property.2 If imax⁡−imin⁡>2i_{\max}-i_{\min}>2, every p+2p+2 consecutive layers form a repeatable graph. Every pp consecutive layers form a fundamental block. The ratio of diameter over order of the fundamental block contains the fraction (ratio) we seek. In the paper, we typically consider the fundamental block as part of a larger periodic graph, particularly a repeatable graph, to which it belongs.

When studying f′(δ)f'(\delta), we need to know how many colours and how many vertices of a certain colour class are present in a certain layer. We denote by c(i)c(i) the number of colours present in G[Ni]G[N_i].

We can present (part of) a graph by means of a matrix, where each row represents a colour, and a column a different layer (corresponding with a neighbourhood). The corresponding maximal graphs are called clump graphs in [2]. Note that here c(i)c(i) equals the chromatic number of G[Ni]G[N_i], since G[Ni]G[N_i] is a complete multipartite graph.

A χ×ℓ\chi\times\ell-matrix A=(ai,j)i∈[χ],j∈[ℓ]A=(a_{i,j})_{i\in[\chi],j\in[\ell]} will represent a χ\chi-colourable graph of diameter ℓ−1\ell-1 (if ℓ≥3\ell\geq3), which can be formed by independent sets ai,jK1a_{i,j}K_1, where additionally the union of ai,jK1a_{i,j}K_1 and ai,j′K1a_{i,j'}K_1 and the union of ai,jK1a_{i,j}K_1 and ai+1,j′K1a_{i+1,j'}K_1 form complete bipartite graphs for every ii and j≠j′j\neq j', and no other additional edges are present.

A=(a1,1a1,2a1,3⋯a1,ℓa2,1a2,2a2,3⋯a2,ℓ⋮⋮⋮⋱⋮aχ,1aχ,2aχ,3⋯aχ,ℓ)A=\begin{pmatrix} a_{1,1} & a_{1,2} & a_{1,3} & \cdots& a_{1,\ell}\\ a_{2,1} & a_{2,2} & a_{2,3} & \cdots& a_{2,\ell}\\ \vdots& \vdots& \vdots& \ddots& \vdots\\ a_{\chi,1} & a_{\chi,2} & a_{\chi,3} & \cdots& a_{\chi,\ell} \end{pmatrix}

Maximum diameter for K4K_4-free graphs

In this section, we determine f(4)f(4), f(5)f(5) and f(6)f(6) exactly. This is done in three subsections.

Minimum degree 4

Proposition 5. If GG is a K4K_4-free graph of order nn and has minimum degree δ≥4\delta\geq4, then diam⁡(G)≤47n+O(1)\operatorname{diam}(G)\leq\frac{4}{7}n+O(1). Furthermore this is sharp up to the determination of O(1)O(1), which will depend on n(mod4)n\pmod4 for nn large.

Proof. Let u,v∈V(G)u,v\in V(G) be such that diam⁡(G)=d(u,v)\operatorname{diam}(G)=d(u,v) and let Ni=Ni(u)N_i=N_i(u) for every ii.

Claim 6. For every 0≤i≤diam⁡(G)−30\leq i\leq\operatorname{diam}(G)-3, it must be that ∑j=ii+3∣Nj∣≥7\sum_{j=i}^{i+3}|N_j|\geq7.

Proof. By the minimum degree condition ∑j=ii+2∣Nj∣≥5\sum_{j=i}^{i+2}|N_j|\geq5 and ∑j=i+1i+3∣Nj∣≥5\sum_{j=i+1}^{i+3}|N_j|\geq5. Hence if ∑j=ii+3∣Nj∣≤6\sum_{j=i}^{i+3}|N_j|\leq6, ∣Ni∣=∣Ni+3∣=1|N_i|=|N_{i+3}|=1 and ∣Ni+1∣+∣Ni+2∣=4|N_{i+1}|+|N_{i+2}|=4. But every vertex in Ni+1∪Ni+2N_{i+1}\cup N_{i+2} can as such have at most 4 neighbours, and equality implies that Ni+1∪Ni+2N_{i+1}\cup N_{i+2} induces a clique K4K_4. So by δ≥4\delta\geq4 and GG being K4K_4-free, we conclude that ∑j=ii+3∣Nj∣≤6\sum_{j=i}^{i+3}|N_j|\leq6 is not the case. ♦

By Claim 6, we conclude that n=∑j=0diam⁡(G)∣Nj∣≥7⌊diam⁡(G)4⌋n=\sum_{j=0}^{\operatorname{diam}(G)}|N_j|\geq7\left\lfloor\frac{\operatorname{diam}(G)}{4}\right\rfloor and thus diam⁡(G)≤⌊4n7⌋+3\operatorname{diam}(G)\leq\left\lfloor\frac{4n}{7}\right\rfloor+3.

For sharpness, it is sufficient to consider a concatenation of a repeatable graph like in Figure 2, where at the beginning and end one can append some complete bipartite graphs of correct size to adjust such that the order and minimum degree are correct.

Figure 2. Repetitive concatenation of the repeatable graph (on the left)

The fundamental block (repeated once in gray) can also be given as a clump graph with corresponding matrix

(102010200101010101010101)\begin{pmatrix} 1 & 0 & 2 & 0 & 1 & 0 & 2 & 0 \\ 0 & 1 & 0 & 1 & 0 & 1 & 0 & 1 \\ 0 & 1 & 0 & 1 & 0 & 1 & 0 & 1 \end{pmatrix}

With some more work, one can verify the exact bounds, i.e., determine the O(1)O(1) as well. For n∈{6,7}n \in\{6,7\} the diameter is two (so small orders behave slightly different).

Proposition 7. If GG is a K4K_4-free graph of order nn and has minimum degree δ≥4\delta\ge4, then diam⁡(G)≤⌊4(n−4)7⌋+1{n∈{6,7,12}}\operatorname{diam}(G) \le\left\lfloor\frac{4(n-4)}{7} \right\rfloor+ \mathbf{1}_{\{n\in\{6,7,12\}\}}. Furthermore, this bound is sharp.

Proof. It is easiest to prove this in the reverse direction. If diam⁡(G)=d(u,v)=d≥3\operatorname{diam}(G)=d(u,v)=d\ge3 is of the form 4k+24k+2, 4k+34k+3, 4k+44k+4 or 4k+54k+5, with k≥1k\ge1, then the order of GG needs to be at least resp. 7k+87k+8, 7k+107k+10, 7k+117k+11 or 7k+137k+13. This can be shown as follows. Note that both ∣N0∣+∣N1∣≥5|N_0|+|N_1|\ge5 and ∣Nd−1∣+∣Nd∣≥5|N_{d-1}|+|N_d|\ge5. Also any three consecutive neighbourhoods contain at least 5 elements, and four have at least 7. By the above,

  • if the graph has 4k+34k+3 layers, its order is at least 5+5+7(k−1)+5=7k+85+5+7(k-1)+5=7k+8, (here we summed the lower bounds for the order of the first 2, next 3, following quadruples and final two neighbourhoods resp.)

  • 4k+44k+4 layers result into an order at least 5+7k+5=7k+105+7k+5=7k+10,

  • if the graph has 4k+54k+5 layers, its order is at least 5+1+7k+5=7k+115+1+7k+5=7k+11,

  • 4k+64k+6 layers result into an order at least 5+5+5+7(k−1)+5=7k+135+5+5+7(k-1)+5=7k+13.

Noting that the graph with diameter dd has d+1d+1 layers, we conclude for d≥6d\ge6. The small values have been checked separately.

Sharpness can be derived by inserting the gadget from Figure 2 (repeatable graph minus one end layer which has size of neighbourhoods (1,2,2,2,1)(1,2,2,2,1)) into the corresponding constructions from Figure 3 (at the single vertex of Nd−2N_{d-2}), or enlarging N1N_1. The small cases where n∈{6,7,10,12}n\in\{6,7,10,12\} are easily verified as well (e.g. K6K_6 and K5,5K_{5,5} (both) minus a perfect matching for n=6n=6 and n=10n=10).

Figure 3. K4K_4-free graphs with δ=4\delta=4 and large diameter for small orders used in Proposition 7

Minimum degree 5

Proposition 8. If GG is a K4K_4-free graph of order nn and has minimum degree δ≥5\delta\ge5, then diam⁡(G)≤511n+O(1)\operatorname{diam}(G)\le\frac{5}{11}n+O(1).

Proof. We start determining an optimal period, and for this we first prove assumptions we may take into account for every neighbourhood NiN_i within a fundamental block.

Claim 9. If NiN_i is of size 4, we can assume that

  • G[Ni]G[N_i] spans a C4C_4

  • Ni−1N_{i-1} and Ni+1N_{i+1} form an independent set

  • G[Ni,Ni+1]G[N_i,N_{i+1}] and G[Ni,Ni−1]G[N_i,N_{i-1}] are complete.

Proof. If ∣Ni−1∣=∣Ni+1∣=1|N_{i-1}|=|N_{i+1}|=1, we would have a K4K_4 in the center, which cannot happen. Hence ∣Ni−1∣+∣Ni+1∣≥3|N_{i-1}|+|N_{i+1}|\ge3.

Now assume we replace G[Ni]G[N_i] by a C4C_4, remove all edges in G[Ni−1]G[N_{i-1}] and G[Ni+1]G[N_{i+1}] to obtain independent sets and add an edge between every vertex x∈Nix\in N_i and every vertex y∈Ni−1∪Ni+1y\in N_{i-1}\cup N_{i+1}. No K4K_4 has been created in this way. We can assume that every vertex in Ni+1N_{i+1} has at least one neighbour in Ni+2N_{i+2}, since otherwise we just can add one such an edge, without creating a K4K_4. It is easily verified that every vertex in Ni−1∪Ni∪Ni+1N_{i-1}\cup N_i\cup N_{i+1} has degree at least 5. ⋄\diamond

Claim 10. There are only 5 possibilities where ∣Ni∣+∣Ni+1∣+∣Ni+2∣+∣Ni+3∣≤8|N_i|+|N_{i+1}|+|N_{i+2}|+|N_{i+3}|\le8. In those cases, (∣Ni∣,∣Ni+1∣,∣Ni+2∣,∣Ni+3∣)(|N_i|,|N_{i+1}|,|N_{i+2}|,|N_{i+3}|) is among {(1,1,4,2),(1,2,4,1),(1,3,3,1),(1,4,2,1),(2,4,1,1)}\{(1,1,4,2),(1,2,4,1),(1,3,3,1),(1,4,2,1),(2,4,1,1)\}.

Proof. Note that ∣Ni∣+∣Ni+1∣+∣Ni+2∣≥δ+1=6|N_i|+|N_{i+1}|+|N_{i+2}|\ge\delta+1=6, ∣Ni∣+∣Ni+1∣+∣Ni+2∣+∣Ni+3∣≥δ+2=7|N_i|+|N_{i+1}|+|N_{i+2}|+|N_{i+3}|\ge\delta+2=7 and equality would imply that ∣Ni∣=∣Ni+3∣=1|N_i|=|N_{i+3}|=1 and Ni+1∪Ni+2N_{i+1}\cup N_{i+2} is a clique, which is a contradiction. Hence the sum ∣Ni∣+∣Ni+1∣+∣Ni+2∣+∣Ni+3∣|N_i|+|N_{i+1}|+|N_{i+2}|+|N_{i+3}| is at least 8 and max⁡{∣Ni∣,∣Ni+3∣}≤2\max\{|N_i|,|N_{i+3}|\}\le2. It is easy to rule out (1,1,5,1)(1,1,5,1) or symmetrically (1,5,1,1)(1,5,1,1), as well as (2,2,2,2)(2,2,2,2). Also (1,2,3,2)(1,2,3,2), (1,3,2,2)(1,3,2,2) and (1,4,1,2)(1,4,1,2) (and the reflections) are impossible under the condition ω<4<δ\omega<4<\delta. By our assumption of Claim 9, it is also clear that each of the 5 cases with equality in Claim 10 corresponds with a unique part of a graph. ⋄\diamond

Since 94>115\frac{9}{4}>\frac{11}{5} (we later show that 511≤f(5)\frac{5}{11}\le f(5)), there exist 4 consecutive neighbourhoods with sum of sizes equal to 8. In particular, we can consider a minimum optimal period and corresponding fundamental block. If ∣Ni∣=∣Nj∣=1|N_i|=|N_j|=1 (where i<ji<j) and ∣Ni+1∣=∣Nj+1∣|N_{i+1}|=|N_{j+1}|, we know that G[⋃h=ij+1Nh]G[\bigcup_{h=i}^{j+1}N_h] contains a fundamental block.

First, assume that no two consecutive size one neighbourhoods are present. In that case, there are at most 3 quadruples of consecutive neighbourhoods with sum of sizes 8 in a fundamental block. In that case the period is at least 6 (size 1 neighbourhoods need to be at distance at least 3 of each other, and period 3 gives the worse bound 73\frac{7}{3}) and thus at least twice the sum of 4 consecutive neighbourhoods is 8 and two such quadruples have to intersect. The latter implies that without loss of generality we may assume that ∣Ni∣=∣Ni+3∣=∣Ni+6∣=1|N_i| = |N_{i+3}| = |N_{i+6}| = 1. If (∣Ni+j∣)0≤j≤6=(1,2,4,1,4,2,1)(|N_{i+j}|)_{0\leq j\leq6} = (1,2,4,1,4,2,1), there are two subsets of length 4 with sum 11 and we are done. In the other case, (1,3,3,1)(1,3,3,1) borders (at least) one of the two other options and so at least one sum is 10. Hence the period is bounded by length 10 (if not, the ratio is worse than 115\frac{11}{5}). Hence the fundamental block is either of length 9 and order at least 3⋅73\cdot7, or length 10 and order at least 1+2⋅7+9=241+2\cdot7+9=24. Both result in worse ratios.

So assume (∣Ni∣,∣Ni+1∣)=(1,1)(|N_i|,|N_{i+1}|)=(1,1) occurs for some ii as part of the string (4,1,1,4)(4,1,1,4), which has sum 10. Since the fundamental block will have length at least 6, we need to have at least three times a sum of sizes of 4 consecutive neighbourhoods, which is 8. This again implies that the fundamental block has to be of length strictly larger than 6. Since the sum of 3 consecutive neighbourhoods is at least 6, each 4 will be part of another sequence of 4 consecutive neighbourhoods with sum at least 10. Taking into account Claim 10, all 5 ways with low sum need to be in the fundamental block, from which uniqueness of the optimal fundamental block follows.

The latter also gives sharpness. It is sufficient to consider a (repeated) concatenation of the gadget (fundamental block) like in Figure 4, where at the beginning and end one can append some bipartite graphs of correct size to adjust such that the order and minimum degree are correct.

Figure 4. The optimal graph for δ=5\delta=5. The red line draws attention to the missing edge.

The fundamental block itself is a clump graph that can be presented by the corresponding matrix (from the gray column onwards, the repetition starts)

(102011002010200201020002010202010)\begin{pmatrix} 1 & 0 & 2 & 0 & 1 & 1 & 0 & 0 & 2 & 0 & 1 \\ 0 & 2 & 0 & 0 & 2 & 0 & 1 & 0 & 2 & 0 & 0 \\ 0 & 2 & 0 & 1 & 0 & 2 & 0 & 2 & 0 & 1 & 0 \end{pmatrix}

Minimum degree 6

Proposition 11. If GG is a K4K_4-free graph of order nn and has minimum degree δ≥6\delta\geq6, then diam⁡(G)≤1437n+O(1)\operatorname{diam}(G) \leq\frac{14}{37}n + O(1).

Proof.

Claim 12. If NiN_i is of size 5, we can assume that

  • G[Ni]G[N_i] spans a K2,3K_{2,3} (or C5C_5)

  • Ni−1N_{i-1} and Ni+1N_{i+1} form an independent set

  • G[Ni,Ni+1]G[N_i,N_{i+1}] and G[Ni,Ni−1]G[N_i,N_{i-1}] are complete.

Proof. If ∣Ni−1∣=∣Ni+1∣=1|N_{i-1}|=|N_{i+1}|=1, we would have a K5K_5 in the center, which cannot happen. Also in the case ∣Ni−1∣+∣Ni+1∣=3|N_{i-1}|+|N_{i+1}|=3, with some case distinction one concludes that δ≥6\delta\ge6 implies that there is a K4K_4 (each vertex in NiN_i has at most one non-neighbour among the other 7 vertices).

Hence ∣Ni−1∣+∣Ni+1∣≥4|N_{i-1}|+|N_{i+1}|\ge4.

Now assume we replace G[Ni]G[N_i] by a C5C_5 or K2,3K_{2,3}, remove all edges in G[Ni−1]G[N_{i-1}] and G[Ni+1]G[N_{i+1}] to obtain independent sets and add an edge between every vertex x∈Nix\in N_i and every vertex y∈Ni−1y\in N_{i-1}. No K4K_4 has been created in this way. We can assume that every vertex in Ni+1N_{i+1} has at least one neighbour in Ni+2N_{i+2}, since otherwise we just can add one such an edge, without creating a K4K_4. It is easily verified that every vertex in Ni−1∪Ni∪Ni+1N_{i-1}\cup N_i\cup N_{i+1} has degree at least 6. ◇

Claim 13. We can assume that there is no neighbourhood with ∣Ni∣>5|N_i|>5 in the optimal fundamental block. Consequently, we also assume there is no ii with ∣Ni−1∣+∣Ni+1∣≤3|N_{i-1}|+|N_{i+1}|\le3.

Proof. If ∣Ni−1∣=∣Ni+1∣=1|N_{i-1}|=|N_{i+1}|=1, then ∣Ni∣≥8|N_i|\ge8 is needed since G[Ni]G[N_i] has to be triangle-free. We can replace their sizes by 2, 5, 2 (taking into account Claim 12). If ∣Ni−1∣+∣Ni+1∣≥3|N_{i-1}|+|N_{i+1}|\ge3 and ∣Ni∣≥6|N_i|\ge6, we can replace G[Ni±1]G[N_{i\pm1}] by an independent set of size max⁡{∣Ni±1∣,2}\max\{|N_{i\pm1}|,2\}, replace G[Ni]G[N_i] by K3,2K_{3,2}, and let G[Ni,Ni+1]G[N_i,N_{i+1}] and G[Ni,Ni−1]G[N_i,N_{i-1}] be complete. ◇

Claim 14. If in the optimal fundamental block, ∣Ni∣=∣Ni+1∣=4|N_i|=|N_{i+1}|=4, we can assume that {G[Ni],G[Ni+1]}∈{{S4,S4},{4K1,4K1},{4K1,C4}}\{G[N_i],G[N_{i+1}]\}\in\{\{S_4,S_4\},\{4K_1,4K_1\},\{4K_1,C_4\}\}.

Proof. If ∣Ni−1∣=∣Ni+2∣=1|N_{i-1}|=|N_{i+2}|=1, we can let G[Ni∪Ni+1]G[N_i\cup N_{i+1}] be a balanced tripartite graph T(8,3)T(8,3) (all edges between two copies of a 4-vertex-star S4S_4 are present, except for the one between the two centers) and let G[Ni+2,Ni+1]G[N_{i+2},N_{i+1}] and G[Ni,Ni−1]G[N_i,N_{i-1}] be complete.

If ∣Ni−1∣=1|N_{i-1}|=1 and ∣Ni+2∣≥2|N_{i+2}|\ge2 (the reverse is analogous) we can choose G[Ni]=C4G[N_i]=C_4, G[Ni+1]=4K1G[N_{i+1}]=4K_1, where G[Ni,Ni+1]G[N_i,N_{i+1}] and G[Ni,Ni−1]G[N_i,N_{i-1}] are complete, and after possibly removing an edge from G[Ni+2]G[N_{i+2}] to make G[Ni+2]G[N_{i+2}] triangle-free if necessary (there are only a few cases to consider by Claim 12 and Claim 13), G[Ni+2,Ni+1]G[N_{i+2},N_{i+1}] is also complete.

If ∣Ni−1∣,∣Ni+2∣≥2|N_{i-1}|,|N_{i+2}|\ge2, we can choose {G[Ni],G[Ni+1]}={4K1,4K1}\{G[N_i],G[N_{i+1}]\}=\{4K_1,4K_1\}, G[Ni,Ni+1]=K4,4G[N_i,N_{i+1}]=K_{4,4}, and both G[Ni+2,Ni+1]G[N_{i+2},N_{i+1}] and G[Ni,Ni−1]G[N_i,N_{i-1}] being complete bipartite as well (after possibly removing an edge from G[Ni−1]G[N_{i-1}] and/or G[Ni+2]G[N_{i+2}] to make it triangle-free). ◇

Finally, using the algorithm described in Appendix B, we can find the optimal period thanks to the aforementioned claims, yielding f(6)=1437f(6)=\frac{14}{37}.

An example of an optimal fundamental block is presented below

(010301030202032002002010201020202020102010)\begin{pmatrix} 0 & 1 & 0 & 3 & 0 & 1 & 0 & 3 & 0 & 2 & 0 & 2 & 0 & 3 \\ 2 & 0 & 0 & 2 & 0 & 0 & 2 & 0 & 1 & 0 & 2 & 0 & 1 & 0 \\ 2 & 0 & 2 & 0 & 2 & 0 & 2 & 0 & 1 & 0 & 2 & 0 & 1 & 0 \end{pmatrix}

One can note that Ni∪Ni+1N_i\cup N_{i+1} spans a complete bi- or tripartite graph, but it is not necessarily a Turán graph since there is e.g. an appearance of K3,1,1K_{3,1,1}. ▫

Maximum diameter for 3-colourable graphs

In this section, we prove that the statement obtained when restricting Conjecture [2] (i) to graphs with chromatic number at most χ\chi is correct when r=2r=2 if and only if δ=8\delta=8. More precisely, we first prove that

Proposition 15. If GG is a 3-colourable graph of order nn with minimum degree δ≥7\delta\ge7, then diam⁡(G)≤1752n+O(1)\operatorname{diam}(G) \le\frac{17}{52}n + O(1).

Proposition 16. If GG is a 3-colourable graph of order nn with minimum degree δ≥8\delta\ge8, then diam⁡(G)≤27n+O(1)\operatorname{diam}(G) \le\frac{2}{7}n + O(1).

We start with an easy observation (proving that having all colours present in a neighbourhood implies a local relative deficit), which is also true when ω=3\omega=3 and NiN_i contains a triangle.

Claim 17. If c(i)=3c(i)=3, then ∣Ni−1∣+∣Ni∣+∣Ni+1∣≥⌈3δ2⌉|N_{i-1}|+|N_i|+|N_{i+1}| \ge\left\lceil\frac{3\delta}{2}\right\rceil.

Proof. The sum of sizes of two colour classes among Ni−1N_{i-1}, NiN_i and Ni+1N_{i+1} is at least δ\delta. Summing over the three combinations, leaves us with 2(∣Ni−1∣+∣Ni∣+∣Ni+1∣)≥3δ2(|N_{i-1}|+|N_i|+|N_{i+1}|) \ge3\delta. ♦

Analogous statements of Claim 17 hold for larger χ\chi or ω\omega as well.

We give a more precise upper bound than the earlier mentioned crude 2δ2\delta bound on the order of the neighbourhoods within an optimal fundamental block.

Claim 18. For δ∈{7,8}\delta\in\{7,8\}, we can assume that there is no neighbourhood for which ∣Ni∣≥δ|N_i| \ge\delta in the optimal fundamental block.

Proof. This can be verified by case analysis. The details are explained in Appendix A, which extends the proof for δ=8\delta=8 we sketch here.

Assume the claim is not true, and thus ∣Ni∣≥δ|N_i| \ge\delta. First observe that ∣Ni∣≤⌊3δ2⌋|N_i| \le\left\lfloor\frac{3\delta}{2}\right\rfloor, since a balanced neighbourhood (3 colour classes with sizes that differ at most 1) of size ⌊3δ2⌋\left\lfloor\frac{3\delta}{2}\right\rfloor can be fitted in anywhere.

If c(i−2),c(i),c(i+2)≤2c(i-2),c(i),c(i+2) \le2, then one can assume that c(i−1)=c(i+1)=1c(i-1)=c(i+1)=1. If ∣Ni−1∣+∣Ni+1∣≥δ|N_{i-1}|+|N_{i+1}| \ge\delta, it is trivial that the size of NiN_i can be decreased without destroying the property. In the other case, one can move vertices from NiN_i to Ni±1N_{i\pm1} till ∣Ni∣=δ−1|N_i|=\delta-1 and end with a fundamental block that is still fine.

If c(i−2),c(i+2)≤2c(i-2),c(i+2) \le2 and c(i)=3c(i)=3, we can again put all vertices from Ni±1N_{i\pm1} in a single colour class. By Claim 17, ∣Ni−1∣+∣Ni∣+∣Ni+1∣≥⌈3δ2⌉|N_{i-1}|+|N_i|+|N_{i+1}| \ge\left\lceil\frac{3\delta}{2}\right\rceil. Now one can take a balanced two-colouring of NiN_i where ∣Ni∣=δ−1|N_i|=\delta-1, possibly after moving some vertices to Ni±1N_{i\pm1}.

If c(i−2)=c(i+2)=3c(i-2)=c(i+2)=3, one can remove NjN_j for j∈[i−3,i+3]∖{i}j \in[i-3,i+3] \setminus\{i\} and put a balanced 3-coloured NiN_i of size 10 between Ni−4N_{i-4} and Ni+4N_{i+4}. By Claim 17, we removed at least 2⋅12+82\cdot12+8 vertices, replacing them by 10, giving a decrease of at least 22 vertices, while the diameter decreases by only 6. Since 226>72\frac{22}{6}>\frac{7}{2}, this is an improvement.

Finally assume c(i−2)=3c(i-2)=3 and c(i+2)≤2c(i+2)\le2. Using Claim 17 and considering a few cases, we can decrease the order by at least 8 and the length by 2. ♦

Knowing restrictions on the sizes of all colour classes, we can once again use the algorithm described in Appendix B to obtain f′(7)=1752f'(7)=\frac{17}{52} and f′(8)=27f'(8)=\frac{2}{7}. This concludes the proof for Proposition 15 and Proposition 16.

An optimal fundamental block for respectively δ=7\delta=7 and δ=8\delta=8 is given below. Here every t∈{1,2,3}t\in\{1,2,3\} works for $\delta=8.

(030103030103010300300301030202030130103001200300210)(t06−t002020202)\begin{pmatrix} 0 & 3 & 0 & 1 & 0 & 3 & 0 & 3 & 0 & 1 & 0 & 3 & 0 & 1 & 0 & 3 & 0 \\ 0 & 3 & 0 & 0 & 3 & 0 & 1 & 0 & 3 & 0 & 2 & 0 & 2 & 0 & 3 & 0 & 1 \\ 3 & 0 & 1 & 0 & 3 & 0 & 0 & 1 & 2 & 0 & 0 & 3 & 0 & 0 & 2 & 1 & 0 \end{pmatrix} \begin{pmatrix} t & 0 & 6-t & 0 \\ 0 & 2 & 0 & 2 \\ 0 & 2 & 0 & 2 \end{pmatrix}

The following assumption seems natural for the extremal graphs, but has not been proven.

Assumption In the optimal fundamental block for χ=k≥3\chi= k \ge3 for some δ\delta, we may assume that c(i)≤k−1c(i) \le k - 1 for every ii.

For δ=16\delta= 16, the optimal period cannot be computed in reasonable time using the algorithm described in Appendix B if this assumption is not made. However, by using the previous assumption and additionally assuming that the period is bounded by 100 and that there is an ii for which c(i)=1c(i) = 1, we obtain a counterexample for δ=16\delta= 16 to Conjecture 2 (i) (in a regime outside of the regime of the counterexamples produced by Czabarka, Singgih, and Székely [2]). From this, we may also expect that the region for which the conjecture holds is narrower than the narrowed window by the authors from [2] (end of page 39). The fundamental block that yields the counterexample is presented below, resulting in the fraction 31216\frac{31}{216}.

(007010700700250070043007008010701080702070207040507020702070082070107020707020702070603052070)\begin{pmatrix} 0 & 0 & 7 & 0 & 1 & 0 & 7 & 0 & 0 & 7 & 0 & 0 & 2 & 5 & 0 & 0 & 7 & 0 & 0 & 4 & 3 & 0 & 0 & 7 & 0 & 0 & 8 & 0 & 1 & 0 & 7 \\ 0 & 1 & 0 & 8 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 4 & 0 & 5 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 0 & 8 \\ 2 & 0 & 7 & 0 & 1 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 2 & 0 & 7 & 0 & 6 & 0 & 3 & 0 & 5 & 2 & 0 & 7 & 0 \end{pmatrix}

For 9≤δ≤159 \le\delta\le15, one could in principle obtain sharp bounds under similar assumptions, by modifying the computer code in Appendix B, but δ=16\delta= 16 was the next interesting case after δ=8\delta= 8 with respect to Conjecture 2 (i) and so we decided not to pursue determining those values.

Acknowledgements

The computational resources and services used in this work were provided by the VSC (Flemish Supercomputer Centre), funded by the Research Foundation Flanders (FWO) and the Flemish Government - Department EWI.

Details of some case analysis for Claim 18

Claim 19. If in the optimal fundamental block c(i−2),c(i+2)≤2c(i-2),c(i+2)\le2, then ∣Ni∣≤δ−1|N_i|\le\delta-1.

Proof. This can be verified by case analysis.

First observe that ∣Ni∣≤⌊3δ2⌋|N_i|\le\left\lfloor\frac{3\delta}{2}\right\rfloor, since a balanced neighbourhood of that size can fit anywhere. So assume ∣Ni∣≥δ|N_i|\ge\delta. We consider two cases.

  • If c(i)≤2c(i)\le2, then one can assume that c(i−1)=c(i+1)=1c(i-1)=c(i+1)=1. Note that we can permute the colours of NiN_i and NjN_j for j≥2j\ge2 such that the same colour is missing in Ni−2N_{i-2}, NiN_i and Ni+2N_{i+2}. So we can put ∣Ni±1∣|N_{i\pm1}| many vertices in the third colour at Ni±1N_{i\pm1}. Every vertex in NjN_j for ∣j−i∣≠1|j-i|\ne1 has degree at least δ\delta as this was initially the case. Every vertex in Ni±1N_{i\pm1} also has degree at least δ\delta since ∣Ni∣+∣Ni±2∣≥δ|N_i|+|N_{i\pm2}|\ge\delta.

If ∣Ni−1∣+∣Ni+1∣≥δ|N_{i-1}|+|N_{i+1}|\ge\delta, it is trivial that the size of NiN_i can be decreased (one can even choose c(i)=1c(i)=1 and ∣Ni∣=δ−1|N_i|=\delta-1) while all vertices keep having degree at least δ\delta. If ∣Ni−1∣+∣Ni+1∣<δ|N_{i-1}|+|N_{i+1}|<\delta, one can move vertices from NiN_i to Ni±1N_{i\pm1} till ∣Ni∣=δ−1|N_i|=\delta-1 and end with a construction for which the minimum degree is still at least δ\delta.

  • If c(i)=3c(i)=3, we can again put all vertices from Ni±1N_{i\pm1} in a single colour class. By Claim 17, ∣Ni−1∣+∣Ni∣+∣Ni+1∣≥⌈3δ2⌉|N_{i-1}|+|N_i|+|N_{i+1}|\ge\left\lceil\frac{3\delta}{2}\right\rceil. Now one can take a balanced two-colouring of NiN_i where ∣Ni∣=δ−1|N_i|=\delta-1, possibly after moving some vertices to Ni±1N_{i\pm1}.

Claim 20. If δ∈{7,8}\delta\in\{7,8\}, then every neighbourhood in an optimal fundamental block satisfies ∣Ni∣≤δ−1|N_i|\le\delta-1.

Proof. By Claim 19, we need to focus on two cases, which we do for δ=7\delta=7 and δ=8\delta=8 separately.

Case δ=7\delta=7

  • If c(i−2)=c(i+2)=3c(i-2)=c(i+2)=3, one can remove NjN_j for j∈[i−3,i+3]∖{i}j\in[i-3,i+3]\setminus\{i\} and put a balanced 3-coloured NiN_i of size 9 between Ni−4N_{i-4} and Ni+4N_{i+4}. By Claim 17, we removed at least 2⋅11+72\cdot11+7 vertices, replacing them by 9, giving a decrease of at least 20 vertices, while the diameter decreases by only 6. Since 206>3\frac{20}{6}>3, this is an improvement.

  • We assume c(i−2)=3c(i-2)=3 and c(i+2)≤2c(i+2)\le2 (the reverse is analogous). As before, we can assume c(i+1)=1c(i+1)=1.

Using Claim 17, we know that ∣Ni−3∣+∣Ni−2∣+∣Ni−1∣≥11|N_{i-3}|+|N_{i-2}|+|N_{i-1}|\ge11. We also have ∣Ni∣≥7|N_i|\ge7.

Depending on c(i−4)c(i-4) being 1, 2 or 3, we can perform different substitutions that imply an improvement of ratio given by the period divided by 3. If c(i−4)=3c(i-4)=3, we can put consecutively Ni−4,Ni,Ni+1N_{i-4},N_i,N_{i+1} to be at least [1,1,1][1,1,1], [3,3,1][3,3,1], [0,0,1][0,0,1]. If c(i−4)=2c(i-4)=2, we can do the same with [0,1,1][0,1,1], [3,3,2][3,3,2], [0,0,1][0,0,1].

If c(i−4)=1c(i-4)=1, we can put [0,0,1][0,0,1], [3,3,0][3,3,0], [0,0,3][0,0,3], [3,3,0][3,3,0], [0,0,1][0,0,1] for Ni−4N_{i-4} up to Ni+1N_{i+1}, decreasing the order with at least 3 while the diameter decreases by 1 and the number of neighbourhoods with ∣Ni∣≥δ|N_i|\ge\delta decreased by at least one.

This is presented in Figure 5. Here we present the matrix AA, where every column represents the number of vertices in each colour class for a neighbourhood.

Examples of local improvements

Figure 5. Examples of local improvements where δ=7\delta= 7 and the diameter decreases

Case δ=8\delta=8

  • If c(i−2)=c(i+2)=3c(i-2)=c(i+2)=3, one can remove NjN_j for j∈[i−3,i+3]∖{i}j \in[i-3,i+3]\setminus\{i\} and put a balanced 3-coloured NiN_i of size 10 between Ni−4N_{i-4} and Ni+4N_{i+4}. By Claim 17, we removed at least 2⋅12+82\cdot12+8 vertices, replacing them by 10, giving a decrease of at least 22 vertices, while the diameter decreases by only 6. Since 226>72\frac{22}{6}>\frac{7}{2}, this is an improvement.

  • Finally assume c(i−2)=3c(i-2)=3 and c(i+2)≤2c(i+2)\leq2. Using Claim 17, we have ∣Ni−3∣+∣Ni−2∣+∣Ni−1∣+∣Ni∣≥20|N_{i-3}|+|N_{i-2}|+|N_{i-1}|+|N_i|\geq20.

For c(i−4)∈{3,2,1}c(i-4)\in\{3,2,1\} resp., we can make local modifications, replacing Ni−3…iN_{i-3\ldots i} with a single neighbourhood. These are presented in Figure 6. Up to permuting, the 0s and 1s (or non-bold 2) are lower bounds for the corresponding number of vertices. Here we use [3], Thm. 7(iii)), which says that if c(i)=3c(i)=3, then c(i±1)≥2c(i\pm1)\geq2.

Examples of modifications

Figure 6. Examples of modifications where the diameter decreases by 3 when δ=8\delta= 8

Finally, we prove that the latter is impossible. If ∣Ni−5∣≤2|N_{i-5}|\leq2, we need that at least 6 vertices of Ni−3N_{i-3} are coloured by 2 colours. But since c(i−2)≥3c(i-2)\geq3 and c(i−1)≥2c(i-1)\geq2, not every colour can appear 4 times in Ni−3…i−1N_{i-3\ldots i-1}.

If ∣Ni−5∣≥3|N_{i-5}|\geq3, we can end by a final modification, which results in a decrease of the order of 1 and results in ∣Ni∣≤7|N_i|\leq7.

If the diameter decreases by 3 and the number of vertices by at least 11, we know that the construction was not optimal. So the only remaining case is when c(i−4)=1c(i-4)=1, ∣Ni−4∣=∣Ni+1∣=1|N_{i-4}|=|N_{i+1}|=1, ∣Ni−3∣+∣Ni−2∣+∣Ni−1∣=12|N_{i-3}|+|N_{i-2}|+|N_{i-1}|=12 and ∣Ni∣=8|N_i|=8. We will show that this is impossible.

Let xj,yj,zjx_j,y_j,z_j be the number of vertices in NjN_j coloured with the first, second and third colour respectively. Without loss of generality, we have zi−4=1z_{i-4}=1 and consequently xi−3,yi−3≥1x_{i-3},y_{i-3}\geq1 and zi−3=0z_{i-3}=0 (since c(i−3)≥2c(i-3)\geq2 and the assumptions that the colours of adjacent neighbourhoods are as disjoint as possible). One can represent this with the following part of the matrix

(0xi−3xi−2xi−1xi0yi−3yi−2yi−1yi10zi−2zi−1zi)\begin{pmatrix} 0 & x_{i-3} & x_{i-2} & x_{i-1} & x_i \\ 0 & y_{i-3} & y_{i-2} & y_{i-1} & y_i \\ 1 & 0 & z_{i-2} & z_{i-1} & z_i \end{pmatrix}

Due to the minimum degree condition for the vertices in Ni−3N_{i-3} coloured by the first colour, we have that yi−3+yi−2+zi−2≥7y_{i-3}+y_{i-2}+z_{i-2}\geq7 and analogously xi−3+xi−2+zi−2≥7x_{i-3}+x_{i-2}+z_{i-2}\geq7. Due to the minimum degree condition for the vertices in Ni−2N_{i-2}, we have that xi−3+xi−2+xi−1=yi−3+yi−2+yi−1=zi−2+zi−1=4x_{i-3}+x_{i-2}+x_{i-1}=y_{i-3}+y_{i-2}+y_{i-1}=z_{i-2}+z_{i-1}=4. From combining these, yi−3+yi−2≥7−4=3y_{i-3}+y_{i-2}\geq7-4=3 and xi−1+yi−1+zi−1≤12−7−3=2x_{i-1}+y_{i-1}+z_{i-1}\leq12-7-3=2. But the latter implies that every vertex in NiN_i has at least 8−2−1=58-2-1=5 neighbours within NiN_i, while c(i)≤2c(i)\leq2 (c(i)=3c(i)=3 leads to a contradiction with c(i+1)=1c(i+1)=1) and ∣Ni∣=8|N_i|=8, as desired. ◊

Given integers δ\delta and CC, we describe an algorithm that can be used to determine f(δ)f(\delta), assuming that f(δ)f(\delta) is determined by a repeatable graph GG (with respect to δ\delta and ω=3\omega= 3) whose repetition length is at most CC. More precisely, f(δ)f(\delta) is then equal to the ratio of the repetition length of GG and the order of the graph induced by all layers of GG except for the first and last layer. Later, we then explain how f′(δ)f'(\delta) can be computed by slightly modifying this algorithm.

The idea is that the algorithm builds repeatable graphs by adding layers NiN_i of a graph one by one. Recall from before that we may assume without loss of generality that the number of vertices in each layer NiN_i of a repeatable graph has an upper bound (for example 2δ2\delta is such a valid upper bound that works in general, but better upper bounds are possible). The algorithm maintains the invariant that each vertex, except for vertices in the first and last layer, must have degree at least δ\delta and the entire graph must have clique number ω≤3\omega\le3. When adding edges between layers Ni−1N_{i-1} and NiN_i, it suffices to only consider adding edge sets E⊆Ni−1×NiE \subseteq N_{i-1} \times N_i such that it is impossible to add another edge e∈Ni−1×Nie \in N_{i-1} \times N_i (where e∉Ee \notin E) without resulting in a graph with clique number ω>3\omega> 3, because more edges lead to larger vertex degrees and have no further influence on the clique number when adding additional layers. We will refer to such an edge set EE as a maximal edge set. Moreover, the algorithm does not need to consider all combinations of layers N0,N1,…,NiN_0, N_1, \ldots, N_i and maximal edge sets between them. More precisely, given a graph GG, which is induced by the consecutive layers N0,N1,…,NiN_0, N_1, \ldots, N_i. When adding further layers to GG in order to arrive at an optimal repeatable graph, the only parameters which are relevant consist of what the graphs G[N0]G[N_0], G[N1]G[N_1], G[N0∪N1]G[N_0 \cup N_1] and G[Ni]G[N_i] are, together with the information of the number of layers, which degree each vertex in NiN_i has (in the graph G[Ni−1∪Ni]G[N_{i-1} \cup N_i]) and how many vertices GG has (less is better with respect to optimal repeatable graphs). This naturally lends itself to a dynamic programming approach, where one calculates the minimum order of a graph induced by consecutive layers for each combination of feasible parameters from the previous sentence. In case a repeatable graph is found, the algorithm updates the best ratio between repetition length and order of the graph induced by all layers except the first and the last one, and finally the algorithm returns the optimal such ratio f(δ)f(\delta). The pseudo code of the algorithm can be found in Algorithm 1 (the main function) and Algorithm 2 (the function that recursively adds layers).

The value f′(δ)f'(\delta) can in fact be computed using an algorithm very similar to the original one. However, this version can be significantly sped up. More precisely, instead of considering which graph is induced by layer NiN_i, it suffices to know how many vertices of each colour class are present for the χ\chi-version. Given the number of vertices in each colour class in each layer, the edges are also automatically determined: we add an edge between each vertex v∈Niv \in N_i and each vertex u∈Ni−1∪Ni∪Ni+1u \in N_{i-1} \cup N_i \cup N_{i+1} such that uu and vv belong to different colour classes (this does not affect the chromatic number, while making the degrees as large as possible). In other words, we only need to consider clump graphs (as defined in Subsec. 1.1). This makes it possible to calculate f′(δ)f'(\delta) for larger values than f(δ)f(\delta) can be computed.

Finally, we stress that the algorithms are also adapted to incorporate the Claims made in the main part of the paper (all algorithmic ideas remain the same, but the graphs that one needs to consider in each layer can be further restricted thanks to these claims). The algorithms were also parallelised to make the computations feasible. The total time of all computations performed in this paper amounts to approximately 1 CPU-year. We make all code publicly available at https://github.com/JorikJooken/diameterDegreeClique.

Algorithm 1 Calculate_f(δ)(Integer δ, Integer C)
1: Let N be an upper bound for the number of vertices in each layer N_i
2: Let ℒ be a list of pairwise non-isomorphic graphs with order at most N
3: f(δ) ← −∞
4: for G₁ ∈ ℒ do
5:     for G₂ ∈ ℒ do
6:         for Each maximal edge set E between G₁ and G₂ do
7:             Let G′ be the graph obtained by adding each edge in E to the disjoint union of G₁
               and G₂
8:             if G′ has clique number ω ≤ 3 then
9:                 parameters.G[N₀] ← G₁
10:                parameters.G[N₁] ← G₂
11:                parameters.G[N₀ ∪ N₁] ← G′
12:                parameters.G[N_lastLayer] ← G₂
13:                parameters.numberLayers ← 2
14:                parameters.degreesLastLayer ← {(u, deg_G′(u)) | u ∈ V(G₂)}
15:                currentOrder ← |V(G′)|
16:                bestRatio ← −∞ // A global variable that can be updated by the function
                   recursivelyAddLayers
17:                recursivelyAddLayers(parameters, δ, C, currentOrder)
18:                f(δ) ← max(f(δ), bestRatio)
19:            end if
20:        end for
21:    end for
22: end for
23: return f(δ)
Algorithm 2 recursivelyAddLayers(Parameters p, Integer δ, Integer C, Integer currentOrder)
1: if p.numberLayers − 1 ≤ C then
2:     if The dynamic programming table T does not contain any graph with the same parameters as p and fewer vertices as currentOrder then
3:         // Add one layer such that the new last layer is given by Glast
4:         for Glast ∈ L do
5:             for Each maximal edge set E between p.G[NlastLayer] and Glast do
6:                 Let G′ be the graph obtained by adding each edge in E to the disjoint union of p.G[NlastLayer] and Glast
7:                 if The degree of every vertex in p.G[NlastLayer] is at least δ after adding the edges from E AND G′ has clique number ω ≤ 3 then
8:                     newOrder ← currentOrder + |V(Glast)|
9:                     newP ← updateParameters(p, Glast, E)
10:                    updateDynamicProgrammingTable(T, newOrder, newP)
11:                    // Update bestRatio
12:                    if The new graph is repeatable then
13:                        bestRatio ← max(bestRatio, (newP.numberLayers − 2)/(newOrder − |V(newP.G[N0])| − |V(newP.G[NlastLayer])|))
14:                    end if
15:                    recursivelyAddLayers(newP, δ, C, newOrder)
16:                end if
17:            end for
18:        end for
19:    end if
20: end if

References

  1. [1]É. Czabarka, P. Dankelmann, and L. A. Székely. Diameter of 4-colourable graphs. European J. Combin., 30(5):1082–1089, 2009.DOI
  2. [2]É. Czabarka, I. Singgih, and L. A. Székely. Counterexamples to a conjecture of Erdős, Pach, Pollack and Tuza. J. Combin. Theory Ser. B, 151:38–45, 2021.DOI
  3. [3]É. Czabarka, I. Singgih, and L. A. Székely. On the maximum diameter of k-colorable graphs. Electron. J. Comb., 28(3):research paper p3.52, 20, 2021.
  4. [4]É. Czabarka, S. J. Smith, and L. A. Székely. Maximum diameter of 3- and 4-colorable graphs. J. Graph Theory, 102(2):262–270, 2023.
  5. [5]P. Erdős, J. Pach, R. Pollack, and Z. Tuza. Radius, diameter, and minimum degree. J. Combin. Theory Ser. B, 47(1):73–79, 1989.DOI

Paper details

vlnc:W_wez6wkva
v1 · latestHistory (1)

published ·

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Not recorded for this paper · View statement →

Looking for related papers…
Contents