Algorithm Search⌘K

Proofs: Hanani-Tutte theorem

These are the human proofs of Hanani-Tutte theorem, at full length.

Proof of the Hanani-Tutte theorem full

This proof shows: statement.

We prove that a graph GG is planar if and only if it has a drawing in which every pair of independent edges crosses an even number of times. The proof follows Tutte (1970) and the survey of Schaefer (2013): a parity invariant shows that K5K_5 and K3,3K_{3,3} have no such drawing, and Kuratowski's theorem does the rest. Graphs are finite; loops and parallel edges do not change planarity, and a loop is not independent of any edge at its vertex, so we may assume GG is simple.

Drawings. A drawing puts each vertex at a distinct point and each edge uvuv as a curve from uu to vv, such that: no curve passes through a vertex other than its ends; any two curves, and any curve with itself, meet in finitely many points away from the vertices, each a proper crossing; and no point lies on three curves. Two edges are independent if they have no common end. cr(e,f)\mathrm{cr}(e, f) is the number of crossings of ee with ff, for e≠fe \ne f. For a drawing DD let

σ(D)=∑{e,f} independentcr(e,f).\sigma(D) = \sum_{\{e, f\} \text{ independent}} \mathrm{cr}(e, f).

Step 1: deformations

Lemma 1. Let DD and D′D' be drawings of the same graph. Then DD can be changed into D′D' by a homeomorphism of the plane, which changes no crossing count, followed by finitely many of these moves, each between drawings:

(M1) a change of one crossing count cr(e,f)\mathrm{cr}(e, f) by an even number, or of no count;

(M2) an edge ee passes over a vertex vv: cr(e,f)\mathrm{cr}(e, f) changes by exactly 1 for each edge f≠ef \ne e at vv, and no other count of a pair of distinct edges changes.

Proof. First, take a homeomorphism hh of the plane that moves each vertex point of DD to the point of the same vertex in D′D'. Such an hh exists for any two lists of distinct points, for example as a composition of finitely many homeomorphisms that each move one point along a path that avoids the others and fix everything outside a thin neighbourhood of the path. Applying hh to DD changes no crossing count, since it is a bijection of the plane.

Now the vertices of hDhD and D′D' are at the same points. Change the edges one at a time. For an edge e=abe = ab, the curves γ0\gamma_0 of ee in hDhD and γ1\gamma_1 of ee in D′D' have the same ends, and γt=(1−t)γ0+tγ1\gamma_t = (1 - t) \gamma_0 + t \gamma_1, with both curves parametrized over [0,1][0, 1], is a homotopy between them with the ends fixed. By the standard general position argument, this homotopy can be perturbed, with the ends fixed, so that the curves γt\gamma_t together with the other edges form a drawing for all but finitely many values of tt, and at each exceptional value exactly one of these events happens: γt\gamma_t passes over a vertex vv; γt\gamma_t touches another curve, or itself, at one point; γt\gamma_t passes through a crossing of two other curves, or of itself with another curve. Between two consecutive events the crossings move continuously and none appears or disappears, so all counts stay the same.

At a touching point, two crossings of the same pair of curves appear or disappear together, or a self-crossing appears or disappears; this is (M1). At a triple point the crossings of each pair keep their number; this is (M1) with no change. When γt\gamma_t passes over a vertex vv, the edges ff at vv start at vv, so near vv each of them is cut once more, or once less, by the sweeping curve, and no other pair changes; this is (M2). (If vv is an end of ee, the changed pairs are the pairs {e,f}\{e, f\} with ff at that end.) After all edges have been changed, the drawing is D′D'. □\square

Step 2: the parity invariant

Lemma 2. If GG is K5K_5 or K3,3K_{3,3}, then σ(D) mod 2\sigma(D) \bmod 2 is the same for every drawing DD of GG.

Proof. By Lemma 1 it suffices to check that each move changes σ\sigma by an even number. A move (M1) changes one count by an even number, or none. In a move (M2), the edge e=abe = ab passes over vv, and σ\sigma changes by ±1\pm 1 for each edge ff at vv that is independent of ee, so by an even number if the number kk of such edges is even.

If v∈{a,b}v \in \{a, b\}, every edge at vv shares vv with ee, so k=0k = 0.

If G=K5G = K_5 and v∉{a,b}v \notin \{a, b\}, the edges at vv go to the four other vertices, and the ones independent of abab are the two going to the vertices other than aa and bb. So k=2k = 2.

