Preprint
Article

This version is not peer-reviewed.

A Combinatorial Proof of the Existence of a 4-Coloring for Planar Graphs

Submitted:

20 September 2025

Posted:

22 September 2025

You are already at the latest version

Abstract
A combinatorial tree \( (Pt) \) is used to record valid colors to be assigned to each of the vertices of a planar graph \( G \) of order \( n \). The main process consists of a loop that incrementally builds \( G \) vertex by vertex, starting from the most internal triangular face of \( G \), and in \( n-3 \) iterations, the paths constructed in \( Pt \) will have the valid color labels assigned to the vertices of \( G \). This method ultimately generates all proper 4-colorings of \( G \). In each iteration, a vertex \( v_i \in V(G) \) is selected to be aggregated to the current induced subgraph \( G_i \) of \( G \). This process, alongside the use of the \( Pt \) tree (which results in a binary tree of depth \( n-3 \)), ensures all proper 4-colorings of \( G \), regardless of the topology of the maximal planar graph \( G \). Additionally, we develop an existential theorem that shows that for any maximal planar graph \( G \), it is always possible to create a proper 4-coloring. Furthermore, we detail a method through which such a 4-coloring can be constructed. Also, we present the extremal topologies of planar graphs, highlighting those with the maximum and minimum number of 4-coloring functions.
Keywords: 
;  ;  ;  ;  

1. Introduction

The graph vertex coloring problem involves assigning colors to the vertices of a graph with the aim of using the fewest possible colors, while ensuring that adjacent vertices have different colors. The minimum number of colors required in any such coloring of a graph G is known as the chromatic number of G, denoted by χ ( G ) . If it is possible to color G using a set of k colors, then G is said to be k-colorable, and such a coloring is referred to as a k-coloring. When χ ( G ) = k , then G is described as k-chromatic, and any k-coloring represents a minimum coloring of G.
Since its initial proposal in 1852 by Francis Guthrie [7], a conjecture was proposed to know if it is possible to use a maximum of 4 colors for map coloring, in such a way that no two adjacent regions of the map share the same color (The Four Color Conjecture ’4CC´). This conjecture has presented a significant challenge to the scientific community for constructing a mathematical proof to validate it.
The famous Four-Color Theorem (4CT) states that every planar graph is vertex 4-colorable [18]. However, the 4CT could involve the 3-coloring problem, which is a classic NP-complete problem, even for planar graphs [11]. The 4CT settles a conjecture that has been for more than a century, the most famous unsolved problem in graph theory and perhaps in all of mathematics [10]. The 4CC is now, a broad area of research, with hundreds of contributors and thousands of contributions [3]
A proof of the 4CT proposed by Kempe [12] in 1879, turned out to be flawed. The seeming impossibility of proving the 4CT, and the increasing power of computers in the early 1960’s, led scientists to use computers for showing that there are no counter-examples for the 4CT. A programming proof of the 4CT was introduced in 1977 by Appel and Haken [1,2], assisted in algorithmic work by Koch [2].
The orientation in resolving the 4CT, based on Appel and Haken’s algorithm [1,2], is based on the application of the discharging method plus a large finite case check by computer. Initially, this involved analysing 1,834 configurations in order to identify all possible unavoidable sets of configurations in a planar graph. Robertson [18] has narrowed down the number of unavoidable sets of configurations to close to 700. However, this reduction requires significant computational support to manage the numerous cases that can be created for any planar graph. As a result, this computer program becomes impractical to present as a mathematical proof of the 4CT.
Initially, the proof did not gain general approval among mathematicians, however, it did fuel a debate [19] on the meaning of a mathematical proof. Nonetheless, a variation of the initial programming proof of the 4CT published in 1997 by Robertson, Sanders, Seymour, and Thomas [18] has been predominantly accepted.
The discharging method has proven to be an effective proof technique, particularly for graph coloring problems. However, its main drawback is that it often necessitates extensive case analysis. To address this challenge, various automatic methods have been developed to search for discharging proofs automatically [4,6].
For example, in 2005, Gonthier [9] applied an automatic theorem software (the Coq proof assistant) to build an automatic proof for the 4CT. The computer-assisted proofs contributed significantly to the development of "computer formal methods as a primary proof technique." For instance, in the 4-coloring problem, these methods enabled the mathematical argument to be verified more thoroughly, with various cases encoded and checked by an automatic proof assistant. For a comprehensive history of the four-color problem and in-depth review of plane graph 3- and 4-colorings, refer to Fritsch and Fritsch [7] and to Borodin [3].
Additionally, there are numerous publications available online focused on the ’proof’ of the 4CT theorem. However, to date, none of these have been acknowledged by researchers in the field as a formal, complete, and correct proof of the 4CT.
We address the 4CT problem from a combinatorial perspective, through the vertex incremental construction of a maximal planar input graph G. Our method utilizes a binary tree to list the valid colors of the vertices of G. This article also provides a clear and novel demonstration of the 4CT by using graph theory and combinatorial techniques, all without the assistance of a computer program.
This paper is structured as follows: the introduction section 1 provides a general introduction about the 4 coloring theorem. Basic definitions and the notation to be used are presented in section 2 - Preliminaries. In section 3, we introduce extremal topologies of planar graphs for the 4-coloring problem. In section 4, the main structures and procedures to be used in our method are introduced. In section 5, the existence’ theorem for the 4CT is proved. The final section offers conclusions drawn from this work.

2. Preliminaries

