betaFeedback

WorksComputer Science

A 2.05-Approximation for Unit Disk Graph Coloring

Abstract

The best known approximation ratio for coloring unit disk graphs has been 33 since the early 1990s. It comes from a left-to-right sweep, in which the earlier neighbors of a vertex are covered by three cliques. We give a randomized polynomial-time algorithm that, given the points, colors every unit disk graph GG with at most 2.05 χ(G)2.05\,χ(G) colors. The algorithm first approximately solves the LP for the fractional chromatic number χfχ_f. If χfχ_f is large, it samples color classes from the LP solution independently in each cell of a coarse grid and colors the remaining vertices with the sweep, reusing a sampled color whenever no neighbor has it. This refines the Round-and-Approx scheme of Bansal, Caprara, and Sviridenko; the new ingredient is locality: a bounded-differences inequality combined with the constructive Lovász Local Lemma controls all residual cliques simultaneously. If χfχ_f is small, then so is the clique number, and dynamic programming provides good approximations. Our techniques also improve the best known approximation ratios for intersection graphs of translates of a convex polygon, from 33 to 2.052.05, and for unit square graphs, from 22 to 1.681.68.

Funding Kunal Dutta: Supported by the Polish NCN Opus grant nr. 2023/51/B/ST6/02989

Introduction

A unit disk graph has a vertex for each of the nn points of a finite set P⊂R2P \subset\mathbb{R}^{2} and an edge between two points at Euclidean distance at most 1; equivalently, it is the intersection graph of closed disks of diameter 1. A unit square graph is defined in the same way with the L∞L_{\infty} distance, and is the intersection graph of closed axis-parallel unit squares.

We recall the few graph notions we need. A (proper) coloring assigns a color to every vertex so that adjacent vertices receive distinct colors, that is, intersecting disks or squares get distinct colors; the chromatic number χ(G)\chi(G) is the minimum number of colors. A clique is a set of pairwise adjacent vertices (pairwise intersecting objects), and the clique number ω(G)\omega(G) is the size of a largest clique. An independent set is a set of pairwise non-adjacent vertices (pairwise disjoint objects), and α(G)\alpha(G) is the size of a largest one. The vertices of a clique need distinct colors and every color class is an independent set, so χ(G)≥ω(G)\chi(G) \ge\omega(G) and χ(G)≥n/α(G)\chi(G) \ge n/\alpha(G). An algorithm is a ρ\rho-approximation if it always uses at most ρχ(G)\rho\chi(G) colors. We use the real RAM model of computation.

Coloring these graphs models frequency assignment and has been studied at least since 1990 [5]. Deciding kk-colorability is NP-complete for unit disk graphs for every fixed k≥3k \ge3 [5, 12], and likewise for unit square graphs [4]. Hence neither class admits a (4/3−ε)(4/3-\varepsilon)-approximation unless P = NP.

The factors 3 and 2. Sort the points by xx-coordinate and color greedily (first-fit) in that order. When a vertex vv is colored, its already colored neighbors lie in the left half of the unit disk around vv. This half-disk is the union of three closed 60∘60^\circ sectors, each of diameter 1, so each sector together with vv induces a clique. Hence at most 3(ω−1)3(\omega- 1) earlier neighbors exist, and the sweep uses at most 3ω−23\omega- 2 colors. Since χ≥ω\chi\ge\omega, this is a 3-approximation, which goes back to Peeters [29] (see also [23, 12]). For unit squares the left half of the neighborhood is a 1×21 \times2 rectangle, the union of two unit squares, which gives the bound χ≤2ω−1\chi\le2\omega- 1 of Perepelitsa [30] and a 2-approximation.

Both factors can also be obtained by strip decompositions. The STRIPE algorithm of Gräf, Stumpf, and Weißenfels [12] partitions the points into vertical stripes of width at most 3/2\sqrt{3}/2. The disks in one stripe form a cocomparability graph, the complement of a graph with a transitive orientation, and such graphs can be colored optimally in polynomial time; the stripe colorings are then combined by a matching technique, with performance ratio 3. The squares centered in a horizontal strip of height 1 intersect exactly when their xx-coordinates differ by at most 1, so they form a unit interval graph, the intersection graph of unit intervals on a line. Such graphs are perfect: χ=ω\chi= \omega holds for them and for all their induced subgraphs, and they can be colored optimally by sorting. Strips two apart contain no adjacent pairs, so alternating palettes on strips of odd and even index use at most 2χ2\chi colors, as in a sum-coloring algorithm [3]. Neither approach goes below the factor of the sweep. We are not aware of any improvement of the ratio 3 since 1991, and improving the constant in χ≤3ω−2\chi\le3\omega- 2 is a longstanding open problem [12, 10]. The literature on unit square graphs is thinner [7, 4], and we are not aware of any algorithm with a ratio below 2.

Any analysis that compares the number of colors with ω\omega runs into the open question of how large χ/ω\chi/\omega can be. For unit disk graphs it is known only that lim sup⁡ω→∞χ/ω∈[3/2,3]\limsup_{\omega\to\infty} \chi/\omega\in[3/2, 3] [22, 29]. Moreover, the degeneracy (the largest dd such that some subgraph has all degrees at least dd; greedy coloring in a suitable order uses at most d+1d + 1 colors) can be as large as 3ω−33\omega- 3 [19]. For unit square graphs χ/ω<2\chi/\omega< 2 always [30], while the published lower bound for large ω\omega is 5/45/4 [7, 4], which we raise to 4/34/3 in § 6. An algorithm analyzed against ω\omega that beats the factor 3 would improve the constant in χ≤3ω−2\chi\le3\omega- 2, so we compare instead with a lower bound on χ\chi that is stronger than ω\omega and computable in polynomial time: the fractional chromatic number.

The fractional chromatic number χf(G)\chi_f(G) is the optimum of the linear-programming relaxation of coloring: put a nonnegative weight on every independent set so that the sets containing each vertex have total weight at least 1, and minimize the total weight. A coloring is such a weighting with weights 0 and 1, and a clique meets each independent set at most once, so ω≤χf≤χ\omega\le\chi_f \le\chi, and χf≤2.155 ω\chi_f \le2.155\,\omega for unit disk graphs [11]. The weighted version of χf\chi_f is NP-hard on unit disk graphs, and can be solved by the ellipsoid method; it is as hard as maximum-weight independent set [13, 16]. A 2-approximation for χf\chi_f of unit disk graphs is known [24], and Jansen [16] showed that the weighted version has a PTAS whenever maximum-weight independent set does; Erlebach, Jansen, and Seidel [9] gave such a PTAS for disks and for squares. (Lemma 9 gives a short direct algorithm for the unweighted case.)

Our results. Our main result improves the factor 3 for disks.

Theorem 1. There is a randomized algorithm with expected polynomial running time that, given a unit disk graph GG by its points, outputs a proper coloring of GG with at most 2.0483 χ(G)2.0483\,\chi(G) colors.

We also prove a bound in terms of χf\chi_f, at the cost of an additive constant.

Theorem 2. There is a constant KK and a randomized algorithm with expected polynomial running time that, given a unit disk graph GG by its points, outputs a proper coloring of GG with at most 2.0483 χf(G)+K2.0483\,\chi_f(G) + K colors.

The proof has three parts: rounding an approximately optimal fractional coloring, reusing its colors, and coloring graphs of bounded clique number. The first part draws color classes of the fractional coloring and colors the vertices they do not cover with the sweep, using new colors. This gives (1+ln⁡3+ε)χf+Kε(1+\ln3+\varepsilon)\chi_f+K_\varepsilon colors for every ε∈(0,1]\varepsilon\in(0,1] (Lemma 17). The second part lets a remaining vertex take, when possible, a color of the rounding that none of its neighbors received. The number of such colors is controlled by the same Local Lemma argument, using that the neighborhood of a vertex contains at most 5 pairwise non-adjacent vertices. This lowers the constant from 1+ln⁡3>2.09861+\ln3>2.0986 to 2.04822 and proves Theorem 2 (§ 5). The third part removes the additive constant KK, which is a small fraction of χf\chi_f once χf\chi_f is large, so it matters only when χf\chi_f, and hence ω≤χf\omega\le\chi_f, is below a constant. Then, within a vertical slab of width 1 sorted by yy, each point is adjacent only to points a bounded number of positions away, so dynamic programming colors each slab optimally, and two alternating palettes give at most 2χ2\chi colors (Lemma 19). Since 2<2.04832<2.0483, running the appropriate algorithm in each case proves Theorem 1 (§ 5). Without reuse, the same argument colors every unit disk graph with at most (1+ln⁡3+ε)χ(1+\ln3+\varepsilon)\chi colors (Lemma 20), which is already a 2.1-approximation since 1+ln⁡3<2.09871+\ln3<2.0987. The thresholds are large: with our bounds, the rounding beats the sweep for disks only for χf\chi_f above about 100 and reuse beats 1+ln⁡31+\ln3 only above about 10710^7, and below such thresholds the guarantee comes from Lemma 19, whose running time is exponential in the threshold. With the constants of Theorem 1, the LP of Lemma 9 has up to about n1016n^{10^{16}} variables and Lemma 19 is used for χf\chi_f up to about 3⋅10183\cdot10^{18}; we did not try to improve the degree of the polynomial.

Other classes. The rounding and the slabs work for every cc-sweepable class (Definition 5, Lemmas 17 and 20, and Theorem 26), which captures exactly the geometry used by the sweep: without reuse the constant is 1+ln⁡c1+\ln c in place of 1+ln⁡31+\ln3, and the bound (1+ln⁡c+ε)χ(1+\ln c+\varepsilon)\chi holds if c≥3c\ge3. Unit disk graphs are 3-sweepable. Intersection graphs of translates of a convex polygon are 3-sweepable as well, with at most 5 pairwise non-adjacent neighbors per vertex (§ 4.1 and § 5), which gives Theorem 3. For these graphs, Kim, Kostochka, and Nakprasit [19] proved χ≤3ω−2\chi\le3\omega-2 by a sweep.

Theorem 3. There is a randomized algorithm with expected polynomial running time that, given a convex polygon and the translation vectors of the intersection graph GG of its translates, outputs a proper coloring of GG with at most 2.0483 χ(G)\chi(G) colors. There is also such an algorithm that uses at most 2.0483 χf(G)+K\chi_f(G)+K colors, where KK is a constant.

Unit square graphs are 2-sweepable, but for them the bound 2χ2\chi of the slabs is no better than the sweep. Section 6 lets consecutive slabs overlap and turns the coloring of one slab into that of the next, starting in the overlap and proceeding one strip of width 1 at a time, which uses at most ⌈3χ/2⌉\lceil3\chi/2\rceil colors when ω\omega is bounded.

Theorem 4. There is a randomized algorithm with expected polynomial running time that, given a unit square graph GG by its points, outputs a proper coloring of GG with at most 1.6796 χ(G)\chi(G) colors. There is also such an algorithm that uses at most 1.6796 χf(G)+K\chi_f(G)+K colors, where KK is a constant.

Fractional versus integral chromatic number. Theorems 2–4 show that χ/χf\chi/\chi_f is asymptotically at most 2.0483 for unit disk graphs and for translates of a convex polygon, and 1.6796 for unit square graphs. We do not know whether χ/χf\chi/\chi_f is asymptotically larger than 1. For small χ\chi it is: every odd cycle C2k+1C_{2k+1} is both a unit disk graph and a unit square graph, with χ(C2k+1)=3\chi(C_{2k+1})=3 and χf(C2k+1)=2+1/k\chi_f(C_{2k+1})=2+1/k. The ratio 3/(2+1/k)3/(2+1/k) is 6/56/5 for C5C_5 and tends to 3/23/2 as k→∞k \to\infty. So a bound χ≤ρχf\chi\le\rho\chi_f with ρ<3/2\rho< 3/2 needs an additive constant. The graph in Figure 1, which is both a unit disk graph and a unit square graph, shows that the additive gap χ−χf\chi- \chi_f can reach 1. We do not know whether χ−χf\chi- \chi_f can exceed 1 in these classes; such a graph would need χ≥ω+2\chi\ge\omega+ 2. If χ−χf=o(χf)\chi- \chi_f = o(\chi_f) in these classes, then χ/χf\chi/\chi_f tends to 1, and the factors of Theorems 2 and 4 are a limitation of the rounding and not of the fractional coloring. It is then natural to ask for an algorithm that uses (1+ε)χf+Kε(1+\varepsilon)\chi_f + K_\varepsilon colors.