If G=K3,3G = K_{3,3} with sides XX and YY, a∈Xa \in X, b∈Yb \in Y, and v∉{a,b}v \notin \{a, b\}: if v∈Xv \in X, the edges at vv go to the three vertices of YY, and the ones independent of abab avoid bb, so k=2k = 2; if v∈Yv \in Y, in the same way they avoid aa, and k=2k = 2. □\square

Lemma 3. For every drawing DD of K5K_5 and for every drawing DD of K3,3K_{3,3}, σ(D)\sigma(D) is odd.

Proof. By Lemma 2, it suffices to find one drawing of each with σ\sigma odd.

K5K_5: put the vertices at the corners of a convex pentagon and draw the edges as straight segments. Two segments between corners of a convex polygon cross, at one point, exactly when their four ends are distinct and alternate around the polygon. So only independent pairs cross, each once, and the crossing pairs correspond to the sets of 4 corners: each set of 4 corners has exactly one alternating pair, its two diagonals. So σ=(54)=5\sigma = \binom{5}{4} = 5. Three segments through one point would cross pairwise, so they would be pairwise independent and need 6 distinct ends; so no point lies on three segments, and this is a drawing.

K3,3K_{3,3}: put the vertices at the corners p0,…,p5p_0, \ldots, p_5 of a convex hexagon, in this order around it, with X={p0,p2,p4}X = \{p_0, p_2, p_4\} and Y={p1,p3,p5}Y = \{p_1, p_3, p_5\}. The edges are the 6 sides pipi+1p_i p_{i+1} (indices mod 6) and the 3 long diagonals p0p3p_0 p_3, p1p4p_1 p_4, p2p5p_2 p_5, as straight segments. Choose the hexagon not regular, so that the three diagonals do not pass through one point. By the rule above, two of these segments cross exactly when their ends alternate around the hexagon. A side has two consecutive corners as ends, so nothing alternates with it. Any two long diagonals have alternating ends, for example p0,p1,p3,p4p_0, p_1, p_3, p_4 for the first two. So exactly the 3 pairs of long diagonals cross, each once, and they are independent. So σ=3\sigma = 3. □\square

Step 3: the theorem

Theorem. GG is planar if and only if GG has a drawing in which cr(e,f)\mathrm{cr}(e, f) is even for every pair of independent edges.

Proof. If GG is planar, a plane drawing has no crossings, so every count is 0, which is even.

Conversely, suppose GG has such a drawing DD but is not planar. By Kuratowski's theorem GG has a subgraph SS that is a subdivision of K=K5K = K_5 or K=K3,3K = K_{3,3}. Delete from DD all vertices and edges not in SS. For each edge hh′hh' of KK, join the curves of the edges of the path Phh′P_{hh'} of SS into one curve from hh to h′h'. This gives a drawing DKD_K of KK: the inner vertices of the paths become inner points of these curves, and no other curve passes through them, because in DD no edge passes through a vertex other than its ends; crossings and the absence of triple points are inherited from DD.

Take two independent edges hh′hh' and jj′jj' of KK. The paths Phh′P_{hh'} and Pjj′P_{jj'} have no common vertex: their ends are distinct branch vertices, and the inner vertices of different paths of a subdivision are distinct. So every edge of Phh′P_{hh'} is independent in GG of every edge of Pjj′P_{jj'}, and the number of crossings of the two curves in DKD_K is

∑e∈Phh′∑f∈Pjj′crD(e,f),\sum_{e \in P_{hh'}} \sum_{f \in P_{jj'}} \mathrm{cr}_D(e, f),

a sum of even numbers. So σ(DK)\sigma(D_K) is even, which contradicts Lemma 3. So GG is planar. ■\blacksquare

Small cases

  • A single vertex, and any graph with no two independent edges, such as a star or a triangle: the condition holds in every drawing, and these graphs are planar.
  • A tree is planar, so it has a drawing with no crossings; a drawing of a path abcdabcd in which abab crosses cdcd once can be turned into one with an even count by passing abab over dd, the move (M2), which changes only the pair {ab,cd}\{ab, cd\}.
  • K4K_4 is planar. Passing abab over cc toggles only {ab,cd}\{ab, cd\}, so K4K_4 has drawings with σ\sigma odd and with σ\sigma even; Lemma 2 fails for K4K_4, as it must.
  • K5K_5 and K3,3K_{3,3}: every drawing has σ\sigma odd by Lemma 3, so some independent pair crosses an odd number of times, and in particular at least once.

Back to Hanani-Tutte theorem