Let us consider a planar graph G = ( V , E , F ) , where n = | V | , m = | E | and in the case of planar graphs, let k = | F | be the number of faces in G. We assume that the reader is acquainted with common terms and symbols related to graph theory, specifically concerning planar graphs (see e.g. [10] and [17]). In this section, we will introduce only a few notation that will be utilized.
When two distinct vertices are connected by an edge { v , w } E , we describe v and w as adjacent vertices. A graph where every pair of different vertices is adjacent is termed a complete graph. The complete graph with n vertices is symbolized as K n .
The set N G ( x ) , defined as the neighborhood of x in a graph G, is given by N G ( x ) = { y V ( G ) : { x , y } E ( G ) } , while its closed neighborhood, denoted N G [ x ] , is the union of N G ( x ) with { x } , i.e., N G [ x ] = N G ( x ) x . The size or cardinality of a set A is the number of elements of A, denoted by | A | . The degree of a vertex x V ( G ) , denoted by δ G ( x ) , is | N G ( x ) | . Only when there is no doubt about the graph G to which the vertex’s neighborhood refers is it omitted. The degree of the graph is denoted as Δ ( G ) = m a x { δ ( x ) ; x V ( G ) } .
A subgraph of a graph G = ( V , E ) , is also a graph G = ( V , E ) where V V and E E . When the subgraph G contains all the vertices from G, G is a spanning subgraph of G, and G is termed as induced by V , if it includes all edges from G connecting the vertices of V . Such an induced subgraph is also denoted as G / V . Then, G V would be the induced subgraph from V V . On the other hand, when E E , G E = ( V , E E ) . When V = { v } and e = { u , v } , previous notation is usually simplified as G v and G e , respectively.

2.1. Elements of a Planar Graph

A graph drawing of a graph G, denoted as Γ , represents each vertex v V ( G ) as a unique point Γ ( v ) in the plane, and each edge { u , v } E ( G ) as a simple Jordan arc Γ ( u , v ) with endpoints Γ ( u ) and Γ ( v ) . A drawing is considered planar if it can be embedded in a plane without any two edges intersecting, except possibly at their shared endpoints. When a graph G has a planar drawing, it is called a planar graph.
One relevant result in graph theory is Kuratowski’s theorem, which provides constraints for determining whether a graph G is planar. According to this theorem, G is planar when it does not contain a subgraph that is a subdivision of K 5 or K 3 , 3 [13]. It is worth mentioning that a disconnected graph is planar if and only if each of its connected components is planar. Similarly, the theorem of Wagner states that a graph G is planar if and only if it does not have K 5 or K 3 , 3 as minor [15].
Planar graphs are significant in both graph theory and graph drawing. They possess several interesting properties: they are sparse, four-colorable, and their structure is described succinctly and elegantly [5].
A planar graph drawing divides the plane into connected areas known as faces. The face that extends infinitely is referred to as the outer face or the external face of the graph. f 0 denotes the outer face of a given planar graph G. Meanwhile, f 0 i will denote the outer face for the graph G i .
If all the vertices of a planar graph can be drawn incident to the outer face of the graph, then it is called an outerplanar graph. Similarly, an outerplanar graph may be characterized by the two forbidden minors K 4 and K 2 , 3 .
Let F ( G ) = { f 1 , , f k 1 } be the set of closed non-intersected faces of G. The internal area of each face f F ( G ) is delineated by the set of edges that enclose it. Notice that the outer face f 0 of the graph is not included in F ( G ) , because we want to consider only the internal faces related to G. I n t ( G ) denotes the internal vertices of G, which are vertices not incident to f 0 , i.e. I n t ( G ) = V ( G ) V ( f 0 ) . Let f F ( G ) , a facial walkw corresponding to f is the shortest closed walk induced by all edges incident with f. If the boundary of f is a cycle, the walk is called a facial cycle. The length of a face f is denoted by | f | and equals | V ( f ) | . We say that a face f F ( G ) is a triangle when | f | = 3 .
Two faces f i and f j in F ( G ) are considered adjacent if they share edges, meaning ( E ( f i ) E ( f j ) ) . If two faces do not share any edges, they are termed independent faces. It is worth noting that independent faces may share vertices but do not share edges. A collection of faces is independent if every pair of faces within it is independent. An edge { u , v } in G that is not part of a facial cycle of any internal face in F ( G ) , is called an acyclic edge. An acyclic edge is considered adjacent to a face if it shares only one vertex. Similarly, two acyclic edges are adjacent if they have a common endpoint.
Given a planar drawing, the (clockwise) circular order of the edges incident to each vertex is fixed. Two planar drawings are equivalent if they determine the same circular orderings of the edges incident to each vertex (sometimes called rotation scheme). A (planar) embedding is an equivalent class of planar drawings and is described by the clockwise circular order of the edges incident to each vertex. A graph put together with one of its planar embedding is sometimes referred to as a plane graph [5].

3. Determination of Extremal Topologies for the 4-Coloring

Let F o u r = { c 1 , c 2 , c 3 , c 4 } be a set containing 4 different colors. Given a planar graph G = ( V , E , F ) , let c : V F o u r be the assigning 4-colouring function which assigns to each vertex v V an unique colour in F o u r . The assigning function c is proper if for each edge { u , v } E , c ( u ) c ( v ) . Given a planar graph G = ( V , E , F ) , we analyse in this section, the set of all possible 4-coloring functions that can be built on V ( G ) .
We consider that exist an arbitrary ordering on the set vertex from G, i.e. V = { v 1 , v 2 , , v n } . Let H be a subgraph from G, C o l ( H ) denotes a proper 4-coloring on the set vertex from H and inferred by the ordering on V. For example, given an arbitrary edge e = { u i , u j } G , C o l ( e ) = ( a 1 , a 2 ) , where a 1 , a 2 F o u r , a 1 a 2 , and c ( u i ) = a 1 , c ( u j ) = a 2 , if i < j , otherwise c ( u j ) = a 1 , c ( u i ) = a 2 . C o l ( G ) = ( a 1 , a 2 , , a n ) denotes a total 4-coloring of G according to the order given on the set vertex from G.
Let 4 C o l ( G ) = { C 1 , , C t : C i = C o l ( G ) , C i C j , i j , i , j = 1 , , t } be the set of all proper 4-colouring that can be built on a graph G. And let 4 c ( G ) = | 4 C o l ( G ) | be the number of different proper 4-colorings that can be built on the graph G.

