WorksComputer Science
Recognizing potentially planar degree sequences
Abstract
Testing for a simple planar realization is strongly NP-complete even on graphic -term degree lists of minimum degree at least three and sum . Two -vertex triangulations have sorted degree lists whose midpoint is graphic and has no planar realization, ruling out a characterization by simultaneous affine inequalities in the sorted entries even at sum . For arbitrary lists, an ordered interval rule and a finite difference in the degrees alone each give an exact criterion. On an -bit input, a deterministic -time search finds a realization or rules one out. At the first two even sums beyond the sparse bound of Bar-Noy et al., we classify all exceptions among positive graphic lists, giving linear-time recognition on a word RAM throughout the extended range. In particular, for , appending twos suffices to make every graphic -term list of minimum degree at least three and sum potentially planar.
Introduction
Hakimi asked which graphic lists, those realized by simple graphs, admit a planar realization [4 Appendix IV, Problem 35]. Such lists are called potentially planar, or planaric. The octahedron realizes , where exponents denote multiplicities. At the same sum, the three universal vertices of force a . Appending one two makes this list planaric (Figure 1). In Planar Degree Realization the input is an explicit list of nonnegative integers in binary. A witness is a simple planar graph on with degree at , allowing isolated vertices and disconnected graphs.
Figure 1. The forced for and a planar realization of . The open circle has degree two. The bold edge pairs two internal vertices as in Proposition 3.5.
Böttger and Harders [5] exhibited a list that satisfies Hakimi’s necessary degree conditions [14] yet has no planar realization. Chvátal [7 Problem 24] asked for necessary and sufficient conditions for a planar realization, citing the Erdős–Gallai criterion for ordinary graphicness. Schmeichel and Hakimi [26] later obtained further restrictions on the largest degrees. Keeping residual degrees in boundary order gives an exact interval rule (Theorem 2.1). A thirteen-vertex midpoint rules out a characterization by simultaneous affine inequalities in the sorted degrees (Proposition 2.2). Counting sphere embeddings gives a nonlinear test (Theorem 2.3). The triangulation sum used in the midpoint example also permits a reduction from 3-Partition.
Theorem 1.1. Planar Degree Realization is strongly NP-complete even for , minimum degree at least three and degree sum . Every output of the reduction is graphic and has a 3-connected realization. Every yes-instance produced has a stacked triangulation realization.
At this sum every planar realization is a triangulation. Fanelli and Zaffiri [11] studied such lists under connectivity or adjacency constraints. The reduction in § 4 uses triangular faces to encode prescribed adjacencies. Polynomial-time recognition on graphic inputs would imply . Polynomially checkable certificates for both answers, a good characterization in the sense of Edmonds [9], would imply . For arbitrary inputs a weighted separator bounds the boundary data needed to construct a realization.
Theorem 1.2. On a deterministic multitape Turing machine, Planar Degree Realization can be decided in time, where is the bit length of the delimited binary list. Within the same bound the algorithm returns the edges of a realization on the input labels whenever one exists.
Listing the planaric degree multisets of order takes total time (Corollary D.3).
How sparse must a graphic list be to guarantee a planar realization? For positive graphic -term lists with ones, Bar-Noy et al. [2, 3] proved that a sum of at most suffices. At they left open whether an obstruction can have a leaf or more than six vertices. Only fails there (Theorem 3.2), and Theorem 3.3 classifies the next layer, .
An appended two raises this boundary by four and the sum by two. For a graphic list as in Theorem 1.1 with , the boundary is reached after twos and the resulting list is planaric (Corollary 3.4). § 5 asks how large , the minimum needed for planarity, can be.
Criteria for general degree lists
An ordered interval criterion
Each move updates residual degrees, as in the Havel–Hakimi rule [16, 13]. The choice is nondeterministic and respects the order of the positive residual degrees on a disk boundary. Discard the zeros and start with an empty row. Remove one unused occurrence of a degree and choose a consecutive block of row entries. For , every strict interior entry must equal one. Replace the block by . For , subtract one from the chosen entry and insert on either side. For , insert at any gap, including either end. Erase zeros after every move.
Theorem 2.1. A list of nonnegative integers has a simple planar realization if and only if some sequence of these moves consumes all its positive entries and ends with an empty row.
Proof. Draw the partial graph in a disk with the vertices still needing neighbours on its boundary in row order. Join a new vertex outside the disk to the block by a noncrossing fan. The strict interior vertices receive their last neighbour, so enlarging the disk around the fan gives the new row. An accepting run realizes the list once the isolates are restored.
Conversely, complete a planar realization on the positive entries to a plane triangulation on the same vertices (orders below three are immediate). Colour the original edges red. Follow a canonical ordering from a base edge [8], recording along the outer path the positive counts of red neighbours still to come. Insert the two base vertices first, counting their edge if red. Each new vertex covers an interval of the outer path. Every strict interior vertex still in the row leaves the path now, so its sole remaining red neighbour is the new vertex. The red predecessors thus form a legal block, with any unchosen endpoints retained on their respective sides. After the last vertex the row is empty.
An accepting run is a polynomial certificate. Deciding whether one exists is NP-complete by Theorem 1.1. Free permutations would admit . Join two degree-five vertices, bring them together to attach each cubic vertex to both, then join the last vertex to all five. The resulting graph contains the forced of Figure 1.
A midpoint obstruction on thirteen vertices
The interval rule maintains a boundary order. The Erdős–Gallai test [10] for graphicness uses only the sorted degrees. At even sum its minima expand into simultaneous affine inequalities.
Proposition 2.2. For the sorted lists
and have stacked planar realizations, and their midpoint is graphic and has no planar realization. Thus no system of affine inequalities in the sorted entries characterizes planar realizability even among graphic lists of length thirteen and sum 66.
Proof. Each list has sum . Every planar realization is a triangulation. Deleting its universal vertex leaves a triangulated 12-gon. Coning its boundary reverses the operation.
For , label a heptagon cyclically from 0 to 6, draw diagonals 35, 36, 26, 16, and attach an ear to each boundary edge except 12 and 56. For , use the fan at 0 and omit the ears on 23 and 45. Coning the two polygons in Figure 2 gives the stated degrees. Successive ear deletions reduce each cone to a tetrahedron, so both triangulations are stacked.

