This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

[1]\fnmAlexey \surBarsukov

[2]\fnmBodhayan \surRoy

1]\orgdivDepartment of Algebra, \orgnameCharles University, Czechia

2]\orgdivDepartment of Mathematics, \orgnameIndian Institute of Technology Kharagpur, India

Maximum Cut on Interval Graphs of Interval Count Two is NP-complete

Abstract

An interval graph has interval count \ell if it has an interval model, where among every +1\ell+1 intervals there are two that have the same length. Maximum Cut on interval graphs has been found to be NP-complete recently by Adhikary et al. [1] while deciding its complexity on unit interval graphs (graphs with interval count one) remains a longstanding open problem. More recently, de Figueiredo et al. [2] have made an advancement by showing that the problem remains NP-complete on interval graphs of interval count four. In this paper, we show that Maximum Cut is NP-complete even on interval graphs of interval count two.

keywords:
maximum cut, interval graph, computational complexity
pacs:
[

MSC Classification]35A01, 65L10, 65L12, 65L20, 65L70

1 Introduction

For a given input graph G=(V(G),E(G))G=\bigl{(}V(G),E(G)\bigr{)}, the Maximum Cut problem finds a partition of V(G)V(G) in two sets such that the number of edges between them is maximal.

Maximum Cut is a fundamental and well-known NP-complete problem [3]. The weighted version of the problem is one of Karp’s original 21 NP-complete problems [4]. There are many results describing the complexity of Maximum Cut, where the input of the problem is restricted on some particular classes of graphs. The problem remains NP-complete for many graph classes, such like cubic graphs [5], split graphs [6], co-bipartite graphs [6], unit disk graphs [7], total graphs [8], and interval graphs [1]. On the positive side, polynomial time algorithms are known for planar graphs [9], line graphs [8], graphs not contractible to K5K_{5} [10] and graphs with bounded treewidth [6].

There are two papers that have mainly motivated our research. First, a recent proof of NP-completeness of Maximum Cut on interval graphs provided by Adhikary et al. in [1]. Second, a more recent result of de Figueiredo et al. in [2], where they extend the result of the first paper by proving that Maximum Cut is NP-complete on graphs of interval count four. Using the technique of the above work, de Figueiredo et al. prove the NP-completeness of Maximum Cut on permutation graphs as well, which too was open for a long time [11]. The bounding of the number of interval lengths brings us closer to the final goal: to characterize Maximum Cut for unit interval graphs as they are exactly interval graphs of interval count one. There were attempts to provide a polynomial-time algorithm for unit interval graphs [12, 13], but they both were later shown to be incorrect [14, 15]. In this paper, we extend the result of de Figueiredo et al. [2] by proving Theorem 1 which brings us as close as possible to Maximum Cut on unit interval graphs.

Theorem 1.

Maximum Cut on interval graphs of interval count two is NP-complete.

2 Preliminaries

For a,ba,b in \mathbb{R}, an interval between aa and bb, denoted [a,b][a,b], is the set of all xx\in\mathbb{R} such that axba\leq x\leq b. The left and right endpoints of I=[a,b]I=[a,b] are denoted by (I):=a\ell(I):=a and r(I):=br(I):=b. The length len(I)\textrm{len}({I}) of an interval II equals r(I)(I)r(I)-\ell(I). A set of intervals \mathcal{I} is called an interval model of a graph GG if there is a one-to-one mapping f:V(G)f\colon V(G)\to\mathcal{I} such that, for any pair u,vu,v of vertices of GG, uvuv is in E(G)E(G) if and only if the intervals f(u)f(u) and f(v)f(v) have a non-empty intersection. A graph is called interval if it has an interval model. A graph GG has interval count \ell if there exists a set CC\subset\mathbb{R} of size \ell and an interval model \mathcal{I} of GG such that, for all II in \mathcal{I}, we have len(I)C\textrm{len}({I})\in C.

A cut (R,B)(R,B) of a graph GG is a partition of its vertices in two classes: V(G)=RBV(G)=R\sqcup B. For a cut (R,B)(R,B), a cut edge is an edge that is incident to a vertex in AA and to a vertex in BB. The cut value is the number of cut edges of the graph. For a subset of vertices SS of a graph, the cut value contributed by SS is the number of cut edges that have at least one of their ends in SS. Recall that the Maximum Cut problem asks for a cut of the maximal value. Notice that, for interval graphs, Maximum Cut is equivalent to the problem of finding a coloring of an interval model in two colors, say RR (Red) and BB (Blue), where the number of differently colored pairs with non-empty intersection is maximal. If an interval II has a color c{R,B}c\in\{R,B\}, then we use the notation χ(I)=c\chi(I)=c. If \mathcal{B} is a set of intervals that all have the same color c{R,B}c\in\{R,B\}, then we use the notation χ()=c\chi(\mathcal{B})=c.

We use intervals of two different lengths: short and long. We assume that, if an interval II is short, then len(I)=1\textrm{len}({I})=1, otherwise, len(I)=α\textrm{len}({I})=\alpha for some α>1\alpha>1 that will be made precise later.

A block \mathcal{B} is a set of short intervals such that, for any two intervals I,II,I^{\prime}\in\mathcal{B}, we have (I)=(I)\ell(I)=\ell(I^{\prime}) and r(I)=r(I)r(I)=r(I^{\prime}). For a block \mathcal{B}, denote ():=(I)\ell(\mathcal{B}):=\ell(I) and r():=r(I)r(\mathcal{B}):=r(I) for an interval II\in\mathcal{B}. The size |||\mathcal{B}| of a block \mathcal{B} is the number of intervals in it. For example, a block of size nn is an interval model of the complete graph KnK_{n} on nn vertices.

A union of blocks 123\mathcal{B}_{1}\cup\mathcal{B}_{2}\cup\mathcal{B}_{3} is a 3-block if

  • r(1)<(3)r(\mathcal{B}_{1})<\ell(\mathcal{B}_{3}) and r(1)(2)r(\mathcal{B}_{1})\geq\ell(\mathcal{B}_{2}) and r(2)(3)r(\mathcal{B}_{2})\geq\ell(\mathcal{B}_{3}) and

  • |1|=|3||\mathcal{B}_{1}|=|\mathcal{B}_{3}| and |2|=2|1||\mathcal{B}_{2}|=2|\mathcal{B}_{1}|.

Refer to caption
Figure 1: A 3-block and five long intervals.

In this article, 3-blocks are displayed as three rectangles, see Figure 1. An interval II terminates at a block \mathcal{B} if ()r(I)r()\ell(\mathcal{B})\leq r(I)\leq r(\mathcal{B}) and starts from \mathcal{B} if ()(I)r()\ell(\mathcal{B})\leq\ell(I)\leq r(\mathcal{B}). For a long interval LL, we say that it covers \mathcal{B} if (L)<()<r()<r(L)\ell(L)<\ell(\mathcal{B})<r(\mathcal{B})<r(L). For example, on Figure 1, L1L_{1} terminates at 1\mathcal{B}_{1}, L2L_{2} covers all the blocks, L3L_{3} starts from 3\mathcal{B}_{3}, L4L_{4} covers 1\mathcal{B}_{1} and terminates at 2\mathcal{B}_{2}, and L5L_{5} starts from 2\mathcal{B}_{2} and covers 3\mathcal{B}_{3}.

Consider any family of blocks of intervals of the same length 1,,s\mathcal{B}_{1},\ldots,\mathcal{B}_{s} such that, for ii in [s1][s-1], we have r(i)=(i+1)r(\mathcal{B}_{i})=\ell(\mathcal{B}_{i+1}). A coloring is a mapping χ:1s{R,B}\chi\colon\mathcal{B}_{1}\cup\dots\cup\mathcal{B}_{s}\to\{R,B\}. A coloring χ\chi is alternating if, for i[s1]i\in[s-1], we have χ(i)χ(i+1)\chi(\mathcal{B}_{i})\not=\chi(\mathcal{B}_{i+1}). A coloring χ\chi is almost alternating except for (i,δ)(\mathcal{B}_{i},\delta) if it becomes alternating after removal of at most δ\delta intervals from the block i\mathcal{B}_{i}.

3 Background

We first revisit the reduction of Adhikary et al. in [1]. They reduced Maximum Cut on cubic graphs to Maximum Cut on interval graphs. Recall that a graph GG is cubic if the degree of every vertex vV(G)v\in V(G) is equal to 3. In their paper, each vertex and edge of the original cubic graph was represented by a set of intervals, called vertex and edge gadgets respectively. The interval model consisted of first all the vertex gadgets, and then all the edge gadgets arranged from left to right. If an edge was incident to a vertex, then the corresponding vertex and edge gadgets were “linked” by a pair of very long intervals starting from the vertex gadgets and terminating at the edge gadget. They were called link intervals. The number of intervals in any gadget was much greater than the total number of link intervals in the graph. It was shown that, in any Maximum Cut partition of this interval graph, each vertex gadget or edge gadget could have only two possible partitions. For a vertex gadget, these two partitions were made to correspond to its membership in one of the partition sets for a maximum cut of the original cubic graph. If two adjacent vertices of the cubic graph belonged to different sets, then the corresponding edge gadget would make more cut edges with link intervals than if these vertex gadgets were in the same set. Thus, a cut of maximum size of the given cubic graph always corresponded to a cut of maximum size of the constructed interval graph and vice versa. As Maximum Cut on cubic graphs is NP-complete, this reduction implies that it is also NP-complete on interval graphs.

In the reduction above, the gadgets contained intervals of two different lengths. However, the length of each link interval depended on the relative positions of its vertex and edge gadgets. So the total number of different lengths of link intervals was linearly dependent on the size of the cubic graph. So, this interval graph seemed to be far away from unit interval graphs, for which the problem was still open. De Figueiredo et al. in [2] made a very important advancement in this regard. They showed that Maximum Cut was NP-complete even when the total number of lengths used for the intervals was only 4, i.e., when the interval count of the graph was 4. In their paper, the vertex and edge gadgets were basically the same as that of Adhikary et al. in [1]. However, an extra gadget, resembling the vertex and edge gadgets, was used as a “join gadget” between link intervals. Instead of having a link interval running through the entire length between its corresponding vertex and edge gadgets, they used a chain of link intervals joined to each other with the use of join gadgets.

Refer to caption
Figure 2: Link chains between consecutive vertex gadgets. Squares represent families of intervals with the same endpoints.

A link chain is a sequence of link intervals with a join gadget between every two consecutive link intervals, where one link interval terminates at the gadget and the other one starts from it. The link intervals of all other link chains that intersect this join gadget, cover it. The join gadgets ensure that, in a maximum cut partition, the link intervals of every link chain are colored with Red and Blue alternately. Thus, link intervals of arbitrary lengths in the original reduction can be replaced by link intervals of a single size. However, one problem remained. Between consecutive vertex or edge gadgets, the link chains had their join gadgets in a fixed order. For example, consider vertex gadgets 𝒱i1\mathcal{V}_{i-1}, 𝒱i\mathcal{V}_{i} and 𝒱i+1\mathcal{V}_{i+1}, and link chains j1\mathcal{L}_{j-1}, j\mathcal{L}_{j} and j+1\mathcal{L}_{j+1} (fig. 2). If in the gap between 𝒱i1\mathcal{V}_{i-1} and 𝒱i\mathcal{V}_{i}, the join gadget of i1\mathcal{L}_{i-1} occurred first, followed by a join gadget each of j\mathcal{L}_{j} and j+1\mathcal{L}_{j+1} respectively, then they would occur in the same order in the gap between 𝒱i\mathcal{V}_{i} and 𝒱i+1\mathcal{V}_{i+1}. This would pose a problem if the structure of the graph required j1\mathcal{L}_{j-1} and j+1\mathcal{L}_{j+1} to have a partial intersection with the same edge gadget. In such a case, a second type of link interval with a different length would be used to end link chain j+1\mathcal{L}_{j+1} early and enable it to partially intersect the same edge gadget along with j1\mathcal{L}_{j-1}. Thus, their reduction needed intervals of two lengths for the vertex, edge and join gadgets, and another two lengths as the link intervals, totaling to an interval count of four.

