I am learning a coloring theorem in graph theory:
If a graph $G$ has degree sequence $d_1\geq\cdots\geq d_n$, then $\chi(G)\leq 1+\max_i\min\{d_i,i-1\}$.
The proof in the book consists of 4 sentences:
- We apply greedy coloring to the vertices in nonincreasing order of degree.
- When we color the $i$th vertex $v_i$, it has at most $\min\{d_i,i-1\}$ earlier neighbors, wo at most this many colors appear on its earlier neighbors.
- Hence the color we assign to $v_i$ is at most $1+\min\{d_i,i-1\}$.
- This holds for each vertex, so we maximize over $i$ to obtain the upper bound on the maximum color used.
The greedy coloring relative to a vertex ordering $v_1,\cdots,v_n$ of $V(G)$ is obtained by coloring vertices in the order $v_1,\cdots,v_n$, assigning to $v_i$ the smallest-indexed color not already used on its lower-indexed neighbors.
I don't understand the first sentence in the proof: Where do we use the nonincreasing order of degree in the rest of the proof?