The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.SimpleGraph.Connectivity.Represents

10 declarations. Mathlib docs · Source

def SimpleGraph.ConnectedComponent.Represents E1 #

{V : Type u} → {G : SimpleGraph V} → Set V → Set G.ConnectedComponent → Prop

A set of vertices represents a set of components if it contains exactly one vertex from each component.

theorem SimpleGraph.ConnectedComponent.Represents.image_out E1 #

∀ {V : Type u} {G : SimpleGraph V} (C : Set G.ConnectedComponent),
  SimpleGraph.ConnectedComponent.Represents (Quot.out '' C) C

theorem SimpleGraph.ConnectedComponent.Represents.existsUnique_rep E1 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V} {c : G.ConnectedComponent},
  SimpleGraph.ConnectedComponent.Represents s C → c ∈ C → ∃! x, x ∈ s ∩ c.supp

theorem SimpleGraph.ConnectedComponent.Represents.exists_inter_eq_singleton E1 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V} {c : G.ConnectedComponent},
  SimpleGraph.ConnectedComponent.Represents s C → c ∈ C → ∃ x, s ∩ c.supp = {x}

theorem SimpleGraph.ConnectedComponent.Represents.disjoint_supp_of_notMem E1 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V} {c : G.ConnectedComponent},
  SimpleGraph.ConnectedComponent.Represents s C → c ∉ C → Disjoint s c.supp

theorem SimpleGraph.ConnectedComponent.Represents.ncard_inter E1 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V} {c : G.ConnectedComponent},
  SimpleGraph.ConnectedComponent.Represents s C → c ∈ C → (s ∩ c.supp).ncard = 1

theorem SimpleGraph.ConnectedComponent.Represents.ncard_eq E0 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V},
  SimpleGraph.ConnectedComponent.Represents s C → s.ncard = C.ncard

theorem SimpleGraph.ConnectedComponent.Represents.ncard_sdiff_of_mem E1 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V} {c : G.ConnectedComponent},
  SimpleGraph.ConnectedComponent.Represents s C → c ∈ C → (c.supp \ s).ncard = c.supp.ncard - 1

theorem SimpleGraph.ConnectedComponent.Represents.ncard_sdiff_of_notMem E1 #

∀ {V : Type u} {G : SimpleGraph V} {C : Set G.ConnectedComponent} {s : Set V} {c : G.ConnectedComponent},
  SimpleGraph.ConnectedComponent.Represents s C → c ∉ C → (c.supp \ s).ncard = c.supp.ncard

theorem SimpleGraph.ConnectedComponent.even_ncard_supp_sdiff_rep E1 #

∀ {V : Type u} {G : SimpleGraph V} {s : Set V} (K : G.ConnectedComponent),
  SimpleGraph.ConnectedComponent.Represents s G.oddComponents → Even (K.supp \ s).ncard