4 Overview of the reduction

We reduce the interval count down to 2 due to our modifications of gadgets and link chains. Instead of using separate lengths of short and long intervals in previous works, the gadgets are now mainly constructed from 3-blocks. The link chains do not use long intervals of two separate lengths anymore. The issue of non-consecutive link chains partially intersecting the same edge gadget is resolved by using a switch gadget that switches the relative positions of join gadgets of link chains.

The Maximum Cut problem is NP-complete on cubic graphs [5]. In this article, we provide a polynomial time reduction from Maximum Cut on cubic graphs to Maximum Cut on interval graphs of interval count two. For every cubic graph GG (of size nn), we construct a graph HH of interval count 2 such that any Maximum Cut partition of HH corresponds to some Maximum Cut partition of GG and vice versa. Its top level composition is displayed on Figure 3. On the left, there are vertex gadgets 𝒱1,,𝒱n\mathcal{V}_{1},\dots,\mathcal{V}_{n}. For each vertex gadget there are three link chains constructed by alternating long intervals and join gadgets. For every edge gigjg_{i}g_{j} of E(G)E(G) there is an edge gadget ij\mathcal{E}_{ij} such that two link chains iji,ijj\mathcal{L}^{i}_{ij},\mathcal{L}_{ij}^{j} starting from 𝒱i\mathcal{V}_{i} and 𝒱j\mathcal{V}_{j} respectively both terminate at ij\mathcal{E}_{ij}.

Before iji,ijj\mathcal{L}^{i}_{ij},\mathcal{L}_{ij}^{j} reach the edge gadget, we must ensure that there is no other link chain between them. The reason is that, in our construction, neither ij\mathcal{E}_{ij} can intersect another gadget nor a long interval not from ijiijj\mathcal{L}^{i}_{ij}\cup\mathcal{L}_{ij}^{j} can start from or terminate at ij\mathcal{E}_{ij}. Suppose, for example, that v1v3E(G)v_{1}v_{3}\in E(G). If we straightforwardly connect link chains 131,133\mathcal{L}^{1}_{13},\mathcal{L}_{13}^{3} to 13\mathcal{E}_{13}, then, as 𝒱2\mathcal{V}_{2} is positioned “between” 𝒱1\mathcal{V}_{1} and 𝒱3\mathcal{V}_{3}, this edge gadget will intersect join gadgets of link chains that start from 𝒱2\mathcal{V}_{2}. To solve this issue, we repetitively apply the switching procedure that switches two consecutive link chains and, therefore, reduces the number of join gadgets between the ones of iji,ijj\mathcal{L}^{i}_{ij},\mathcal{L}_{ij}^{j}. After these two chains terminate at ij\mathcal{E}_{ij}, we proceed similarly for every other edge of E(G)E(G).

Refer to caption
Figure 3: The composition of HH.
Example 2.

Let GG be the cubic graph on 6 vertices displayed on Figure 4.

Refer to caption
Figure 4: A cubic graph GG.

The corresponding interval graph HH of interval count 2 is displayed on Figure 5. On the left, it has 6 “vertex gadgets” 1,,61,\dots,6 that correspond to the vertices of GG. For each vertex gadget, there are precisely three chains of long intervals that start from it, each chain represents an edge incident to the corresponding vertex.

At first, we add the “edge gadgets” E(12),E(23),E(34),E(45),E(56)E(12),E(23),E(34),E(45),E(56). The remaining edges are: (13),(25),(46),(16)(13),(25),(46),(16). Notice that, for any of these edges, it is impossible to connect the corresponding long interval chains with an edge gadget without intersection of two gadgets. Therefore, we add two “switch gadgets” SWITCH(12) and SWITCH(45), and plug into them the corresponding long interval chains in order to switch their relative positions. After that, we add the edge gadgets E(13)E(13) and E(46)E(46). Finally, we deal with the edge (25)(25) and then with (16)(16).

Refer to caption
Figure 5: The graph HH of interval count two whose Maximum Cut partitions correspond to Maximum Cut partitions of the cubic graph GG from Figure 4.

5 Gadgets

Before we formally describe the reduction graph HH of interval count two, we present all the gadgets that are used in its construction. Assuming that the size |V(G)||V(G)| of the cubic graph GG is nn, we introduce two parameters that denote the gadget sizes. Let xx be in Ω(n7)\Omega(n^{7}) and let kk be in Ω(n6)\Omega(n^{6}). Next to the definition of each gadget, we add a figure, where this gadget is displayed. On each of the figures, this gadget is colored in Red and Blue. After we construct the whole graph HH of interval count two, we will argue that, for every Maximum Cut partition of HH, the coloring of each of its gadgets is similar to one displayed on the corresponding figure.

Vertex gadget

The vertex gadget consists of three 3-blocks and two short intervals: 𝒱:=123{S12,S23}\mathcal{V}:=\mathcal{B}^{1}\sqcup\mathcal{B}^{2}\sqcup\mathcal{B}^{3}\sqcup\{S_{12},S_{23}\}. The blocks 1i,2i,3i\mathcal{B}^{i}_{1},\mathcal{B}^{i}_{2},\mathcal{B}^{i}_{3} of each 3-block i\mathcal{B}^{i} have sizes x,2x,xx,2x,x respectively. The 3-blocks are connected by short intervals S12,S23S_{12},S_{23}, they are called short link intervals. That is, we have (S12)=r(31)\ell(S_{12})=r(\mathcal{B}^{1}_{3}) and r(S12)=(12)r(S_{12})=\ell(\mathcal{B}^{2}_{1}) and (S23)=r(32)\ell(S_{23})=r(\mathcal{B}^{2}_{3}) and r(S23)=(13)r(S_{23})=\ell(\mathcal{B}^{3}_{1}). For every vertex gadget, there are three long intervals L1,L2,L3L_{1},L_{2},L_{3} that start from 31,32,33\mathcal{B}_{3}^{1},\mathcal{B}_{3}^{2},\mathcal{B}_{3}^{3} and form the corresponding link chains. A vertex gadget and the three long intervals are displayed on Figure 6.

Refer to caption
Figure 6: A vertex gadget.

Edge gadget

An edge gadget consists of two 3-blocks connected by a short link interval. That is, :=12{S12}\mathcal{E}:=\mathcal{B}^{1}\sqcup\mathcal{B}^{2}\sqcup\{S_{12}\} such that r(31)=(S12)r(\mathcal{B}^{1}_{3})=\ell(S_{12}) and r(S12)=(12)r(S_{12})=\ell(\mathcal{B}^{2}_{1}). The blocks 1i,2i,3i\mathcal{B}^{i}_{1},\mathcal{B}^{i}_{2},\mathcal{B}^{i}_{3} of each 3-block i\mathcal{B}^{i} have sizes k,2k,kk,2k,k respectively. There are two long intervals L1,L2L_{1},L_{2} of the corresponding link chains terminating at \mathcal{E} such that r(L1)=(11)r(L_{1})=\ell(\mathcal{B}^{1}_{1}) and r(L2)=(22)r(L_{2})=\ell(\mathcal{B}^{2}_{2}). An edge gadget together with L1L_{1} and L2L_{2} is displayed on Figure 7. Under a Maximum Cut partition of HH, for edge gadgets, the colors of L1L_{1} and L2L_{2} may be arbitrary. So, Figure 7 displays all the cases modulo switching the colors.

Refer to caption
Figure 7: The two cases of the Maximum Cut coloring of an edge gadget: χ(L1)=χ(L2)\chi(L_{1})=\chi(L_{2}) and χ(L1)χ(L2)\chi(L_{1})\not=\chi(L_{2}).

Join gadget

Similarly to vertex gadgets, a join gadget consists of 3-blocks of size x,2x,xx,2x,x connected by short link intervals. It can have at most ten 3-blocks, see Figure 8. Every join gadget has at most 3 long intervals terminating at it and the same number of long intervals starting from it. The main purpose of a join gadget is to connect a vertex gadget to edge gadgets by link chains of long intervals. The distance between blocks may be modified in order to readjust the relative distances between long intervals terminating at the gadget, see Figure 8.

Refer to caption
Figure 8: A common join gadget and a join gadget readjusting the distances between long intervals.

Switch gadget

A switch gadget is the only gadget that is not constructed exclusively from 3-blocks. It has 2 parts. The first part consists of 9 bottom blocks 1bot,,9bot\mathcal{B}^{\text{bot}}_{1},\ldots,\mathcal{B}^{\text{bot}}_{9} and 4 top blocks 1top,,4top\mathcal{B}_{1}^{\text{top}},\ldots,\mathcal{B}_{4}^{\text{top}}. At the bottom, |1bot|=|9bot|=x|\mathcal{B}_{1}^{\text{bot}}|=|\mathcal{B}_{9}^{\text{bot}}|=x, and, for 2i82\leq i\leq 8, we have |ibot|=2x|\mathcal{B}_{i}^{\text{bot}}|=2x. At the top, for i{1,,4}i\in\{1,\ldots,4\}, we have |itop|=2x|\mathcal{B}_{i}^{\text{top}}|=2x^{\prime}, where xx^{\prime} is such that x/2<x<xx/2<x^{\prime}<x. There are two long intervals L1L_{1} and L2L_{2} such that r(L1)=(1bot)r(L_{1})=\ell(\mathcal{B}_{1}^{\text{bot}}) and r(L2)=(1top)r(L_{2})=\ell(\mathcal{B}_{1}^{\text{top}}). There are two long intervals R1R_{1} and R2R_{2} such that (R1)=r(4top)\ell(R_{1})=r(\mathcal{B}_{4}^{\text{top}}) and (R2)=r(9bot)\ell(R_{2})=r(\mathcal{B}_{9}^{\text{bot}}). The long intervals L1,R2L_{1},R_{2} are in the same link chain \mathcal{L}, the long intervals L2,R1L_{2},R_{1} are in the same link chain \mathcal{L}^{\prime} distinct from \mathcal{L}. The main property of the first part is that, for any Maximum Cut partition, χ(L1)=χ(R2)\chi(L_{1})=\chi(R_{2}) and χ(L2)χ(R1)\chi(L_{2})\not=\chi(R_{1}). The second part of the switch gadget is a 3-block 2=(12,22,32)\mathcal{B}^{2}=(\mathcal{B}^{2}_{1},\mathcal{B}^{2}_{2},\mathcal{B}^{2}_{3}) such that R1R_{1} terminates at 12\mathcal{B}^{2}_{1}, R2R_{2} covers the 3-block 2\mathcal{B}^{2}, and a new long interval R3R_{3} starts from 22\mathcal{B}^{2}_{2}. Both parts are displayed on Figure 9. The idea about this gadget is that it “switches” the link chains \mathcal{L} containing L1R2L_{1}R_{2} and \mathcal{L}^{\prime} containing L2R1R3L_{2}R_{1}R_{3}, and preserves their colors at the same time: L1L_{1} is to the left from L2L_{2} but R2R_{2} is to the right from R1R_{1}, χ(L2)=χ(R3)\chi(L_{2})=\chi(R_{3}) and χ(L1)=χ(R2)\chi(L_{1})=\chi(R_{2}).

Refer to caption
Figure 9: The first and the second parts of a switch gadget.

The following lemma ensures that the coloring of the first part on Figure 9 is Maximum Cut.

Lemma 3.

Consider a graph with an interval model as on Figure 9. Then, in any Maximum Cut partition of this graph, (i) for each of the two levels, block colorings are alternating, and (ii) χ(R1)χ(L2)\chi(R_{1})\not=\chi(L_{2}), and χ(R2)=χ(L1)\chi(R_{2})=\chi(L_{1}).

