Basic facts about the independence number #
General facts about Mathlib's SimpleGraph.indepNum that are not yet in Mathlib: monotonicity
under embeddings, invariance under isomorphisms, and its range on finite vertex types. The
cardinality bounds come from the corresponding cliqueNum facts via cliqueNum_compl. A clique
and an independent set share at most one vertex.
Main results #
SimpleGraph.Embedding.indepNum_le:α(G) ≤ α(H)whenGembeds intoH.SimpleGraph.Iso.indepNum_eq:αis invariant under isomorphism.SimpleGraph.indepNum_le_natCard,SimpleGraph.one_le_indepNum,SimpleGraph.indepNum_eq_zero_of_isEmpty:1 ≤ α(G) ≤ |V|for nonempty finiteV, andα(G) = 0for emptyV.SimpleGraph.card_inter_le_one_of_isClique_of_isIndepSet: a clique and an independent set share at most one vertex.
theorem SimpleGraph.Embedding.indepNum_le {V : Type u_1} {W : Type u_2} {G : SimpleGraph V} {H : SimpleGraph W} [Finite W] (f : G ↪g H) :
The independence number is monotone under graph embeddings.
theorem SimpleGraph.Iso.indepNum_eq {V : Type u_1} {W : Type u_2} {G : SimpleGraph V} {H : SimpleGraph W} [Finite V] [Finite W] (e : G ≃g H) :
The independence number is invariant under graph isomorphisms.
theorem SimpleGraph.card_inter_le_one_of_isClique_of_isIndepSet {V : Type u_1} {G : SimpleGraph V} [DecidableEq V] {C I : Finset V} (hC : G.IsClique ↑C) (hI : G.IsIndepSet ↑I) :
A clique and an independent set share at most one vertex: two common vertices would be both adjacent and non-adjacent.