# Complexity of a variant of Four coloring theorem

The Four color theorem states that every planar graph can be properly colored by four colors. An equivalent statement is that every bridgeless planar cubic graph is 3-edge colorable. Therefore, 4-coloring planar graphs is decidable in polynomial-time.

Now let us assume that we are given the colors of some vertices (possibly non-adjacent), Is it easy to complete it to proper 4-coloring?

Four Coloring extendibility

INPUT: planar graph and a subset of nodes, each node assigned some color

OUTPUT Is the coloring extendable to a proper 4-coloring?

I suspect that it is computationally hard to decide the existence of such coloring.

How hard is it to decide the extendibility of partial 4-coloring of planar graphs? Is it polynomial solvable or is it NP-complete?

• Nice, while this answer the question but planar graphs with leafs are not interesting. Is it still NP-complete for planar graphs with minimum node degree $k$ ( $k \ge 2$). – Mohammad Al-Turkistany Apr 6 '17 at 12:36
• Note that any planar graph has minimal degree at most $5$, hence you must have $k\le 5$ if the question is to be nontrivial. Then the problem is still NP-complete: instead of a single node, attach to each node a copy of a fixed gadget of minimal degree $k$ (that is, attach the original node to one node of the gadget), with colours assigned to the gadgets in such a way that the neighbour of the original node has the one fixed colour. – Emil Jeřábek Apr 6 '17 at 12:42
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7368921637535095, "perplexity": 405.1496597486414}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-29/segments/1593657129517.82/warc/CC-MAIN-20200712015556-20200712045556-00281.warc.gz"}