I'm looking over the proof of the Bondy and Chvátal Thm here. I understand everything in the proof until it gets to the point where it says, "Thus, $d(x_n)≤(n-1)-d(x_1)$."
$\textbf{Question:}$ How do we know "$d(x_n)≤(n-1)-d(x_1)$" ?
I'm assuming it has something to do with the preceding sentencence where it states, "If $x_i$ is adjacent to $x_1 $($2≤i≤n$) then $x_{i-1}$ is not adjacent to $x_n$", but I do not see why that allows us to conclude that. Any help would be greatly appreciated.
Background on Bondy-Chvatal, for convenience of future readers
The Bondy-Chvatal theorem says:
(In other words, we did not need $uv$ to have a Hamiltonian cycle: the magic was inside us all along.)
To prove this, let $C$ be a Hamiltonian cycle of $G + uv$. If $C$ does not use the edge $uv$, then $C$ is a Hamiltonian cycle of $G$ and we are done. Otherwise, deleting $uv$ from $C$ leaves a Hamiltonian path: a path $P = (x_1, x_2, \dots, x_n)$ with $x_1 = u$ and $x_n = v$.
Now our goal is to use $P$ to find some other Hamiltonian cycle in $G$.
(The planetmath proof is written as a proof by contradiction, but I think that's unnecessarily complicated. The idea is the same either way.)
The answer to the question starts here
The way I like to continue the proof is this:
If there is some $i \in S \cap T$, then $x_ix_n$ and $x_{i+1}x_1$ are edges, so $(x_1,x_2, \dots, x_i, x_n, x_{n-1}, \dots, x_{i+1})$ is a Hamiltonian cycle. In this case, we're done.
Otherwise, $S \cap T = \emptyset$. In this case, $S$ and $T$ are disjoint subsets of $[n-1]$, so $|S| + |T| \le n-1$.
But $|S| = \deg(x_n)$ and $|T| = \deg(x_1)$, so we conclude $\deg(x_1) + \deg(x_n) \le n-1$, which is the inequality you wanted to understand. It contradicts our assumption that $\deg(u) + \deg(v) \ge n$, so $S \cap T = \emptyset$ cannot hold.