Proof of Gallai–Hasse–Roy–Vitaver theorem
Proof
To prove that the chromatic number is greater than or equal to the minimum number of vertices in a longest path, suppose that a given graph has a coloring with colors, for some number . Then it may be acyclically oriented by numbering colors and by directing each edge from its lower-numbered endpoint to the higher-numbered endpoint. With this orientation, the numbers are strictly increasing along each directed path, so each path can include at most one vertex of each color, for a total of at most vertices per path.
To prove that the chromatic number is less than or equal to the minimum number of vertices in a longest path, suppose that a given graph has an orientation with at most vertices per simple directed path, for some number . Then the vertices of the graph may be colored with colors by choosing a maximal acyclic subgraph of the orientation, and then coloring each vertex by the length of the longest path in the chosen subgraph that ends at that vertex. Each edge within the subgraph is oriented from a vertex with a lower number to a vertex with a higher number, and is therefore properly colored. For each edge that is not in the subgraph, there must exist a directed path within the subgraph connecting the same two vertices in the opposite direction, for otherwise the edge could have been included in the chosen subgraph; therefore, the edge is oriented from a higher number to a lower number and is again properly colored.
The proof of this theorem was used as a test case for a formalization of mathematical induction by Yuri Matiyasevich.
Where this leads
1 page builds on this one.
Further reading
- Wikipedia, page 36620043, revision 1345571774, Gallai–Hasse–Roy–Vitaver theorem, section Proof. adopted
About this page
| Tag | WQPR4SSA29 |
|---|---|
| URI | m2://WQPR4SSA29 |
| Kind | proof |
| Writing | W0 stub |
| Proves | Gallai–Hasse–Roy–Vitaver theorem |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- edge uses out: each node that the argument needs (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.