Figure 1. A graph with ω=χf=4\omega= \chi_f = 4 and χ=5\chi= 5: (a) disks of diameter 1, (b) the graph on the disk centers, (c) unit squares; colors show a 5-coloring, and some adjacent disks and squares only touch. Numbering the vertices 0, …\ldots, 14 as below, the sets {2,9,10}\{2, 9, 10\}, {0,4,8,14}\{0, 4, 8, 14\}, {1,5,6,12}\{1, 5, 6, 12\}, {2,8,13}\{2, 8, 13\}, {3,4,7,11}\{3, 4, 7, 11\}, {1,5,11,12}\{1, 5, 11, 12\}, {0,6,10,13}\{0, 6, 10, 13\}, {3,7,9,14}\{3, 7, 9, 14\} are independent and cover each vertex twice. Disk centers ×6\times6: (0, 7), (0, 10), (1, 9), (2, 7), (4, 13), (5, 5), (6, 11), (7, 3), (7, 6), (8, 10), (10, 3), (10, 9), (13, 3), (13, 9), (15, 6). Square centers ×8\times8: (0, 13), (0, 20), (2, 16), (4, 13), (7, 22), (7, 9), (10, 18), (6, 3), (11, 10), (15, 14), (12, 4), (17, 12), (13, 0), (21, 7), (20, 4).

Technique and related work. Sampling from an LP solution and finishing the rest with a cc-approximation is the Round-and-Approx framework of Bansal, Caprara, and Sviridenko [2], who applied it to two-dimensional vector bin packing. There a union bound over a few global quantities suffices. For coloring, all nn local cliques must be controlled at once, and a union bound over them requires χ=Ω(log⁡n)\chi= \Omega(\log n), the regime of an algorithm for circular-arc coloring [20]. We avoid this by sampling independently in each cell of a grid, so that the Lovász Local Lemma [8], in the algorithmic form of Moser and Tardos [28], applies with a dependency degree independent of nn. Rounding controlled by the Local Lemma is classical for column-sparse integer programs [21, 31] and for edge coloring of multigraphs [17, 27]; here the geometry supplies the sparsity. Reusing colors of the rounding for the remaining vertices lowers the constants, because the neighborhood of a vertex contains few pairwise non-adjacent vertices. Graphs with small χf\chi_f are colored with slabs, as in the strip decompositions of [12, 3], except that bounded clique number lets dynamic programming color each slab optimally; for unit squares, overlapping slabs replace the two alternating palettes.

Fractional colorings of random geometric graphs have been rounded locally [26], by solving the coloring LP on blocks of a grid much as the proof of Lemma 9 does, but that bound compares χ\chi with χf\chi_f of a graph with a larger distance threshold. Localized random independent sets also motivate a derandomized argument for distributed coloring of unit disk graphs [10].

Organization. Section 2 defines cc-sweepable classes, shows that unit disk and unit square graphs are 3- and 2-sweepable, and collects the tools we use: the sweep, shifted tilings, the fractional coloring LP, bounded differences, and the Moser–Tardos algorithm. Section 3 rounds the fractional coloring and proves the bound (1+ln⁡c+ε)χf+Kε(1+\ln c+\varepsilon)\chi_f+K_\varepsilon (Lemma 17). Section 4 handles bounded clique number and gives the 2.1-approximation (Lemma 20) for unit disk graphs and for translates of a convex polygon, which Section 4.1 shows to be 3-sweepable. Section 5 reuses colors, improves the leading constants, and proves Theorems 1 and 2. Section 6 treats unit square graphs: it colors them with overlapping slabs when ω\omega is bounded (Lemma 28), proves Theorem 4, and gives the lower bound 4/34/3 on lim sup⁡χ/ω\limsup\chi/\omega.

Preliminaries

All graphs are finite and simple. Points of PP may coincide, so PP is a multiset, and ties in the lexicographic order are broken arbitrarily. For a graph GG, ω(G)\omega(G), χ(G)\chi(G), and I(G)\mathcal{I}(G) denote the clique number, the chromatic number, and the family of independent sets. A fractional coloring of GG is a vector y∈R≥0I(G)y\in\mathbb{R}_{\geq0}^{\mathcal{I}(G)} with ∑I∋vyI≥1\sum_{I\ni v}y_I\geq1 for every vertex vv. Its value is ∑IyI\sum_I y_I, and χf(G)\chi_f(G) is the minimum value. Every clique meets every independent set in at most one vertex, so ω≤χf≤χ\omega\leq\chi_f\leq\chi. For A⊆R2A\subseteq\mathbb{R}^2 we write diam⁡∞(A)=sup⁡a,b∈A∥a−b∥∞\operatorname{diam}_{\infty}(A)=\sup_{a,b\in A}\lVert a-b\rVert_{\infty}.

Definition 5 (cc-sweepable). Let c≥2c\geq2 be an integer. A class G\mathcal{G} of graphs whose vertices are points of R2\mathbb{R}^2 is cc-sweepable if every G=(P,E)∈GG=(P,E)\in\mathcal{G} satisfies:

(S1) if uv∈Euv\in E then ∥u−v∥∞≤1\lVert u-v\rVert_{\infty}\leq1;

(S2) every A⊆PA\subseteq P with diam⁡∞(A)≤1/2\operatorname{diam}_{\infty}(A)\leq1/2 is a clique of GG;

(S3) there is a linear order ≺\prec on PP and, for every v∈Pv\in P, sets Q1(v),…,Qc(v)⊆R2Q_1(v),\ldots,Q_c(v)\subseteq\mathbb{R}^2 such that v∈Qj(v)v\in Q_j(v), diam⁡∞(Qj(v))≤1\operatorname{diam}_{\infty}(Q_j(v))\leq1, P∩Qj(v)P\cap Q_j(v) is a clique of GG, and every neighbor u≺vu\prec v of vv lies in ⋃jQj(v)\bigcup_j Q_j(v). The order and membership in Qj(v)Q_j(v) can be computed in polynomial time.

The conditions are inherited by induced subgraphs: for R⊆PR\subseteq P, the graph G[R]G[R] satisfies (S1)–(S3) with the restricted order and the same sets Qj(v)Q_j(v). Condition (S3) alone implies that GG is cc-simplicial [18, 33], which already bounds first-fit in the order ≺\prec by c(ω−1)+1c(\omega-1)+1 colors; (S1), (S2), and the sets Qj(v)Q_j(v) add the locality that the rounding needs.

Lemma 6. Unit disk graphs are 3-sweepable and unit square graphs are 2-sweepable.

Proof. Let ≺\prec be the lexicographic order on (x,y)(x,y). (S1): in both classes adjacent points are at Euclidean or L∞L_\infty distance at most 1, so their L∞L_\infty distance is at most 1. (S2): two points of a set of L∞L_\infty-diameter at most 1/21/2 are at Euclidean distance at most 2/2<1\sqrt{2}/2<1, so they are adjacent in both classes.

(S3) for squares: every neighbor u≺vu\prec v has xu≤xvx_u\leq x_v and ∣yu−yv∣≤1\lvert y_u-y_v\rvert\leq1, so it lies in Q1(v)=[xv−1,xv]×[yv,yv+1]Q_1(v)=[x_v-1,x_v]\times[y_v,y_v+1] or Q2(v)=[xv−1,xv]×[yv−1,yv]Q_2(v)=[x_v-1,x_v]\times[y_v-1,y_v]. Both are closed unit squares containing vv (Figure 2(b)), and points in a closed unit square are pairwise at L∞L_\infty distance at most 1, so they form a clique.

(S3) for disks: every neighbor u≺vu\prec v lies in the closed left half-disk {p:∥p−v∥2≤1, xp≤xv}\{p:\lVert p-v\rVert_2\leq1,\ x_p\leq x_v\}. If xu=xvx_u=x_v then yu≤yvy_u\leq y_v, so uu lies on the downward ray. Let Q1(v),Q2(v),Q3(v)Q_1(v),Q_2(v),Q_3(v) be the closed sectors of radius 1 with apex vv spanning the directions [90∘,150∘][90^\circ,150^\circ], [150∘,210∘][150^\circ,210^\circ], and [210∘,270∘][210^\circ,270^\circ]. They cover the closed left half-disk, including both boundary rays (Figure 2(c)). A closed 60∘60^\circ sector of radius 1 has Euclidean diameter exactly 1, so its points form a clique, and its L∞L_\infty-diameter is at most its Euclidean diameter. Membership is decided without square roots, since for u−v=(a,b)u-v=(a,b) with a≤0a\leq0 the rays at 150∘150^\circ and 210∘210^\circ are where a2=3b2a^2=3b^2.

Lemma 7 (the sweep). Let G=(P,E)G=(P,E) belong to a cc-sweepable class and let R⊆PR\subseteq P. First-fit on G[R]G[R] in the order ≺\prec is a proper coloring with at most

1+max⁡v∈R∑j=1c∣(Qj(v)∩R)∖{v}∣≤c(ω(G[R])−1)+11+\max_{v\in R}\sum_{j=1}^{c}\lvert(Q_j(v)\cap R)\setminus\{v\}\rvert\leq c\bigl(\omega(G[R])-1\bigr)+1

colors. In particular χ(G)≤cω(G)−c+1\chi(G)\leq c\omega(G)-c+1.

Proof. When vv is colored, the colors on its earlier neighbors in RR number at most the number of such neighbors, and these lie in ⋃j(Qj(v)∩R)∖{v}\bigcup_j(Q_j(v)\cap R)\setminus\{v\} by (S3). Each Qj(v)∩RQ_j(v)\cap R is a clique containing vv, so it has at most ω(G[R])−1\omega(G[R])-1 other points.

Tilings

For integers L≥2L\geq2 and oo, the tiling T(L,o)\mathcal{T}(L,o) consists of the tiles

T=[o+aL,o+(a+1)L)×[o+bL,o+(b+1)L),a,b∈Z,T=[o+aL,o+(a+1)L)\times[o+bL,o+(b+1)L),\qquad a,b\in\mathbb{Z},

with interiors T∘=[o+aL+12,o+(a+1)L−12)×[o+bL+12,o+(b+1)L−12)T^\circ=[o+aL+\frac{1}{2},o+(a+1)L-\frac{1}{2})\times[o+bL+\frac{1}{2},o+(b+1)L-\frac{1}{2}) (Figure 2(a)). The offset oo shifts the tiling along the diagonal, in the spirit of the shifting technique [15].

Figure 2. (a) The tiles of one round (solid) and of the next (dashed); points in the band around the interiors (shaded) are hollow. (b), (c) The sets Qj(v)Q_j(v) cover the earlier neighbors of vv (filled); later ones (hollow) lie in the right half.

Lemma 8. Let L≥2L\geq2 be an integer.

(i) Two points in the interiors of different tiles of T(L,o)\mathcal{T}(L,o) are at L∞L_\infty distance more than 1.

(ii) Among any LL consecutive integers oo, there are at most two for which a given point pp lies in no interior of T(L,o)\mathcal{T}(L,o).

Proof. (i) The two points differ in one coordinate by more than (o+a′L+12)−(o+a′L−12)=1(o+a'L+\frac{1}{2})-(o+a'L-\frac{1}{2})=1 for some integer a′a', because the interiors are half-open. (ii) The point pp lies in no interior only if (xp−o) mod L(x_p-o)\bmod L or (yp−o) mod L(y_p-o)\bmod L lies in [L−12,L)∪[0,12)[L-\frac{1}{2},L)\cup[0,\frac{1}{2}), a half-open arc of length 1 on a circle of length LL. As oo ranges over LL consecutive integers, the values (xp−o) mod L(x_p-o)\bmod L are spaced 1 apart, so exactly one of them lies in the arc. The same holds for ypy_p.

Model of computation

We use the real RAM without the floor function. The input coordinates enter only through adjacency, the order ≺\prec, membership in the sets Qj(v)Q_j(v), and the placement of points in tiles and slabs; everything else, including the linear programs, is exact arithmetic on rationals of polynomial bit size, so for rational input the algorithms also run in polynomial time on a Turing machine. All our algorithms color each connected component of GG separately, with the same colors, which suffices because ω\omega, χf\chi_f, and χ\chi of GG are the maxima over its components. Translating all points and all sets Qj(v)Q_j(v) by a common vector preserves (S1)–(S3), so we may translate a component to have least xx- and yy-coordinates 0. By (S1) its coordinates then lie in [0,n−1][0,n-1], and the integer part of each is found by binary search over {0,…,n−1}\{0,\ldots,n-1\}, which places every point in its tile or slab with O(log⁡n)O(\log n) comparisons.