Proof.

At first, let us compute the size of the cut for any partition, where the colors of the blocks on the top and on the bottom alternate. We do not consider the four long intervals at the moment. The value is the same for any of the four such partitions:

Cutalter=34x2+22x2+64x2+44xx=12x2+28x2+16xx.\textrm{Cut}_{\text{alter}}=3\cdot 4x^{\prime 2}+2\cdot 2x^{2}+6\cdot 4x^{2}+4\cdot 4x^{\prime}x=12x^{\prime 2}+28x^{2}+16x^{\prime}x.

Suppose now that Cutalter\textrm{Cut}_{\text{alter}} is not maximal. Then we will introduce the following parameters for each block.

  • Denote by y1,y3y_{1},y_{3} the numbers of Blue intervals in 1top\mathcal{B}^{\text{top}}_{1} and 3top\mathcal{B}^{\text{top}}_{3}.

  • Similarly, y2,y4y_{2},y_{4} denote the numbers of Red intervals in 2top\mathcal{B}^{\text{top}}_{2} and 4top\mathcal{B}^{\text{top}}_{4}.

  • Denote by z1,z3,z5,z7,z9z_{1},z_{3},z_{5},z_{7},z_{9} the numbers of Blue intervals in 1bot,3bot,5bot,7bot,\mathcal{B}_{1}^{\text{bot}},\mathcal{B}_{3}^{\text{bot}},\mathcal{B}_{5}^{\text{bot}},\mathcal{B}_{7}^{\text{bot}}, and in 9bot\mathcal{B}_{9}^{\text{bot}}.

  • Similarly, denote by z2,z4,z6,z8z_{2},z_{4},z_{6},z_{8} the numbers of Red intervals in 2bot,4bot,6bot,\mathcal{B}_{2}^{\text{bot}},\mathcal{B}_{4}^{\text{bot}},\mathcal{B}_{6}^{\text{bot}}, and in 8bot\mathcal{B}_{8}^{\text{bot}}.

We are going to compute the Maximum Cut for the general case and to compare it to Cutalter\textrm{Cut}_{\text{alter}} in order to find out when it can be the maximal. We are going to split the computation into several parts.

  • The Cutinside\textrm{Cut}_{\text{inside}} part counts the cut-edges inside each of the blocks.

  • The Cuty\textrm{Cut}_{y} and Cutz\textrm{Cut}_{z} parts count the cut-edges between different blocks that are both on the same level. There are two levels: the top yy and the bottom zz.

  • The Cutinter\textrm{Cut}_{\text{inter}} part counts the cut-edges between the two levels.

Now we compute the parts one by one.

Cutinside=i=14yi(2xyi)+z1(xz1)+j=28zj(2xzj)+z9(xz9)=i=14yi2j=19zj2+2xi=14yi+x(z1+2j=28zj+z9).\textrm{Cut}_{\text{inside}}=\sum_{i=1}^{4}y_{i}(2x^{\prime}-y_{i})+z_{1}(x-z_{1})+\sum_{j=2}^{8}z_{j}(2x-z_{j})+z_{9}(x-z_{9})\\ =-\sum_{i=1}^{4}y_{i}^{2}-\sum_{j=1}^{9}z_{j}^{2}+2x^{\prime}\sum_{i=1}^{4}y_{i}+x(z_{1}+2\sum_{j=2}^{8}z_{j}+z_{9}).
Cuty=i=13(yiyi+1+(2xyi)(2xyi+1))=2i=13yiyi+1+12x2x(2y1+4i=23yi+2y4).\textrm{Cut}_{y}=\sum_{i=1}^{3}\bigl{(}y_{i}y_{i+1}+(2x^{\prime}-y_{i})(2x^{\prime}-y_{i+1})\bigr{)}\\ =2\sum_{i=1}^{3}y_{i}y_{i+1}+12x^{\prime 2}-x^{\prime}(2y_{1}+4\sum_{i=2}^{3}y_{i}+2y_{4}).
Cutz=z1z2+(xz1)(2xz2)+j=27(zjzj+1+(2xzj)(2xzj+1))+z8z9+(2xz8)(xz9)=2j=18zjzj+1+28x2x(2z1+3z2+4j=37zj+3z8+2z9).\textrm{Cut}_{z}=z_{1}z_{2}+(x-z_{1})(2x-z_{2})+\sum_{j=2}^{7}\bigl{(}z_{j}z_{j+1}+(2x-z_{j})(2x-z_{j+1})\bigr{)}\\ +z_{8}z_{9}+(2x-z_{8})(x-z_{9})=2\sum_{j=1}^{8}z_{j}z_{j+1}+28x^{2}-x(2z_{1}+3z_{2}+4\sum_{j=3}^{7}z_{j}+3z_{8}+2z_{9}).

Denote by AA the set of pairs {(i,j)itop intersects jbot}\bigl{\{}(i,j)\mid\mathcal{B}^{\text{top}}_{i}\text{ intersects }\mathcal{B}^{\text{bot}}_{j}\bigr{\}}. That is,

A={(1,4),(1,5),(2,4),(2,5),(3,5),(3,6),(4,5),(4,6)}.A=\Bigl{\{}(1,4),(1,5),(2,4),(2,5),(3,5),(3,6),(4,5),(4,6)\Bigr{\}}.

Then

Cutinter=(i,j)A,i+j is odd(yizj+(2xyi)(2xzj))+(i,j)A,i+j is even(yi(2xzj)+(2xyi)zj)=16xx+2i,jA(1)i+j+1yizj=16xx+2(y1y2)(z4z5)2(y3y4)(z5z6).\textrm{Cut}_{\text{inter}}=\sum_{(i,j)\in A,i+j\text{ is odd}}\bigl{(}y_{i}z_{j}+(2x^{\prime}-y_{i})(2x-z_{j})\bigr{)}\\ +\sum_{(i,j)\in A,i+j\text{ is even}}\bigl{(}y_{i}(2x-z_{j})+(2x^{\prime}-y_{i})z_{j}\bigr{)}=16x^{\prime}x+2\sum_{i,j\in A}(-1)^{i+j+1}y_{i}z_{j}\\ =16x^{\prime}x+2(y_{1}-y_{2})(z_{4}-z_{5})-2(y_{3}-y_{4})(z_{5}-z_{6}).

Our goal is to prove that f=Cutinside+Cuty+Cutz+CutinterCutalterf=\textrm{Cut}_{\text{inside}}+\textrm{Cut}_{y}+\textrm{Cut}_{z}+\textrm{Cut}_{\text{inter}}-\textrm{Cut}_{\text{alter}} is less or equal to 0 and the equality is reached only when the colors alternate. Think of ff as of a polynomial in xx^{\prime} and xx of degree 2:

f=f(x,x)=f0+f1x+f2x+f3x2+f4xx+f5x2.f=f(x^{\prime},x)=f_{0}+f_{1}x^{\prime}+f_{2}x+f_{3}x^{\prime 2}+f_{4}x^{\prime}x+f_{5}x^{2}.

Clearly, f3=f4=f5=0f_{3}=f_{4}=f_{5}=0. Compute the terms f0f_{0}, f1xf_{1}x^{\prime}, and f2xf_{2}x:

f0=i=14yi2j=19zj2Cutinside+2i=13yiyi+1Cuty+2j=18zjzj+1Cutz+2(y1y2)(z4z5)2(y3y4)(z5z6)Cutinter;f_{0}=\underbrace{-\sum_{i=1}^{4}y_{i}^{2}-\sum_{j=1}^{9}z_{j}^{2}}_{\textrm{Cut}_{\text{inside}}}+\underbrace{2\sum_{i=1}^{3}y_{i}y_{i+1}}_{\textrm{Cut}_{y}}+\underbrace{2\sum_{j=1}^{8}z_{j}z_{j+1}}_{\textrm{Cut}_{z}}\\ +\underbrace{2(y_{1}-y_{2})(z_{4}-z_{5})-2(y_{3}-y_{4})(z_{5}-z_{6})}_{\textrm{Cut}_{\text{inter}}};
f1x=2xi=14yiCutinsidex(2y1+4i=23yi+2y4)Cuty=2xi=23yi=i=23yi2i=23(2xyi)yi;f_{1}x^{\prime}=\underbrace{2x^{\prime}\sum_{i=1}^{4}y_{i}}_{\textrm{Cut}_{\text{inside}}}-\underbrace{x^{\prime}(2y_{1}+4\sum_{i=2}^{3}y_{i}+2y_{4})}_{\textrm{Cut}_{y}}=-2x^{\prime}\sum_{i=2}^{3}y_{i}=-\sum_{i=2}^{3}y_{i}^{2}-\sum_{i=2}^{3}(2x^{\prime}-y_{i})y_{i};
f2x=x(z1+2j=28zj+z9)Cutinsidex(2z1+3z2+4j=37zj+3z8+2z9)Cutz=x(z1+z2+2j=37zj+z8+z9)=z12z222j=37zj2z822z92(xz1)z1(xz22)z2j=37(2xzj)zj(xz82)z8(xz9)z9.f_{2}x=\underbrace{x(z_{1}+2\sum_{j=2}^{8}z_{j}+z_{9})}_{\textrm{Cut}_{\text{inside}}}-\underbrace{x(2z_{1}+3z_{2}+4\sum_{j=3}^{7}z_{j}+3z_{8}+2z_{9})}_{\textrm{Cut}_{z}}\\ =-x(z_{1}+z_{2}+2\sum_{j=3}^{7}z_{j}+z_{8}+z_{9})\\ =-z_{1}^{2}-\frac{z_{2}^{2}}{2}-\sum_{j=3}^{7}z_{j}^{2}-\frac{z_{8}^{2}}{2}-z_{9}^{2}\\ -(x-z_{1})z_{1}-\left(x-\frac{z_{2}}{2}\right)z_{2}-\sum_{j=3}^{7}(2x-z_{j})z_{j}-\left(x-\frac{z_{8}}{2}\right)z_{8}-(x-z_{9})z_{9}.

We have extracted the negative squares of yi,zjy_{i},z_{j} from f1xf_{1}x^{\prime} and f2xf_{2}x in order to combine them together with the negative squares of the part of f0f_{0} provided by Cutinside\textrm{Cut}_{\text{inside}}. The other summands of f1xf_{1}x^{\prime} and f2xf_{2}x are almost always negative, except for the minimal and maximal values of yi,zjy_{i},z_{j}. These cases happen exactly when a block is either all Red or all Blue. Then

