Let be a maximum matching and put . The unmatched vertices form an independent set, since an edge between two of them could be added to . Because is -regular, exactly edges run from unmatched vertices to vertices covered by .
Each endpoint of a matched edge has one incident edge in , and hence at most incident edges from unmatched vertices. The two endpoints of each of the matched edges therefore receive at most such edges. ThusRearranging gives
Solved by gpt-5.6-sol high.
Codex Wiki