3.1. Counting 4-Colouring Process

We introduce a systematic way to count all 4-coloring of any subgraph H G , induced by the ordering set vertex from V. In order to calculate 4 c ( H ) , we consider that each vertex and each edge from H is visited only once.
The first visited vertex would consider 4 different colors since it has not any restriction for assigning one element from F o u r . When the following vertices are considered, they could have restriction according to the previous visited vertices from its neighbourhood.
For example, for an isle vertex u, 4 c ( u ) = 4 . Given an aisled unitary edge e = { u , v } , 4 c ( e ) = 4 * 3 = 12 , since when v is visited, it has only one restricted color, the color of u.
Let us consider the planar graph formed by n vertices, where each vertex is an isle, I s = ( V , E ) , V = { v 1 , , v n } , and E = . Then, I s is a completely disconnected graph. In this case, each vertex could be colored with whatever of the four colors, since there is not constraint between colors for any pair of vertices, then 4 C o l ( I s ) = { ( a 1 , , a n ) : a i F o u r , i = 1 , , n } . 4 C o l ( I s ) consists of all lists of n items formed by the colors in the set F o u r . There are 4 c ( I s ) = | 4 C o l ( I s ) | = 4 n different 4-colorings for I s .
An edge e = { v 1 , v 2 } constraints the combination of colors that can be assigned to its extreme points. In the case of the 4-colorings, and only one edge e, although v 1 can be assigned one of the four colors from F o u r , for each color assigned to v 1 , v 2 can only be assigned 3 possible colors. 4 C o l ( { v 1 , v 2 } ) = { ( 1 , 2 ) , ( 1 , 3 ) , ( 1 , 4 ) , ( 2 , 1 ) , ( 2 , 3 ) , ( 2 , 4 ) , ( 3 , 1 ) , ( 3 , 2 ) , ( 3 , 4 ) , ( 4 , 1 ) , ( 4 , 2 ) , ( 4 , 3 ) } , and therefore, 4 c ( e ) = 4 * 3 = 12 .
In fact, when a path P n (with n edges and n + 1 vertices) is considered, the previous numeric formula is kept. We are traversing on P n linearly, beginning from vertex v 1 . To the first vertex visited v 1 , it can be assigned whatever color from F o u r . But for each new vertex visited v i V ( P n ) , i = 2 , , n + 1 , it has three possible colors to be assigned, avoiding the use of the color from its previous neighbour (See Figure 1). Then, it follows that 4 c ( P n ) = 4 * 3 n .
When a tree T n is traversed in post-order, after visiting the root node v r V ( T n ) , the following vertices to be considered have only one restricted color. Considering a connected planar graph, a similar formula for the number of 4-colorings is shared for any tree graph T n with n vertices and n 1 edges (see for example, Figure 2). But for other topologies, the vertices can take more than one restricted color.
Lemma 1.
The connected planar graph with a maximum number of 4-colorings is a tree.
Proof. 
Let T n be a tree of order n, whose root vertex is v 1 . T n is traversed in pre-order, then v 1 is the first vertex visited. v 1 can take one of the 4 possible colors from F o u r .
For any node v i V ( T n ) where v i v 1 , when v i is visited during the traversal, it has one unique restriction: it cannot be colored with the same color as its already-visited parent node. Therefore, v i has three possible colors available for use. As a result, the formula for the total number of colorings is given by 4 c ( T n ) = 4 * 3 n 1 .
A tree T n represents the topology of a graph with the minimum number of edges required to keep it connected to any planar graph G n containing n vertices. Therefore, the maximum number of distinct 4-colorings for any connected planar graph G n with n vertices is given by max { 4 c ( G n ) } = 4 * 3 n 1 . □
When new edges are added to a connected planar graph without adding any new vertices, the number of possible 4-coloring functions decreases. This is because the additional edges place constraints on the colors that can be assigned to the vertices at their endpoints.
When acyclic edges are added to a connected planar graph G, it necessitates the addition of new vertices. As a result, the number of valid 4-coloring functions increases. This is because each new vertex contributes to a threefold increase in the previous value of 4 c ( G ) .
In a planar graph, the acyclic subgraphs are 4-colorable and, in fact, they are 2-colorable. To simplify the counting process for 4-coloring planar graphs, we will assume from now on that any input planar graph G does not contain any acyclic edges. Consequently, all faces in G will have a facial cycle.
For example, consider simple cycles such as the triangle and the square. In Figure 3 and Figure 4, we show the combinatorial enumeration of the all 4-coloring functions created for both cycles.
It is not complicated to count 4-colorings in the case of simple cycles. For instance, consider a triangular cycle f t : v 1 v 2 v 3 v 1 . The first vertex v 1 can be assigned one of the 4 colors. The second vertex v 2 can choose from only 3 colors, as it cannot use the same color as v 1 . Finally, the third vertex v 3 is left with only 2 available colors. Therefore, the total number of 4-colorings for a triangular face f t can be calculated as 4 c ( f t ) = 4 * 3 * 2 = 4 ! = 24 (see Figure 3).
In the case of even cycles, such as a square f c : v 1 v 2 v 3 v 4 v 1 , we can assign colors to the vertices as follows:
- The first vertex, v 1 , can be assigned one of 4 colors.
- The second vertex, v 2 , has only 3 color options since it cannot repeat the color of v 1 .
- The third vertex, v 3 , can also be assigned one of 3 colors, provided it is different from the color of v 2 . However, two of these choices for v 3 limit the available color options for v 4 to 2 colors. This is because v 4 cannot have the same color as v 1 or v 3 if they are different. While one of the colors of v 3 can have 3 colors assigned for v 4 .
Thus, the total number of 4-colorings for a square cycle f c is 4 c ( f c ) = 4 * 3 * ( 2 * 2 + 3 ) = 12 * 7 = 84 . In Figure 4, only one of the 4 branches derived from assigning the color c 1 (out of the 4 possible colors) to vertex v 1 is shown.
Perhaps the most renowned property for planar graphs is the one stated by Euler’s theorem, which states that planar graphs are sparse. Namely, given a plane graph with n vertices, m edges, and f faces, planar graphs hold n m + f = 2 .
A direct consequence of Euler’s formula is that in a maximal planar graph (where every face is a triangle) with at least three vertices, we have 2 m = 3 f , and then m 3 n 6 . This number reduces to m = 2 n 3 for maximal outerplanar graphs with at least three vertices (and m 2 n 3 for general outerplanar graphs). Furthermore, when the planar graph is triangle-free, then m 2 n 4 . Finally, if the graph is a tree, then m = n 1 .
The previous insights enable us to substitute m with n in asymptotic calculations concerning planar graphs, whereas for general graphs, we can only assume that m O ( n 2 ) . From a practical standpoint, this enables us to determine the non-planarity of denser graphs without examining all edges, which would necessitate a quadratic-time algorithm.
On the other hand, relating to 4-coloring functions on planar graphs, it is known that any general planar graph G can be reduced to a maximal planar graph G and where all 4-coloring for G is also a 4-coloring for G.
Considering maximal planar graphs, the bound ( 2 m = 3 f ) can be substituted for relating number of faces with number of vertices, and the Euler’s equality holds f = 2 / 3 m , obtaining f 2 n 4 . Considering maximal planar graphs, and tabulating the maximum value for the number of edges and number of faces while the number of vertices is increased one by one, the Table 1 is obtained.
Let G = ( V , E , F ) be a maximal planar graph of order n. We consider a subgraph G 0 = f 1 , which is induced from G and formed by f 1 , where f 1 is the most internal triangular face in G.
According to Figure 3, we have 4 c ( f 1 ) = 4 ! . However, when we fix the first three colors for the vertices of f 1 , the factor 4 ! simplifies to 1. This simplification avoids the need to consider the 4 ! possible permutations of the vertex colors in F o u r .
Table 1 shows that when a planar graph grows incrementally, one vertex at a time, the addition of a new vertex v i to the current subgraph, i.e. G i = ( G i 1 { v i } ) , at this point, the maximum number of edges that can be incident from v i to G i 1 is three, and since G i 1 maintains the maximum number of edges for each new vertex added to it.
Since for each G i , the size of its outer face remains constant at three (denoted as | f 0 i | = 3 ), we can ensure that in each iteration, when a new vertex v i is incorporated into G i 1 , the maximum number of new edges continues to form. This process results in an extreme topology for planar graphs where G has a minimum number of 4-coloring functions.
Lemma 2.
The planar graph with a minimum number of 4-colorings is the graph formed by the nesting of K 4 .
Proof. 
Let G n be a planar graph that has been formed iteratively and incrementally, beginning from the triangle face f 1 , which is the innermost face of G n . Let G 1 = f 1 . From example 1, we know that 4 c ( G 1 ) = 4 ! = 24 . Although if we fix the three different colors for the endpoints of f 1 , we reduce the factorial number of permutations 4 ! on F o u r , and simplify the number of colours to be assigned to the following vertices to be aggregated.
As G n is formed by adding vertex by vertex, starting with G 1 , and in each iteration i, a new vertex u i ( G n G i ) is added, then G i + 1 = ( G i { u i } ) . We want that each time that the new vertex u i , i = 1 , , n 3 is aggregated to G i , the change in the value of 4 c ( G i ) to 4 c ( G i + 1 ) has a minimal increase. The minimum growth of the function 4 c ( G i ) occurs when 4 c ( G i + 1 ) = 1 × 4 c ( G i ) . This situation arises when N G i ( u i ) is incident with exactly three different colors from the outer face of G i .
In order to use a minimum number of edges for u i , at least | N G i ( u i ) | = 3 . And in this case, c ( u i ) has just only one possible color to be assigned, then 4 c ( G i + 1 ) = 1 * 4 c ( G i ) .
Observe that K 4 i (see Figure 5) forms a nested pattern created by aggregating each new vertex u i to the current graph. □
Figure 5 illustrates an extreme planar graph G m with the minimum number of 4-coloring functions. By fixing the colors of the first triangular face f 1 , the colors assigned to the vertices alternate between only two possible colors. In this way, G m has only one option of colours for its vertices. However, the factorial number of permutations 4 ! appears when no color is fixed to the initial triangle f 1 . Thus, considering the general case, 4 c ( G m ) = 4 ! = 24 .
Only in the case that N G i ( u i ) is incident to the 4 different colors in F o u r , it follows that for this combination of colors on G i , it is not possible to assign a color from F o u r to u 1 . However, in the following sections, we will show that there is no planar graph G for which 4 c ( G ) = 0 .