f=f0+f1x+f2x=2i=13yiyi+1y122i=23yi2y42+2j=18zjzj+12z1232z222j=37zj232z822z92+2(y1y2)(z4z5)2(y3y4)(z5z6)i=23(2xyi)yi(xz1)z1(xz22)z2j=37(2xzj)zj(xz82)z8(xz9)z9f=f_{0}+f_{1}x^{\prime}+f_{2}x=2\sum_{i=1}^{3}y_{i}y_{i+1}-y_{1}^{2}-2\sum_{i=2}^{3}y_{i}^{2}-y_{4}^{2}\\ +2\sum_{j=1}^{8}z_{j}z_{j+1}-2z_{1}^{2}-\frac{3}{2}z_{2}^{2}-2\sum_{j=3}^{7}z_{j}^{2}-\frac{3}{2}z_{8}^{2}-2z_{9}^{2}\\ +2(y_{1}-y_{2})(z_{4}-z_{5})-2(y_{3}-y_{4})(z_{5}-z_{6})\\ -\sum_{i=2}^{3}(2x^{\prime}-y_{i})y_{i}\\ -(x-z_{1})z_{1}-\left(x-\frac{z_{2}}{2}\right)z_{2}-\sum_{j=3}^{7}(2x-z_{j})z_{j}-\left(x-\frac{z_{8}}{2}\right)z_{8}-(x-z_{9})z_{9}
=i=13(yiyi+1)22(z1z22)2j=27(zjzj+1)22(z82z9)2+2(y1y2)(z4z5)2(y3y4)(z5z6)i=23(2xyi)yi(xz1)z1(xz22)z2j=37(2xzj)zj(xz82)z8(xz9)z9=-\sum_{i=1}^{3}(y_{i}-y_{i+1})^{2}-2\left(z_{1}-\frac{z_{2}}{2}\right)^{2}-\sum_{j=2}^{7}(z_{j}-z_{j+1})^{2}-2\left(\frac{z_{8}}{2}-z_{9}\right)^{2}\\ +2(y_{1}-y_{2})(z_{4}-z_{5})-2(y_{3}-y_{4})(z_{5}-z_{6})\\ -\sum_{i=2}^{3}(2x^{\prime}-y_{i})y_{i}\\ -(x-z_{1})z_{1}-\left(x-\frac{z_{2}}{2}\right)z_{2}-\sum_{j=3}^{7}(2x-z_{j})z_{j}-\left(x-\frac{z_{8}}{2}\right)z_{8}-(x-z_{9})z_{9}
=(y1y2z4+z5)2(y2y3)2(y3y4+z5z6)22(z1z22)2(z2z3)2(z3z4)2(z6z7)2(z7z8)22(z82z9)2i=23(2xyi)yi(xz1)z1(xz22)z2j=37(2xzj)zj(xz82)z8(xz9)z9.=-(y_{1}-y_{2}-z_{4}+z_{5})^{2}-(y_{2}-y_{3})^{2}-(y_{3}-y_{4}+z_{5}-z_{6})^{2}\\ -2\left(z_{1}-\frac{z_{2}}{2}\right)^{2}-(z_{2}-z_{3})^{2}-(z_{3}-z_{4})^{2}-(z_{6}-z_{7})^{2}-(z_{7}-z_{8})^{2}-2\left(\frac{z_{8}}{2}-z_{9}\right)^{2}\\ -\sum_{i=2}^{3}(2x^{\prime}-y_{i})y_{i}\\ -(x-z_{1})z_{1}-\left(x-\frac{z_{2}}{2}\right)z_{2}-\sum_{j=3}^{7}(2x-z_{j})z_{j}-\left(x-\frac{z_{8}}{2}\right)z_{8}-(x-z_{9})z_{9}.

Clearly, f0f\leq 0. We are going to find all the cases when f=0f=0. Notice that, for any i{2,3},j{1,,9}i\in\{2,3\},j\in\{1,\ldots,9\}, there is a summand yi(2xyi)-y_{i}(2x^{\prime}-y_{i}) and a corresponding one for zjz_{j}. Thus, we need to consider only the cases when y2,y3{0,2x}y_{2},y_{3}\in\{0,2x^{\prime}\}, z1,z9{0,x}z_{1},z_{9}\in\{0,x\} and z2,,z8{0,2x}z_{2},\ldots,z_{8}\in\{0,2x\}. Suppose that y1{0,2x}y_{1}\not\in\{0,2x^{\prime}\}; then 0<|y1y2|<2x0<|y_{1}-y_{2}|<2x^{\prime} and thus y1y2z2+z30y_{1}-y_{2}-z_{2}+z_{3}\not=0, for any z2,z3{0,2x}z_{2},z_{3}\in\{0,2x\}, as x<xx^{\prime}<x. So y1=y2y_{1}=y_{2}, and thus z2=z3z_{2}=z_{3}. Similarly, y3=y4y_{3}=y_{4}, and so z5=z6z_{5}=z_{6}. Using other clauses of the expression, we conclude that y1==y4y_{1}=\ldots=y_{4}, z2==z8z_{2}=\ldots=z_{8}, and also we have z1=z9=z2/2=z8/2z_{1}=z_{9}=z_{2}/2=z_{8}/2. This means that the colorings of the blocks alternate.

Now we need to prove that χ(L2)χ(R1)\chi(L_{2})\not=\chi(R_{1}). For the contrary, suppose that χ(L2)=χ(R1)\chi(L_{2})=\chi(R_{1}). Then the cut between the blocks and the long intervals will be at most the sum:

4x+4x+x+x+2x=10x+2x, where4x+4x+x+x+2x^{\prime}=10x+2x^{\prime},\text{ where}

4x4x is provided by L2L_{2}, 4x4x is provided by R1R_{1}, xx is provided by L1L_{1}, xx is provided by R2R_{2}, and 2x2x^{\prime} provided by one of L2,R1L_{2},R_{1}. On the other hand, if χ(L2)χ(R1)\chi(L_{2})\not=\chi(R_{1}), then together L2L_{2} and R1R_{1} provide 7x+4x7x+4x^{\prime}, for each of two possible colorings of the bottom blocks, and L1L_{1} and R2R_{2} provide 2x2x, in total it is 9x+4x9x+4x^{\prime}. This case is reachable, because we can choose the leftmost bottom block to have a color opposite to χ(L1)\chi(L_{1}). As χ(R2)\chi(R_{2}) is not fixed, we can choose the right one that will add xx as well. So we have to satisfy the inequality

10x+2x<9x+4x.10x+2x^{\prime}<9x+4x^{\prime}.

We assumed that 2x>x2x^{\prime}>x so the inequality holds and thus the second case is optimal. We should note that, in the second case, L1L_{1} and R2R_{2} have the same color because χ(1)=χ(9)\chi(\mathcal{B}^{\bot}_{1})=\chi(\mathcal{B}^{\bot}_{9}). We have shown that L1L_{1} and R2R_{2} are colored similarly and that L2L_{2} and R1R_{1} are colored differently. ∎

6 Construction of the graph

Let GG be a cubic graph of size nn. Let the long interval length be α:=53n3\alpha:=53n-3 while the short interval length is 1. All the intervals of HH belong to [0,+)[0,+\infty). This ray is split into zones and buffers in the following order:

Zone(1),Buffer(1,2),Zone(2),Buffer(2,3),,Zone(n),Buffer(n,1),Zone(1),\textrm{Zone}(1),\textrm{Buffer}(1,2),\textrm{Zone}(2),\textrm{Buffer}(2,3),\ldots,\textrm{Zone}(n),\textrm{Buffer}(n,1),\textrm{Zone}(1),\ldots

Each zone (or buffer) is a disjoint union of fragments of the same length, where the distance between two neighbor fragments of the same zone is the same and depends on the long interval length α\alpha.

  • Here, Zone(1),,Zone(n)\textrm{Zone}(1),\ldots,\textrm{Zone}(n) are the zones that correspond to vertices of GG. For a vertex giV(G)g_{i}\in V(G), Zone(i)\textrm{Zone}(i) is the following disjoint union of fragments of the same size:

    Zone(i)=j[53i+j(α+3),53i+j(α+3)+32].\textrm{Zone}(i)=\bigcup_{j\in\mathbb{Z}}\bigl{[}53i+j(\alpha+3),53i+j(\alpha+3)+32\bigr{]}.

    This zone usually contains the vertex and the join gadgets corresponding to giV(G)g_{i}\in V(G). The size of its fragments is 32. The distance α+3\alpha+3 between the left endpoints of two neighbor fragments is called the phase.

  • Buffer zones. For two vertices gi,gi+1V(G)g_{i},g_{i+1}\in V(G) (and also gn1,g0g_{n-1},g_{0}), we introduce a buffer zone between Zone(i),Zone(i+1)\textrm{Zone}(i),\textrm{Zone}(i+1). It is denoted by Buffer(i,i+1)\textrm{Buffer}(i,i+1) (Buffer(n1,0)\textrm{Buffer}(n-1,0) is denoted similarly) and is defined as follows:

    Buffer(i,i+1)=j[53i+j(α+3)+32,53(i+1)+j(α+3)].\textrm{Buffer}(i,i+1)=\bigcup_{j\in\mathbb{Z}}\bigl{[}53i+j(\alpha+3)+32,53(i+1)+j(\alpha+3)\bigr{]}.

    We need buffer zones in order to do the switching. Every fragment of a buffer zone has size 21.

We need to write α+3\alpha+3 instead of α\alpha because a long interval must start from the rightmost block of some 3-block and must terminate at the leftmost block of another 3-block. So, the length of long intervals must be lesser than the length of the phase by 3.

For i{1,,n}i\in\{1,\ldots,n\}, add a vertex gadget 𝒱i\mathcal{V}_{i} into the leftmost fragment of Zone(i)\textrm{Zone}(i). For each 𝒱i\mathcal{V}_{i} there are 3 long intervals starting from it; they terminate at a join gadget that has 3 new long intervals starting from it, and so on. This produces 3 link chains of long intervals. Each such chain eventually terminates at a corresponding edge gadget.

For every edge gigjE(G)g_{i}g_{j}\in E(G), where i<ji<j, we choose a link chain starting from 𝒱i\mathcal{V}_{i} and repeatedly apply the switch procedure (introduced formally in the next paragraph) to this chain until it is in Zone(j)\textrm{Zone}(j). Once it happens, this chain of 𝒱i\mathcal{V}_{i} and one of the chains of 𝒱j\mathcal{V}_{j} terminate at the same edge gadget ij\mathcal{E}_{ij}. No long interval starts from ij\mathcal{E}_{ij}. Then we choose another edge of GG and repeat this operation until all edges of GG are treated. If a chain does not participate in some switch procedure, then, during this procedure, the long intervals of this chain are joined by join gadgets that look the same as vertex gadgets. The composition of HH is displayed on Figure 3 on fig. 3.

Switch Procedure

Consider some adjacent vertices gi,gjg_{i},g_{j} of the cubic graph GG, they correspond to two vertex gadgets 𝒱i,𝒱j\mathcal{V}_{i},\mathcal{V}_{j} and to an edge gadget ij\mathcal{E}_{ij} in the interval model of HH. Suppose that there is another vertex gadget 𝒱\mathcal{V}^{\prime} between 𝒱i\mathcal{V}_{i} and 𝒱j\mathcal{V}_{j}. Then, there is a join gadget that corresponds to 𝒱\mathcal{V}^{\prime} between any pair of join gadgets of 𝒱i,𝒱j\mathcal{V}_{i},\mathcal{V}_{j}. We require that a gadget can be intersected only by long intervals, in particular, we forbid any gadget to intersect ij\mathcal{E}_{ij}, so we have to switch some link chain starting from 𝒱i\mathcal{V}_{i} with all three link chains that start from 𝒱\mathcal{V}^{\prime}, and similarly for any other vertex gadget between 𝒱i\mathcal{V}_{i} and 𝒱j\mathcal{V}_{j}.

We solve it by the switch procedure which is displayed on Figure 10. The line \mathbb{R} is split into zones and buffers between zones.

For i{1,,n}i\in\{1,\ldots,n\}, Zone(i)\textrm{Zone}(i) corresponds to the vertex gadget 𝒱i\mathcal{V}_{i}, it contains 𝒱i\mathcal{V}_{i} and most of the join gadgets of the link chains starting from 𝒱i\mathcal{V}_{i}. Every fragment of Buffer(i,i+1)\textrm{Buffer}(i,i+1) is placed between the fragments of Zone(i)\textrm{Zone}(i) and Zone(i+1)\textrm{Zone}(i+1). Buffer(i,i+1)\textrm{Buffer}(i,i+1) contains switch gadgets that are used to let a chain starting from 𝒱i\mathcal{V}_{i} pass all three chains starting from 𝒱i+1\mathcal{V}_{i+1}, this is exactly what is shown on Figure 10. By repeatedly iterating the switching, we pass all the vertex gadgets between 𝒱i\mathcal{V}_{i} and 𝒱j\mathcal{V}_{j} and eventually connect the corresponding link chains to a common edge gadget ij\mathcal{E}_{ij}. In order to justify the correctness of Figure 10, we describe the precise positions of each gadget and long interval below.