Lemma 9 (fractional coloring). For every cc-sweepable class and every fixed δ>0\delta>0 there is a polynomial-time algorithm that, given a graph GG of the class, computes a fractional coloring yy of value at most (1+δ)χf(G)(1+\delta)\chi_f(G) with rational entries and polynomially many non-zero entries.

Proof. Let D=2+⌈2/δ⌉D=2+\lceil2/\delta\rceil, so that D/(D−2)≤1+δD/(D-2)\le1+\delta. Fix an offset o∈{0,…,D−1}o\in\{0,\ldots,D-1\} and a tile TT of T(D,o)\mathcal{T}(D,o) with PT:=P∩T∘≠∅P_T:=P\cap T^\circ\ne\emptyset. The interior T∘T^\circ is covered by (2D−2)2(2D-2)^2 half-open cells of side 1/21/2, and by (S2) each cell contains at most one vertex of an independent set. Hence G[PT]G[P_T] has at most (n+1)4D2(n+1)^{4D^2} independent sets, and its fractional coloring LP has polynomial size. Its constraint matrix has entries 0 and 1 and its right-hand side is all ones, whatever the coordinates, so an optimal basic solution yTy^T can be computed exactly in polynomial time. It is rational, has at most ∣PT∣|P_T| non-zero entries, and has value fT=χf(G[PT])≤χf(G)f_T=\chi_f(G[P_T])\le\chi_f(G).

Next we merge the solutions yTy^T over the tiles of T(D,o)\mathcal{T}(D,o). For each TT, split [0,fT)[0,f_T) into consecutive half-open intervals, one of length yITy^T_I for each set II with yIT>0y^T_I>0. For x≥0x\ge0 let S(x)S(x) be the union, over all tiles TT with x<fTx<f_T, of the set II whose interval in [0,fT)[0,f_T) contains xx. By Lemma 8(i) and (S1), S(x)S(x) is an independent set of GG. The function SS changes only at the at most ∑T∣PT∣≤n\sum_T|P_T|\le n interval endpoints. Let y(o)y^{(o)} give each non-empty set II the total length of {x:S(x)=I}\{x:S(x)=I\}. Then y(o)y^{(o)} has at most nn non-zero entries and value at most max⁡TfT≤χf(G)\max_T f_T\le\chi_f(G), and the sets containing a vertex v∈PTv\in P_T have total weight ∑I∋vyIT≥1\sum_{I\ni v}y^T_I\ge1.

By Lemma 8(ii), every vertex lies in an interior for at least D−2D-2 of the DD offsets. Thus

y=1D−2∑oy(o)y=\frac{1}{D-2}\sum_o y^{(o)}

is a fractional coloring of GG of value at most DD−2χf(G)≤(1+δ)χf(G)\frac{D}{D-2}\chi_f(G)\le(1+\delta)\chi_f(G), with at most DnDn non-zero entries. ◀

For unit disk and unit square graphs, Lemma 9 also follows from [16, Theorem 5.2] and [9, Theorem 2.10 and Section 4].

Lemma 10 (bounded differences [25]). Let Z1,…,ZNZ_1,\ldots,Z_N be independent random variables and X=f(Z1,…,ZN)X=f(Z_1,\ldots,Z_N), where changing any single argument changes ff by at most 1. Then Pr⁡[X≥EX+t]≤exp⁡(−2t2/N)\Pr[X\ge\mathbb{E}X+t]\le\exp(-2t^2/N) for every t≥0t\ge0.

Lemma 11 ([28]; symmetric form). Let Z\mathcal{Z} be a finite set of mutually independent random variables, and let A\mathcal{A} be a finite set of events, each determined by a subset of Z\mathcal{Z}. Suppose every event has probability at most pp and shares variables with at most d≥1d\ge1 other events, and ep(d+1)≤1ep(d+1)\le1. Then the resampling algorithm finds an assignment of Z\mathcal{Z} under which no event of A\mathcal{A} holds, after an expected number of at most ∣A∣/d|\mathcal{A}|/d resampling steps.

Each resampling step needs only a way to sample the variables and to check whether a given event holds; both are polynomial in our setting.

Asymptotic Approximation via LP Rounding

This section proves Lemma 17. Section 3.1 describes the algorithm, which samples color classes from a fractional coloring independently in the tiles of NN shifted tilings and colors the remaining vertices with the sweep, and § 3.2 analyzes it.

Heuristically, each round covers a vertex with probability at least 1/F1/F, where FF is the value of the fractional coloring, so after sFsF rounds a vertex remains with probability about e−se^{-s} and each clique Qj(v)∩PQ_j(v) \cap P keeps about e−sω≤e−sFe^{-s\omega} \le e^{-sF} vertices. The sweep then needs about ce−sFce^{-sF} colors (Lemma 7), for a total of (s+ce−s)F(s + ce^{-s})F, minimized at s=ln⁡cs = \ln c. Drawing independently per tile lets the Local Lemma bound all deviations at once by O(Flog⁡F)O(\sqrt{F\log F}).

Algorithm

Fix a cc-sweepable class, an input G=(P,E)G = (P,E) with n=∣P∣n = |P|, and a fractional coloring yy of value FF with rational entries and polynomial support, as given by Lemma 9. The algorithm has one integer parameter, the number of rounds N≥3N \ge3, which is also the side of the tiles.

Rounds. Round k∈{1,…,N}k \in\{1,\ldots,N\} uses the tiling T(N,k)\mathcal{T}(N,k), so the tiling is shifted by one unit from each round to the next and every offset modulo NN is used exactly once. Figure 3 shows the whole procedure on a small example. For each round kk and each tile TT of T(N,k)\mathcal{T}(N,k) whose interior contains a point of PP (at most nn tiles per round), independently draw a random independent set Zk,T∈I(G)Z_{k,T} \in\mathcal{I}(G) with Pr⁡[Zk,T=I]=yI/F\Pr[Z_{k,T} = I] = y_I/F.

Figure 3. Tiles of side 8, a UDG on 150 random points (edges shaded), and random maximal independent sets in place of LP draws. (a) Round 1: one independent set (large dots) per tile interior (shaded). (b) After three rounds, each covered vertex has the color of its first class (blue circles, orange triangles, green diamonds); the residual (red squares) is colored by the sweep.

Color classes. For round kk let

Ck=⋃T(Zk,T∩T∘).C_k = \bigcup_T (Z_{k,T} \cap T^\circ).

Give every vertex that lies in some CkC_k the smallest such kk as its color. Let RR be the set of remaining vertices (the residual), and color G[R]G[R] by the sweep with colors above NN.

Local lemma. For v∈Pv \in P and j∈[c]j \in[c] let Xv,j=∣Qj(v)∩P∩R∣X_{v,j} = |Q_j(v) \cap P \cap R| and let Av,jA_{v,j} be the event Xv,j≥EXv,j+tX_{v,j} \ge\mathbb{E}X_{v,j} + t, where the expectation is over independent draws and tt is fixed in § 3.2. The draws Zk,TZ_{k,T} are resampled with the Moser–Tardos algorithm until no event Av,jA_{v,j} holds. The algorithm then outputs the coloring above.

Lemma 12. Each CkC_k is an independent set, so the output is a proper coloring.

Proof. Two vertices of CkC_k in the same tile interior belong to the same independent set Zk,TZ_{k,T}. Two vertices in different interiors are at L∞L_\infty distance more than 1 by Lemma 8, so by (S1) they are not adjacent. Vertices colored in the first phase get the colors 1,…,N1,\ldots,N, one class per round. The residual gets colors above NN from a proper first-fit coloring.

Analysis

We show that the algorithm runs in expected polynomial time and bound the number of colors it uses in terms of the LP value FF. For v∈Pv \in P let Γv⊆[N]\Gamma_v \subseteq[N] be the set of rounds kk in which vv lies in the interior of its tile. The NN rounds use NN consecutive offsets, so ∣Γv∣≥N−2|\Gamma_v| \ge N-2 by Lemma 8(ii).

Lemma 13 (expectation). Let N≥sF+2N \ge sF + 2 for some s>0s > 0. Then Pr⁡[v∈R]≤e−s\Pr[v \in R] \le e^{-s} for every vv, and EXv,j≤ωe−s\mathop{\rm E}X_{v,j} \le\omega e^{-s}.

Proof. In a round k∈Γvk \in\Gamma_v, the vertex vv is covered if v∈Zk,Tv \in Z_{k,T} for its tile TT, which happens with probability ∑I∋vyI/F≥1/F\sum_{I \ni v} y_I/F \ge1/F. These events are independent over kk. Hence

Pr⁡[v∈R]≤(1−1/F)∣Γv∣≤exp⁡(−∣Γv∣/F)≤exp⁡(−(N−2)/F)≤e−s.\Pr[v \in R] \le(1-1/F)^{|\Gamma_v|} \le\exp(-|\Gamma_v|/F) \le\exp(-(N-2)/F) \le e^{-s}.

For the second claim, P∩Qj(v)P \cap Q_j(v) is a clique by (S3) and so has at most ω\omega vertices.

Lemma 14 (concentration). Pr⁡[Av,j]≤exp⁡(−2t2/N)\Pr[A_{v,j}] \le\exp(-2t^2/N). Moreover Av,jA_{v,j} is determined by the draws Zk,TZ_{k,T} with T∘∩Qj(v)∩P≠∅T^\circ\cap Q_j(v) \cap P \ne\varnothing, of which there is at most one for each round kk.

Proof. Let Q=Qj(v)∩PQ = Q_j(v) \cap P. Since diam⁡∞(Qj(v))≤1\operatorname{diam}_\infty(Q_j(v)) \le1 and interiors of different tiles of one round are at L∞L_\infty distance more than 1 (Lemma 8(i)), the set QQ meets at most one interior Tk∘T_k^\circ per round. A vertex u∈Qu \in Q is covered if and only if u∈Zk,Tku \in Z_{k,T_k} for some round kk with u∈Tk∘u \in T_k^\circ. So Xv,j=∣Q∩R∣X_{v,j} = |Q \cap R| is a function of the at most NN independent variables Zk,TkZ_{k,T_k}. Changing one of them, say from II to I′I', changes the coverage in round kk only for the vertices of I∩Q∩Tk∘I \cap Q \cap T_k^\circ and I′∩Q∩Tk∘I' \cap Q \cap T_k^\circ. Each of these sets has at most one vertex, because QQ is a clique and I,I′I,I' are independent. The first vertex may become uncovered and the second may become covered, so Xv,jX_{v,j} changes by at most 1. Lemma 10 applies.

Lemma 15 (dependency). Each event Av,jA_{v,j} shares variables with fewer than c(4N+5)2ωc(4N+5)^2\omega other events.