4. Principal Procedures and Structures

In the process of constructing a 4-coloring for an input planar graph G I , useful preprocessing involves transferring certain elements to a Stack. This includes both vertices of degree less than 3 and acyclic edges, following an iterative order that starts with the objects of the lowest degree. By doing so, we obtain a simplified graph G from G I . The elements in the stack can then be 4-colored without difficulty after 4-coloring the remaining graph G.
Additionally, it is beneficial to reduce the remaining graph to one of its maximal versions, where all internal face of G are triangles. Although our proposal can work on non-maximal graphs, the analysis of the method is simplified by considering only triangle as internal faces. As it is known, if an input graph G I is not maximal, this can be polynomially reduced to a maximal graph G, where any 4-coloring of G is also a 4-coloring for G I . Therefore, in this section, we will focus on processing a maximal connected planar graph G, in which all vertices have a degree greater than 2.
During the counting of 4-colouring functions, it is not necessary traversing the vertices and edges in a specific order. However, all object (vertices and edges) have to be considered during the counting of 4-colourings.
As it is known, an arbitrary ordering on the vertex set does not help to reduce the computational complexity of graph problems. Furthermore, imposing an arbitrary vertex ordering does not change the NP-hard status, because the hardness of a graph problem arises from the combinatorial structure of the graph, not from the labelling of the vertices [8], unless the ordering captures the graph’s symmetry and combinatorial structure related among vertices [16].
Some orderings (e.g., tree decomposition) help in parametrized complexity, but these are not arbitrary [14]. In our case, we provide an ordering on the vertex set according to the incremental and iterative construction of the input planar graph G = ( V , E , F ) starting from the most internal triangular face f 1 F ( G ) .

