theorem
SimpleGraph.exists_indepSet_of_sum_le
{V : Type u_1}
[Fintype V]
[DecidableEq V]
(G : SimpleGraph V)
[DecidableRel G.Adj]
(S : Finset V)
:
Restricted Caro–Wei: for any finite set of vertices $S$ there is an independent set $I \subseteq S$ with $|I| \geq \sum_{v \in S} 1/(d_v + 1)$. Proved by the standard greedy/induction argument removing a minimum-degree vertex and its neighborhood.
theorem
SimpleGraph.caro_wei
{V : Type u_1}
[Fintype V]
[DecidableEq V]
(G : SimpleGraph V)
[DecidableRel G.Adj]
:
Caro–Wei theorem (Theorem 2.3.2, Caro 1979 / Wei 1981). Every finite graph $G$ contains an independent set of size at least $\sum_{v \in V} \frac{1}{d_v + 1}$.
theorem
SimpleGraph.sum_compl_deg_eq
{V : Type u_1}
[Fintype V]
[DecidableEq V]
(G : SimpleGraph V)
[DecidableRel G.Adj]
:
Rewriting the Caro–Wei sum on the complement graph in terms of $G$: using $d_{\overline G}(v) + 1 = |V| - d_G(v)$.
theorem
SimpleGraph.caro_wei_clique
{V : Type u_1}
[Fintype V]
[DecidableEq V]
(G : SimpleGraph V)
[DecidableRel G.Adj]
:
Caro–Wei for cliques (Corollary 2.3.5). Every finite graph $G$ contains a clique of size at least $\sum_{v \in V} \frac{1}{|V| - d_v}$, obtained by applying Caro–Wei to the complement graph.