Planar Graphs Have Bounded Queue-Number 2: Every Graph of Euler Genus g Has Queue-Number at Most 4g + 49Research Paper
Motivation
A queue layout of a graph places its vertices on a line and splits its edges into classes, called queues, so that inside one queue no edge is nested inside another. The minimum number of queues is the queue-number. Queue layouts were introduced by Heath, Leighton and Rosenberg (1992) and Heath and Rosenberg (1992) as the dual of stack layouts (book embeddings): reading the vertex order from left to right, the edges of one queue are opened and closed in first-in first-out order. Queue layouts are closely tied to track layouts and, through them, to three-dimensional grid drawings of graphs (§9 of the paper).
Whether planar graphs have bounded queue-number was asked by Heath, Leighton and Rosenberg in 1992 and stayed open for 27 years. The best general bounds before 2019 grew with the number of vertices: by Heath, Leighton and Rosenberg (1992), by Di Battista, Frati and Pach (2013), and by Dujmović (2015); for Euler genus , Dujmović, Morin and Wood (2017) had . Dujmović, Joret, Micek, Morin, Ueckerdt and Wood (arXiv:1904.04791, J. ACM 2020) proved that every planar graph has queue-number at most (Theorem 1), and extended the result to every graph embeddable in a fixed surface (Theorem 2) and to every proper minor-closed class (Theorem 3).
This mission is Theorem 2: graphs of Euler genus have queue-number at most . It is the second mission of a two-mission series; the first poses Theorem 1.
Setting
All graphs are finite and simple. A linear ordering of the vertex set is fixed. Two edges and with four distinct ends nest if (after renaming the ends). A queue is a set of edges no two of which nest. A -queue layout of is a linear ordering together with a partition of into queues, and means that a -queue layout exists.
A layering of is an ordered partition of such that every edge joins two vertices of the same or of consecutive layers. A BFS layering takes one root in each connected component and puts in layer . A BFS spanning tree of a connected graph rooted at is a spanning tree with for every . A path in is vertical if the distance to grows by exactly one at every step.
The Euler genus of the orientable surface with handles is , and that of the non-orientable surface with cross-caps is ; the Euler genus of a graph is the least Euler genus of a surface it embeds in (footnote 2 of the paper). Planar graphs are exactly the graphs of Euler genus . Combinatorially, an embedding of a graph is described by an embedding scheme: a cyclic order of the edges at each vertex (a rotation system) together with a sign on every edge (twisted or not). Tracing faces through the scheme gives a face count , and with vertices, edges and components the scheme has Euler genus .
Formalization targets
Goal: Theorem 2 with the paper's bound
The paper states Theorem 2 as and proves the explicit bound in §5. The goal poses that explicit bound, for every finite graph, connected or not.
Milestones
- Lemma 18 (p. 18). Every BFS layering of a planar graph admits a -queue layout whose vertex ordering lists , then , then , and so on.
- Lemma 21 (p. 19). If is connected with Euler genus at most and is a BFS spanning tree with layering , there is a connected (or empty) subgraph with at most vertices in each layer such that is planar and sits inside a connected planar graph whose own BFS layering satisfies ; vertical paths of the BFS tree of restrict to vertical paths of .
- The -queue step (p. 23). If has a layering with at most vertices of per layer and has a -queue layout ordered layer by layer, then .
Significance
The result. Theorem 2 settles boundedness of the queue-number for every class of graphs embeddable in a fixed surface, with a bound linear in the Euler genus. Through the connection between queue-number and track-number, the paper derives from it (§9, Theorems 54 and 58) that a graph of Euler genus with vertices has track-number and a three-dimensional grid drawing of volume , linear in for every fixed surface. It is also a step on the paper's route to Theorem 3 (proper minor-closed classes), since graphs on surfaces are the basic pieces of the Robertson–Seymour graph minor structure theorem. Lemma 21 is of independent use: it reduces a graph on a surface to a planar graph while controlling BFS layers.
Formalizing it. The result is proved; as far as is known it has no machine-checked proof. A formalization needs queue layouts, layerings, BFS layerings and vertical paths, and, independently of queues, a usable combinatorial theory of graphs on surfaces, which Lean's Mathlib does not have. The Euler genus definition of this mission (embedding schemes and face tracing) and Lemma 21 are reusable well beyond queue layouts.
Difficulty
The obvious reduction, deleting few vertices to make the graph planar, is not enough: a planar subgraph alone does not control how the deleted vertices interact with a queue layout. The deleted set must be thin in every BFS layer, and the planar remainder must carry a BFS layering compatible with the original one, which is what Lemma 21 provides. Its proof cuts the surface along a subgraph made of tree paths and must show that the cut graph is planar by an Euler-characteristic count over face-tracing data, and that distances from a new root agree with the old BFS distances. In Lean, the main obstacle is the surface side: Euler's formula for embedding schemes, the cutting operation on rotation systems, and the passage between the combinatorial notion of Euler genus and the drawing-based notion of planarity. The planar input, Lemma 18, is itself the whole of mission 1's argument (Theorem 15 with Lemmas 5 and 8).
Formalization scope
- Graphs are
SimpleGraph Von a finite typeV : Typewith decidable equality and adjacency. - "" is
HasQueueLayout G k: an injective mapord : V → ℕ(the linear ordering) and an assignment of the edges of (G.edgeSet, not all unordered pairs) toFin ksuch that no two edges in one queue nest; nesting uses strict inequalities, so edges sharing an end never nest. Queues may be empty. - A layering is a layer function
L : V → ℕ; a BFS layering takes one root per component. Vertical paths are nonempty lists indexed from with distance , . - Euler genus is combinatorial:
EulerGenusLE G gasks for an embedding scheme (rotation permutation of the darts, cyclic at every vertex, and a symmetric edge signature) whose Euler genus , computed in , is at most . The face count is half the number of face-tracing orbits plus the number of isolated vertices. Equivalence with footnote 2's topological definition is the Heffter–Edmonds–Ringel rotation principle and its non-orientable extension, with additivity over components; it is not part of the mission. - Planarity is the published
RobertsonSeymour1986.GM5.IsPlanar: a crossing-free drawing in by simple arcs. "Euler genus iff planar" is a theorem connecting the two definitions, not built into either. - "Euler genus " is read as "at most " throughout; every bound is monotone in . In Lemma 21, " is connected" reads "empty or connected" (the paper takes when ), and the restriction of a vertical path may be empty.
- Trivializing formalizations are ruled out: queues indexed on all pairs
Sym2 Vwould deny edgeless graphs a -queue layout; non-strict nesting would forbid adjacent edges in one queue; a drawing that tolerates crossings would make every graph planar; a face count without halving, or without isolated vertices, would make the Euler genus too small or too large (the sanity checks confirm has a scheme of Euler genus , a twisted one of genus , and two isolated vertices genus ). - Welcome contributions: Euler's formula for embedding schemes, face-tracing lemmas, the planar case (Lemma 18, via mission 1's results), the cutting construction of Lemma 21, and the purely combinatorial -queue step.
Selected references
- V. Dujmović, G. Joret, P. Micek, P. Morin, T. Ueckerdt, D. R. Wood, Planar graphs have bounded queue-number, J. ACM 67(4), 2020; arXiv:1904.04791v5. https://arxiv.org/abs/1904.04791 , https://doi.org/10.1145/3385731
- L. S. Heath, F. T. Leighton, A. L. Rosenberg, Comparing queues and stacks as mechanisms for laying out graphs, SIAM J. Discrete Math. 5(3), 1992. https://doi.org/10.1137/0405031
- L. S. Heath, A. L. Rosenberg, Laying out graphs using queues, SIAM J. Comput. 21(5), 1992. https://doi.org/10.1137/0221055
- V. Dujmović, Graph layouts via layered separators, J. Combin. Theory Ser. B 110, 2015. https://doi.org/10.1016/j.jctb.2014.07.005
- V. Dujmović, P. Morin, D. R. Wood, Layered separators in minor-closed graph classes with applications, J. Combin. Theory Ser. B 127, 2017. https://doi.org/10.1016/j.jctb.2017.05.006
- B. Mohar, C. Thomassen, Graphs on Surfaces, Johns Hopkins University Press, 2001.