4.1. Decomposition in Layers of a Planar Graph

Let G = ( V , E , F ) be a planar graph, where F ( G ) = { f 1 , f 2 , , f k } is formed by only triangular faces. The goal is to rebuild the graph G starting with the most internal triangular face f 1 F ( G ) , which has no vertices in its interior space. The idea, is that the “most internal” face f 1 would be the one that is surrounded by other faces and lies deepest inside the nesting of the different levels of outer faces in G. Notice that the most internal face is different to other topological concepts, such as the most central face of a graph.
To identify f 1 as the most internal triangular face, a decomposition of G is carried out based on layers. Each layer, denoted as L i , is formed by the outer face of the current subgraph G i of G.
At the beginning of the layer’s decomposition, G 1 = G and L 1 = f 0 - the current outer face of G. In each iteration, a new subgraph G i + 1 = ( G i V ( L i ) ) is formed. Given the new subgraph G i + 1 , its current outer face is identified, and it is denoted as L i + 1 .
In this way, G is decomposed into layers based on the outer face of each subgraph of the decomposition. Each layer L i corresponds to the outer face of G i , and the vertices of this layer are removed from G i to create the subsequent subgraph G i + 1 .
This iterative process finishes until obtain as last subgraph G r , or a set of faces forming a unique outer face, or forming a forest. Let L y ( G ) = { L 1 , , L r } be the set of layers obtained from the decomposition of G by outer faces. If there are triangular faces in the last layer L r , choose the most central face as f 1 . This selection should help establish a clockwise order of the vertices of the current outer face L r .
When L r is a forest, the innermost triangular face f 1 is formed by selecting its endpoints from the dominated vertices of L r . To complete this triangular face, additional vertices are taken from L r 1 . These extra vertices from L r 1 must have maximal degree in G.
For example, in Figure 5 there are two layers formed by the vertices L 1 = { 1 , 2 , v 3 } and L 2 = { 3 , v 1 , v 2 } . f 1 is formed by the vertex 3 since such vertex is dominated by v 1 in L 2 . Meanwhile, the other endpoints for f 1 are the vertices 1 and 2 because they have maximal degree en G, then the most internal face for graph in Figure 5, is f 1 : 1 2 3 1 .

4.2. Rebuilding the Original Planar Graph

After to recognize the most internal triangular face f 1 F ( G ) , to the three endpoints of f 1 are assigned fixed colors, reducing the 4 ! initial permutations from F o u r . A process of building G is beginning by a vertex addition algorithm, forming a family of planar graphs: G 1 , G 2 , . . . . , G n 3 of induced subgraphs from G, where G 1 = f 1 , and G = G n 3 .
The construction of G is an incremental and iterative process, where in each iteration i = 1 , , n 3 , a vertex v i ( G G i ) is selected to form G i + 1 = G i { v i } . Then, in n 3 iterations, G is obtained derived from G = G n 3 = G n 4 { v n 4 } . At the same time, j = r , , 1 is the index pointing to the current layer L j in which the vertex v i is selected.
In each iteration, the selection of the vertex v i ( G G i ) holds the following hierarchy of criteria:
  • The remaining vertices ( G G i + 1 ) are in the outside face of G i + 1 .
  • δ G i ( v i ) is maximum into the set of vertices in ( G G i ) .
  • Considering the current layer L j from the process of decomposition in layers of G, v i is in a first instance in L j , or in L j 1 of G.
  • When some vertices are holding all previous criteria, v i is the following vertex according to the clockwise direction from the vertex v i 1 .
We denote by f 0 i the outer face of the corresponding subgraph G i , into the family of graphs formed by the construction of G. C o l o r ( H ) denotes the set formed by the different colors used in a 4-coloring of H, and # C ( H ) = | C o l o r ( H ) | is the number of different colors in the set C o l o r ( H ) , then # C ( H ) 4 .
To obtain a proper 4-coloring for G while building it, we need to consider when a new vertex v i is added to G i . At this point, we identify the set C o l o r ( N G i ( v i ) ) F o u r , which consists of the colors already used by the neighbors of v i . The potential colors that v i could take are given by the set F o u r C o l o r ( N G i ( v i ) ) . These colors are used as the edges’ labels of a combinatorial tree.
Thus, it is enough to show that ( c ( v i ) C o l o r ( N G i 1 ( v i ) ) ) F o u r and that c ( v i ) C o l o r ( N G i 1 ( v i ) ) . As v i is added from the outside face from G i , and as G i is planar, then N G i ( v i ) V ( f 0 i ) . When we are considering a maximal planar graph, where all internal face in G is a triangle, then δ G i ( v i ) is bottom bounded, since if δ G i ( v i ) = 1 , then G i is not maximal, since all new vertex aggregated must form at least one new triangular face in G i + 1 that it does not exist in G i . Thus, δ G i ( v i ) 2 .
In fact, for our method, it is not necessary that G to be maximal. Instead, the requirement is that when adding each new vertex v i , it must be incident to at least two colors of G i , allowing the formation of a binary tree recording the possible colors assigned to v i . A key point when a vertex v i is aggregated to G i is that N G i ( v i ) V ( f 0 i ) , since G i is planar, v i is in the outer face of G i and all edge from v i has endpoint in the outer face ( f 0 i ) .
On the other side, when δ G i ( v i ) = 2 , then | V ( f 0 i + 1 ) | is increasing in one with respect to | V ( f 0 i ) | , since v i is added to ( f 0 i ) and not new internal vertices are formed in G i + 1 . When δ G i ( v i ) = 3 , v i is part of the new ( f 0 i + 1 ) , but also a new internal vertex is formed in G i + 1 , which is one of the adjacent vertices of v i in ( f 0 i ) . Then, the cardinalities between ( f 0 i ) and ( f 0 i + 1 ) do not change.
When δ G i ( v i ) > 3 , only v i and two of the extreme vertices of N G i ( v i ) are kept in f 0 i + 1 , but the other vertices from N G i ( v i ) are now internal vertices in G i + 1 decreasing the cardinality | V ( f 0 i + 1 ) | with respect to | V ( f 0 i ) | .