Refer to caption
Figure 10: The switch procedure. Zone(i)\textrm{Zone}(i) is Blue. Zone(i+1)\textrm{Zone}(i+1) is Red. Buffer(i,i+1)\textrm{Buffer}(i,i+1) between them is gray. Black fragment contains all other zones and buffers. One should read this figure from left to right and from top to bottom, just like a book.

Consider two vertices gi,gi+1V(G)g_{i},g_{i+1}\in V(G). Zone(i)\textrm{Zone}(i) is colored in Blue, Buffer(i,i+1)\textrm{Buffer}(i,i+1) is colored in gray, Zone(i+1)\textrm{Zone}(i+1) – in Red, the black color corresponds to the rest – the union of all other zones and buffers. Suppose that gig_{i} is adjacent to some gjg_{j}, for j{i1,i+1}j\not\in\{i-1,i+1\}. Then, for some chain of long intervals that starts from the vertex gadget 𝒱i\mathcal{V}_{i} of gig_{i}, we need to put it to the right of Zone(i+1)\textrm{Zone}(i+1), that is to switch it with the long interval chains starting from 𝒱i+1\mathcal{V}_{i+1}. On Figure 10, it is equivalent to move one Blue interval to the black segment by passing the orange segment beforehand. We suppose that the long intervals starting from 𝒱i\mathcal{V}_{i} are Blue and those starting from 𝒱i+1\mathcal{V}_{i+1} are Red, and so are all other long intervals that are connected to these gadgets by a chain of join gadgets. Say that a gadget is in the fragment [a,b][a,b] of some zone if its leftmost and rightmost points are in aa and bb. We are going to show that no gadgets intersect each other by considering each of nine buffer zones on Figure 10.

  1. 1.

    The first buffer does not contain any gadgets.

  2. 2.

    The second buffer intersects two join gadgets. The Blue one is in [0,32][0,32] of Zone(i)\textrm{Zone}(i) and in [0,3][0,3] of Buffer(i,i+1)\textrm{Buffer}(i,i+1). Its long intervals terminate at {0,4,8}\{0,4,8\} of Zone(i)\textrm{Zone}(i) and start from {3,7}\{3,7\} of Zone(i)\textrm{Zone}(i) and from 33 of Buffer(i,i+1)\textrm{Buffer}(i,i+1). The Red one is in [4,21][4,21] of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and in [0,11][0,11] of Zone(i+1)\textrm{Zone}(i+1). Its long intervals terminate at {0,4,8}\{0,4,8\} of Zone(i+1)\textrm{Zone}(i+1) and start from 6.56.5 of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and from {3,7}\{3,7\} of Zone(i+1)\textrm{Zone}(i+1).

  3. 3.

    The third buffer contains the first switch gadget in [0,9][0,9]. Its long intervals terminate at {0,3.5}\{0,3.5\} and start from {5.5,9}\{5.5,9\} of Buffer(i,i+1)\textrm{Buffer}(i,i+1). It also contains the Red join gadget in [10,21][10,21] of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and in [0,7][0,7] of Zone(i+1)\textrm{Zone}(i+1). Its long intervals terminate at {0,4}\{0,4\} of Zone(i+1)\textrm{Zone}(i+1) and start from 12.512.5 of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and from 33 of Zone(i+1)\textrm{Zone}(i+1).

  4. 4.

    The fourth buffer contains the second switch gadget in [6,15][6,15]. Its long intervals terminate at {6,9.5}\{6,9.5\} and start from {11.5,15}\{11.5,15\}. It also contains the second part of the first switch gadget in [2.5,5.5][2.5,5.5]. Its long intervals terminate at 2.52.5 and start from 4.54.5. It also contains a Red join gadget in [16,21][16,21] of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and in [0,3][0,3] of Zone(i+1)\textrm{Zone}(i+1). Its long intervals terminate at 2121 and start from 18.518.5 of Buffer(i,i+1)\textrm{Buffer}(i,i+1).

  5. 5.

    The fifth buffer contains the second part of the second switch gadget in [8.5,11.5][8.5,11.5]. Its long intervals terminate at 8.58.5 and start from 10.510.5. It also contains the third switch gadget in [12,21][12,21]. Its long intervals terminate at {12,15.5}\{12,15.5\} and start from {17.5,21}\{17.5,21\}. It also contains a Red join gadget in [1.5,4.5][1.5,4.5]. Its long intervals terminate at 1.51.5 and start from 4.54.5.

  6. 6.

    The sixth buffer contains a Blue join gadget in [18,21][18,21]. Its long intervals terminate at 1818 and start from 2121. It also contains the second part of the third switch gadget in [14.5,17.5][14.5,17.5]. Its long intervals terminate at 14.514.5 and start from 16.516.5. It also contains a Red join gadget in [1.5,13.5][1.5,13.5]. Its long intervals terminate at 1.5,7.51.5,7.5 and start from 10.5,13.510.5,13.5.

  7. 7.

    The seventh buffer intersects a Blue join gadget that is in [18,21][18,21] of Buffer(i,i+1)\textrm{Buffer}(i,i+1), in [0,32][0,32] of Zone(i+1)\textrm{Zone}(i+1) and in [0,4][0,4] of Buffer(i+1,i+2)\textrm{Buffer}(i+1,i+2). Its long intervals terminate at 1818 of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and start from 44 of Buffer(i+1,i+2)\textrm{Buffer}(i+1,i+2). It also contains a Red join gadget in [7.5,16.5][7.5,16.5]. Its long intervals terminate at {7.5,10.5,13.5}\{7.5,10.5,13.5\} and start from {10,13,16.5}\{10,13,16.5\}.

  8. 8.

    The eighth buffer intersects a Red join gadget. It is in [7,21][7,21] of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and in [0,11][0,11] of Zone(i+1)\textrm{Zone}(i+1). Its long intervals terminate at {7,10,13.5}\{7,10,13.5\} of Buffer(i,i+1)\textrm{Buffer}(i,i+1) and start from {3,7,11}\{3,7,11\} of Zone(i+1)\textrm{Zone}(i+1).

  9. 9.

    The ninth buffer is empty.

7 Gadget partitions

In this section, we describe and prove how exactly each gadget of HH can be colored under a Maximum Cut partition of HH. Sometimes, for a property to hold, it is required that HH satisfies certain numerical constraints. We now list these constraints, and, later, when we provide an explicit construction of HH, we make sure that all of them are satisfied. Suppose that the cubic graph GG has nn vertices. Then, assume the following.

  1. 1.

    Every block of HH is covered by at most η:=3n\eta:=3n long intervals.

  2. 2.

    Every long interval of HH covers at most μ:=30n+16\mu:=30n+16 blocks.

For each gadget of HH, we assume that it is covered by at most η\eta long intervals.

Lemma 4.

Let =(1,2,3)\mathcal{B}=(\mathcal{B}_{1},\mathcal{B}_{2},\mathcal{B}_{3}) be a 3-block in HH of size (x,2x,x)(x,2x,x). Then, for any Maximum Cut partition of HH, χ(1)=χ(3)\chi(\mathcal{B}_{1})=\chi(\mathcal{B}_{3}), and all except for at most η\eta intervals of 2\mathcal{B}_{2} have the opposite color.

Proof.

Within the graph HH, there are five ways how a long interval can intersect a 3-block. All these five ways are displayed on Figure 1 on fig. 1. Let 1,,5\mathcal{L}_{1},\ldots,\mathcal{L}_{5} be the corresponding sets of long intervals that intersect a given 3-block within the graph HH. That is,

  • 1\mathcal{L}_{1} denotes all the long intervals that terminate at 1\mathcal{B}_{1};

  • 2\mathcal{L}_{2} denotes all the long intervals that cover 1\mathcal{B}_{1}, 2\mathcal{B}_{2}, and 3\mathcal{B}_{3};

  • 3\mathcal{L}_{3} denotes all the long intervals that start from 3\mathcal{B}_{3};

  • 4\mathcal{L}_{4} denotes all the long intervals that terminate at 2\mathcal{B}_{2};

  • 5\mathcal{L}_{5} denotes all the long intervals that start from 2\mathcal{B}_{2}.

We consider some Maximum Cut partition of HH. For ii in [5][5], let rir_{i} and bib_{i} be the numbers of Red and Blue intervals in i\mathcal{L}_{i}. W.l.o.g., assume that most of the intervals of 1\mathcal{L}_{1} get the color Red, that is, r1b1r_{1}\geq b_{1}. Also let y1,2xy2y_{1},2x-y_{2}, and y3y_{3} be the number of intervals of respectively 1,2,3\mathcal{B}_{1},\mathcal{B}_{2},\mathcal{B}_{3} that are colored Blue. Hence xy1,y2x-y_{1},y_{2}, and xy3x-y_{3} are the numbers of intervals of respectively 1,2\mathcal{B}_{1},\mathcal{B}_{2}, and 3\mathcal{B}_{3} that are colored Red. We want to show that one of the two following conditions must hold:

  • either y1=y3=0y_{1}=y_{3}=0 and y2[0,η]y_{2}\in[0,\eta], or

  • y1=y3=xy_{1}=y_{3}=x and y2[2xη,2x]y_{2}\in[2x-\eta,2x].

Let us first calculate the cut value contributed by the 3-block. It consists of the three following parts.

  1. 1.

    The number of cut edges formed between the blocks and the long intervals is r1y1+b1(xy1)+r2(y1+2xy2+y3)+b2(2xy1+y2y3)+r3y3+b3(xy3)+r4(y1+2xy2)+b4(xy1+y2)+r5(2xy2+y3)+b5(y2+xy3)r_{1}y_{1}+b_{1}(x-y_{1})+r_{2}(y_{1}+2x-y_{2}+y_{3})+b_{2}(2x-y_{1}+y_{2}-y_{3})+r_{3}y_{3}+b_{3}(x-y_{3})+r_{4}(y_{1}+2x-y_{2})+b_{4}(x-y_{1}+y_{2})+r_{5}(2x-y_{2}+y_{3})+b_{5}(y_{2}+x-y_{3}).

  2. 2.

    The number of cut edges formed by the short intervals of the same block among themselves is y1(xy1)+y2(2xy2)+y3(xy3)y_{1}(x-y_{1})+y_{2}(2x-y_{2})+y_{3}(x-y_{3}).

  3. 3.

    The number of cut edges formed by the short intervals of the different blocks is y1y2+(xy1)(2xy2)+y2y3+(2xy2)(xy3)y_{1}y_{2}+(x-y_{1})(2x-y_{2})+y_{2}y_{3}+(2x-y_{2})(x-y_{3}).

Denote the value ribir_{i}-b_{i} by Δi\Delta_{i}. Denote by CC the cut value contributed by the 3-block \mathcal{B}, which is the sum of the three aforementioned numbers:

C=\displaystyle C= 4x2+x(2r2+2r4+2r5+b1+2b2+b3+b4+b5)\displaystyle 4x^{2}+x(2r_{2}+2r_{4}+2r_{5}+b_{1}+2b_{2}+b_{3}+b_{4}+b_{5})
xy1xy3y12y22y32+2y1y2+2y2y3\displaystyle-xy_{1}-xy_{3}-y_{1}^{2}-y_{2}^{2}-y_{3}^{2}+2y_{1}y_{2}+2y_{2}y_{3}
+Δ1y1+Δ2(y1y2+y3)+Δ3y3+Δ4(y1y2)+Δ5(y3y2).\displaystyle+\Delta_{1}y_{1}+\Delta_{2}(y_{1}-y_{2}+y_{3})+\Delta_{3}y_{3}+\Delta_{4}(y_{1}-y_{2})+\Delta_{5}(y_{3}-y_{2}).

Now let us modify the cut by making χ(1)=χ(3)=R\chi(\mathcal{B}_{1})=\chi(\mathcal{B}_{3})=R and χ(2)=B\chi(\mathcal{B}_{2})=B. This means that we have y1=y2=y3=0y_{1}=y_{2}=y_{3}=0. So the cut value, denoted by CRBRC_{RBR}, contributed by the 3-block \mathcal{B} in this case is:

CRBR=4x2+x(2r2+2r4+2r5+b1+2b2+b3+b4+b5).\displaystyle C_{RBR}=4x^{2}+x(2r_{2}+2r_{4}+2r_{5}+b_{1}+2b_{2}+b_{3}+b_{4}+b_{5}).

If we instead have χ(1)=χ(3)=B\chi(\mathcal{B}_{1})=\chi(\mathcal{B}_{3})=B and χ(2)=R\chi(\mathcal{B}_{2})=R (i.e., y1=y3=x,y2=2xy_{1}=y_{3}=x,y_{2}=2x), then the cut value, denoted by CBRBC_{BRB}, contributed by the 3-block \mathcal{B} would be:

CBRB=4x2+x(r1+2r2+r3+r4+r5+2b2+2b4+2b5).\displaystyle C_{BRB}=4x^{2}+x(r_{1}+2r_{2}+r_{3}+r_{4}+r_{5}+2b_{2}+2b_{4}+2b_{5}).

W.l.o.g., assume that CRBRCBRBC_{RBR}\geq C_{BRB}. This implies that CRBRCBRB0C_{RBR}-C_{BRB}\geq 0, which means that Δ1+Δ3Δ4Δ50\Delta_{1}+\Delta_{3}-\Delta_{4}-\Delta_{5}\leq 0.

Notice that CCRBRC-C_{RBR} equals

y12y22y32xy1xy3+2y1y2+2y2y3\displaystyle-y_{1}^{2}-y_{2}^{2}-y_{3}^{2}-xy_{1}-xy_{3}+2y_{1}y_{2}+2y_{2}y_{3}
+Δ1y1+Δ2(y1y2+y3)+Δ3y3+Δ4(y1y2)+Δ5(y3y2)\displaystyle\hskip 12.0pt+\Delta_{1}y_{1}+\Delta_{2}(y_{1}-y_{2}+y_{3})+\Delta_{3}y_{3}+\Delta_{4}(y_{1}-y_{2})+\Delta_{5}(y_{3}-y_{2})
=[(y1y2+y3)12(Δ2+Δ4+Δ5)]2+14(Δ2+Δ4+Δ5)2\displaystyle=-\left[(y_{1}-y_{2}+y_{3})-\frac{1}{2}(\Delta_{2}+\Delta_{4}+\Delta_{5})\right]^{2}+\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}
+2y1y3xy1xy3+Δ1y1+Δ3y3Δ4y3Δ5y1\displaystyle+2y_{1}y_{3}-xy_{1}-xy_{3}+\Delta_{1}y_{1}+\Delta_{3}y_{3}-\Delta_{4}y_{3}-\Delta_{5}y_{1}
14(Δ2+Δ4+Δ5)2+2y1y3xy1xy3+(Δ1Δ5)y1+(Δ3Δ4)y3\displaystyle\leq\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+2y_{1}y_{3}-xy_{1}-xy_{3}+(\Delta_{1}-\Delta_{5})y_{1}+(\Delta_{3}-\Delta_{4})y_{3}
=14(Δ2+Δ4+Δ5)2+2y1y3xy1xy3+(Δ1Δ5)(y1y3)+(Δ1+Δ3Δ4Δ5)y3\displaystyle=\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+2y_{1}y_{3}-xy_{1}-xy_{3}+(\Delta_{1}-\Delta_{5})(y_{1}-y_{3})+(\Delta_{1}+\Delta_{3}-\Delta_{4}-\Delta_{5})y_{3}
14(Δ2+Δ4+Δ5)2+2y1y3xy1xy3+(Δ1Δ5)(y1y3)\displaystyle\leq\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+2y_{1}y_{3}-xy_{1}-xy_{3}+(\Delta_{1}-\Delta_{5})(y_{1}-y_{3})
(since Δ1+Δ3Δ4Δ50)\displaystyle\hskip 12.0pt(\text{since }\Delta_{1}+\Delta_{3}-\Delta_{4}-\Delta_{5}\leq 0)
=14(Δ2+Δ4+Δ5)2+14(Δ1Δ5)2+y1(y1x)+y3(y3x)(y1y312(Δ1Δ5))2\displaystyle=\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+\frac{1}{4}(\Delta_{1}-\Delta_{5})^{2}+y_{1}(y_{1}-x)+y_{3}(y_{3}-x)-\left(y_{1}-y_{3}-\frac{1}{2}(\Delta_{1}-\Delta_{5})\right)^{2}
14(Δ2+Δ4+Δ5)2+14(Δ1Δ5)2+y1(y1x)+y3(y3x).\displaystyle\leq\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+\frac{1}{4}(\Delta_{1}-\Delta_{5})^{2}+y_{1}(y_{1}-x)+y_{3}(y_{3}-x).

Notice that if y1{0,x}y_{1}\notin\{0,x\}, then (xy1)y1x1(x-y_{1})y_{1}\geq x-1. Similarly, if y3{0,x}y_{3}\notin\{0,x\}, then (xy3)y3x1(x-y_{3})y_{3}\geq x-1. Since we assumed that either (y1{0,x})(y_{1}\notin\{0,x\}) or (y3{0,x})(y_{3}\notin\{0,x\}), it implies that y1(y1x)+y3(y3x)1xy_{1}(y_{1}-x)+y_{3}(y_{3}-x)\leq 1-x. So we have CCRBR14(Δ2+Δ4+Δ5)2+14(Δ1Δ5)2+1xC-C_{RBR}\leq\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+\frac{1}{4}(\Delta_{1}-\Delta_{5})^{2}+1-x. But since x>n6x>n^{6} and each Δi<n3\Delta_{i}<n^{3}, we conclude that CCRBR<0C<CRBRC-C_{RBR}<0\implies C<C_{RBR}. This contradicts the maximality of CC. Therefore, we conclude that (y1{0,x})\bigl{(}y_{1}\in\{0,x\}\bigr{)} and (y3{0,x})\bigl{(}y_{3}\in\{0,x\}\bigr{)}.

Now we show that y1=y3y_{1}=y_{3}. For the contrary, suppose that y1y3y_{1}\not=y_{3}. Then, |y1y3|=x|y_{1}-y_{3}|=x. In this case, the value CCRBRC-C_{RBR} is :

14(Δ2+Δ4+Δ5)2+14(Δ1Δ5)2+y1(y1x)+y3(y3x)(y1y312(Δ1Δ5))2\displaystyle\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+\frac{1}{4}(\Delta_{1}-\Delta_{5})^{2}+y_{1}(y_{1}-x)+y_{3}(y_{3}-x)-\left(y_{1}-y_{3}-\frac{1}{2}(\Delta_{1}-\Delta_{5})\right)^{2}
=14(Δ2+Δ4+Δ5)2+14(Δ1Δ5)2(y1y312(Δ1Δ5))2\displaystyle=\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}+\frac{1}{4}(\Delta_{1}-\Delta_{5})^{2}-\left(y_{1}-y_{3}-\frac{1}{2}(\Delta_{1}-\Delta_{5})\right)^{2}
14(Δ2+Δ4+Δ5)2x2+x|Δ1Δ5|.\displaystyle\leq\frac{1}{4}(\Delta_{2}+\Delta_{4}+\Delta_{5})^{2}-x^{2}+x|\Delta_{1}-\Delta_{5}|.

Since x>n6x>n^{6} and each Δi<n3\Delta_{i}<n^{3}, we have that CCRBR<0C-C_{RBR}<0, which contradicts the first cut being maximal. So we conclude that y1=y3y_{1}=y_{3}.

W.l.o.g., assume that y1=y3=0y_{1}=y_{3}=0. We want to show that y2[0,η]y_{2}\in[0,\eta]. As y1=y3=0y_{1}=y_{3}=0, the cut value contributed by the 3-block \mathcal{B} is now

C=4x2+x(2r2+2r4+2r5+b1+2b2+b3+b4+b5)y2(y2+Δ2+Δ4+Δ5).C=4x^{2}+x(2r_{2}+2r_{4}+2r_{5}+b_{1}+2b_{2}+b_{3}+b_{4}+b_{5})-y_{2}(y_{2}+\Delta_{2}+\Delta_{4}+\Delta_{5}).

Notice that CCRBR=y2(y2+Δ2+Δ4+Δ5)C-C_{RBR}=-y_{2}(y_{2}+\Delta_{2}+\Delta_{4}+\Delta_{5}). Thus, CCRBRC\geq C_{RBR} only if 0y2(Δ2+Δ4+Δ5)0\leq y_{2}\leq-(\Delta_{2}+\Delta_{4}+\Delta_{5}). As |Δ2+Δ4+Δ5|η|\Delta_{2}+\Delta_{4}+\Delta_{5}|\leq\eta, we are done. The case when y1=y3=xy_{1}=y_{3}=x is treated similarly.

Lemma 5.

Let =12{S12}\mathcal{E}=\mathcal{B}^{1}\sqcup\mathcal{B}^{2}\sqcup\{S_{12}\} be an edge gadget of HH together with two long intervals L1,L2L_{1},L_{2} terminating at 11\mathcal{B}_{1}^{1} and 22\mathcal{B}_{2}^{2}. Suppose that \mathcal{E} is covered by at most η\eta long intervals. Then, (i) the colorings of 3-blocks are almost alternating except for at most η\eta intervals of the central blocks, and (ii) if χ(L1)χ(L2)\chi(L_{1})\not=\chi(L_{2}), then the Maximum Cut value provided by \mathcal{E} is greater than the Maximum Cut value in the case χ(L1)=χ(L2)\chi(L_{1})=\chi(L_{2}), by at least k2ηk-2\eta.

Proof.

Suppose that \mathcal{E} is covered by λ<η\lambda<\eta long intervals. By Lemma 4, the Maximum Cut of 1\mathcal{B}^{1} and 2\mathcal{B}^{2}, is either alternating or almost alternating except for Δ\Delta intervals of 21\mathcal{B}_{2}^{1} or 22\mathcal{B}_{2}^{2}, where Δ<η\Delta<\eta is the difference between the numbers of Red and Blue long covering intervals.

Suppose that χ(L1)=χ(L2)=B\chi(L_{1})=\chi(L_{2})=B; then χ(11)=χ(31)=R\chi(\mathcal{B}_{1}^{1})=\chi(\mathcal{B}_{3}^{1})=R. The color of 21\mathcal{B}_{2}^{1} must be Blue except for at most η\eta intervals. For 2\mathcal{B}^{2} there are two cases.

  1. 1.

    The color of 22\mathcal{B}_{2}^{2} is Red except for at most η\eta intervals, and χ(12)=χ(32)=B\chi(\mathcal{B}_{1}^{2})=\chi(\mathcal{B}_{3}^{2})=B. Then, for any χ(S12)\chi(S_{12}), the cut size is at most 8k2+(6+4λ)k+14Δ2+32λ+18k^{2}+(6+4\lambda)k+\frac{1}{4}\Delta^{2}+\frac{3}{2}\lambda+1.

  2. 2.

    The color of 22\mathcal{B}_{2}^{2} is Blue except for at most η\eta intervals, and χ(12)=χ(32)=R\chi(\mathcal{B}_{1}^{2})=\chi(\mathcal{B}_{3}^{2})=R. Then χ(S12)=B\chi(S_{12})=B. Then the cut size is at most 8k2+(6+4λ)k+12Δ2+2λ8k^{2}+(6+4\lambda)k+\frac{1}{2}\Delta^{2}+2\lambda.

Suppose that χ(L1)=B\chi(L_{1})=B and χ(L2)=R\chi(L_{2})=R. Then 2\mathcal{B}^{2} is partitioned as RBRRBR. 1\mathcal{B}^{1} is also partitioned as RBRRBR. Then the cut size would be at least 8k2+(7+4λ)k+12Δ2+28k^{2}+(7+4\lambda)k+\frac{1}{2}\Delta^{2}+2.

