Graph 3 Colouring Is NP Complete
AllPages
RecentChanges
Links to this page
Edit this page
Search
Entry portal
Advice For New Users
The proof that
G3C
is
NP-Complete
can be done directly, and not via reductions. In effect the outline is this.
Choose any NP problem.
By definition, it has a Turing Machine (TM) to check that a purported answer to an instance is correct.
A Turing machine can be constructed as a combinatorial network whose size is bounded by a quadratic in how long it takes the machine to run.
Since the problem is in NP, checking is done in polynomial time, so the network is polynomial in the size of the instance.
You can see some of the details of the technique in the description of
Factoring via Graph Three Colouring
.
We can construct graphs such that colouring the graphs emulates an AND gate, OR gate, or NOT gate.
Therefore any combinatorial network can be emulated by colouring a suitable graph.
So the TM to check an alleged answer/solution can be built as a combinatorial network
and we can make a graph that emulates that network.
But that's all just
checking
an alleged solution and producing a Yes/No as to whether the solution is correct.
By a technical trick we can now force the output to be Yes.
By so doing, any legal colouring of the graph corresponds to a calculation that gives the answer yes.
If we succeed in colouring the graph, the "input vertices" must now have a solution.
Thus
Given
any
instance of
any
NP problem
we can construct a graph such that
colourng the graph gives a solution/answer to the instance.
So if we can 3-colour graphs, we can solve any NP problem.
Links to this page
/
Page history
/
Last change to this page
Recent changes
/
Edit this page
(with sufficient authority)
All pages
/
Search
/
Change password
/
Logout