Figure 2. The endpoint polygons have degrees (left) and (right). The filled vertices form the heptagon and the five open vertices are its added ears.
The polygon for would have degrees . Remove its five pairwise nonadjacent ears. Call the two boundary edges of the remaining heptagon that carried no ear bare. If meets bare edges, its former degree was . At the vertex of former degree seven, . If , then is a fan at . The bare edge at ends at a fan vertex of degree two whose former degree was at most three, below the required four.
If , the five neighbours of form its link path . The sole vertex outside this fan forms an ear on a link edge . Both boundary edges at carried ears since its former degree was at least four. For , only link edges other than can be bare. Thus and . Both and formerly had degree at least five, although the target allows only one such vertex besides .
To see that is graphic, take vertices of degrees nine and five in the realization of . Some neighbour of lies outside , so replacing by realizes . Every affine inequality satisfied by the two endpoints holds at their midpoint.
Thirteen is the first order with a missing integral midpoint at sum . Order three is immediate. Using plantri [6], we checked all pairs of distinct sorted triangulation degree lists at orders four through thirteen. The 947 lists at order thirteen have five distinct missing midpoints.
An arithmetic criterion in the degrees
Counting embeddings by their number of faces gives a nonlinear test in the degrees alone. It distinguishes the missing midpoint of Proposition 2.2 from its two endpoints.
Discard zeros, accepting the empty list. For the remaining entries reject a degree at least or an odd sum. Write . If , construct a forest by leaf removal. While a degree exceeds one, remove a one and decrement a largest degree. The sum bound guarantees a one and persists after each step. Pair the remaining ones and reverse the steps by attaching leaves. For , reject .
Let be the oriented incidence matrix of with one row deleted. For integer , let be matrices of independent commuting variables, their matrices of entrywise partial derivatives, and diagonal with for .
Theorem 2.3. Let have positive integer entries, even sum , and . Suppose and put . Then has a simple planar realization if and only if
Extracting the sphere term gives this algebraic existence criterion (Appendix § 7). The separate face search in Theorem 1.2 constructs a witness in time.
Exact recognition at sparse degree sums
One vertex of degree two suffices to make the midpoint of Proposition 2.2 planaric. In the plane realization of , take vertices , , of degrees twelve, nine and five. Delete and draw a new two-edge path from to alongside the retained edge . This realizes , so the least numbers of twos needed for are , respectively.
To count the twos needed in general, remove the zeros and write with . Put , and . When , every graphic list is planaric, since every component of any realization is a path or a cycle. Assume and is even. Let be the smallest for which is planaric. We write .
When , attach separate leaves to vertex and pair the remaining leaves. This gives . Suppose henceforth that . Set . Consider the planar multigraphs on the core vertices with exactly edges and . Loops and parallel edges are allowed, and a loop contributes two to its vertex degree. Let count distinct adjacent pairs of different vertices and let count loops with multiplicity.
Lemma 3.1. The minimum number of degree-two vertices is
The list is planaric exactly when .
Proof. The maximum is over a finite, nonempty set. Choose integers summing to . Pair the odd demands by disjoint edges and fill the remaining even demands with loops. For any candidate , attach leaves to vertex . Keep one edge from each nonloop parallel class and subdivide each additional copy once. Subdivide each loop twice. The result is a simple planar graph with the required degrees using twos. Further twos can be placed along a single edge.
Conversely, take a simple planar realization, discard components consisting entirely of twos, and suppress the paths through the remaining twos. In the resulting plane multigraph, each nonloop parallel class needed at least one subdivision per extra copy, and each loop needed at least two. If two leaves form an isolated edge , some core edge must exist: with leaf–leaf edges the core has edges. Replace by pendant edges , also when . The leaves can be drawn at their new endpoints, and deleting a core edge cannot increase the required subdivisions. Repeat until all leaves are pendant. Removing them leaves a candidate whose subdivision cost is at most the original .
For a list with no ones or twos and , zero cost requires . Since has exactly edges, each must join a distinct pair. Its support is then a triangulation. Theorem 1.1 concerns exactly this equality case.
For the sparse layers write . Substitution gives , so for Lemma 3.1 reads
Bar-Noy et al. [3, Theorem 2] prove that every positive graphic list with is planaric. For , the next two layers automatically satisfy , since . Their targets in (1) are and . The following results classify precisely which graphic lists miss them.
Theorem 3.2. A positive graphic list with is planaric if and only if , up to order.
The exceptional list was identified by Schmeichel and Hakimi [26, Theorem 4]. This answers the two questions of Bar-Noy et al. [2, Section 4.4], [3 Section 7] about larger leaf-free obstructions and obstructions with a leaf at this sum.
Theorem 3.3. A positive graphic list with has no planar realization exactly in the following cases, up to order:
.
and exactly three of the are three.
is , , or for some .
is , or .
If , only the first two cases remain. The graphic exception shows that this simplification already fails at . Appendix § 8 proves both boundary theorems.
Corollary 3.4. On , every positive graphic list with is planaric. For every there is an exception with .
Proof. The exceptional list is graphic: add a vertex adjacent to all six vertices of and attach leaves to it. □
Through , recognition takes deterministic linear time on a word RAM. After checking the degree bound and parity, a degree histogram and its prefix sums suffice for both the Erdős–Gallai test [19] and the exceptions above.
Let be graphic with , minimum degree at least three and . Subdividing an edge times gives a graphic list at . Thus Corollary 3.4 gives , improving the bound from Bar-Noy et al. [3]. On this class, deciding is strongly NP-complete for every fixed integer and for when (Theorem A.2). Binary search with Theorem 1.2 finds and a witness in time after input reading, using calls on lists of length at most .
Proposition 3.5. For each , every integer from to occurs as for a graphic list of length , minimum degree at least three and sum . In fact, with and , one may take
The construction and the matching lower bound are given in Appendix § 6.
Encoding prescribed edges by degrees
For a graphic list of length , minimum degree at least three and sum , exactly when is realized by a sphere triangulation, a simple graph embedded on the sphere with triangular faces. The reduction for Theorem 1.1 encodes prescribed edges by stacking a vertex in a triangular face and joining it to the three corners. A triangulation built from by such steps is stacked.
A bin represented by a triangular face
Take a unary instance of 3-PARTITION with , capacity , and positive item sizes satisfying
The problem remains NP-complete with these bounds and unary encoding [12]. We first construct a degree list together with a set of prescribed edges on its positions.
Figure 3 shows how one triangular face can accommodate a bin. Beginning in the face , insert the item vertices in succession, each adjacent to , and its predecessor, with as the predecessor of the first. A final vertex caps the chain. Each item vertex then has degree four, the cap has degree three, and the three corners gain , , neighbours, respectively.

Figure 3. A bin of capacity nine holding three items of size three. The bold edges are all the prescribed edges visible in this face. They comprise the three skeleton edges, the three item paths and the cap edge . Thin edges complete the triangulation. Reading from towards , each item vertex acquires four neighbours and the cap acquires three.
For the skeleton take the third power of the path on , a stacked triangulation also used by Maffucci [23 Appendix A]. The first four vertices form a tetrahedron, and each subsequent vertex can be stacked on the face formed by its three immediate predecessors. For bin , where , take
This triangle is a face of the initial tetrahedron when and is created at the insertion of otherwise. Because its three labels are not consecutive, it remains a face throughout the construction. The bin faces use disjoint sets of vertices, and the roots are pairwise nonadjacent in .
To form , take the degrees in with the increments just described at the bin corners. For each item add a path on new vertices of target degree four, and for each bin add a cap of target degree three. Prescribe the edges of , the edges within each item path and the edge at each cap. Since has maximum degree at most six, the prescribed graph has maximum degree at most seven. The increments at the old vertices total , and the new vertices contribute . Thus has order and .
Lemma 4.1. The list has a planar realization containing if and only if the items admit a 3-partition. In that case there is a stacked realization containing . For every source instance, alone has a stacked realization.
Proof. Given a packing, concatenate the item paths assigned to each bin, preserving the order of the vertices along each path. The construction of Figure 3 realizes all the required degrees, and the edges within each item path and at each cap are present. If only the degree list matters, we can distribute the item vertices arbitrarily into groups of size and apply the same construction.
Conversely, suppose a planar realization contains . Its skeleton vertices induce exactly , since already attains Euler’s edge bound. Each item path, even one consisting of a single vertex, lies in one open face of by connectedness. Any edge from the path to a root ends at a corner of that face. Since the three corners form a triangle and the roots are independent in , at most one of them is a root. The cap likewise lies in a single open face, with on its boundary by the prescribed edge . Thus each new vertex meets at most one root. increments at the roots sum to , the number of new vertices, so every new vertex meets exactly one root, the same one for all vertices of an item. Once its cap is counted, each root has neighbours left for items. Since , these neighbours belong to exactly three items.
Reading a layer backwards
The list alone always has a stacked realization. To force the edges of by degrees, we use layers of insertions that record which corners belong to skipped faces. Let have positions, all of degree at least three, with . Choose a set of distinct positions. One round produces the list given by
Since and , we have , including when . The new order is and . When , write for this full face insertion.
Lemma 4.2. Let , , and be as in (2). From a triangulation of in which is the union of the corners of vertex-disjoint faces, inserting one vertex in every other face gives a triangulation of .
Conversely, take any planar realization of and assign its vertices to positions of the same degree in any order. In a sphere embedding the cubic vertices are independent. Deleting all of them leaves a triangulation on the old positions with degrees . Precisely of its faces received no insertion. Their vertex sets are disjoint and have union .
Proof. If we leave the specified faces empty and stack once on each remaining face, each vertex gains a neighbour in every one of its incident faces except for the unique skipped face when . For example, filling three faces of changes to .
For the converse, label a triangulation of by the indicated positions. Since every old degree is at least five, the new vertices are precisely those of degree three. Two cubic vertices cannot be adjacent in a simple sphere triangulation of order greater than four. Indeed, the two faces at their common edge would give them the same two other neighbours, and the four triangles at the pair would form an entire tetrahedral sphere.
We can therefore delete all the cubic vertices, replacing each three-face fan by its boundary triangle. The remaining triangulation has order , and the deleted fans give distinct restored faces. In fact, two fans on opposite sides of one boundary triangle would fill the sphere and leave only three old vertices. A fan opposite an unfilled face with the same boundary would fill a tetrahedral sphere of order four.
Write for a remaining degree and for the number of incident faces without an insertion. Counting incident edges before deletion gives
Since and degrees are integral, at every vertex. Both degree sums equal , so equality holds everywhere and . Precisely faces were skipped, each selected position is used once, and the other positions are unused.
Reading a degree through several layers. Fix the total number of layers. Suppose a position first appears in round with degree , where for an original position and for an inserted one. If denotes its degree after round and for , then (2) gives
The last degree determines the entire record. At round , a value of three identifies a position born in that round, since every surviving old degree is at least five. At any larger value , its parity gives and gives the previous degree. If the descent reaches round zero, the remaining value is the original degree, which may itself be three. Thus positions of equal final degree have the same birth round, initial degree and subsequent selection bits.
Eliminating prescribed edges
Place a marker over each prescribed edge so that its only two original neighbours are the ends of that edge. To recover their identities from degrees alone, group disjoint edges into matchings and number the edges within each matching. Each application of Lemma 4.2 forces incidences for a selected group of markers. By selecting one binary digit class at a time, we identify both ends of every edge in a logarithmic number of rounds per matching.
Lemma 4.3 (Elimination of prescribed edges). Fix a nonnegative integer . Let be a list on positions with and , and let be a simple graph on the positions with maximum degree at most . In polynomial time one can write an ordinary degree multiset with all entries at least three and sum , where is its number of entries. It has a planar realization if and only if some sphere triangulation with degrees contains all the edges of .
Every such triangulation extends by face insertions to a realization of . From every planar realization of one can recover, by deleting layers of cubic vertices and identifying the surviving positions, an induced triangulation realizing . In particular a stacked witness for extends to a stacked witness for .
Proof. If has no edges, use the multiset of entries of . Any planar realization can be given the prescribed positions by assigning its vertices to positions of the same degree. If or some , we may output , whose three universal vertices force . Assume henceforth that neither bound is exceeded and that has an edge.
Construction. Set . The first three rounds skip no faces. The first divides each original face into three triangles, each incident with exactly one original edge. In the second round a vertex inserted in such a triangle marks the two ends of that edge. The third round supplies a fresh third corner on either side of each edge from a marker to an endpoint. In each later round, the parity of a surviving degree records whether its position was selected, by (2).
For each edge , reserve a distinct second-round position . This is possible for every , since the second round adds vertices and . In any triangulation recovered through the three full rounds, the markers are pairwise nonadjacent, and the two original neighbours of each marker are the ends of an original edge. Conversely, if a triangulation with degrees contains , we may assign to a vertex inserted over in the second round. Distinct edges use distinct triangles of the first refinement Figure 4.