Proof. If Av,jA_{v,j} and Av′,j′A_{v',j'} share a variable Zk,TZ_{k,T}, then there are q∈Qj(v)∩T∘q \in Q_j(v)\cap T^\circ and q′∈Qj′(v′)∩T∘q' \in Q_{j'}(v')\cap T^\circ. Since diam⁡∞(T∘)≤N−1\operatorname{diam}_\infty(T^\circ) \le N-1 (Figure 4) and each QQ-set contains its apex and has diameter at most 1, we get ∥v−v′∥∞≤∥v−q∥∞+∥q−q′∥∞+∥q′−v′∥∞≤1+(N−1)+1=N+1\|v-v'\|_\infty\le\|v-q\|_\infty+\|q-q'\|_\infty+\|q'-v'\|_\infty\le1+(N-1)+1=N+1. The square [xv−N−1,xv+N+1]×[yv−N−1,yv+N+1][x_v-N-1,x_v+N+1]\times[y_v-N-1,y_v+N+1] is covered by (4N+5)2(4N+5)^2 half-open cells of side $1/2. Each cell has L∞L_\infty-diameter at most 1/21/2, so by (S2) it contains at most ω\omega points of PP. Each such v′v' creates events, and this count includes Av,jA_{v,j} itself.

We now fix the parameters, choosing tt so that each event has probability at most e−me^{-m} with m≈ln⁡d0m \approx\ln d_0, as Lemma 11 needs. Let s>0s>0 be a rational number and set

N=⌈sF⌉+2,d0=c(4N+5)2F,m=1+⌈710log⁡2d0⌉,t=mN2.N=\lceil sF\rceil+2,\qquad d_0=c(4N+5)^2F,\qquad m=1+\left\lceil\frac{7}{10}\log_2 d_0\right\rceil,\qquad t=\sqrt{\frac{mN}{2}}.

All of these are computed exactly from the rational numbers ss and FF: mm is the least integer with 210(m−1)≥d072^{10(m-1)} \ge d_0^7. Since 710>ln⁡2\frac{7}{10}>\ln2, we have 710log⁡2d0≥ln⁡d0\frac{7}{10}\log_2 d_0 \ge\ln d_0, and therefore

1+ln⁡d0≤m≤2+710log⁡2d0.1+\ln d_0 \le m \le2+\frac{7}{10}\log_2 d_0.

Figure 4. Proof of Lemma 15: if Qj(v)Q_j(v) and Qj′(v′)Q_{j'}(v') meet the same T∘T^\circ, then ∥v−v′∥∞≤N+1\lVert v-v'\rVert_\infty\le N+1.

Lemma 16. For every rational s>0s>0, the algorithm with these parameters terminates in expected polynomial time and uses at most

(s+ce−s)F+cmN/2+4−c(s+ce^{-s})F+c\sqrt{mN/2}+4-c

colors.

Proof. By Lemmas 14 and 15, every event has probability at most p=exp⁡(−2t2/N)=e−m≤1/(ed0)p=\exp(-2t^2/N)=e^{-m}\le1/(e d_0) and, since the integer c(4N+5)2ωc(4N+5)^2\omega is at most d0d_0, shares variables with at most d:=⌊d0⌋−1d:=\lfloor d_0\rfloor-1 others, where d≥1d\ge1 since d0≥2⋅172d_0\ge2\cdot17^2, so ep(d+1)≤1ep(d+1)\le1. There are cncn events and at most nNnN variables, each sampled from an explicit distribution with polynomial support. Each event can be evaluated exactly: EXv,j=∑u∈Qj(v)∩P(1−∑I∋uyI/F)∣Γu∣\mathop{\mathrm{E}}X_{v,j}=\sum_{u\in Q_j(v)\cap P}(1-\sum_{I\ni u}y_I/F)^{|\Gamma_u|} is a rational number of polynomial size, and since t2=mN/2t^2=mN/2 is rational, the comparison with tt is exact after squaring. By Lemma 11, the resampling stops after an expected polynomial number of steps with no event Av,jA_{v,j} holding.

Then Xv,j<EXv,j+tX_{v,j}<\mathop{\mathrm{E}}X_{v,j}+t for all vv and jj. Every v∈Rv\in R belongs to Qj(v)∩RQ_j(v)\cap R for all jj, so by Lemma 7 the residual uses at most 1+∑j(Xv,j−1)1+\sum_j(X_{v,j}-1) colors for the worst v∈Rv\in R. Lemma 13 applies because N≥sF+2N\ge sF+2, so the total number of colors is at most

N+1−c+c(ωe−s+t)≤sF+4−c+ce−sF+ct,N+1-c+c(\omega e^{-s}+t)\le sF+4-c+ce^{-s}F+ct,

where we used N≤sF+3N\le sF+3 and ω≤F\omega\le F.

Lemma 17. Let C\mathcal{C} be a cc-sweepable class. For every ε∈(0,1]\varepsilon\in(0,1] there is a randomized algorithm with expected polynomial running time that colors every G∈CG\in\mathcal{C} with at most (1+ln⁡c+ε)χf(G)+Kε(1+\ln c+\varepsilon)\chi_f(G)+K_\varepsilon colors, where KεK_\varepsilon depends only on cc and ε\varepsilon.

Proof. Fix a rational number ss with ln⁡c≤s≤ln⁡c+ε/4\ln c\le s\le\ln c+\varepsilon/4, so that s+ce−s≤s+1≤1+ln⁡c+ε/4s+ce^{-s}\le s+1\le1+\ln c+\varepsilon/4. Compute yy by Lemma 9 with F≤(1+δ)χfF\le(1+\delta)\chi_f, where δ=ε/(2(2+ln⁡c))\delta=\varepsilon/(2(2+\ln c)), and run the algorithm of Section 3.1. In the bound of Lemma 16 we have N≤sF+3≤(s+3)FN\le sF+3\le(s+3)F and d0≤c(4s+17)2F3d_0\le c(4s+17)^2F^3, so m≤γ+2.1log⁡2F≤γ+3.1ln⁡Fm\le\gamma+2.1\log_2F\le\gamma+3.1\ln F with γ=2+710log⁡2(c(4s+17)2)\gamma=2+\frac{7}{10}\log_2(c(4s+17)^2). With λ=c2(s+3)/2\lambda=c^2(s+3)/2, the AM–GM inequality, and ln⁡F≤F/θ+ln⁡θ−1\ln F\le F/\theta+\ln\theta-1 for θ=49.6λ/ε2\theta=49.6\lambda/\varepsilon^2,

cmN/2≤λF(γ+3.1ln⁡F)≤εF8+2λ(γ+3.1ln⁡F)ε≤εF4+K′,c\sqrt{mN/2}\le\sqrt{\lambda F(\gamma+3.1\ln F)}\le\frac{\varepsilon F}{8}+\frac{2\lambda(\gamma+3.1\ln F)}{\varepsilon}\le\frac{\varepsilon F}{4}+K',
K′=2λε(γ+3.1ln⁡50λε2),K'=\frac{2\lambda}{\varepsilon}\left(\gamma+3.1\ln\frac{50\lambda}{\varepsilon^2}\right),

Figure 5. Lemmas 18 and 19: slabs alternate palettes; earlier neighbors of pp lie in six cells.

an explicit constant that depends only on cc and ε\varepsilon. As 4−c≤24-c\le2, the algorithm uses at most

(1+ln⁡c+ε/2)F+K′+2≤(1+ln⁡c+ε/2)(1+δ)χf+K′+2≤(1+ln⁡c+ε)χf+K′+2(1+\ln c+\varepsilon/2)F+K'+2\le(1+\ln c+\varepsilon/2)(1+\delta)\chi_f+K'+2\le(1+\ln c+\varepsilon)\chi_f+K'+2

colors, because (1+ln⁡c+ε/2)δ≤(2+ln⁡c)δ=ε/2(1+\ln c+\varepsilon/2)\delta\le(2+\ln c)\delta=\varepsilon/2.

The bound of Lemma 16 holds for every FF, so no separate treatment of small FF is needed. As ss tends to ln⁡c\ln c it becomes (1+ln⁡c)F+O(Flog⁡F)(1+\ln c)F+O(\sqrt{F}\log F); the ε\varepsilon of Lemma 17 pays only for the LP, for a rational ss, and for this lower-order term. For unit disk graphs, Lemma 17 gives the constant 1+ln⁡31+\ln3, which Section 5 lowers to that of Theorem 2.

A 2.1-Approximation Algorithm

This section removes the additive constant of Lemma 17 for classes with c≥3c\ge3 (Lemma 20), which gives a 2.1-approximation for unit disk graphs and for translates of a convex polygon. The additive constant KεK_\varepsilon of Lemma 17 is at most εχf\varepsilon\chi_f once χf≥Kε/ε\chi_f\ge K_\varepsilon/\varepsilon. So it matters only when χf\chi_f, and hence ω≤χf\omega\le\chi_f, is below a constant, and it remains to color graphs of bounded clique number. Inside a vertical slab of bounded width, sorted by yy, such a graph has bounded bandwidth, so it can be colored optimally in polynomial time [1].

Lemma 18 (coloring a slab). Let G\mathcal{G} be a cc-sweepable class and let W≥1W\ge1 be an integer. There is an algorithm that, given an integer C≥1C\ge1 and a graph G∈GG\in\mathcal{G} on nn points with ω(G)≤C\omega(G)\le C that lie in a vertical slab a≤x<a+Wa\le x<a+W, computes an optimal coloring of GG in O(nlog⁡n)+2O(WClog⁡(WC))nO(n\log n)+2^{O(WC\log(WC))}n time.

Proof. Order the points by yy-coordinate, breaking ties arbitrarily. If qq precedes pp and qpqp is an edge, then by (S1) the points qq, pp, and all points between them lie in [a,a+W)×[yp−1,yp][a,a+W)\times[y_p-1,y_p], which is covered by 6W6W half-open cells of side 1/21/2 (Figure 5) and so contains at most b=6WCb=6WC points by (S2); so every earlier neighbor of pp is among the b−1b-1 points preceding it. Hence first-fit in this order uses at most bb colors, and for each k≤bk\le b, dynamic programming along the order that keeps the kk-colorings of the last b−1b-1 points that extend to all earlier points decides whether GG is kk-colorable; the least such kk gives an optimal coloring. Sorting takes O(nlog⁡n)O(n\log n) time, and for each kk the dynamic program keeps at most kb−1k^{b-1} colorings and tries kk colors at each point, each checked against the b−1b-1 predecessors with its adjacency list, of length less than 25C25C by (S1) and (S2), so all k≤bk\le b take 2O(WClog⁡(WC))n2^{O(WC\log(WC))}n time. ◀

Two alternating palettes on slabs of width 1 then lose only a factor 2.

Lemma 19 (slabs). Let G\mathcal{G} be a cc-sweepable class. There is an algorithm that, given an integer C≥1C\ge1 and a graph G∈GG\in\mathcal{G} on nn points with ω(G)≤C\omega(G)\le C, colors GG with at most 2χ(G)2\chi(G) colors in O(nlog⁡n)+2O(Clog⁡C)nO(n\log n)+2^{O(C\log C)}n time.

Proof. By (S1), no edge joins the slabs Pi={p∈P:i≤xp<i+1}P_i = \{p \in P : i \le x_p < i + 1\} and Pi′P_{i'} if ∣i−i′∣≥2|i-i'| \ge2. So coloring each G[Pi]G[P_i] optimally by Lemma 18 with W=1W=1, from one palette if ii is even and another if ii is odd, gives at most 2max⁡iχ(G[Pi])≤2χ(G)2\max_i \chi(G[P_i]) \le2\chi(G) colors.

Lemma 20. Let GG be a cc-sweepable class with c≥3c \ge3. For every ε∈(0,1]\varepsilon\in(0,1] there is a randomized algorithm with expected polynomial running time that colors every G∈GG \in\mathcal{G} with at most (1+ln⁡c+ε)χ(G)(1+\ln c+\varepsilon)\chi(G) colors.

Proof. Let K=Kε/2=K′+2K=K_{\varepsilon/2}=K'+2 be the explicit constant of Lemma 17 and let C≥4K/εC \ge4K/\varepsilon be an integer. Compute a fractional coloring of value F≤2χfF \le2\chi_f by Lemma 9. If F≥CF \ge C, then χf≥2K/ε\chi_f \ge2K/\varepsilon, and the algorithm of Lemma 17 uses at most (1+ln⁡c+ε/2)χf+K≤(1+ln⁡c+ε)χf≤(1+ln⁡c+ε)χ(1+\ln c+\varepsilon/2)\chi_f+K \le(1+\ln c+\varepsilon)\chi_f \le(1+\ln c+\varepsilon)\chi colors. Otherwise ω≤χf≤F<C\omega\le\chi_f \le F < C, and Lemma 19 gives at most 2χ≤(1+ln⁡c)χ2\chi\le(1+\ln c)\chi colors, because ln⁡c≥ln⁡3>1\ln c \ge\ln3 > 1.

By Lemma 6, Lemma 20 with c=3c=3 and ε=1/1000\varepsilon=1/1000 colors every unit disk graph with at most (1+ln⁡3+1/1000)χ<2.0997χ(1+\ln3+1/1000)\chi< 2.0997\chi colors.

Translates of a Convex Polygon

This subsection shows that intersection graphs of translates of a convex polygon are 3-sweepable after a linear change of coordinates, which extends Lemmas 17 and 20 and Theorem 26 with c=3c=3 to them and proves Theorem 3. Let M⊂R2M \subset\mathbb{R}^2 be a convex polygon with non-empty interior, and let P⊂R2P \subset\mathbb{R}^2 be finite. The intersection graph of the translates M+pM+p, p∈Pp \in P, has an edge pqpq if and only if p−qp-q lies in B:=M−M={x−y:x,y∈M}B := M-M = \{x-y : x,y \in M\}. The set BB is a convex polygon that is symmetric about the origin, and unit disk and unit square graphs are defined in the same way with a disk or a square as BB. A sweep gives χ≤3ω−2\chi\le3\omega-2 for these graphs [19], which is a 3-approximation; we are not aware of a smaller ratio. If MM is a parallelogram, a linear map turns the graphs into unit square graphs.

Lemma 21 (implicit in [19, Theorem 8]). After a linear change of coordinates that depends only on MM, the intersection graphs of translates of MM form a 3-sweepable class.

Proof. Let e1,e2e_1,e_2 be vertices of BB that maximize ∣det⁡(e1,e2)∣|\det(e_1,e_2)|; the maximum of ∣det⁡(x,y)∣|\det(x,y)| over x,y∈Bx,y \in B is attained at vertices. Apply the linear map that takes e1,e2e_1,e_2 to (1,0),(0,1)(1,0),(0,1). In the new coordinates, every w∈Bw \in B has ∣xw∣=∣det⁡(w,e2)∣/∣det⁡(e1,e2)∣≤1|x_w|=|\det(w,e_2)|/|\det(e_1,e_2)| \le1 and likewise ∣yw∣≤1|y_w| \le1, so B⊆[−1,1]2B \subseteq[-1,1]^2, which is (S1). Moreover BB contains the convex hull of ±e1,±e2\pm e_1,\pm e_2, hence the square [−12,12]2[-\frac{1}{2},\frac{1}{2}]^2, which is (S2).

For (S3), let ≺\prec be the lexicographic order on (x,y)(x,y), as in Lemma 6. Let H={w∈B:xw≤0}H=\{w \in B:x_w \le0\}, so that every neighbor u≺vu \prec v of vv lies in v+Hv+H, and define

Q1(v)=v+{w∈H:w−e2∈B},Q3(v)=v+{w∈H:w+e2∈B},Q_1(v)=v+\{w \in H:w-e_2 \in B\}, \qquad Q_3(v)=v+\{w \in H:w+e_2 \in B\},
Q2(v)=v+({0}∪{w∈H:w+e2∉B, w−e2∉B}).Q_2(v)=v+\left(\{0\}\cup\{w \in H:w+e_2 \notin B,\ w-e_2 \notin B\}\right).

These sets contain vv and cover v+Hv+H (Figure 6), and membership is decided by linear inequalities. Let H1,H2,H3⊆HH_1,H_2,H_3 \subseteq H be the sets with Qj(v)=v+HjQ_j(v)=v+H_j. Since B⊆[−1,1]2B \subseteq[-1,1]^2, it suffices to show that w−w′∈Bw-w' \in B whenever w,w′∈Hjw,w' \in H_j for some jj: then P∩Qj(v)P \cap Q_j(v) is a clique and diam⁡∞(Qj(v))≤1\operatorname{diam}_{\infty}(Q_j(v)) \le1. This is the content of Claims 3.1–3.3 in the proof of [19, Theorem 8]; we give a self-contained proof.

Figure 6. The sets HjH_j, with Qj(v)=v+HjQ_j(v)=v+H_j, and the points b0b_0, b1b_1 of the proof of Lemma 21. (a) For the triangle MM with vertices (0,0)(0,0), (1,0)(1,0), (1,1)(1,1), the hexagon BB is that of Figure 7(a), and the cones ∠(e2,b1)\angle(e_2,b_1), ∠(b1,b0)\angle(b_1,b_0), ∠(b0,−e2)\angle(b_0,-e_2) are the three triangles. (b) For disks the sets HjH_j are curved, unlike the sectors of Figure 2(c), and H2H_2 lies strictly inside the cone ∠(b1,b0)\angle(b_1,b_0) (dashed rays).

Let ∥x∥=min⁡{λ≥0:x∈λB}\lVert x\rVert=\min\{\lambda\ge0:x \in\lambda B\} be the norm with unit ball BB, so that w−w′∈Bw-w' \in B if and only if ∥w−w′∥≤1\lVert w-w'\rVert\le1, and x↦∥x−q∥x \mapsto\lVert x-q\rVert is convex for every qq. The vertices ±e1\pm e_1 and ±e2\pm e_2 of BB have norm 1, and 0 is an interior point of BB. We use one inequality: if two segments [p,p′][p,p'] and [q,q′][q,q'] meet at a point zz, then the triangle inequality at zz gives

∥p−p′∥+∥q−q′∥=∥p−z∥+∥z−p′∥+∥q−z∥+∥z−q′∥≥max⁡{∥p−q∥+∥p′−q′∥, ∥p−q′∥+∥q−p′∥}.\|p-p'\|+\|q-q'\|=\|p-z\|+\|z-p'\|+\|q-z\|+\|z-q'\| \ge\max\{\|p-q\|+\|p'-q'\|,\ \|p-q'\|+\|q-p'\|\}.

The set H1H_1. Let w,w′∈H1w,w'\in H_1. The claim is immediate if ww or w′w' is 00 or e2e_2, so assume not. Since w−e2∈B⊆[−1,1]2w-e_2\in B\subseteq[-1,1]^2, we have yw≥0y_w\ge0, and likewise yw′≥0y_{w'}\ge0, so the four points 0,e2,w,w′0,e_2,w,w' lie in the strip {x≤0, 0≤y≤1}\{x\le0,\ 0\le y\le1\}, of which 00 and e2e_2 are corners. A corner of the strip lies in the convex hull of other points of the strip only if it is one of them, so neither 00 nor e2e_2 lies in the convex hull of the other three points. If ww lies in the convex hull of 0,e2,w′0,e_2,w', then by convexity ∥w−w′∥≤max⁡{∥0−w′∥,∥e2−w′∥,0}≤1\|w-w'\|\le\max\{\|0-w'\|,\|e_2-w'\|,0\}\le1, and likewise if w′w' lies in the convex hull of 0,e2,w0,e_2,w. Otherwise the four points are the vertices of a convex quadrilateral. Its diagonals cross, so 00 and e2e_2 are not opposite vertices, as ww and w′w' would then lie strictly on opposite sides of the yy-axis. So the diagonals are [0,r][0,r] and [e2,r′][e_2,r'] with {r,r′}={w,w′}\{r,r'\}=\{w,w'\}, and the inequality above gives 2≥∥r∥+∥e2−r′∥≥∥e2∥+∥r−r′∥=1+∥w−w′∥2\ge\|r\|+\|e_2-r'\|\ge\|e_2\|+\|r-r'\|=1+\|w-w'\|. The same argument with −e2-e_2 in place of e2e_2 and the strip {x≤0,−1≤y≤0}\{x\le0,-1\le y\le0\} applies to H3H_3.

The set H2H_2. The set B∩(B−e2)B\cap(B-e_2) contains (−12,−12)(-\frac12,-\frac12); let b0b_0 be one of its points with the least xx-coordinate, so xb0≤−12x_{b_0}\le-\frac12, and let b1=b0+e2b_1=b_0+e_2. We first show that b0b_0 and b1b_1 lie on the boundary of BB. For x∈[−1,1]x\in[-1,1] let ℓ(x)\ell(x) be the length of the vertical chord {y:(x,y)∈B}\{y:(x,y)\in B\} of BB; it is concave by convexity of BB, and ℓ(x)<1\ell(x)<1 for x<xb0x<x_{b_0} by the choice of b0b_0. The chord at xb0x_{b_0} contains b0b_0 and b1b_1, which are at vertical distance 1. If xb0=−1x_{b_0}=-1, then b0b_0 and b1b_1 are on the boundary of B⊆[−1,1]2B\subseteq[-1,1]^2. Otherwise ℓ\ell is continuous at the interior point xb0x_{b_0}, so ℓ(xb0)≤1\ell(x_{b_0})\le1, the chord at xb0x_{b_0} is the segment [b0,b1][b_0,b_1], and its endpoints lie on the boundary of BB. Hence ∥b0∥=∥b1∥=∥b1−b0∥=1\|b_0\|=\|b_1\|=\|b_1-b_0\|=1.

For p,q∈R2p,q\in\mathbb{R}^2 let ∠(p,q)={λp+μq:λ,μ≥0}\angle(p,q)=\{\lambda p+\mu q:\lambda,\mu\ge0\}. As xb1=xb0<0x_{b_1}=x_{b_0}<0 and yb1>yb0y_{b_1}>y_{b_0}, the half-plane {x≤0}\{x\le0\} is the union of ∠(e2,b1)\angle(e_2,b_1), ∠(b1,b0)\angle(b_1,b_0), and ∠(b0,−e2)\angle(b_0,-e_2). We show that B∩∠(e2,b1)⊆H1B\cap\angle(e_2,b_1)\subseteq H_1. Let w∈B∩∠(e2,b1)w\in B\cap\angle(e_2,b_1). If ww lies in the triangle with vertices 0,e2,b10,e_2,b_1, then ∥w−e2∥≤max⁡{∥e2∥,0,∥b1−e2∥}=1\|w-e_2\|\le\max\{\|e_2\|,0,\|b_1-e_2\|\}=1 by convexity. Otherwise the segment [0,w][0,w] crosses [e2,b1][e_2,b_1], and the inequality above gives ∥w∥+∥e2−b1∥≥∥b1∥+∥e2−w∥\|w\|+\|e_2-b_1\|\ge\|b_1\|+\|e_2-w\|, so ∥w−e2∥≤1\|w-e_2\|\le1. In the same way, using ∥b0∥=∥−e2−b0∥=1\|b_0\|=\|-e_2-b_0\|=1, we get B∩∠(b0,−e2)⊆H3B\cap\angle(b_0,-e_2)\subseteq H_3. Therefore H2⊆B∩∠(b1,b0)H_2\subseteq B\cap\angle(b_1,b_0).

It remains to show that ∥u−u′∥≤1\|u-u'\|\le1 for u,u′∈B∩∠(b1,b0)u,u'\in B\cap\angle(b_1,b_0). This set is convex and ∥u−u′∥\|u-u'\| is convex in uu and in u′u', so we may assume that uu and u′u' are extreme points of the set. Since ∥u∥≤1\|u\|\le1 for every u∈Bu\in B, we may also assume that u,u′≠0u,u'\ne0, so uu and u′u' lie on the boundary of BB, and after exchanging them, u∈∠(b1,b0)u\in\angle(b_1,b_0) and u′∈∠(u,b0)u'\in\angle(u,b_0). Let p∈B∩∠(b1,b0)p\in B\cap\angle(b_1,b_0) and let q∈∠(p,b0)q\in\angle(p,b_0) lie on the boundary of BB. The ray from 00 through qq meets the segment [p,b0]⊆B[p,b_0]\subseteq B, and since 00 is an interior point of BB, the points of BB on this ray form the segment [0,q][0,q]. So [0,q][0,q] meets [p,b0][p,b_0], and the inequality above gives ∥q∥+∥p−b0∥≥max⁡{∥p∥+∥q−b0∥, ∥b0∥+∥p−q∥}\|q\|+\|p-b_0\|\ge\max\{\|p\|+\|q-b_0\|,\ \|b_0\|+\|p-q\|\}. With (p,q)=(b1,u)(p,q)=(b_1,u) this gives ∥u−b0∥≤∥b1−b0∥=1\|u-b_0\|\le\|b_1-b_0\|=1, and with (p,q)=(u,u′)(p,q)=(u,u') it gives ∥u−u′∥≤∥u−b0∥≤1\|u-u'\|\le\|u-b_0\|\le1.

By Lemma 21, Lemma 20 with c=3c=3 and ε=1/1000\varepsilon=1/1000 colors every intersection graph of translates of a convex polygon with at most (1+ln⁡3+1/1000)χ<2.0997χ(1+\ln3+1/1000)\chi<2.0997\chi colors.

A 2.05-Approximation Algorithm

This section lowers the leading constant $1+\ln c$ of Lemma 17. The algorithm of § 3.1 colors the residual with colors above NN. We now color G[R]G[R] instead by first-fit in the order ≺\prec of (S3) in Definition 5 (for unit disks, the lexicographic order on (x,y)(x,y)), giving each $v\in R the smallest positive integer that is not the color of an already colored neighbor, including the neighbors colored in the first phase. So a residual vertex may receive a color k≤Nk \le N that none of its neighbors received. The algorithm is otherwise unchanged, except that the Local Lemma step also controls the number of such colors.

Neighborhood independence. A class of graphs has neighborhood independence at most aa if, for every graph GG in the class and every vertex vv, every independent set of GG contained in the neighborhood NG(v)N_G(v) has at most aa vertices. Unit disk graphs have neighborhood independence at most 5 (Figure 7(c)). Indeed, a neighbor at the same point as vv is adjacent to every other neighbor of vv, and two neighbors uu, ww of vv at other points that make an angle of at most 60∘60^\circ at vv satisfy ∥u−w∥2≤max⁡{∥u−v∥2,∥w−v∥2}≤1\lVert u-w\rVert_2 \le\max\{\lVert u-v\rVert_2,\lVert w-v\rVert_2\} \le1. So the vertices of an independent set in NG(v)N_G(v) with at least two vertices make pairwise angles larger than 60∘60^\circ at vv, and there are at most 5 of them. Intersection graphs of translates of a convex polygon have neighborhood independence at most 5 as well, as we show at the end of this section.

Figure 7. (a) B=M−MB=M-M for a triangle MM, between [−12,12]2[-\frac{1}{2},\frac{1}{2}]^2 and [−1,1]2[-1,1]^2. (b) The cliques Qj(v)Q_j(v). Independent neighbors of vv: (c) disks, >60∘>60^\circ apart; (d) squares, one per quadrant.

Free colors. Fix a cc-sweepable class with neighborhood independence at most aa. For v∈Pv \in P let U(v)U(v) be the number of colors k∈[N]k \in[N] that no neighbor of vv receives in the first phase; we call them free for vv.

Lemma 22. The coloring is proper and uses at most N+max⁡{0,max⁡v∈R(1+∑j=1c(Xv,j−1)−U(v))}N+\max\{0,\max_{v\in R}(1+\sum_{j=1}^{c}(X_{v,j}-1)-U(v))\} colors.

Proof. The first phase is proper by Lemma 12, and first-fit keeps the coloring proper. When v∈Rv \in R is colored, its neighbors colored in the first phase carry the N−U(v)N-U(v) colors of [N][N] that are not free for vv. Its neighbors in RR colored before it lie in ⋃j(Qj(v)∩R)∖{v}\bigcup_j(Q_j(v) \cap R) \setminus\{v\} by (S3), so there are at most ∑j(Xv,j−1)\sum_j(X_{v,j}-1) of them. Hence at most N−U(v)+∑j(Xv,j−1)N-U(v)+\sum_j(X_{v,j}-1) colors are excluded for vv, and vv receives a color of at most one more.

Color k≥4k \ge4 is free for vv if and only if the at most aa neighbors of vv in CkC_k, which depend only on round kk, are all covered in earlier rounds. Each of them is covered before round kk with probability at least 1−e−(k−3)/F1-e^{-(k-3)/F}, and a Poisson coupling, which costs the last term below, and Harris’ inequality give the product bound.

Lemma 23. For every v∈Pv \in P,

EU(v)≥∑k=4N(1−e−(k−3)/F)a−a2N22F2.\mathop{\mathbb{E}}U(v) \ge\sum_{k=4}^{N}\left(1-e^{-(k-3)/F}\right)^a-\frac{a^2N^2}{2F^2}.

Proof. Fix a round k≥4k \ge4 and let S=NG(v)∩CkS=N_G(v) \cap C_k. A neighbor of vv receives color kk if and only if it lies in CkC_k and in no earlier CjC_j, so kk is free for vv if and only if every vertex of SS lies in C1∪⋯∪Ck−1C_1 \cup\cdots\cup C_{k-1}. The set SS is independent, so it has at most aa vertices, and it depends only on the draws of round kk, which are independent of the draws of the earlier rounds. It therefore suffices to show, for every fixed independent set S⊆NG(v)S \subseteq N_G(v) with h≤ah \le a vertices, that S⊆C1∪⋯∪Ck−1S \subseteq C_1 \cup\cdots\cup C_{k-1} with probability at least (1−e−(k−3)/F)h−(k−1)h2/F2\left(1-e^{-(k-3)/F}\right)^h-(k-1)h^2/F^2. This is at least (1−e−(k−3)/F)a−(k−1)a2/F2\left(1-e^{-(k-3)/F}\right)^a-(k-1)a^2/F^2, and summing over kk with ∑k(k−1)≤N2/2\sum_k(k-1) \le N^2/2 gives the lemma.

As in the proof of Lemma 13, a vertex uu lies in CjC_j with probability pu,j≥1/Fp_{u,j} \ge1/F for every j∈Γuj \in\Gamma_u. For j<kj<k, let DjD_j contain each u∈S∩Cju \in S \cap C_j with j∈Γuj \in\Gamma_u independently with probability 1/(Fpu,j)1/(Fp_{u,j}). Then D1,…,Dk−1D_1,\ldots,D_{k-1} are independent, Pr⁡[u∈Dj]=1/F\Pr[u \in D_j]=1/F if j∈Γuj \in\Gamma_u and 00 otherwise, qj:=Pr⁡[Dj≠∅]≤h/Fq_j:=\Pr[D_j\ne\varnothing]\le h/F, and it suffices to bound the probability that S⊆D1∪⋯∪Dk−1S \subseteq D_1\cup\cdots\cup D_{k-1}. For ∅≠J⊆S\varnothing\ne J\subseteq S let rj,J=Pr⁡[Dj=J]r_{j,J}=\Pr[D_j=J], and let Yj,JY_{j,J} be independent Poisson variables with means rj,Jr_{j,J}. For each jj, the sum ∑JYj,J\sum_JY_{j,J} is Poisson with mean qjq_j, and given that it is 11, the unique JJ with Yj,J=1Y_{j,J}=1 has the law of DjD_j given Dj≠∅D_j\ne\varnothing. The total variation distance between the Bernoulli and the Poisson distribution with mean qq is q(1−e−q)≤q2q(1-e^{-q})\le q^2. So DjD_j and (Yj,J)J(Y_{j,J})_J can be coupled, independently over jj, such that with probability at least 1−h2/F21-h^2/F^2 either Dj=∅D_j=\varnothing and all Yj,JY_{j,J} vanish, or Dj=JD_j=J, Yj,J=1Y_{j,J}=1, and all other Yj,J′Y_{j,J'} vanish.

Outside an event of probability at most (k−1)h2/F2(k-1)h^2/F^2, therefore, S⊆D1∪⋯∪Dk−1S\subseteq D_1\cup\cdots\cup D_{k-1} holds if and only if, for every u∈Su\in S, some Yj,JY_{j,J} with j<kj<k and J∋uJ\ni u is positive. These hh events are increasing in the independent indicator variables [Yj,J≥1][Y_{j,J}\ge1], so by Harris’ inequality [14] their intersection has probability at least the product of their probabilities. The event for uu fails with probability ∏j<k∏J∋ue−rj,J=exp⁡(−∑j<kPr⁡[u∈Dj])=exp⁡(−∣Γu∩[k−1]∣/F)\prod_{j<k}\prod_{J\ni u}e^{-r_{j,J}}=\exp\left(-\sum_{j<k}\Pr[u\in D_j]\right)=\exp\left(-|\Gamma_u\cap[k-1]|/F\right), which is at most e−(k−3)/Fe^{-(k-3)/F} because ∣Γu∩[k−1]∣≥k−3|\Gamma_u\cap[k-1]|\ge k-3 by Lemma 8(ii).

Lemma 24. U(v)U(v) is determined by the draws Zk,TZ_{k,T} with T∘∩NG(v)≠∅T^\circ\cap N_G(v)\ne\varnothing, of which there are at most four for each round kk, and Pr⁡[U(v)≤EU(v)−t′]≤exp⁡(−t′/(2(2a+1)2N))\Pr[U(v)\le\mathbb{E}U(v)-t']\le\exp(-t'/(2(2a+1)^2N)) for every t′≥0t'\ge0.

Proof. By (S1), NG(v)N_G(v) lies in v+[−1,1]2v+[-1,1]^2. In each coordinate, the interiors of a tiling T(N,k)\mathcal{T}(N,k) are intervals of length N−1≥2N-1\ge2 separated by gaps of length 11, so an interval of length 22 meets at most two of them, and v+[−1,1]2v+[-1,1]^2 meets at most four interiors. The first-phase color of a neighbor uu of vv depends only on the draws for the tiles whose interiors contain uu. Changing one draw Zk,TZ_{k,T} from II to I′I' changes the first-phase color only of vertices in (I∪I′)∩T∘(I \cup I') \cap T^\circ, and at most 2a2a of them are neighbors of vv, because I∩NG(v)I \cap N_G(v) and I′∩NG(v)I' \cap N_G(v) are independent. Each of these changes its color from or to kk, so the set of neighbors of vv with a given color changes for at most 2a+12a+1 colors, and U(v)U(v) changes by at most 2a+12a+1. Lemma 10 applied to −U(v)/(2a+1)-U(v)/(2a+1), a function of at most 4N4N independent variables, gives the bound.

Parameters. With ss, NN, mm, and tt as in Section 3.2, but d0=(c+1)(4N+5)2Fd_0=(c+1)(4N+5)^2F, let

β=∑k=4N(1−(1+1/F)3−k)a−a2N22F2,t′=(2a+1)2mN.\beta=\sum_{k=4}^{N}\left(1-(1+1/F)^{3-k}\right)^a-\frac{a^2N^2}{2F^2},\qquad t'=(2a+1)\sqrt{2mN}.

Since (1+1/F)k−3≤e(k−3)/F(1+1/F)^{k-3}\le e^{(k-3)/F}, we have β≤EU(v)\beta\le EU(v) by Lemma 23. For every v∈Pv\in P let EvE_v be the event U(v)≤β−t′U(v)\le\beta-t'; by Lemma 24 it has probability at most e−me^{-m}. The Moser–Tardos algorithm now resamples the draws until none of the events Av,jA_{v,j} and EvE_v holds. For

Φa(s)=∫0s(1−e−x)a dx\Phi_a(s)=\int_0^s(1-e^{-x})^a\,dx

let

κc,a(s)=s+max⁡{0,ce−s−Φa(s)}.\kappa_{c,a}(s)=s+\max\{0,ce^{-s}-\Phi_a(s)\}.

Lemma 25. For every rational s∈(0,2]s\in(0,2] and F≥3F\ge3, the algorithm with these parameters terminates in expected polynomial time and uses at most

κc,a(s)F+cmN/2+(2a+1)2mN+4+12(a+a2)(s+3/F)2\kappa_{c,a}(s)F+c\sqrt{mN}/2+(2a+1)\sqrt{2mN}+4+\frac{1}{2}(a+a^2)(s+3/F)^2

colors.

Proof. The event EvE_v is determined by the draws for tiles whose interiors meet NG(v)N_G(v), and every point of NG(v)N_G(v) is within L∞L_\infty distance 1 of vv, so the proof of Lemma 15 shows that each event shares variables with fewer than (c+1)(4N+5)2ω≤d0(c+1)(4N+5)^2\omega\le d_0 others. As in the proof of Lemma 16, ep(d+1)≤1ep(d+1)\le1 with p=e−mp=e^{-m}, and each event EvE_v is evaluated exactly, since β\beta and t′2t'^2 are rational. So the resampling stops after an expected polynomial number of steps, with Xv,j<EXv,j+t≤ωe−s+tX_{v,j}<EX_{v,j}+t\le\omega e^{-s}+t and U(v)>β−t′U(v)>\beta-t' for all vv and jj. By Lemma 22 and N≤sF+3N\le sF+3, ω≤F\omega\le F, the number of colors is at most

sF+3+max⁡{0,ce−sF−β}+ct+t′.sF+3+\max\{0,ce^{-s}F-\beta\}+ct+t'.

It remains to bound β\beta from below. From ln⁡(1+u)≥u−u2/2\ln(1+u)\ge u-u^2/2 and ey≤1+2ye^y\le1+2y for y∈[0,1]y\in[0,1] we get (1+1/F)−x≤e−x/F+x/F2(1+1/F)^{-x}\le e^{-x/F}+x/F^2 for 0≤x≤2F20\le x\le2F^2, which covers x≤N≤sF+3x\le N\le sF+3. As z↦zaz\mapsto z^a is aa-Lipschitz on [0,1][0,1], each term of β\beta is at least (1−e−(k−3)/F)a−a(k−3)/F2(1-e^{-(k-3)/F})^a-a(k-3)/F^2, and these corrections sum to at most aN2/(2F2)aN^2/(2F^2). The function x↦(1−e−x)ax\mapsto(1-e^{-x})^a is nondecreasing and at most 1, and N−3≥sF−1N-3\ge sF-1, so

β≥FΦa(N−3F)−(a+a2)N22F2≥FΦa(s)−1−12(a+a2)(s+3/F)2.\beta\ge F\Phi_a\left(\frac{N-3}{F}\right)-\frac{(a+a^2)N^2}{2F^2}\ge F\Phi_a(s)-1-\frac{1}{2}(a+a^2)(s+3/F)^2.

Hence max⁡{0,ce−sF−β}≤max⁡{0,ce−s−Φa(s)}F+1+12(a+a2)(s+3/F)2\max\{0,ce^{-s}F-\beta\}\le\max\{0,ce^{-s}-\Phi_a(s)\}F+1+\frac{1}{2}(a+a^2)(s+3/F)^2, which gives the bound.

Theorem 26. Let G\mathcal{G} be a cc-sweepable class with neighborhood independence at most aa, and let s∈(0,2]s\in(0,2] be rational. For every ε∈(0,1]\varepsilon\in(0,1] there is a randomized algorithm with expected polynomial running time that colors every G∈GG\in\mathcal{G} with at most (κc,a(s)+ε)χf(G)+K(\kappa_{c,a}(s)+\varepsilon)\chi_f(G)+K colors, where KK depends only on cc, aa, and ε\varepsilon.

Proof. Compute yy by Lemma 9 with F≤(1+δ)χfF \le(1+\delta)\chi_f, where δ=ε/(2(c+3))\delta=\varepsilon/(2(c+3)). If F<3F<3, then ω≤2\omega\le2 and the sweep uses at most c+1c+1 colors. Otherwise run the algorithm of Lemma 25. As in the proof of Lemma 17, since s≤2s\le2, N≤sF+3≤5FN\le sF+3\le5F and d0=(c+1)(4N+5)2F≤625(c+1)F3d_0=(c+1)(4N+5)^2F\le625(c+1)F^3, so m≤γ+3.1ln⁡Fm\le\gamma+3.1\ln F with γ=2+710log⁡2(625(c+1))\gamma=2+\frac{7}{10}\log_2(625(c+1)). The two square-root terms of Lemma 25 sum to (c/2+2(2a+1))mN≤λFm(c/\sqrt{2}+\sqrt{2}(2a+1))\sqrt{mN}\le\sqrt{\lambda Fm} with λ=5(c+4a+2)2/2\lambda=5(c+4a+2)^2/2. The AM–GM step and the tangent-line bound of the proof of Lemma 17, with this λ\lambda and γ\gamma, give λFm≤εF/4+K′\sqrt{\lambda Fm}\le\varepsilon F/4+K' with K′=2λε2(γ+3.1ln⁡50λε2)K'=\frac{2\lambda}{\varepsilon^2}(\gamma+3.1\ln\frac{50\lambda}{\varepsilon^2}). Since s≤2s\le2 and F≥3F\ge3, the remaining terms are at most 4+92(a+a2)4+\frac{9}{2}(a+a^2). So the algorithm uses at most (κc,a(s)+ε/4)F+K′′≤(κc,a(s)+ε)χf+K′′(\kappa_{c,a}(s)+\varepsilon/4)F+K''\le(\kappa_{c,a}(s)+\varepsilon)\chi_f+K'' colors, where K′′=K′+4+92(a+a2)K''=K'+4+\frac{9}{2}(a+a^2), because κc,a(s)+1≤s+c+1≤c+3\kappa_{c,a}(s)+1\le s+c+1\le c+3 gives (κc,a(s)+ε/4)δ≤ε/2(\kappa_{c,a}(s)+\varepsilon/4)\delta\le\varepsilon/2. The theorem holds with K=max⁡{K′′,c+1}K=\max\{K'',c+1\}.

If ce−s≥Φa(s)ce^{-s}\ge\Phi_a(s), substituting y=e−xy=e^{-x} gives, with x0=e−sx_0=e^{-s} and the harmonic number HaH_a,

κc,a(s)=cx0+∫x011−(1−y)ay dy=cx0+Ha−∑i=1a(−1)i+1i(ai)x0i.\kappa_{c,a}(s)=cx_0+\int_{x_0}^{1}\frac{1-(1-y)^a}{y}\,dy=cx_0+H_a-\sum_{i=1}^{a}\frac{(-1)^{i+1}}{i}\binom{a}{i}x_0^i.

Without reuse the integrand is 1/y1/y and the bound is cx0+scx_0+s, as in Lemma 17; reuse saves ∫x01(1−y)a/y dy\int_{x_0}^{1}(1-y)^a/y\,dy. For unit disk graphs (c=3c=3, a=5a=5) and s=27/20s=27/20, we get ce−s≥Φ5(s)ce^{-s}\ge\Phi_5(s) and κ3,5(s)<2.04822\kappa_{3,5}(s)<2.04822, while 1+ln⁡3>2.09861+\ln3>2.0986. This value is within 10−410^{-4} of the minimum over ss. With ε=10−6\varepsilon=10^{-6}, Theorem 26 therefore gives Theorem 2.

Proof of Theorem 1. Follow the proof of Lemma 20 with Theorem 26 for c=3c=3, a=5a=5, s=27/20s=27/20, and ε=10−6\varepsilon=10^{-6} in place of Lemma 17. If F≥CF\ge C, this uses at most (κ3,5(27/20)+10−6)χ<2.0483χ(\kappa_{3,5}(27/20)+10^{-6})\chi<2.0483\chi colors. Otherwise Lemma 19 uses at most 2χ2\chi colors, and 2<κ3,5(27/20)2<\kappa_{3,5}(27/20).

Translates of a convex polygon

The proofs of Theorems 1 and 2 use only that the class is 3-sweepable with neighborhood independence at most 5. Intersection graphs of translates of a convex polygon MM are 3-sweepable by Lemma 21, and the next lemma gives the second property. Intuitively, in the norm with unit ball M−MM-M, moving the points of an independent set in NG(v)N_G(v) away from vv to distance exactly 1 keeps them more than 1 apart, so their translates of MM touch M+vM+v and are pairwise disjoint, and there are at most 5 such translates [?].

Lemma 27. Intersection graphs of translates of a convex polygon have neighborhood independence at most 5.

Proof. Let ∥x∥=min⁡{λ≥0:x∈λB}\lVert x\rVert=\min\{\lambda\ge0:x\in\lambda B\} be the norm with unit ball B=M−MB=M-M, so that pqpq is an edge if and only if ∥p−q∥≤1\lVert p-q\rVert\le1, and translates M+pM+p and M+qM+q are disjoint if and only if ∥p−q∥>1\lVert p-q\rVert>1 and touch, that is, intersect with disjoint interiors, if and only if ∥p−q∥=1\lVert p-q\rVert=1. Let SS be an independent set in the neighborhood of a vertex vv with ∣S∣≥2|S|\ge2. No u∈Su\in S lies at the point vv, since such a uu would be adjacent to every other neighbor of vv. So every u∈Su\in S can be written as u=v+σuξuu=v+\sigma_u\xi_u with 0<σu≤10<\sigma_u\le1 and ∥ξu∥=1\lVert\xi_u\rVert=1. For u,w∈Su,w\in S the function g(σ,τ)=∥σξu−τξw∥g(\sigma,\tau)=\lVert\sigma\xi_u-\tau\xi_w\rVert is convex on [0,1]2[0,1]^2, so it attains its maximum at a corner, and

1<∥u−w∥=g(σu,σw)≤max⁡{g(0,0),g(1,0),g(0,1),g(1,1)}=max⁡{0,1,1,∥ξu−ξw∥}.1<\lVert u-w\rVert=g(\sigma_u,\sigma_w)\le\max\{g(0,0),g(1,0),g(0,1),g(1,1)\}=\max\{0,1,1,\lVert\xi_u-\xi_w\rVert\}.

Hence ∥ξu−ξw∥>1\lVert\xi_u-\xi_w\rVert>1, and the translates M+v+ξuM+v+\xi_u, u∈Su\in S, are pairwise disjoint and all touch M+vM+v. They are therefore distinct, and after translating by −v-v they form a *strict Hadwiger family of MM, that is, pairwise disjoint translates of MM that all touch MM. The same vectors give a strict Hadwiger family of the centrally symmetric body 12B\frac{1}{2}B, since p+12Bp+\frac{1}{2}B and q+12Bq+\frac{1}{2}B are disjoint or touch exactly when M+pM+p and M+qM+q are. So if MM is not a parallelogram, the family has at most 5 members [6] (see also [32]). If MM is a parallelogram, a linear map turns BB into [−1,1]2[-1,1]^2, and ∣S∣≤4|S|\leq4, because v+[−1,1]2v+[-1,1]^2 is the union of four closed unit squares, each of which contains at most one point of SS.

Proof of Theorem 3. By Lemmas 21 and 27, after a linear change of coordinates, which does not change the graphs, these graphs form a 3-sweepable class with neighborhood independence at most 5. So Theorem 26 with c=3c=3, a=5a=5, s=27/20s=27/20, and ε=10−6\varepsilon=10^{-6} gives the second statement, as for Theorem 2, and the proof of Theorem 1, which uses only these properties, gives the first.

A 1.68-Approximation Algorithm for Unit Square Graphs

This section proves Theorem 4 and the lower bound 4/34/3 on lim sup⁡χ/ω\limsup\chi/\omega for unit square graphs. Unit square graphs are 2-sweepable with ≺\prec the lexicographic order on (x,y)(x,y) and the two closed unit squares Q1(v),Q2(v)Q_1(v),Q_2(v) of Lemma 6. For them the bound 2χ2\chi of Lemma 19 is no better than the sweep, and we replace it by the following.

Lemma 28 (overlapping slabs). There is an algorithm that, given an integer C≥2C\geq2 and a unit square graph GG on nn points with ω(G)≤C\omega(G)\leq C and at least one edge, colors GG with at most ⌈3χ(G)/2⌉\lceil3\chi(G)/2\rceil colors in O(nlog⁡n)+2O(Clog⁡2C)nO(n\log n)+2^{O(C\log^2 C)}n time.

We first outline the proof. Overlapping vertical slabs of width 2⌈log⁡2C⌉+22\lceil\log_2 C\rceil+2 are colored optimally by Lemma 18; let k≤χk\leq\chi be the largest number of colors used, and use h=⌈3k/2⌉h=\lceil3k/2\rceil colors. The coloring of one slab is turned into that of the next at the cuts z,z+1,…z,z+1,\ldots, where zz is the left end of the next slab (Figure 8). At z,z+2,…z,z+2,\ldots, whole color classes of the next coloring receive colors that are unused near the cut. At z+1,z+3,…z+1,z+3,\ldots, the remaining points to the right of the cut are recolored by first-fit in the order ≺\prec. They are colored by the ℓ\ell classes not yet repainted, so their clique number is at most ℓ\ell, and first-fit needs only 2ℓ−12\ell-1 colors, whatever the colors to the left of the cut. The first cut finds ⌈k/2⌉\lceil k/2\rceil unused colors, and the number of unused colors then doubles at every other cut, so the next coloring is reached within distance 2⌈log⁡2C⌉2\lceil\log_2 C\rceil of zz, before the slab after it begins.

Figure 8. Lemma 28 with k=4k = 4 and h=6h = 6, near the left end zz of a slab SiS_i. Colors show dd, shapes the classes of σi\sigma_i, and circles the points outside SiS_i; the bars show the colors used in each strip. The F-steps at zz, z+2z+2, and z+4z+4 finish 2, 1, and 1 classes, and to the right of z+4z+4 each class of σi\sigma_i has a single color.

Proof. If two points that are consecutive in the order of xx-coordinates differ by more than 1 in xx, the points on the two sides can be colored independently, so we assume that this does not happen. We also assume that GG has an edge, since otherwise one color suffices. Let D=2⌈log⁡2C⌉+1D=2\lceil\log_2 C\rceil+1, let x0=min⁡p∈Pxpx_0=\min_{p\in P}x_p, and for i=0,1,…,⌊n/D⌋i=0,1,\ldots,\lfloor n/D\rfloor let the slab SiS_i be the set of points pp with x0+iD≤xp<x0+(i+1)D+1x_0+iD\leq x_p<x_0+(i+1)D+1. Consecutive slabs overlap in a strip of width 1, every point lies in a slab, and every edge has both endpoints in some slab.

Coloring one slab. The points of SiS_i lie in a vertical slab of width D+1D+1, so Lemma 18 with W=D+1W=D+1 computes an optimal coloring σi\sigma_i of G[Si]G[S_i]. Let k=max⁡iχ(G[Si])k=\max_i\chi(G[S_i]), so that 2≤k≤χ(G)2\leq k\leq\chi(G) and, by Lemma 7, k≤2C−1k\leq2C-1, and let h=⌈3k/2⌉h=\lceil3k/2\rceil, so that k<h<2kk<h<2k. All colors are taken from [h][h].

Stitching. We define the coloring dd slab by slab, starting with d=σ0d=\sigma_0 on S0S_0. Before slab i≥1i\geq1 is processed, with z=x0+iDz=x_0+iD, the following entry condition holds: dd is a proper coloring of the points with x<z+1x<z+1, it is undefined on the other points, and the points with x≥z−1x\geq z-1 use only colors of a set A⊆[h]A\subseteq[h] of kk colors. Let B1,…,BkB_1,\ldots,B_k be the color classes of σi\sigma_i, some possibly empty. We will assign some of them, called finished, distinct colors φ(B)\varphi(B); the other classes and their points are unfinished, and ff denotes the number of finished classes. For j=0,1,2,…j = 0, 1, 2, \ldots we perform a step at the cut zj=z+jz_j = z + j, an F-step if jj is even and a C-step if jj is odd (Figure 8):

F-step. Let r=h−f−∣A∣r = h - f - |A|. Give min⁡{r,k−f}\min\{r, k - f\} unfinished classes BB distinct colors φ(B)∈[h]∖(A∪φ(finished classes))\varphi(B) \in[h] \setminus(A \cup\varphi(\text{finished classes})), mark them finished, and set d(v)=φ(B)d(v) = \varphi(B) for every v∈Bv \in B with xv≥zjx_v \ge z_j. If all classes are finished, stop.

C-step. Let ℓ=k−f\ell= k - f. Replace AA by a set of 2ℓ−12\ell- 1 colors of [h]∖φ(finished classes)[h] \setminus\varphi(\text{finished classes}). Recolor the unfinished points uu with xu≥zjx_u \ge z_j by first-fit in the order ≺\prec: uu gets the first color of AA that no earlier neighbor holds.

We show by induction on jj that after the step at zjz_j, with z−1=z−1z_{-1} = z - 1 before the first step: (a) dd is proper, and AA is disjoint from φ(finished classes)\varphi(\text{finished classes}); (b) every point vv with xv≥zjx_v \ge z_j at which dd is defined has d(v)=φ(B)d(v) = \varphi(B) if vv lies in a finished class BB, and d(v)∈Ad(v) \in A otherwise; (c) dd is defined on the points with x<z+1x < z + 1 and on the finished points, after the first C-step on all of SiS_i, and nowhere else. Before the first step this is the entry condition. A step at zjz_j changes only points v∈Siv \in S_i with xv≥zjx_v \ge z_j, and their neighbors ww have xw≥zj−1=zj−1x_w \ge z_j - 1 = z_{j-1}, so (b) for the previous step applies to them; such a ww is outside SiS_i only if xw<zx_w < z, which needs j=0j = 0, or if xw≥z+D+1x_w \ge z + D + 1, where dd is undefined by (c).

Consider an F-step and a recolored point v∈Bv \in B. Its neighbors hold colors of AA, colors φ(B′)\varphi(B') of classes finished earlier, or, if they were recolored in the same step, colors φ(B′)\varphi(B') of other new classes B′≠BB' \ne B, because BB is independent; none of these is φ(B)\varphi(B). So (a) is kept, and (b) and (c) hold by construction.

Consider a C-step; then jj is odd and zj≥z+1z_j \ge z + 1. Let uu be an unfinished point with xu≥zjx_u \ge z_j; its neighbors have x≥zx \ge z, and those at which dd is defined lie in SiS_i. Every earlier neighbor ww of uu has a color when uu is recolored: if xw<zjx_w < z_j, by (c), since xw<z+1x_w < z + 1 or a C-step has already run; if xw≥zjx_w \ge z_j, because ww is finished or was recolored before uu. Every later neighbor has x≥xu≥zjx \ge x_u \ge z_j, so it is finished or is recolored after uu. Finished neighbors hold colors outside the new AA, by (b) for the previous step. The unfinished points of SiS_i induce a subgraph that σi\sigma_i colors with ℓ\ell colors, so its clique number is at most ℓ\ell; the earlier neighbors of uu lie in Q1(u)∪Q2(u)Q_1(u) \cup Q_2(u), two cliques containing uu, so at most 2(ℓ−1)2(\ell- 1) of them are unfinished. So first-fit finds a color in AA, and every edge at a recolored point is proper: to a finished point because AA avoids φ\varphi, to an earlier unfinished point because uu avoided its color, and to a later point because that point avoided d(u)d(u). Again (a)--(c) follow.

It remains to see that the colors suffice and that the steps end in time. At the first F-step r=h−k=⌈k/2⌉r = h - k = \lceil k/2 \rceil, so it finishes ⌈k/2⌉\lceil k/2 \rceil classes and leaves ℓ1=⌊k/2⌋≥1\ell_1 = \lfloor k/2 \rfloor\ge1. Before every later F-step, ∣A∣=2ℓ−1|A| = 2\ell- 1 with ℓ=k−f\ell= k - f, so r=E(f):=h−2k+f+1r = E(f) := h - 2k + f + 1, and the C-step before it needs E(f)≥0E(f) \ge0. Now E(⌈k/2⌉)=2h−3k+1≥1E(\lceil k/2 \rceil) = 2h - 3k + 1 \ge1, and EE is increasing in ff, so every C-step finds its colors and every later F-step has r≥1r \ge1. If an F-step finishes r=E(f)<ℓr = E(f) < \ell classes, the next one adds E(f+r)=2rE(f + r) = 2r unused colors. So after the first F-step and JJ further F-steps all classes are finished as soon as 2J−1≥ℓ12^J - 1 \ge\ell_1. Since ℓ1=⌊k/2⌋≤C−1\ell_1 = \lfloor k/2 \rfloor\le C - 1, J=⌈log⁡2C⌉J = \lceil\log_2 C \rceil suffices, and the last step is the F-step at a cut zj≤z+2J=z+D−1z_j \le z + 2J = z + D - 1. Then every class is finished, so by (b) and (c) the points with x≥z+D−1x \ge z + D - 1 at which dd is defined use only the kk colors φ(B1),…,φ(Bk)\varphi(B_1), \ldots, \varphi(B_k), and dd is a proper coloring of the points with x<z+D+1x < z + D + 1 and undefined elsewhere. This is the entry condition for slab i+1i + 1, with z+Dz + D in place of zz. After the last slab, dd is a proper coloring of GG with at most h=⌈3k/2⌉≤⌈3χ(G)/2⌉h = \lceil3k/2 \rceil\le\lceil3\chi(G)/2 \rceil colors. Each point is recolored O(D)O(D) times, each time checking its fewer than 2C2C neighbors, which a sweep lists for all points in O(nlog⁡n+Cn)O(n \log n + Cn) time, so the stitching takes O(nlog⁡n+nClog⁡C)O(n \log n + nC \log C) time. Every point lies in at most two slabs and D=O(log⁡C)D = O(\log C), so by Lemma 18 the slabs are colored in O(nlog⁡n)+2O(Clog⁡2C)nO(n \log n) + 2^{O(C \log^2 C)}n time in total.

The proof uses only that each σi\sigma_i is a proper coloring with kk colors; optimality is needed only for k≤χ(G)k \le\chi(G). So every unit square graph satisfies χ(G)≤⌈32max⁡iχ(G[Si])⌉\chi(G) \le\lceil\frac{3}{2}\max_i \chi(G[S_i])\rceil for slabs SiS_i of width 2⌈log⁡2ω(G)⌉+22\lceil\log_2 \omega(G)\rceil+ 2, whatever ω(G)\omega(G) is. The proof also works for every cc-sweepable class whose order ≺\prec satisfies u≺vu \prec v whenever xu<xvx_u < x_v, with h=⌈((2c−1)k−c+2)/c⌉h = \lceil((2c-1)k-c+2)/c\rceil colors and sets AA of c(ℓ−1)+1c(\ell-1)+1 colors, and then uses at most (2−1c+1)χ(2-\frac{1}{c+1})\chi colors; for unit disk graphs this is 74χ\frac{7}{4}\chi, which we do not need. Since ⌈3χ/2⌉≤53χ\lceil3\chi/2\rceil\le\frac{5}{3}\chi for χ≥2\chi\ge2 and 53<1+ln⁡2<1.6932\frac{5}{3} < 1+\ln2 < 1.6932, the proof of Lemma 20 with c=2c=2, ε=1/1000\varepsilon=1/1000, and Lemma 28 in place of Lemma 19 colors every unit square graph with fewer than 1.6942χ1.6942\chi colors, without reuse.

Reuse. Unit square graphs have neighborhood independence at most 4, since NG(v)N_G(v) lies in v+[−1,1]2v+[-1,1]^2, which is the union of four closed unit squares, each inducing a clique (Figure 7(d)). For c=2c=2, a=4a=4, and s=4/5s=4/5 we get 2e−s≥Φ4(s)2e^{-s} \ge\Phi_4(s) and κ2,4(s)<1.679599\kappa_{2,4}(s) < 1.679599, within 10−410^{-4} of the minimum over ss, while 1+ln⁡2>1.69311+\ln2 > 1.6931.

Proof of Theorem 4. Theorem 26 with c=2c=2, a=4a=4, s=4/5s=4/5, and ε=10−6\varepsilon=10^{-6} gives the second statement. For the first, the proof of Theorem 1 with these parameters and Lemma 28 in place of Lemma 19 uses at most (κ2,4(4/5)+10−6)χ<1.6796χ(\kappa_{2,4}(4/5)+10^{-6})\chi< 1.6796\chi colors if F≥CF \ge C. Otherwise Lemma 28 uses at most ⌈3χ/2⌉≤53χ\lceil3\chi/2\rceil\le\frac{5}{3}\chi colors if χ≥2\chi\ge2, one color suffices if χ=1\chi=1, and 53<κ2,4(4/5)\frac{5}{3}<\kappa_{2,4}(4/5).

A lower bound on χ/ω\chi/\omega

The published lower bound 5/45/4 on lim sup⁡χ/ω\limsup\chi/\omega for unit square graphs is obtained from the 5-cycle C5C_5 by replacing every square with tt copies of itself [7, 4]. The square of the 8-cycle, C82C_8^2, with vertices 0,…,70,\ldots,7 and ii adjacent to i±1i\pm1 and i±2i\pm2 modulo 8, is the member after C5C_5 of the cycle-power family used for disks [22], and it is also a unit square graph (Figure 9). It has ω=3\omega=3 and α=2\alpha=2, so taking tt copies of every square gives unit square graphs with ω=3t\omega=3t and α=2\alpha=2, and hence χ≥8t/2=4t\chi\ge8t/2=4t.

Figure 9. The graph C82C_8^2, with ii adjacent to i±1i \pm1 and i±2i \pm2 modulo 8, as eight unit squares (left) and on a circle (right), with a 4-coloring. Since ω=3\omega= 3 and α=2\alpha= 2, we have χ≥8/2=4\chi\ge8/2 = 4.

AI Statement

This paper was prepared with substantial help from the AI assistants Claude (Anthropic) and ChatGPT (OpenAI). They took part in developing the algorithms and proofs, checking the references, and writing the text. The authors checked all results and are responsible for the content.

References

  1. [1]Stefan Arnborg and Andrzej Proskurowski. Linear time algorithms for NP-hard problems restricted to partial k-trees. Discrete Applied Mathematics, 23(1):11–24, 1989. doi:10.1016/0166–218X(89)90031–0.DOI

Paper details

vlnc:W_8fgnykvd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

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

  • Computer Science

Claude, ChatGPT

View statement
Looking for related papers…
Contents