The difference between the value provided by \mathcal{E} when χ(L1)χ(L2)\chi(L_{1})\not=\chi(L_{2}) and the value in the case when they are equal is at least k2λk-2\lambda, which is at least k2ηk-2\eta. ∎

Lemma 6.

Suppose that the first part of a switch gadget is covered by η\eta long intervals. Then, in any its Maximum Cut partition, the coloring of 1bot,,9bot\mathcal{B}_{1}^{\text{bot}},\ldots,\mathcal{B}_{9}^{\text{bot}} is alternating and the coloring of 1top,,4top\mathcal{B}_{1}^{\text{top}},\ldots,\mathcal{B}_{4}^{\text{top}} is alternating except for at most η\eta intervals within 1top\mathcal{B}_{1}^{\text{top}} or 4top\mathcal{B}_{4}^{\text{top}}.

Proof.

Let the number of Red and Blue long intervals covering the switch gadget be rr and bb respectively, and denote the quantity (rb)(r-b) by Δ\Delta. Suppose that r>br>b. Let yi,zjy_{i},z_{j}, for i{1,,4},j{1,,9}i\in\{1,\ldots,4\},j\in\{1,\ldots,9\}, be the same as in Lemma 3. Compute the size of the cut:

Cut=12x2+28x2+16xx(y1y2z4+z5)2(y3y4+z5z6)22(z1z22)2(z2z3)2(z3z4)2(z6z7)2(z7z8)22(z82z9)2(y2y3)2i=23(2xyi)yi(xz1)z1(xz22)z2j=37(2xzj)zj(xz82)z8(xz9)z9Δ(i=14(1)iyi+j=19(1)jzj)+(8x+4x)(r+b)\textrm{Cut}=12x^{\prime 2}+28x^{2}+16x^{\prime}x\\ -(y_{1}-y_{2}-z_{4}+z_{5})^{2}-(y_{3}-y_{4}+z_{5}-z_{6})^{2}\\ -2\left(z_{1}-\frac{z_{2}}{2}\right)^{2}-(z_{2}-z_{3})^{2}-(z_{3}-z_{4})^{2}-(z_{6}-z_{7})^{2}-(z_{7}-z_{8})^{2}-2\left(\frac{z_{8}}{2}-z_{9}\right)^{2}\\ -(y_{2}-y_{3})^{2}-\sum_{i=2}^{3}(2x^{\prime}-y_{i})y_{i}\\ -(x-z_{1})z_{1}-\left(x-\frac{z_{2}}{2}\right)z_{2}-\sum_{j=3}^{7}(2x-z_{j})z_{j}-\left(x-\frac{z_{8}}{2}\right)z_{8}-(x-z_{9})z_{9}\\ -\Delta\left(\sum_{i=1}^{4}(-1)^{i}y_{i}+\sum_{j=1}^{9}(-1)^{j}z_{j}\right)+(8x+4x^{\prime})(r+b)
=12x2+28x2+16xx(y1y2z4+z5Δ/4)2(y3y4+z5z6Δ/4)22(z1z22Δ/4)2(z2z3+Δ/4)2(z3z4Δ/4)2(z6z7+Δ/4)2(z7z8Δ/4)22(z82z9+Δ/4)2(y2y3+Δ/4)2i=23(2xyi)yi(xz1)z1(xz22)z2j=37(2xzj)zj(xz82)z8(xz9)z9+Δ2(y1y4)+(8x+4x)(r+b)+1116Δ2.=12x^{\prime 2}+28x^{2}+16x^{\prime}x\\ -(y_{1}-y_{2}-z_{4}+z_{5}-\Delta/4)^{2}-(y_{3}-y_{4}+z_{5}-z_{6}-\Delta/4)^{2}\\ -2\left(z_{1}-\frac{z_{2}}{2}-\Delta/4\right)^{2}-(z_{2}-z_{3}+\Delta/4)^{2}-(z_{3}-z_{4}-\Delta/4)^{2}\\ -(z_{6}-z_{7}+\Delta/4)^{2}-(z_{7}-z_{8}-\Delta/4)^{2}-2\left(\frac{z_{8}}{2}-z_{9}+\Delta/4\right)^{2}\\ -(y_{2}-y_{3}+\Delta/4)^{2}-\sum_{i=2}^{3}(2x^{\prime}-y_{i})y_{i}\\ -(x-z_{1})z_{1}-\left(x-\frac{z_{2}}{2}\right)z_{2}-\sum_{j=3}^{7}(2x-z_{j})z_{j}-\left(x-\frac{z_{8}}{2}\right)z_{8}-(x-z_{9})z_{9}\\ +\frac{\Delta}{2}(y_{1}-y_{4})+(8x+4x^{\prime})(r+b)+\frac{11}{16}\Delta^{2}.

Consider only those summands that participate in the size of the cut when the coloring of the blocks alternates, i.e., when, for all i,ji,j, yi=zj=0y_{i}=z_{j}=0:

Cutalter=12x2+28x2+16xx+(8x+4x)(r+b).\textrm{Cut}_{\text{alter}}=12x^{\prime 2}+28x^{2}+16x^{\prime}x+(8x+4x^{\prime})(r+b).

If we choose x>(2Δ+1)22+114Δ2x>\frac{(2\Delta+1)^{2}}{2}+\frac{11}{4}\Delta^{2}, then the distance between some variable (except for y1,y4y_{1},y_{4}) and the closest end of its domain cannot be greater than Δ\Delta. For example, suppose that min(z1,xz1)>Δ\min(z_{1},x-z_{1})>\Delta. Then (xz1)z1>Δx+1116Δ2(x-z_{1})z_{1}>\Delta x+\frac{11}{16}\Delta^{2}, and so

CutCutalter(xz1)z1+Δ2(y1y4)+1116Δ2<Cutalter.\textrm{Cut}\leq\textrm{Cut}_{\text{alter}}-(x-z_{1})z_{1}+\frac{\Delta}{2}(y_{1}-y_{4})+\frac{11}{16}\Delta^{2}<\textrm{Cut}_{\text{alter}}.

So, in this case it will not be a maximum cut.

Suppose that |zjzj+1|>Δ|z_{j}-z_{j+1}|>\Delta, then either |zjzj+1|>2x2Δ|z_{j}-z_{j+1}|>2x-2\Delta when j{1,4,5,8}j\not\in\{1,4,5,8\}, or |zjzj+1|>x2Δ|z_{j}-z_{j+1}|>x-2\Delta when j{1,8}j\in\{1,8\}. But then one of the clauses will be greater than (x2ΔΔ/4)2(x-2\Delta-\Delta/4)^{2}, hence, greater than Δx+1116Δ2\Delta x+\frac{11}{16}\Delta^{2}. Similarly, |y2y3|<Δ|y_{2}-y_{3}|<\Delta. Consider the variables z4,z5,z6z_{4},z_{5},z_{6}. Choose xx^{\prime} between x/2x/2 and xx such that (2x2x+2Δ+Δ/4)2(2x^{\prime}-2x+2\Delta+\Delta/4)^{2} is greater than Δx+1116Δ2\Delta x+\frac{11}{16}\Delta^{2}, as x>Δ2x>\Delta^{2}, it is easy to choose a convenient value for xx^{\prime}. For such xx^{\prime}, we will have |z4z5|,|z5z6|<Δ|z_{4}-z_{5}|,|z_{5}-z_{6}|<\Delta.

Denote d12=y1y2d_{12}=y_{1}-y_{2} and d34=y3y4d_{34}=y_{3}-y_{4}. Then y1y4<|d12|+Δ+|d34|y_{1}-y_{4}<|d_{12}|+\Delta+|d_{34}|. Then we can choose only those d12,d34d_{12},d_{34} that satisfy

(d12z4+z5Δ/4)2(d34+z5z6Δ/4)2+Δ2(|d12|+Δ+|d34|)+1116Δ2>0-(d_{12}-z_{4}+z_{5}-\Delta/4)^{2}-(d_{34}+z_{5}-z_{6}-\Delta/4)^{2}+\frac{\Delta}{2}(|d_{12}|+\Delta+|d_{34}|)+\frac{11}{16}\Delta^{2}>0

as, otherwise, it will not be a maximal cut. Denote w=z4+z5Δ/4,w=z5z6Δ4w=-z_{4}+z_{5}-\Delta/4,w^{\prime}=z_{5}-z_{6}-\Delta_{4}, we know that |w|,|w|5Δ/4|w|,|w^{\prime}|\leq 5\Delta/4. Then the expression can be written in the following form:

d122+2d12ww2d342+2d34ww2+Δ/2(|d12|+|d34|)+1916Δ2>0-d_{12}^{2}+2d_{12}w-w^{2}-d_{34}^{2}+2d_{34}w^{\prime}-w^{\prime 2}+\Delta/2(|d_{12}|+|d_{34}|)+\frac{19}{16}\Delta^{2}>0
(d12wΔ/4)2(d34wΔ/4)2+Δ2(|w|+|w|)+2Δ216+1916Δ2>0.\Rightarrow-(d_{12}-w-\Delta/4)^{2}-(d_{34}-w^{\prime}-\Delta/4)^{2}+\frac{\Delta}{2}(|w|+|w^{\prime}|)+\frac{2\Delta^{2}}{16}+\frac{19}{16}\Delta^{2}>0.

Take |d12|4Δ|d_{12}|\geq 4\Delta. Then

(d12wΔ/4)2(d34wΔ/4)2+Δ2(|w|+|w|)+2Δ216+1916Δ2-(d_{12}-w-\Delta/4)^{2}-(d_{34}-w^{\prime}-\Delta/4)^{2}+\frac{\Delta}{2}(|w|+|w^{\prime}|)+\frac{2\Delta^{2}}{16}+\frac{19}{16}\Delta^{2}
(5Δ2)2+5Δ24+21Δ216<0.\leq-\left(\frac{5\Delta}{2}\right)^{2}+\frac{5\Delta^{2}}{4}+\frac{21\Delta^{2}}{16}<0.

The same is true for |d34||d_{34}|. We now can imply that |y1y4|<9Δ|y_{1}-y_{4}|<9\Delta, otherwise the cut is not maximal. This is an important result because we can show now that all the blocks except for y1,y4y_{1},y_{4} are monochromatic. Take any x>92Δ2+1116Δ2=8316Δ2x>\frac{9}{2}\Delta^{2}+\frac{11}{16}\Delta^{2}=\frac{83}{16}\Delta^{2}, then suppose that for some variable except for y1,y4y_{1},y_{4}, say z1z_{1} for example: z1{0,x}z_{1}\not\in\{0,x\}. Then (xz1)z1x1>92Δ2+1116Δ2(x-z_{1})z_{1}\geq x-1>\frac{9}{2}\Delta^{2}+\frac{11}{16}\Delta^{2}. So the cut will not be maximal in this case. Same is true for any variable other than y1,y4y_{1},y_{4}. So we can conclude that 2z1=z2==z8=2z9{0,2x}2z_{1}=z_{2}=\ldots=z_{8}=2z_{9}\in\{0,2x\}, and y2=y3{0,2x}y_{2}=y_{3}\in\{0,2x^{\prime}\}.

Suppose w.l.o.g. that all the variables except for y1,y4y_{1},y_{4} are equal to 0. Then CutCutalter\textrm{Cut}-\textrm{Cut}_{\text{alter}} equals

(y1Δ/4)2(y4+Δ/4)2+Δ2(y1y4)+Δ28=y1(y1Δ)y4(y4+Δ).-(y_{1}-\Delta/4)^{2}-(y_{4}+\Delta/4)^{2}+\frac{\Delta}{2}(y_{1}-y_{4})+\frac{\Delta^{2}}{8}=-y_{1}(y_{1}-\Delta)-y_{4}(y_{4}+\Delta).