4.3. Combinatorial Tree

The tree structure effectively illustrates various algorithmic properties, such as the use of proof trees in Gentzen systems, recursion trees for monitoring recursive processes, and execution trees to observe the execution flow in Prolog.
In our approach, we utilize a combinatorial tree (Pt) to systematically label the colors that can be assigned to the vertices of G. In this tree, nodes in P t are labelled by the vertices v i ( G G i ) , which are selected during the graph reconstruction process. Meanwhile, edges in P t coming from v i record the possible colors that can be assigned to v i .
As the three endpoints of f 1 have assigned fixed colors, for each new vertex v i aggregated to G i , it could take a maximum of two possible colors, since δ G i ( v i ) 2 . Thus, P t is a binary tree, whose root node is the first selected vertex v 1 .
All nodes at level i , i = 1 , , n 3 of P t have the same label: v i , which corresponds to the vertex that has been added to G i in the iteration i. We denote as P t ( i ) at level i , i = 1 , , n 3 of P t . Each edge derived from v i P t is labelled with one of the colors that can be assigned to v i . Since δ G i ( v i ) 2 , there are either one or two edges originating from v i , because v i is incident to at least two different colors in G i . Furthermore, if two edges come out from v i in P t , as the labels of the paths coming from v i are different, this establishes a system of mutually exclusive color-paths within P t .
A path of size n 3 j 0 of P t starts at the root v 1 up to level P t ( j + 1 ) . For paths where 1 j < n 3 , the last vertex is a ’dummy’ vertex (note that this dummy vertex is not illustrated in any figure of P t ). When the paths in P t ( j ) are extended to one level higher (achieving level P t ( j + 1 ) ), a new edge is inserted before the dummy vertex. Such edge connects v j + 1 with the dummy vertex, and the edge is labelled by the color assigned to v j + 1 .
Any path from P t ( j ) establishes a 4-coloring on the vertices of G j , j = 1 , , n 3 . Within the paths of P t , there can be failure paths, which are denoted by placing the symbol X as a leaf node in the path of P t . Meanwhile, the parent node v j 1 of X has only one unlabelled edge towards the leaf X, indicating that it is impossible to assign a color to v j 1 . From a failure node X, the corresponding path is truncated and will not be expanded further.
The paths of success in P t are paths of length n 3 , that is, they are paths that start from v 1 , reach the vertex v n 3 , and establish a single proper coloring to be assigned to each vertex v i , i = 1 , , n 3 on the path. The leaf node of a successful path in P t is labelled by E (’exit’).
Each outer face f 0 i is formed by the facial cycle surrounding G i (the induced graph G i of G), regardless of the parity of this cycle, it is known that three colors are sufficient to color any simple cycle. Since the paths in P t represent all possible color combinations that can be assigned to V ( G i ) , including its outer face f 0 i , there will always be paths in P t that use only 3 colors to color V ( f 0 i ) . The existence of these paths will be an important property in the proof of our main theorem.
Summarizing, we utilize three support structures in the construction of a 4-coloring for a planar graph G. For an iteration j < ( n 3 ) , the first structure is the graph G j with j + 3 vertices, which is induced from G. In G j , only the endpoints from the face f 1 have fixed colors, while the remaining vertices do not have any colors assigned. However, the colors for those vertices can be inferred from the paths in P t ( j ) .
The second structure is the outer face f 0 j corresponding to the graph G j . Note that since G j , j = 1 , , n 3 is built incrementally, its corresponding outer face f 0 j depends on the last vertex v j 1 added to G j 1 . Lastly, the third structure is the binary tree P t . In P t , there may be failure paths; however, in the next section, we will demonstrate that there will always be non-failure paths in P t , regardless of the level j considered, even when reaching the maximum depth of P t , which is n 3 .
The following figure (Figure 6) illustrates the three structures used as support in the 4-coloring of the graph G. The order in which the vertices were selected during the reconstruction of G is indicated by the index associated with each vertex label. Notice that G is, in fact, not a maximal planar graph.

5. Proof of the Existence of a 4-Coloring for Planar Graphs