Figure 4. Testing the endpoint of a prescribed edge . In the left panel a first-round vertex and the edge bound the face in which the second round inserts its marker . The right panel enlarges the triangle after the third round. Skipping the shaded face tests the adjacency .
A greedy edge-colouring partitions into at most matchings, since at most other edges meet the endpoints of an edge. Take the edges in lexicographic order and assign the first available colour. In each nonempty matching write the edges in that order as with , , and write for their markers.
For this matching first test the whole index set on the -side and on the -side. Next write each index in bits. For each bit, test its nonempty zero class and its nonempty one class, each on both sides. For the two whole-set tests suffice. A test of on the side specifies one further round with
where consists of the first positions born in round . Indeed, , while the preceding round skipped at most faces on at least vertices and so inserted at least vertices. Visit the matchings by colour, the bits from low to high, and the zero class before the one class, taking the -side before the -side in each test pair. In every round compute from and by (2), appending the new positions at the end. The output is the multiset of entries of after the last round.
Extending a prescribed realization. Take a triangulation of containing and choose the second-round marker of each prescribed edge as above. Suppose round tests on the -side. On each edge with , at least one incident face has a third corner born in round . In the first test both sides were just subdivided. At each later test the preceding round skipped vertex-disjoint faces, so it could not skip both sides of this edge. The edges are pairwise disjoint. A fresh vertex has only three older neighbours and thus cannot be the third corner for two of these edges. Assign the names in to the chosen third corners and skip the corresponding faces. These fresh vertices all have degree three, and this is their first use in a test. After round they are too old to serve as auxiliaries again. All earlier assignments, in particular those of the markers, remain fixed. Iterating constructs a realization of by face insertions and preserves stackedness.
Recovering all prescribed edges. Fix a planar realization of and a degree-preserving bijection from its vertices to the positions of . As we apply Lemma 4.2 backwards, we restrict this same bijection to the surviving vertices. Their degree histories determine which positions to delete and which were selected in each round. The original positions thus induce a single triangulation of to which all tests refer.
In the round testing on the -side, the skipped faces partition . Both the markers and the fresh auxiliaries are independent sets of size , so each face contains one of each and one selected endpoint. Its marker–endpoint edge persists when we delete the later layers. Applying the two whole-set tests shows that has an original neighbour on each side of its matching. These neighbours are unique because the two sides are disjoint and has only two original neighbours. For each bit of , the test of its digit class forces the neighbour on the -side to have that same bit. Thus the neighbours of are and , and the original edge over which the marker was inserted is . This holds for every prescribed edge in the triangulation recovered using .
Output size. A matching of size uses at most tests. In the nonempty case , so
Each layer at most doubles the largest degree. The entries thus have at most bits, and generating the successive lists takes polynomial time for fixed . In the bin construction , giving the upper bound , with exponent about . Here measures the prescribed-edge instance constructed from unary 3-PARTITION.
Completing the reduction
We apply Lemma 4.3 to the bin construction with . To check the degree bound, recall that the bin faces are vertex-disjoint, so a skeleton vertex of degree at most six gains at most neighbours. Therefore for every skeleton vertex, including when , while the remaining entries are three or four. All degrees are at least three. Since is polynomial in the unary input length, Lemmas 4.1 and 4.3 give a polynomial reduction from 3-PARTITION with a stacked realization for every yes-instance. Invalid inputs may be mapped to , realized by the 3-connected join of a triangle and three isolated vertices.
The output has entries of sum , so its unary representation, including separators, uses only symbols. This proves strong NP-hardness. For membership in NP, a labelled edge list allows us to check simplicity and the input degrees directly and test planarity in time linear in the size of the graph [17].
To prove the assertion about no-instances, start with the unrestricted stacked realization of , which is 3-connected because each insertion from joins a new vertex to three old ones. More generally, given a 3-connected simple realization of a current list , we shall extend it by attaching new neighbours to each old vertex . The demands sum to , and no demand exceeds , since and give . Repeat the new names three times in the same cyclic order and cut the resulting word into blocks of the required lengths, one per old vertex. No block repeats a name, so every new vertex has three distinct old neighbours. After deleting at most two vertices the surviving old graph is still connected and contains a neighbour of every surviving new vertex, as required for Theorem 1.1.
The stacked witnesses give NP-completeness for planar 3-degree lists (Corollary A.1). For explicit lists with a fixed number of distinct degrees, the face recurrence in Appendix § 6.§ 1 recognizes stacked realizations in polynomial time.
The asymptotic subdivision budget
Consider the graphic lists of length , minimum degree at least three and sum . On this class even testing is strongly NP-complete when (Theorem A.2). To measure how many twos suffice for every such list of order , put . Proposition 3.5 and Corollary 3.4 give
The symmetric lists attain the lower bound (Appendix § 6.§ 3).
Open problem. Determine the leading asymptotic term of . Are the three-pole lists asymptotically extremal, in the sense that ?
Stacked realizations and subdivision budgets
Stacked triangulations
Corollary A.1. Recognition of explicitly listed degree sequences is NP-complete both for maximal planar graphs and for planar 3-trees.
Proof. At orders , planar -trees are precisely stacked triangulations [21 Sec. 2]. The reduction gives stacked realizations on positive instances and excludes every planar realization on negative ones. For NP membership, verify the degrees and either a planar edge list with edges or a stacking order from . Smaller orders are immediate.
For an explicit list of length with distinct degrees, stacked recognition takes time after input. For each submultiset of interior degrees, tabulate the possible triples of new-neighbour counts at the ordered corners of a triangular face. The empty filling gives . A first insertion of degree splits the face into three. Their counts at the new vertex sum to and each old corner gains one plus its two incident counts. Conversely, glue the three fillings in their respective faces. At , choose four corner degrees and combine four fillings whose counts at each corner sum to its degree minus three. Among at most submultisets, three child multisets and determine their parent, and at three multisets and the corner degrees determine the fourth. Each count is at most .
Hardness with a prescribed subdivision budget
Theorem A.2. For every fixed integer , deciding whether is strongly NP-complete even for graphic lists of length , minimum degree at least three and sum . On the same class with , deciding whether is also strongly NP-complete.
Proof. Reduce from the graphic maximal-sum instances of Theorem 1.1 with . Omitting finitely many orders preserves hardness. Let and be two rounds of full face insertion, and put . Mark original positions and positions born in the first round, with union . Set and take
This list has entries of sum . At each marked position , the edge count alone will allow the recovered degree to exceed by one. The full layer beneath it forces both degrees to be even, ruling out that extra unit.
In a triangulation of , Hall’s theorem matches the marked original vertices to distinct incident faces. Each vertex meets at least three faces and each face meets at most three marked vertices. Assign the marked new positions to the corresponding face centers in the first round. Two further full insertions preserve the resulting matching and give the list . Along each matched edge draw three two-edge paths and join two consecutive internal vertices. This raises both endpoint degrees by three and adds two cubic vertices and one degree-two vertex per edge, realizing .
Conversely, suppose has a planar realization for some . The vertices from induce at most edges, so at least edges join them to the remaining vertices. These crossing edges form a simple bipartite planar graph, giving . Since , we have . It remains to consider . Both edge bounds are then tight, so the old vertices induce a triangulation. The crossing graph has edges, the largest possible number for any bipartite planar graph on these vertices. Move a single old vertex to the other side of the cut. If its degree in the old triangulation is , the move adds crossing edges and removes . The new cut cannot be larger, so . The positions born in round two are exactly the old positions of target degree six in . They were unmarked and cubic in , whereas the positions inherited from had degree at least six there. The inequality gives at the round-two positions, since a triangulation has minimum degree three. Deleting these cubic vertices restores distinct faces as in Lemma 4.2, regardless of any other cubic vertices. Their number is the full face count of the remaining triangulation, so each surviving vertex had one deleted neighbour in every incident face. At each such vertex both and its round-two target are even. At a marked position the inequality gives , which by parity improves to . The same bound holds at the unmarked positions. The two degree sums equal , so . Reversing the two full insertions now gives a triangulation of .
Finally is graphic for every source instance. The cyclic assignment in the proof of Theorem 1.1 realizes each from a simple realization of while preserving the old induced graph. After the first round each marked original vertex has at least new nonneighbours. Choose distinct ones greedily and assign them the marked new positions. After two further full rounds, add each such missing edge and two adjacent vertices both joined to . This realizes . Since , the output core has order . Choosing gives . Both choices of yield outputs of linear order and linear unary length. A planar realization of certifies membership in NP.
The range of subdivision budgets at fixed order
Proof of Proposition 3.5. The vertices of the first three entries send at least edges across their cut in any planar realization of . The bipartite planar bound gives .
Start with on . Inside the face draw internally disjoint two-edge paths along each side. Order the internal vertices of the and strips from inwards and then out to . Join them in consecutive pairs, each in its own quadrilateral or in the central face. The paired vertices are cubic, the along have degree two, and each corner has degree .
Stack vertices starting in , using the new face at each time. Each insertion raises both by one, raises the preceding cubic vertex to degree four, and adds a cubic vertex. This gives . To realize alone, join a triangle to independent vertices and make the same additions starting at any independent vertex. Its degrees sum to .
The symmetric list satisfies for every . Even orders follow by taking . For odd the same cut gives . Before pairing the strip vertices, add a vertex adjacent to in the central face. Within the strips there are disjoint consecutive pairs since . Joining any pairs in their quadrilaterals leaves twos and gives each corner degree .
Derivation of the arithmetic criterion
Proof of Theorem 2.3. Take a Schur complement of and apply the weighted matrix-tree theorem [20] with edge weights . Writing for a spanning tree of , the determinant expands as
Each simple graph thus has weight equal to its number of spanning trees. Differentiation at zero keeps precisely the graphs with degree list .
In the trace expansion [18], matching derivative positions to incident edge ends chooses a cyclic order at each vertex and a starting end. Write for the permutation of ends in these orders and for edge reversal. Since pairs matrix entries with reversed indices, the free indices run once per cycle of , the face permutation. A connected rotation system with faces contributes a positive multiple of . Euler’s formula gives for genus . Hence the constant term vanishes, and the th forward difference at zero is times the coefficient of , which counts the weighted spherical systems.
The determinant counts only connected graphs. If a planar realization is disconnected, guarantees a cycle in one component. Expose a cycle edge and an edge of another component on their outer faces. Delete both and reconnect their endpoints across the components without crossings. This preserves degrees and merges the components even if the second edge was a bridge. Iteration gives the connected spherical realization counted above.
Proof of the sparse boundary theorems
In the notation of Section 3 put and . The two boundary layers have , respectively. We first treat leaf-free lists , writing for the core degrees in descending order, for their number and for their sum. The budget and the degree bound are
By Lemma 3.1, is planaric exactly when some plane multigraph of degrees satisfies . Here counts the distinct nonloop adjacencies and counts loops with multiplicity.
Section C.1 gives the local constructions for extending a smaller realization. They yield all leaf-free exceptions with in Section C.2 and the base cases for induction. For , Section C.3 reduces repeated core degrees in pairs and restores degrees four and three individually. Section C.4 then restores the leaves and tracks which exceptions survive.
We shall also use a cut count with leaves present. On let be the core and its complement. Subtracting the two parts’ degree sums gives . Hence for any nonempty realization, and forces . For , . Four or more threes would give . Exactly three threes force equality in : the induced graph on has three vertices adjacent to every other core vertex, so it contains .
Construction rules
Lemma C.1. Suppose , is even, is a nonnegative integer, , and . Then is graphic exactly when . In that case .
Proof. In the Erdős–Gallai test [10] the first inequality is and the second follows from . For the right side minus the left is at least . For and the difference equals .
Lemma C.2. In a simple plane realization of minimum degree at least two, a prescribed vertex can gain one neighbor while a three is added to the list. A four can be added with every old degree fixed if .
Proof. For the first move take an edge at the prescribed vertex . Subdivide the next edge at and join its new vertex to through the intervening sector. For the second move take two disjoint edges on one face, join their four ends to a new vertex in that face and erase both edges. Edges in different components can be placed on the outer face. In a connected realization Euler gives a nontriangular face. Its boundary walk has three distinct vertices in every consecutive triple (minimum degree two). If every consecutive quadruple repeats a vertex, the walk is periodic of period three and uses a directed edge twice unless it is a triangle. Hence the required pair exists.
Lemma C.3. From a planar realization of with , one can realize for .
Proof. If a two has nonadjacent neighbors, suppress it. At a remaining two subdivide an incident edge by and add parallel two-edge paths alongside . Otherwise delete a two whose neighbors are , glue a copy of along in a thin sector, and erase . Along the edge joining its two fresh vertices add parallel two-edge paths. Both operations preserve the other prescribed degrees.
Lemma C.4. If , every and , then is planaric on either boundary.
Proof. The square of a path on vertices is outerplanar with edges and maximum degree four. Cone it and repeat the spokes to fill all rim targets. The apex has degree , so loops at it complete the degrees. The support has edges and the cost is .
We use two edge-weighting rules. On a complete multipartite graph, nonnegative increments summing to are attainable by copying edges exactly when each part needs at most : pair a unit in each of two parts of largest positive demand. All parts of demand are chosen, so induction applies. On the planar double fan , let be the two poles’ residual demands and the total residual path demand. Assume even total, all demands nonnegative, and . If one can place path-edge copies within the path capacities, the degrees can be completed. For place exactly that many copies; for copy the pole edge times. The remaining path demand equals the total remaining pole demand and all spokes are available.
Lemma C.5. Let denote the minimum number of additional twos. For with and even, , except that .
Proof. The two lower bounds follow from the maximum number of edges on a six-vertex planar support and from the maximum degree of a simple graph. If , take with parts . Each vertex needs its degree minus four in extra copies. For the last two parts, and . Thus every part needs at most , and the multipartite rule gives a completion at cost .
Suppose and . To give the cone apex degree , we need a base on vertices. Start with a triangulated pentagon of degrees , placing at its vertex of degree four. Attach leaves to bring the five degrees to . The base still needs vertices. This number is nonnegative by the bound on and even since is even. Add them in disjoint pairs joined by an edge. Coning this outerplane base turns all vertices outside the pentagon into degree-two vertices. If , the five smallest targets are all four, so forces even. We treat at the end of the proof. For use the octahedron. For , add one chord to a pentagon and attach a leaf to each of its three vertices of degree two. Add isolated edges on vertices and cone.
In the remaining case with , we have and . Put at the poles of . Here , , , and . If , then and the double-fan rule applies. Otherwise , whence . Now and any path edge accommodates the one extra copy needed.
For the six-valent vertex is universal. Its deletion in a planar drawing would leave all the other vertices on one face and give the outerplanar sequence . Deleting its leaf gives a five-vertex, seven-edge outerplanar graph of maximum degree at most three. Such a graph triangulates a pentagon, whose two diagonals share a vertex of degree four. Conversely, attaching a triangle at one vertex of the octahedron realizes .
At most seven vertices of degree at least three
Proposition C.6. For a leaf-free graphic sequence on either boundary with , the nonplanaric sequences are as follows. For the only one is . For , every sequence with is nonplanaric. With the exceptions are the lists with exactly three core entries equal to three, together with , and . With they are , and .
The support inequality and Euler’s bound leave at most for the sum of the missing support edges and the loops when .
Five core vertices For , or with some core degree three, no realization can contain a subdivision of or , by counting branch vertices of the required degrees. On the upper boundary, the core cut count rules out and forces on the core when .
On the lower boundary with , assume all five degrees are at least four. Delete from the edge between the vertices of targets . The resulting graph is complete multipartite, with these two vertices in one part and the vertices of targets in three singleton parts. The increments needed are and their sum is . Each singleton part needs at most . The last part needs unless all entries are four: indeed , with equality only in that case, and its value is even. The multipartite rule supplies the extra copies on this nine-edge support. When , and the complement has degree sequence , realized only by . The original graph is with one edge subdivided.
Six core vertices Lemma C.5 treats cores of minimum degree at least four on both boundaries. Write for the number of core entries equal to three. On the upper boundary . A planar realization gives . A simple planar support on six vertices has at most twelve edges, so and . Such a triangulation is either the octahedron or . Indeed, minimum degree four forces regularity and a perfect matching in the complement. Otherwise remove a degree-three vertex. The resulting triangulation is minus an edge, the triangular bipyramid, all of whose faces are equivalent. Inserting a vertex in one face gives . The core cut count settles , so it remains to consider and .
For let . We have , since would force by the degree bound, and then . Place both threes at the ends of . The largest number of additional path edges is . In the double-fan rule, , , is the degree bound , and . This is at most exactly when . Since , and , the left side is at least nine, and it has the parity of .
For write . When , the degree bound and force . The octahedron has minimum degree four, and the double fan requires two targets of degree at least five. For order the path capacities as . Only the two edges incident with the third path vertex can take extra copies. They share its units of capacity, and their other ends supply units between them. The maximum number of copies is therefore . We have , as required by the double-fan rule. The quantity is at most , since . It is at most provided . This quantity is odd and at least five. Equality with five forces . Both poles are then saturated. The cubic target must occupy a path endpoint, so up to reversal the capacities are . They require two extra copies but permit only one.
On the lower boundary . Suppose . If , then is even, so and deleting an octahedron edge realizes . For all three cases use the cone with apex over the cycle with chord . Its degrees in order are . Give the targets . For put at , and for put , at , . All remaining targets are three. Choose the extra edge copies from the complete multipartite subgraph indicated for each .
| Parts | Remaining demand in each part | |
| 3 | , , | |
| 2 | , , , | |
| 1 | , , |
The demands sum to , so the multipartite rule requires only that each part have demand at most . The degree bound gives throughout. For we have . As is even, , or , which also bounds . For we have , so , or . For we have and . Both are even, so both are at least eight, as required. Pairing the demands gives extra edge copies, each of which we subdivide once.
For the degree bound forces with . The graph realizes it and is a subgraph of a double fan. For , the sum and maximum degree requirements are incompatible: for they give and , respectively.
Seven core vertices on the upper boundary First suppose the minimum target is at least five, so . If , start with a hexagon carrying two noncrossing chords with disjoint endpoints. Attach leaves to its vertices until each has its target degree minus one. The number attached is . Coning gives the required realization.
Otherwise . If , remove and replace by in the core. The six remaining targets have sum and maximum at most . For the changed target this follows from . For the unchanged targets it suffices to bound : we need , and . All six targets are at least five, so Lemma C.5 gives a simple plane realization with twos. Suppress its degree-two paths to obtain a plane multigraph with . Its simple support has at most twelve edges, so it is a triangulation and has no loops. The vertex of target has at most five neighbors, so some edge is repeated. Fix a plane embedding of the support and let immediately follow in the cyclic order at . Draw the parallel copies in narrow bundles and take the two facing outermost copies of and . In the sector between the two edges, replace both copies by , and copies of for a new vertex . The degree of rises by and the new vertex has degree . Another copy of survives, so only can disappear from the support. The three new edges , , bring the support to at least fourteen edges, and its subdivision cost is at most .
If , use the pentagonal bipyramid with apexes and equator in that order. Its support has fifteen edges. Adding a copy of every edge of the Hamilton cycle raises every degree by two. Subtracting two from all targets until the minimum is five or six therefore reduces the construction to the following bases. Since is even, minimum five requires an odd number of sixes and minimum six an even number of sevens.
| Targets in vertex order | Extra edge copies |
| 06, 23, 45 | |
| 06, 12, 23, 45 | |
| 06, 14, 45, 23, 23 | |
| 06, 16, 23, 23, 45, 45 | |
| 06, 06, 23, 23, 14, 15, 45 | |
| 06, 06, 23, 23, 23, 14, 15, 45 | |
| 06, 06, 45, 45, 23, 23, 23, 14, 15 |
If the minimum is four, the construction for still works. For remove one four. The residual remains graphic by Lemma C.1. On the upper boundary the residual has , so exactly when . Lemma C.2 then restores the four in any planar residual. If , all six vertices are core vertices of degree at least four and their degrees average four. This gives (4^6) and hence the parent (4^7). Among the six-core residuals with all core degrees at least four, Lemma C.5 leaves only as nonplanaric. Table 2 realizes its parent .
| Residual core | Possible parent cores |
| , | |
Table 2.
For (4^7) there is a short face count (see also [26]). A realization would be connected since every component has at least five vertices. Its even degrees give a decomposition of the edges into simple cycles. Thus it is bridgeless, and we may color each face by the parity of the number of these cycles surrounding it. Crossing any edge changes the color, so the face lengths in each color sum to the number of edges, 14. Its nine faces have total length 28, and every face has length at least three because the graph is simple and bridgeless. Exactly one face is a quadrilateral. The color without that face gives , a contradiction.
Now let count the threes. If , the five smallest entries sum to 15, below the 16 required by Lemma C.1. If write , with , and . The graph has degrees , with the first three vertices forming a triangle. Denote them by in target order. The extra multiplicities on are
Their sum is . If , the two displayed constraints force . For the second multiplicity is nonnegative since and . The third is nonnegative since . If the first is negative, then $6 \le a \le a + b - c < 8$. Since has the parity of , it must equal six, giving .
To exclude , remove its universal vertex. An outerplanar graph of degrees would have eight edges. It must be connected, since two components of minimum degree two on six vertices can only be triangles. Deleting a cut vertex leaves five vertices, and every component has at least two since the original minimum degree is two. The two components thus have orders two and three. Together with the cut vertex, they induce outerplanar graphs with at most three and five edges respectively. Equality forces a triangle glued to a diamond, giving degrees or . In the remaining two-connected case the outer boundary is a hexagon, and both diagonals would have to join the same two degree-four vertices.
For , suppress the two-vertex if its neighbors are nonadjacent. This would give a seven-vertex triangulation with four degree-three vertices. Such vertices are independent in any triangulation on more than four vertices (two adjacent ones force all four faces of a tetrahedron), so their twelve incident edges violate the bipartite planar edge bound . If its neighbors are adjacent, remove the two-vertex to get a seven-vertex plane graph with fourteen edges and four vertices of degree at most three. None can have degree two, since deleting it would leave a six-vertex triangulation with at least three vertices of degree at most three. The only six-vertex triangulations, the octahedron and , have zero and two such vertices, respectively. Hence both neighbors had degree six, leaving the previously excluded sequence .
Finally suppose . Remove a three and reduce a largest entry by one. The largest entry was at least five, and two entries equal to would leave only sixteen for the other five entries, whose sum is at least . The residual maximum is at most , so the residual is graphic by Lemma C.1. Lemma C.2 lifts any planar residual. Lowering a maximum of at least five creates no new three, so the residual has threes. For each remaining exceptional residual core, the right column lists the preimages obtained by adjoining a three and raising one of the old entries by one to a (possibly tied) maximum.
The first core with its one two-vertex is obtained by taking a hexagon with disjoint chords 02, 35, attaching a leaf at vertex 1, and coning. The first preimage in the second row is the cone on the same hexagon and both chords. Table 2 gives the other two.
Seven core vertices on the lower boundary If a three occurs, remove one three and lower a largest entry by one. That entry is at least four, and if it equals it is unique, since . The residual list remains on and is graphic by Lemma C.1. The six-core case gives a planar realization with the same twos. Reinserting the three finishes. Otherwise every core degree is at least four and . If , take a hexagon with one chord, then add leaves to attain the six targets minus one. The number of leaves is ; coning finishes. If , remove one two. The upper-boundary residual has maximum at most and is graphic by Lemma C.1. We may subdivide one edge of its planar realization unless its core is . For that core, subdivide an octahedron edge once and apply the four-insertion of Lemma C.2 to the resulting seven-vertex graph. This proves Proposition C.6.
Eight or more core vertices
Proposition C.7. If , every leaf-free graphic sequence on either boundary is planaric.
Upper boundary with all core degrees at least five
Lemma C.8. Let be the three largest entries, in descending order, of a core with and . Suppose is even and . If and , then is planaric in either of the following cases.
and .
All core entries are distinct.
Proof. Put at the poles of . Their residual demands are and . For the second case, strict descent gives , so both demands are nonnegative there as well. The path vertices have residual sum , and . By the double-fan rule it suffices to place extra path edges leaving capacity at most .
Set and write for the remaining target degrees minus four. We may order these capacities along the path as we please. The two ends each have one further unit of capacity. For the first assertion, pair consecutive capacities, leaving the smallest one unpaired when is odd. In each pair use the smaller capacity in edge copies. The unused capacities of the pairs are differences over disjoint intervals in the ordered list, so they sum to at most . When is odd the unpaired vertex contributes a further . In either parity at most units remain before the two endpoint units are counted, and .
For the second assertion consider four consecutive capacities . Pairing them consecutively leaves unused. Instead order the path as and use and extra copies of its first and last edges. This saturates both ends and leaves and units at the middle vertices. Copies of the middle edge can now use one unit from each until only units remain. Since both outer gaps are positive integers, their difference in absolute value is at most . Let be the remainder of modulo four. Set aside the smallest entries and apply the block construction to the rest in increasing order, using zero extra multiplicity on joins between blocks. For the leftover small block can have unused capacity respectively
For , the difference is one plus the excess of the first gap over one. For , place in the middle. Its two incident edges can take extra copies in total, leaving units. Since both and are positive integers, their absolute difference is at most . Write for the sum of all gap excesses. The four-entry blocks and the small block use disjoint gaps. Thus the unused capacity before counting endpoints is at most , , , or , respectively. Since , all four bounds are at most . Adding the two endpoint units gives . In either construction the support has edges, so its cost is at most .
Lemma C.9. Every leaf-free graphic sequence on with and has a planar realization.
Proof. Choose a counterexample with as small as possible. Proposition C.6 excludes , so . Lemma C.4 gives , and Lemma C.8 rules out distinct core degrees. Choose the smallest repeated value . After removing two copies the core has vertices and degree sum . To stay on the upper boundary we take . If the new maximum were at most , the reduced sequence would be graphic by Lemma C.1 and planaric by minimality. Since , Lemma C.3 would then restore the equal pair. Hence . Since , integrality gives . Together with , this gives .
We claim . This holds immediately if . Otherwise remove a largest entry and one remaining copy of . Their removal leaves entries of sum . Substituting in yields . Since is the smallest repeated value, at most one five occurs, so . Using gives
Now , so Lemma C.8(1) applies whenever . Since , only remains. Then and force .
For this last case take and erase one edge from the second pole to the path. The second pole now has degree . The first pole needs more incidences, and the path vertices need in total. As and , we have . Each path vertex needs at least one incidence, since its target is at least five and its present degree at most four. Double two vertex-disjoint path edges and supply every remaining path incidence on its spoke to the first pole. The support has edges, so the subdivision count yields a realization with degree-two vertices.
Restoring degrees four and three on the upper boundary
We first prove by induction on that every leaf-free graphic sequence on the upper boundary with minimum core degree at least four is planar, with the sole exception of . Proposition C.6 gives the base case . For , Lemma C.9 covers minimum core degree at least five. Suppose then that . If , put the other core vertices on a cycle and add two endpoint-disjoint noncrossing chords. Its maximum degree is three. Attach leaves to raise the cycle vertices to the corresponding targets minus one. Since , precisely leaves are needed. The cone is the required simple plane graph. For , remove a four, leaving twos and maximum at most . The reduced sequence is graphic by Lemma C.1. The residual has vertices and edges on the upper boundary. Hence , and Lemma C.2 restores the four in any planar realization. A nonplanar residual is possible only for and core . A square antiprism realizes .
We now allow threes and induct on . For a core containing a three, delete it and reduce the maximum by one. This leaves the number of twos unchanged. We have since and the core contains a three. For a universal entry is unique, since two equal to would leave sum . The reduced sequence has maximum at most and at least eight core entries. It is therefore graphic by Lemma C.1 and planaric by induction. Lemma C.2 restores the three.
At the reduction gives seven core entries and the new degree bound is . By Lemma C.1 the residual is graphic unless two original entries equal . In that case the other six sum to , so all six are threes. The original sequence has core and . It is realized by , a subgraph of a double fan. If the residual is graphic and nonplanaric, Proposition C.6 gives the following possible reduced cores and their preimages.
| Reduced core | Original core |
| , | |
Table 2 gives a realization for each of the four preimages with its required twos. This establishes the induction for the upper boundary.
The lower boundary Here . When a three occurs, delete it and lower a largest entry by one. We have . If then it is unique since . The reduced sequence still has twos, its maximum is at most , and it is graphic by Lemma C.1 since . Induction on using Proposition C.6 and Lemma C.2 thus handles this case.
If all core entries are at least four, then . When use a cycle on with one chord, complete its degrees to the targets minus one by adding leaves, and cone. When , remove a single two. The resulting upper-boundary sequence has twos and maximum at most , so it is graphic by Lemma C.1. The upper-boundary result just proved realizes it for . Subdividing any edge restores the lost two and finishes the proof of Proposition C.7.
Restoring the leaves
Lemma C.10. Suppose a positive graphic sequence contains a one and its maximum entry is at least three. Delete a one, lower a maximum entry by one and reorder. The resulting positive sequence is graphic. If it is planaric, so is the original sequence.
Proof. In a realization let the chosen leaf have neighbor , and choose a vertex of degree . If , then and . There is thus a adjacent to neither nor , with . Replace by . The degrees are unchanged and can now be deleted. In the reverse construction a leaf can always be attached to the prescribed vertex in a planar embedding. □
Proof of Theorem 3.2. For the conclusion is due to Bar-Noy et al. [3 Theorem 2]. By parity it remains to consider . We induct on . For , Propositions C.6 and C.7 give the unique exception . Take . If the maximum degree is at most two, every realization is planar. Otherwise Lemma C.10 gives a graphic residual with leaves and the same , since becomes . By induction we can attach the deleted leaf unless the residual is . The only entry we could raise to recover the deleted maximum is a four, so the original list is . To realize it, delete an edge from and draw the resulting graph with all vertices on the outer face. Attach a leaf to in that face, cone the resulting outerplane graph, and then attach a new leaf to . The cone vertex has degree five, the four original vertices have degree four and has degree two, as required. □
Proof of Theorem 3.3. We induct on . Propositions C.6 and C.7 give the base case , and the core cut count settles the first two classes of Theorem 3.3 for every . Outside these classes take . Since , a maximum entry is at least five. Lemma C.10 thus preserves , , and the number of threes. If the residual is planaric, attaching the leaf finishes the construction. By induction we need only consider residuals in the last two classes of the theorem.
When there are six such residuals. In reversing the deletion one may raise any entry that, after its increment, is a maximum. Table 1 lists all such choices. The middle column gives the degrees before the leaf was deleted, with that single leaf omitted. Each sequence in the last column is obtained by lowering a different vertex in the middle column. Attaching a leaf at the vertex just lowered in a planar realization of the alternative residual gives a planar realization of the predecessor.
| Endpoint | Predecessor, omitting the leaf | Alternative residual |
| universal vertex | ||
| universal vertex | ||
| universal vertex | ||
Table 1. First predecessors of the six remaining leaf-free exceptions.
The first alternative residual is realized by the double fan . The other four have maximum degrees 6, 5, 6, 7 in table order and respective degree bounds . Each is therefore graphic by Lemma C.1 and planaric by the leaf-free classification. Attaching the leaf in each case realizes its predecessor.
The other three predecessors begin the families in part 3. For the residual still has a leaf, so by induction it belongs to one of these families. Its universal vertex exceeds every other degree by at least two. Only that entry can be raised to recover a maximum, giving the next member of the same family. Conversely, every member is graphic by attaching leaves to the maximum of its leaf-free endpoint. In every realization the maximum is universal, so deleting its leaves recovers that endpoint. Its nonplanarity rules out a planar realization of the entire family.
| Degree sequence | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Faces |
| 4576 | 2653 | 4613 | 1542 | 0623 | 3160 | 512407 | 60 | 10 | ||
| 162435 | 05326 | 14706 | 41508 | 23807 | 310 | 201 | 42 | 34 | 11 | |
| 16352 | 02436 | 1054 | 4061 | 2531 | 420 | 301 | 9 | |||
| 36754 | 2576 | 3416 | 0426 | 5230 | 1407 | 1032 | 501 | 10 | ||
| 1543762 | 02345 | 10673 | 201 | 105 | 401 | 207 | 602 | 10 | ||
| 165724 | 032756 | 13407 | 214 | 302 | 106 | 501 | 201 | 10 | ||
| 1764325 | 052678 | 150346 | 204 | 302 | 210 | 201 | 108 | 71 | 11 |
Table 2 (PDF p. 21). Spherical rotation systems for the finite exceptions to the reductions.
Each column gives the neighbors of the indicated vertex in cyclic order. To trace a face, follow by , where follows in the cyclic list at . The number of cycles of this permutation appears in the last column. Since in every row, capping the face walks with disks gives a sphere embedding.
Finding a realization by reading triangular faces
The states
For enumerate the simple graphs. For reject entries above and sums odd or above . Any planar realization extends to an edge-maximal simple plane graph on the same vertices, including isolates. Maximality rules out distinct components on a common face and consecutive edges at a cut vertex leading to different components of its deletion. Every face boundary is therefore a cycle. Among four consecutive corners, the two diagonals between alternate corners cannot both lie outside the face, so every face is triangular. Colour the original edges red and the added edges blue. The search tries possible faces and edge colours one at a time. A complete run reads faces and counts each red edge at its first appearance.
An edge used by one face so far is open, and an edge used twice is sealed. The active vertices are the endpoints of the open edges. A state consists of the following data.
The numbers of faces read and vertices introduced, together with the multiset of target degrees still to be assigned. We remove a vertex’s degree from this multiset only when the vertex ceases to be active.
All open and sealed edges between active vertices. We retain a sealed edge to prevent a later face from creating a second edge with the same endpoints. The open edges are partitioned into blocks according to which component of the read-face dual contains their incident read face.
The red degree accumulated at each active vertex. A red edge contributes at its first appearance.
We identify states under bijections of the active vertices preserving these data. The colour of a newly seen edge affects only its two endpoint counts, so the state need not store it separately.
To add a face, choose three distinct vertices, each active or previously unused. The choice is admissible only if no two are joined by a sealed edge. Any open side of the new face becomes sealed, while each previously absent side becomes an open edge and receives its colour. In the read-face dual the new face joins all the blocks it meets across old open edges, so we merge these blocks and include its new open sides in the resulting block. If it meets no block, it starts one. Once a block loses its last open edge, no further face can attach to it. We therefore allow this to happen only for the sole remaining block on the final step.
When a vertex loses its last open edge, its red degree is final. We remove one copy of that degree from the residual multiset, rejecting the step if none remains. We can now forget all sealed edges incident with the vertex, since a retired name is never used again. The search starts with an empty boundary, the entire input multiset and unused names. After steps it accepts if the sole face component has closed, all names have been used and the residual multiset is empty. Figure 5 illustrates the transition across a shared edge.
Figure 5. Two faces of a tetrahedral host. Thick edges are red, thin edges blue. Reading seals (double line) and introduces one red edge . In panel (b) the red counters at are and the four open edges form one block. The shared edge contributes only once.
What an accepting run represents
The states forget the cyclic order at each vertex. To recover a sphere at acceptance, we must rule out several disjoint fans of triangles meeting at a vertex.
Lemma D.1. For any sphere triangulation whose red subgraph has the input degrees, the unrestricted transitions accept every ordering of its faces. Conversely, every accepting run gives a simple planar realization of the input.
Proof. In a triangulation the faces around a vertex form a cycle. If some of them have been read and others have not, the cycle crosses from a read face to an unread face across an incident open edge. Consequently a vertex needed later is still available. The full face dual is connected, so every proper component of read faces has an open edge. A true face ordering obeys all transition and retirement rules.
Conversely, follow an accepting run, assigning a different permanent name to every introduced vertex. A pair of active vertices cannot reopen a sealed edge, and a pair with a retired endpoint cannot occur again. Each edge thus has exactly two occurrences at closure. The transition tests do allow two face instances with the same unordered triple of corners. Those two faces would use up both occurrences of all three sides and hence form an entire component of the face dual. At acceptance the dual is connected and , so no triple is repeated.
Glue the triangles along paired sides, matching their named endpoints. The interior of every edge has a disk neighbourhood. To examine a vertex, consider its link, with one vertex for each incident edge and one edge for each face corner. Since every side occurs twice, every vertex of the link has degree two. The link is therefore a disjoint union of circles. Splitting the original vertex into one copy per circle gives each copy a disk neighbourhood, and faces sharing an edge still share it after splitting. The connected face dual thus gives a connected closed surface.
If splitting adds vertices, the surface has vertices, edges and faces. Its Euler characteristic is
By the classification of compact surfaces, a connected closed surface has Euler characteristic at most two, and equality characterizes the sphere, with or without an orientability assumption. Hence and the gluing itself lies on the sphere. Distinct corners and the pair rule give a simple graph. Its red subgraph realizes the input because each red edge was counted once at each endpoint and every vertex retired exactly once.
A boundary catalogue independent of the host
A given embedding supplies boundaries for a surface decomposition [25]. For triangulating a prescribed point set, Lingas [22] and Marx and Miltzow [24] choose separators from the given points. For degree realization the catalogue must be built from alone.
Lemma D.2 (Boundary catalogue). For every there is a deterministic -time algorithm that, given , lists at most records of bits each. For every red-blue sphere triangulation on vertices, its faces admit an order in which each prefix has a matching record. A match is a bijection from the active vertices of the prefix to those of the record that preserves the current red degrees, the open and retained sealed edge sets, and the partition of the open edges into read-face components.
Proof. Choosing the order. An unweighted separator bounds the number of vertices we must remember. Charging each of them bits would still leave a logarithmic factor in the exponent. We charge vertex of the host only , enough to store any red degree it can attain, and give it weight . Since and , we have .
The vertex separator theorem of Aleksandrov et al. [1 Theorem 2] applies to any planar graph with nonnegative vertex costs and weights. For it gives a set of cost at most whose removal leaves each component with weight at most . With the weights above and , this costs at most . Recurse on the remaining components, assigning every removed vertex to the node where it is removed. The weights are positive and halve at each step. The sum of the separator costs along a root-to-leaf path is therefore bounded by
Vertices assigned to incomparable nodes lie in different components after their last common separator is removed. Hence the endpoints of an edge belong to comparable nodes, and the three nodes containing the corners of a face lie on one path. Assign each face to the deepest of these nodes and read the faces at each node before visiting its children in depth-first order. While reading the faces at , every vertex in a completed side branch has seen all its incident faces, and every vertex in an untouched subtree has seen none. The active vertices therefore lie on the separators along the path to . If there are such vertices and is the current red degree of , then gives
Encoding the boundary. Let consist of the retained edges on the active vertices, with . Subdivide its edges at their midpoints. To encode the open-edge partition in the same plane drawing, cut the read-face dual wherever it crosses . Each cut-dual component now joins read face centres only through unretained sides, so it can be contracted disjointly from . Keep the components incident with and draw a spoke from each retained side’s midpoint to the component of each incident read face. An open midpoint has one spoke and a sealed midpoint has two, with duplicate spokes suppressed. Passing through a sealed midpoint restores exactly the dual adjacency cut there. Thus two open midpoints are joined by a path of spokes precisely when their read faces were connected. The marked plane graph has primal segments, at most spokes and vertices.
As long as the drawing is disconnected, some face has vertices from two components on its boundary. Join such a pair by an arc inside the face and mark the new edge for deletion. Each step reduces the component count by one and preserves planarity. There are at most vertices, so the connected drawing still has only edges. Choose a spanning tree and a root corner. A clockwise tour of the tree records an opening and a closing symbol for each tree edge, with a placeholder at every non-tree half-edge encountered on the tour. Cutting the sphere along the tree leaves a disk whose boundary follows this tour. The non-tree edges run through that disk as disjoint arcs, so their endpoints form a noncrossing matching of the placeholders. Writing an opening symbol at the first endpoint of each arc and a closing symbol at the second uniquely records the matching, since each closing symbol pairs with the most recent unmatched opening. Together the two words specify the tree, the corner of every placeholder and the edge incident there.
Prefix each word of symbols with . The rooted tour numbers vertices and edges by their first occurrence, with the root vertex first. In this order, append two bits per vertex for its type (original, open midpoint, sealed midpoint or dual component) and two per edge for its type (primal segment, spoke or bridge). The two words and the marks take bits. Finally, for each active vertex append the binary digits of preceded by , where . These fields take at most bits. One initial bit distinguishes the empty drawing. The size bound on and (4) give a fixed constant for which the whole record fits in bits.
Enumerating all strings up to this length gives the catalogue. A string must decode in full into the two words, their tree traversal and matching, and the required marks and counters. After the bridges are deleted, every primal segment must join an original vertex to a midpoint. Exactly two such segments must meet each midpoint, with distinct original endpoints, and no two midpoints may give the same endpoint pair. Every original vertex must meet an open midpoint. Spokes join midpoints to component vertices, with one spoke at an open midpoint, one or two at a sealed midpoint, and at least one at each component vertex. The open midpoints in each connected component of the spoke subgraph form a block whenever this set is nonempty. We require at most original vertices and one counter in for each. These tests take polynomial time per string. The surviving records, including the empty boundary, form the allowed table in any fixed order. Several records may represent the same boundary, and some may occur in no triangulation. The construction above ensures that every prefix of the chosen face order has a record in the table.
Using the catalogue. Assign each proposed successor the index of its first isomorphic record, discarding it if none matches. Suppose two prefixes agree on the counts and residual multiset, and their active data are isomorphic. For any next face, the isomorphism identifies its active corners. Equal numbers of unused names let us pair the fresh corners and give the new edges the same colours. Both steps then merge corresponding blocks, remove the same degrees and again have isomorphic active data. Induction shows that the prefixes admit the same continuations, so one history per state suffices. Each retained history consists of actual transitions, and Lemma D.1 applies if it accepts.
Counting states and recovering the graph
The data to be compared have a natural representation by a coloured incidence graph. Its four colour classes distinguish active vertices, open edges, sealed edges and blocks, with the first class further refined by current red degree. Each edge vertex is adjacent to its two endpoints, and each open-edge vertex also to its block. Colour-preserving isomorphism of these graphs is precisely equivalence of the active data. The plane drawing also gives a short path decomposition for this comparison.
Let , an upper bound on the sizes of the decoded drawings and incidence graphs. For a true boundary, apply the separator theorem to its plane drawing with unit costs and weights. Visit the recursion tree in depth-first order, with a bag at each node containing its separator and all ancestor separators. A vertex occurs precisely during the visit to its subtree, and the ends of every edge share a bag. The geometric sum in (4) now bounds the bag size by .
To pass to the incidence graph, delete the temporary bridges and split each midpoint into two copies in every bag containing it. Give one copy the two primal segments and the other its spokes. Link the copies of an open midpoint, whose edge needs a block incidence. Leave the copies of a sealed midpoint unlinked. Contract each connected component of the spoke subgraph to one vertex, keeping it as a block only if it contains an open midpoint. The bags meeting a connected subgraph form an interval, so the contraction preserves the path decomposition. The splitting at most doubles the bag size. Write for twice the ceiling of , an upper bound on the resulting bag size.
Order the vertices by their last bag, breaking ties arbitrarily. At the end of any nonempty prefix, every unprocessed neighbour of a processed vertex belongs to the last bag of the most recently processed vertex. Thus the prefix has at most external neighbours. We can find an order with this property by a subset search, extending a reached set by one vertex whenever the enlarged set has at most external neighbours. Keeping one order per reached set costs time per pattern. We discard patterns with more than vertices or with no such order. Every boundary required for completeness survives these tests.
To compare a surviving pattern with a candidate , first check that their orders and edge counts agree. For each count the colour-preserving homomorphisms . In the saved order of , let and let be its external neighbours. For each assignment on , store the number of extensions to preserving the colours there and the edges incident with . Since , an assignment on and a choice for the image of supply the entire preceding table key. Check the colour of and its edges to later neighbours, and sum over its possible images. This costs time for each .
Inclusion–exclusion over counts the maps onto . With equal orders these maps are bijections, and with equal edge counts they are isomorphisms. Even the sum of the absolute values in the inclusion–exclusion calculation is at most for . We thus need only bits per integer. Since and , the bag factor is . A comparison, successful or otherwise, takes time.
The positive entries of the residual multiset form a partition of an integer at most , while the number of zeros can take at most values. Write for the ordinary partition number. The Hardy–Ramanujan asymptotic formula [15] gives , and hence . If is the allowed-table length, the number of possible state keys is at most , including the introduced-vertex count and the multiplicity of zero.
There are layers indexed by the number of faces read and at most keys per layer. Keep one history with permanent labels in per key. Each has at most extensions, one for each choice of corners and edge colours. Finding the first matching catalogue record costs at most per extension. Its index, the global counts and the residual multiset identify the successor. Scanning the next layer for this key costs , since a history has at most faces and takes polynomial time to copy or update. Together these costs give time. An accepting history records every red edge at its first appearance. Matching final degrees to equal input entries recovers the edges on the given labels.
On a deterministic multitape Turing machine, a first scan tallies the entries to obtain . A second scan skips leading zeros, records all-zero entries as zero, and rejects a positive entry as soon as its significant part exceeds . Only significant bits per entry need examination or storage. The scans take steps. All subsequent tables and histories together use bits, so even a full tape scan per table access multiplies the search time by at most . This proves Theorem 1.2.
Corollary D.3. The potentially planar degree multisets on vertices can be listed without repetition in total time. Their number is .
Proof. Generate the partitions of integers at most with at most parts by appending parts in nonincreasing order. Each prefix is itself a partition in the same range. Pad with zeros and apply Theorem 1.2 to each of the candidates. For , trees alone give different multisets. Pad a partition of to length and take the resulting entries as the label multiplicities in a Prüfer word. The tree degrees recover those entries by subtracting one. The partition asymptotic [15] gives the claim. □
Data and acknowledgements. The Lean 4 companion [27] indexes the formal results by theorem number and includes scripts for the finite enumerations. The interval rule, the search algorithm and the arithmetic criterion use the canonical-ordering theorem, the cost-weight planar separator theorem and the weighted matrix-tree theorem, respectively, as explicit hypotheses in Lean. We thank the members of The Kai Project for discussions on AI-assisted verification.
Declaration of generative AI use. We used OpenAI Codex (including GPT-6.2 Astra for the sparse classification) to develop and check proofs, search the literature, draft and edit the manuscript, and write Lean, Python and TikZ code. We take responsibility for the contents of this paper.
References
- [1]L. Aleksandrov, H. Djidjev, H. Guo and A. Maheshwari, Partitioning planar graphs with costs and weights, ACM J. Exp. Algorithmics 11 (2006 volume, published 2007), Article 1.5, Definition 1 and Theorem 2.
- [2]A. Bar-Noy, T. Böhnlein, D. Peleg, Y. Ran and D. Rawitz, Sparse graphic degree sequences have planar realizations, in MFCS 2024, LIPics 306 (2024), 18:1–18:17.
- [3]A. Bar-Noy, T. Böhnlein, D. Peleg, Y. Ran and D. Rawitz, Sparse graphic degree sequences have planar realizations, J. Graph Theory 113 (2026), 571–594.
- [4]J. A. Bondy and U. S. R. Murty, Graph Theory with Applications, Macmillan, 1976, Appendix IV, Problem 35.
- [5]G. Böttger and H. Harders, Note on a problem by S. L. Hakimi concerning planar graphs without parallel elements, J. Soc. Indust. Appl. Math. 12 (1964), 838–839.DOI
- [6]G. Brinkmann and B. D. McKay, Fast generation of planar graphs, MATCH Commun. Math. Comput. Chem. 58 (2007), 323–357. plantri, version 5.8.
- [7]V. Chvátal, D. A. Klarner and D. E. Knuth, Selected combinatorial research problems, Stanford CS-TR-72-292 (1972), Problem 24.
- [8]H. de Fraysseix, J. Pach and R. Pollack, How to draw a planar graph on a grid, Combinatorica 10 (1990), 411–51.DOI
- [9]J. Edmonds, Minimum partition of a matroid into independent subsets, J. Res. Nat. Bur. Standards Sect. B 69B (1965), 67–72.
- [10]P. Erdős and T. Gallai, Gráfok előírt fokszámú pontokkal, Mat. Lapok 11 (1960), 264–274.
- [11]S. Fanelli and C. Zaffiri, Un algoritmo per la caratterizzazione della non planarità di partizioni grafiche massimali, Calcolo 23 (1986), 305–326.DOI
- [12]M. R. Garey and D. S. Johnson, Computers and Intractability, W. H. Freeman, 1979, Section 4.2 and Problem SP15.
- [13]S. L. Hakimi, On realizability of a set of integers as degrees of the vertices of a linear graph. I, J. Soc. Indust. Appl. Math. 10 (1962), 496–506.DOI
- [14]S. L. Hakimi, On realizability of a set of integers as degrees of the vertices of a linear graph, II. Uniqueness, J. Soc. Indust. Appl. Math. 11 (1963), 135–147.DOI
- [15]G. H. Hardy and S. Ramanujan, Asymptotic formulae in combinatory analysis, Proc. London Math. Soc. (2) 17 (1918), 75–115.
- [16]V. Havel, Poznámka o existenci konečných grafů, Časopis Pěst. Mat. 80 (1955), 477–480.
- [17]J. Hopcroft and R. Tarjan, Efficient planarity testing, J. ACM 21 (1974), 549–568.DOI
- [18]M. Kang and M. Loebl, The enumeration of planar graphs via Wick’s theorem, Adv. Math. 221 (2009), 1703–1724.arxiv.org/abs/math/0605218
- [19]Z. Király, Recognizing graphic degree sequences and generating all realizations, Tech. Rep. TR-2011-11, Egerváry Research Group, Budapest, 2011.
- [20]S. Klee and M. T. Stamps, Linear algebraic techniques for weighted spanning tree enumeration, Linear Algebra Appl. 582 (2019), 391–402.DOI
- [21]J. Kratochvíl and M. Vaner, A note on planar partial 3-trees, arXiv:1210.8113, 2012.arxiv.org/abs/1210.8113
- [22]A. Lingas, Subexponential-time algorithms for minimum weight triangulations and related problems, in Proc. 10th Canadian Conference on Computational Geometry, 1998.
- [23]R. W. Maffucci, Constructing certain families of 3-polytopal graphs, J. Graph Theory 102 (2023), 484–501.arxiv.org/abs/2105.00022
- [24]D. Marx and T. Miltzow, Peeling and nibbling the cactus: subexponential-time algorithms for counting triangulations and related problems, in SoCG 2016, LIPics 51, Article 52.
- [25]J. Rué, I. Sau and D. M. Thilikos, Dynamic programming for graphs on surfaces, ACM Trans. Algorithms 10 (2014), Article 8, 1–26.
- [26]E. F. Schmeichel and S. L. Hakimi, On planar graphical degree sequences, SIAM J. Appl. Math. 32 (1977), 598–609.DOI
- [27]Z. Zhang and R. Tian, Recognizing potentially planar degree sequences, Lean 4 proofs and verification scripts, 2026, GitHub revision 1571a7a24790.arxiv.org/abs/2611.32060