One can see now that the cut will be optimal if y1=Δ/2,y4=0y_{1}=\Delta/2,y_{4}=0 for Δ>0\Delta>0. For the case when Δ<0\Delta<0 the optimal cut will be when y1=0y_{1}=0 and y4=Δ/2y_{4}=-\Delta/2. Recall that ηr+b\eta\geq r+b. As Δ=(rb)\Delta=(r-b), we have |Δ/2|<η|\Delta/2|<\eta. ∎

Reduction

At first, we return to the conditions about HH that we stated at the beginning of Section 5 and that we assumed to hold.

  1. 1.

    Every block of HH is covered by at most η:=3n\eta:=3n long intervals.

  2. 2.

    Every long interval of HH covers at most μ:=30n+16\mu:=30n+16 blocks.

We need to verify that the graph HH that we have just constructed indeed satisfies them. In total, there are 3n3n long intervals starting from vertex gadgets, so every block is intersected by at most 3n3n long intervals. Every long interval covers n1n-1 zones and nn buffers, each zone contains a join gadget that has at most ten 3-blocks, each buffer contains at most one switch gadget that has 16 blocks. Thus, those 3 conditions are satisfied for HH.

Let us say that a partition of V(H)V(H) in 2 classes {R,B}\{R,B\} is good if the following conditions are satisfied.

  1. 1.

    For any gadget, its coloring is alternating or almost alternating except for 2i\mathcal{B}_{2}^{i} of a 3-block i\mathcal{B}^{i} or one of 1top,4top\mathcal{B}_{1}^{\text{top}},\mathcal{B}_{4}^{\text{top}} of a switch gadget that contain at most η\eta intervals of the other color.

  2. 2.

    For any short or long interval LL that starts from or terminates at a block \mathcal{B} of size x,xx^{\prime},x, or 2x2x, we have χ(L)χ()\chi(L)\not=\chi(\mathcal{B}).

Lemma 7.

Any Maximum Cut partition of HH is good.

Proof.

The condition (1) is provided by Lemmas 6 and 4. Let LL be the leftmost interval that does not satisfy (2), suppose that it starts from a block \mathcal{B} of size at least x>x2x^{\prime}>\frac{x}{2} and χ(L)=χ()\chi(L)=\chi(\mathcal{B}). LL is a part of some link chain that connects a vertex gadget 𝒱\mathcal{V} to an edge gadget \mathcal{E}. Invert χ(L)\chi(L) and modify the colors of all gadgets and short link and long intervals of this chain that are between LL and \mathcal{E} so that all intervals of this chain satisfy (2). The gain after this operation is at least x2\frac{x}{2} because χ(L)χ()\chi(L)\not=\chi(\mathcal{B}). Denote by ll the number of short link and long intervals in the chain, it is at most 10×3n×9×3n210\times 3n\times 9\times\frac{3n}{2}. The loss is at most the sum of the following values:

  • kk, if both intervals terminating at \mathcal{E} now have the same color;

  • 2ημl2\eta\mu l – the cut between the gadgets of HH covered by the intervals of the chain, where η\eta is an upper bound for the number of long intervals covering a gadget and μ\mu is an upper bound on blocks that a long interval intersects;

  • 2ηl2\eta l – the cut between the long intervals of HH intersected by the intervals of the chain;

  • 2η2l2\eta^{2}l – the cut between the gadgets of the chain and the long intervals of HH covering them (the number of gadgets in the chain also equals ll).

As η,μO(n)\eta,\mu\in O(n), and lO(n2)l\in O(n^{2}), the loss is in O(k+n4)O(k+n^{4}). We are free to choose xx to be large enough for the gain to be strictly greater than the maximal possible loss. Thus, for such value of xx, the second condition also holds. ∎

A good partition p{R,B}V(H)p\in\{R,B\}^{V(H)} corresponds to some partition qq of V(G)V(G): assign to a vertex giV(G)g_{i}\in V(G) the same color that is assigned to the long intervals starting from the vertex gadget 𝒱i\mathcal{V}_{i}. For such pp and qq, we will write pqp\sim q. Clearly, the other direction is also true: for every q{R,B}V(G)q\in\{R,B\}^{V(G)} there exists a good partition pp such that pqp\sim q. Recall that each gadget is covered by at most η\eta long intervals, there are η\eta long interval chains, and each long interval covers at most μ\mu gadgets. The following Lemma 8 implies that Maximum Cut on cubic graphs reduces to Maximum Cut on interval graphs of interval count 2. It is well-known that a Maximum Cut problem is in NP, so, as the size of HH is polynomial in |G||G|, it implies Theorem 1.

Lemma 8.

Let p{R,B}V(H)p\in\{R,B\}^{V(H)} be a Maximum Cut partition of HH, and q{R,B}V(G)q\in\{R,B\}^{V(G)} be a partition of GG such that pqp\sim q. Then qq is a Maximum Cut partition of GG.

Proof.

Suppose that qq is not a Maximum Cut partition, that is, there is another q{R,B}V(G)q^{\prime}\in\{R,B\}^{V(G)} which is maximal. Let p{R,B}V(H)p^{\prime}\in\{R,B\}^{V(H)} be a good partition that satisfies pqp^{\prime}\sim q^{\prime}.

For simplicity, we denote by EE the set of intervals that belong to edge gadgets, and CC denotes the set of intervals that belong to chains or to other gadgets. Clearly, V(H)=CEV(H)=C\sqcup E.

The difference between the cut values of pp and pp^{\prime}, for edges induced by EE, is at most η3O(n3)\eta^{3}\in O(n^{3}) because there are η2\frac{\eta}{2} edge gadgets, and each of them changes the cut by at most 2η22\eta^{2}. The difference between the cut values, for edges induced by CC, is at most

η210lηwithin each gadget+2ηlηbetween long intervals+10ημlηbetween gadgets and long intervals\underbrace{\eta^{2}\cdot 10\cdot l\cdot\eta}_{\text{within each gadget}}+\underbrace{2\cdot\eta\cdot l\cdot\eta}_{\text{between long intervals}}+\underbrace{10\cdot\eta\cdot\mu\cdot l\cdot\eta}_{\text{between gadgets and long intervals}}

which belongs to O(n5)O(n^{5}). Finally, as qq^{\prime} has a strictly greater cut value than qq, we know that the number of cut edges between CC and EE for pp^{\prime} is greater than the corresponding number for pp by at least (k2η)η2ηη2(k-2\eta)-\eta\cdot 2\eta\cdot\frac{\eta}{2}. By Lemma 5 and because an edge gadget is covered by at most η\eta long intervals, each of them adds at most 2η2\eta to the cut, and there are η2\frac{\eta}{2} edge gadgets. As we choose kk to be in Ω(n6)\Omega(n^{6}), the cut value of pp^{\prime} is greater than the cut value of pp, it is a contradiction. ∎

8 Conclusion

In this article, we have shown that Maximum Cut remains NP-complete for interval graphs of interval count two. The future work in this direction is to understand the complexity of Maximum Cut on unit interval graphs. Apart from that, our result raises the following question.

Question 1.

Let CC\subset\mathbb{R} be a fixed set of size \ell. What is the complexity of Maximum Cut on interval graphs that have a model, where the length of each interval is in CC?

In the current paper, the length of long intervals depends on the number of vertices of the cubic graph GG, therefore, it may be arbitrarily large. This question asks, whether the problem remains NP-complete if there is an additional restriction on how much different are the lengths of short and long intervals. If the length of short intervals is 1, and the length of long intervals is cc, then, by making the value of cc smaller, the graph class becomes more similar to unit interval graphs that correspond to the case when c=1c=1.

Acknowledgements

The authors are thankful to Kaustav Bose for correcting Lemma 4.

Declaration

Alexey Barsukov is funded by the European Union (ERC, POCOCOP, 101071674). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.

Bodhayan Roy is funded by SERB MATRICS, Grant Number MTR/2021/000474.

References

  • \bibcommenthead
  • [1] Adhikary, R., Bose, K., Mukherjee, S. & Roy, B. Complexity of maximum cut on interval graphs. Discrete & Computational Geometry 70, 307–322 (2023). URL https://doi.org/10.1007/s00454-022-00472-y.
  • [2] de Figueiredo, C. M. H., de Melo, A. A., Oliveira, F. S. & Silva, A. Maximum cut on interval graphs of interval count four is np-complete. Discrete & Computational Geometry (2023). URL https://doi.org/10.1007/s00454-023-00508-x.
  • [3] Garey, M. R. & Johnson, D. S. Computers and Intractability: A Guide to the Theory of NP-Completeness (W. H. Freeman & Co., USA, 1979).
  • [4] Karp, R. M. Reducibility among Combinatorial Problems, 85–103 (Springer US, Boston, MA, 1972). URL https://doi.org/10.1007/978-1-4684-2001-2_9.
  • [5] Berman, P. & Karpinski, M. Wiedermann, J., van Emde Boas, P. & Nielsen, M. (eds) On some tighter inapproximability results (extended abstract). (eds Wiedermann, J., van Emde Boas, P. & Nielsen, M.) Automata, Languages and Programming, 200–209 (Springer Berlin Heidelberg, Berlin, Heidelberg, 1999).
  • [6] Bodlaender, H. L. & Jansen, K. On the complexity of the maximum cut problem. Nordic J. of Computing 7, 14–31 (2000).
  • [7] Díaz, J. & Kamiński, M. Max-cut and max-bisection are np-hard on unit disk graphs. Theoretical Computer Science 377, 271–276 (2007). URL https://www.sciencedirect.com/science/article/pii/S0304397507000801.
  • [8] Guruswami, V. Maximum cut on line and total graphs. Discrete Applied Mathematics 92, 217–221 (1999). URL https://www.sciencedirect.com/science/article/pii/S0166218X99000566.
  • [9] Hadlock, F. Finding a maximum cut of a planar graph in polynomial time. SIAM Journal on Computing 4, 221–225 (1975). URL https://doi.org/10.1137/0204019.
  • [10] Barahona, F. The max-cut problem on graphs not contractible to k5. Oper. Res. Lett. 2, 107–111 (1983). URL https://doi.org/10.1016/0167-6377(83)90016-0.
  • [11] de Figueiredo, C. M. H., de Melo, A. A., Oliveira, F. S. & Silva, A. Maxcut on permutation graphs is np-complete. Journal of Graph Theory 104, 5–16 (2023). URL https://onlinelibrary.wiley.com/doi/abs/10.1002/jgt.22948.
  • [12] Bodlaender, H. L., Kloks, T. & Niedermeier, R. Simple max-cut for unit interval graphs and graphs with few p4s. Electronic Notes in Discrete Mathematics 3, 19–26 (1999). URL https://www.sciencedirect.com/science/article/pii/S1571065305800149. 6th Twente Workshop on Graphs and Combinatorial Optimization.
  • [13] Boyacı, A., Ekim, T. & Shalom, M. A polynomial-time algorithm for the maximum cardinality cut problem in proper interval graphs. Information Processing Letters 121, 29–33 (2017). URL https://www.sciencedirect.com/science/article/pii/S0020019017300133.
  • [14] Bodlaender, H. L., de Figueiredo, C. M. H., Gutierrez, M., Kloks, T. & Niedermeier, R. Ribeiro, C. C. & Martins, S. L. (eds) Simple max-cut for split-indifference graphs and graphs with few p4’s. (eds Ribeiro, C. C. & Martins, S. L.) Experimental and Efficient Algorithms, 87–99 (Springer Berlin Heidelberg, Berlin, Heidelberg, 2004).
  • [15] Kratochvíl, J., Masařík, T. & Novotná, J. $${\\backslashmathcal {u}}$$-bubble model for mixed unit interval graphs and its applications: The maxcut problem revisited. Algorithmica 83, 3649–3680 (2021). URL https://doi.org/10.1007/s00453-021-00837-4.