Theorem 1.
Based on the incremental and iterative construction of G by the family G 1 , , G n 3 , for each iteration i , i = 1 , , n 3 , there always exists paths in P t ( i ) that use fewer than 4 colors for coloring the outer face of G i , i.e. # C ( f 0 i ) < 4 .
Proof. 
The proof is by the induction principle applied on the level of the tree: P t ( i ) .
1)
For i = 1 , the first subgraph G 1 = f 1 holds that # C ( f 0 1 ) = 3 < 4 , since the outer face is a triangular face.
From G 1 only two cases can be derived to form G 2 . When δ G 1 ( v 1 ) = 2 (illustrated in Figure 7(ii), and when δ G 1 ( v 1 ) = 3 illustrated in Figure 7(i). Notice that for both cases, there is a path in P t ( 2 ) such that # C ( f 0 2 ) < 4 .
For example, in the case δ G 1 ( v 1 ) = 2 . (Figure 7(ii), As one of the possible colours to be assigned to v 1 , it already appears in C o l o r ( f 0 1 ) (in the most left path of P t ), c ( v 1 ) does not add any new colour to the current outer face and then, # C ( f 0 2 ) < 4 .
2)
By induction hypothesis, at level i 1 , there are paths in P t ( i 1 ) where the current outer face of G i 1 has less than 4 colours, i.e. # C ( f 0 i 1 ) < 4 .
3)
When a new vertex v i 1 is aggregated to G i 1 , we form G i with outer face f 0 i , and the combinatorial tree is extended one level more, this is from P t ( i 1 ) to P t ( i ) . We analyze different cases:
For the paths P t ( i 1 ) where # C ( f 0 i ) = 2 , or # C ( f 0 i ) = 3 , if c ( v i 1 ) assigns a color that already appears in C o l o r ( f 0 i 1 ) , it will be satisfied that # C ( f 0 i ) < 4 , and therefore, the theorem holds.
Let us consider the case when # C ( f 0 i 1 ) = 3 , and analyze its development according to the value of δ G i 1 ( v i 1 ) .
i)
When δ G i 1 ( v i 1 ) = 2 , then P t ( i 1 ) ramifies with two possible colors, say c 1 and c 2 . If c 1 C o l o r ( f 0 i 1 ) , then f 0 i could have 4 colors when the color c 1 is included in C o l o r ( f 0 i ) . However as # C ( f 0 i ) = 3 and c 1 C o l o r ( f 0 i 1 ) , then c 2 must be in C o l o r ( f 0 i 1 ) and the branch for c 2 will not increment # C ( f 0 i ) with respect to # C ( f 0 i 1 ) , and therefore for this path # C ( f 0 i ) < 4 (as it was illustrated in the leftmost path of Figure 7(ii)).
ii)
If δ G i 1 ( v i 1 ) = 3 . Assuming | f 0 i 1 | = 3 , by adding to G i 1 a vertex v i 1 of degree 3, the cardinality is preserved: | f 0 i | = | f 0 i 1 | = 3 (by results from Table 1 - derived of the Euler’s equality), and therefore # C ( f 0 i ) < 4.
Let us assume | f 0 i 1 ) | > 3, so now we could take δ G i 1 ( v i 1 ) 3 . This combination of parameters is analysed in the following case.
iii)
To have | f 0 i 1 | > 3 , is only achieved by adding vertices v k , k < ( i 1 ) , where δ G k ( v k ) = 2 , which allows increasing the cardinality of the outer face f 0 k + 1 above 3, and also, it generates binary ramifications at the level P t ( k ) , using two different colors for v k , let us say c a and c b .
In one of the colors (either c a or c b ), we have # C ( f 0 k + 1 ) < 4 . This is because, in all ramifications, at least one of the colors used is already present in C o l o r ( f 0 k ) . In fact, for all levels from k to i 1 , there are paths where # C ( f 0 j ) < 4 for j = k , , n 1 . Furthermore, according to the inductive hypothesis, there are paths at level P t ( i 1 ) where # C ( f 0 i 1 ) < 4 . Within these set of paths of P t ( i 1 ) , there is at least one path where the color c ( v i 1 ) is already included in C o l o r ( f 0 i 1 ) . This is due to the exhaustiveness in the color assignment to the branches of P t . For these particular paths, the cardinality of C o l o r ( f 0 i 1 ) does not increase for the following level; hence, we conclude that # C ( f 0 i ) < 4 , and this confirms that the theorem holds true.
Furthermore, by adding vertices v i 1 with δ G i 1 ( v i 1 ) 3 , new internal vertices are formed in G i , thus causing some of the colors assigned to those internal vertices to no longer appear in C o l o r ( f 0 i ) .
For example, Figure 8(i) shows that two vertices v 1 and v 2 that are added to f 1 , fulfil δ G 1 ( v 1 ) = δ G 2 ( v 2 ) = 2, so | f 0 3 | = 5 . The third vertex v 3 that is added to G 3 fulfils that δ G 3 ( v 3 ) = 5 . The P t tree (Figure 8(ii)) shows how paths where # C ( f 0 k ) < 4 will always exist, regardless of the k level of the tree.
It is possible that a path P P t ( i 1 ) would have a corresponding value of # C ( f 0 i 1 ) = 4 at level i 1 . Although, the same path P could define at level i, a coloring for the new outer face holding # C ( f 0 i ) < 4 . Importantly, regardless of the level i of the tree, there will be paths in P t ( i ) where the condition # C ( f 0 i ) < 4 is satisfied.
The previous theorem is the key in the proof of the existence of a 4-coloring for any planar graph G. By building G vertex by vertex, and forming its combinatorial tree P t , we acknowledge that there may be failure paths within P t . However, the previous theorem ensures the existence of paths satisfying the condition # C ( f 0 i ) < 4 , regardless of the level i of the tree and the topology of the induced subgraph G i of G.
Corollary 1.
For any planar graph G, it always exists a 4-coloring for G.
Proof. 
It is known that G can be polynomially reduced to a maximal planar graph G , where all internal faces are triangular. Based on the vertex construction of G and the formation of its combinatorial tree P t , the previous theorem guarantees the existence of paths in P t ( i ) where # C ( f 0 i ) < 4 , for all level i of P t . This ensures that whenever a new vertex v i is added in the vertex formation of G , there is always a free color available from the set F o u r that can be assigned to v i .
Consequently, every vertex added to form the G i subgraph family, for i = 1 , , n 3 , one of the four available colors will be assigned to each vertex. This process guarantees that a proper 4-coloring can be achieved for the graph G and, consequently, for the original graph G. □

6. Conclusion

A mathematical proof of the Four Color Theorem (4CT) has eluded the efforts of scientists in the area for hundreds of years. Interestingly, the computational verification of the 4-coloring of planar graphs has been known since 1977[1,2], including refinements to the initial algorithm [9,18]. Unfortunately, the vast number and complexity of wanting to mathematically verify the thousands of configurations that can arise during the computational process have led the continued search for a formal and succinct proof of the 4CT.
This article presents a novel method that enables the enumeration of the exhaustive process involved in the 4-coloring of maximal planar graphs. Our method is based on using a combinatorial tree P t to enumerate all valid color combinations to be assigned to each vertex of the input graph G (except for the vertices of the innherest triangular face of G).
The breadth-first search used in constructing P t , while incrementally reconstructing G from its innherest triangular face, enables the analysis, construction, and encoding of all possible 4-coloring assignment functions for the vertices of G.
Our theorem confirms that in the combinatorial tree of a planar graph G, there exist paths that ensure, regardless of the size or complexity of the graph G, that each new vertex v i V ( G ) , when added to the induced subgraph G i of G, will always have at least one color available from the four colors that can be assigned to v i . Thus, confirming the existence of a 4-coloring for any planar graph. The proof of the theorem is a formal and combinatorial demonstration that is manageable by the mathematical community, due to its extent and the number of cases to be considered in its development.
Although our method guarantees that every planar graph can be colored using four colors, a future task is to propose fast algorithms based on our method, where P t can be developed via a depth-first search as G is built incrementally, such that upon finding the first proper 4-coloring of G, the process ends.

Funding

“This research received no external funding”

Acknowledgments

The author acknowledges and thanks the SNII-Secihti for the grant to support their work.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
4CC The Four Color Conjecture
4CT Four-Color Theorem
4Col ( H ) the set of all proper 4-coloring of H
4c ( H ) the total number of different 4-colorings functions of H
Color(H) the set of colors used in a 4-coloring of H
# C ( H ) the number of different colors used in a 4-coloring of H

References

  1. Appel K.; Haken W., Every planar map is four colourable, part I: discharging, Illinois Jour. Math. 1977, 21, 429-–490.
  2. Appel K.; Haken W.; Koch J., Every planar map is four colourable, part II: Reducibility, Illinois Jour. Math. 1977, 21, 491–567.
  3. Borodin O., Colorings of Plane Graphs: A Survey, Discrete Mathematics 2013.
  4. Bousquet N.; Deschamps Q.; De Meyer L., Pierron T., Square Coloring Planar Graphs with Automatic Discharging, SIAM Jour. on Discrete Mathematics 2024, 38:1, 504–528.
  5. Cortese P.; Patrignani M., Planarity Testing and Embedding, Press LLC, 2004.
  6. Cranston D. W.; West D. B., An introduction to the discharging method via graph coloring, Discrete Mathematics 2017, 340:4, 766–793.
  7. Fritsch R.; Fritsch G., The Four Color Theorem. Springer-Verlag, 1998.
  8. Garey, M.R.;Johnson, D.S., Computers and Intractability: A Guide to the theory of NP-Completeness, W.H. Freeman, 1979.
  9. Gonthier G., Formal Proof - The Four Color Theorem, Notices of the AMS 2008, 55:11.
  10. Harary F., Graph Theory, Addison-Wesley, Readings, Mass., 1969.
  11. Johnson D. S., The NP-Completeness Column: An Ongoing Guide, Jour. Of Algorithms 1985, 6, 434 - 451.
  12. Kempe A. B., On the Geographical Problem of the Four Colours, American Jour. of Mathematics 1879, The Johns Hopkins University Press, 2:3.
  13. Kuratowski K., Sur le probleme des courbes gauches en topologie, Fund. Math. 1930, 15, 271–283.
  14. Köbler, J.; Schöning, U.; Toran, J., The graph isomorphism problem: its structural complexity, In Graph canonization and hardness, 1993.
  15. László L., Graph minor theory, Bulletin of the American Mathematical Society 2006, 43:1, 75-–86.
  16. McKay, B.D.; Piperno, A., Practical graph isomorfism II, Jour. of symbolic computation 2014, 60, 94-112.
  17. Nishizeki T.; Chibam N., Planar graphs : theory and algorithms, Annals of discrete mathematics 1991, 32, Elsevier.
  18. Robertson N.; Sanders D.P.; Seymour P.D.; Thomas R., The four color theorem, Jour. Combin. Theory Ser. B 1997, 70, 2-–4.
  19. Tymoczko T., The Four-Color Problem and its Philosophical Significance, The Journal of Philosophy 1979, 76:2.
Figure 1. Counting the number of 4-colorings on a path P n .
Figure 1. Counting the number of 4-colorings on a path P n .
Preprints 177536 g001
Figure 2. Counting 4-colorings on a tree.
Figure 2. Counting 4-colorings on a tree.
Preprints 177536 g002
Figure 3. counting 4-colorings on a triangle cycle.
Figure 3. counting 4-colorings on a triangle cycle.
Preprints 177536 g003
Figure 4. Counting 4-colorings on a square cycle, considering only one of the 4 combinations for v 1 .
Figure 4. Counting 4-colorings on a square cycle, considering only one of the 4 combinations for v 1 .
Preprints 177536 g004
Figure 5. The extremal planar graph minimizing the number of 4-colorings (Illustrating K 4 3 ).
Figure 5. The extremal planar graph minimizing the number of 4-colorings (Illustrating K 4 3 ).
Preprints 177536 g005
Figure 6. Main structures used in a 4-coloring of a planar graph.
Figure 6. Main structures used in a 4-coloring of a planar graph.
Preprints 177536 g006
Figure 7. i) δ G 1 ( v 1 ) = 3 , ii) δ G 1 ( v 1 ) = 2 .
Figure 7. i) δ G 1 ( v 1 ) = 3 , ii) δ G 1 ( v 1 ) = 2 .
Preprints 177536 g007
Figure 8. i)Subgraphs with different | f 0 i | ii) i , P t ( i ) always has paths where # C ( f 0 i ) < 4 .
Figure 8. i)Subgraphs with different | f 0 i | ii) i , P t ( i ) always has paths where # C ( f 0 i ) < 4 .
Preprints 177536 g008
Table 1. Growth (denoted by Δ ) in the number of edges and faces corresponds to the increase in the number of nodes by one.
Table 1. Growth (denoted by Δ ) in the number of edges and faces corresponds to the increase in the number of nodes by one.
n m f
2 1 1
3 3 2
4 6 4
5 9 6
6 12 8
7 15 10
Δ 1 Δ 3 Δ 2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated