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.Ends.Defs

42 declarations. Mathlib docs · Source

theorem SimpleGraph.ComponentCompl.hom.congr_simp E1 #

∀ {V : Type u} {G : SimpleGraph V} {K L : Set V} (h : K ⊆ L) (C C_1 : G.ComponentCompl L),
  C = C_1 → SimpleGraph.ComponentCompl.hom h C = SimpleGraph.ComponentCompl.hom h C_1

theorem SimpleGraph.componentComplMk.congr_simp E1 #

∀ {V : Type u} {K : Set V} (G : SimpleGraph V) {v v_1 : V} (e_v : v = v_1) (vK : v ∉ K),
  G.componentComplMk vK = G.componentComplMk ⋯

abbrev SimpleGraph.ComponentCompl E1 #

{V : Type u} → SimpleGraph V → Set V → Type u

The components outside a given set of vertices K

abbrev SimpleGraph.componentComplMk E1 #

{V : Type u} → {K : Set V} → (G : SimpleGraph V) → {v : V} → v ∉ K → G.ComponentCompl K

The connected component of v in G.induce Kᶜ.

def SimpleGraph.ComponentCompl.supp E1 #

{V : Type u} → {G : SimpleGraph V} → {K : Set V} → G.ComponentCompl K → Set V

The set of vertices of G making up the connected component C

theorem SimpleGraph.ComponentCompl.supp_injective E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V}, Function.Injective SimpleGraph.ComponentCompl.supp

theorem SimpleGraph.ComponentCompl.supp_injective_iff E0 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {a₁ a₂ : G.ComponentCompl K}, a₁ = a₂ ↔ a₁.supp = a₂.supp

theorem SimpleGraph.ComponentCompl.supp_inj E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {C D : G.ComponentCompl K}, C.supp = D.supp ↔ C = D

instance SimpleGraph.ComponentCompl.setLike E0 #

{V : Type u} → {G : SimpleGraph V} → {K : Set V} → SetLike (G.ComponentCompl K) V

instance SimpleGraph.instPartialOrderComponentCompl E0 #

{V : Type u} → {G : SimpleGraph V} → {K : Set V} → PartialOrder (G.ComponentCompl K)

theorem SimpleGraph.ComponentCompl.mem_supp_iff E0 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {v : V} {C : G.ComponentCompl K},
  v ∈ C ↔ ∃ (vK : v ∉ K), G.componentComplMk vK = C

theorem SimpleGraph.componentComplMk_mem E1 #

∀ {V : Type u} {K : Set V} (G : SimpleGraph V) {v : V} (vK : v ∉ K), v ∈ G.componentComplMk vK

theorem SimpleGraph.componentComplMk_eq_of_adj E1 #

∀ {V : Type u} {K : Set V} (G : SimpleGraph V) {v w : V} (vK : v ∉ K) (wK : w ∉ K),
  G.Adj v w → G.componentComplMk vK = G.componentComplMk wK

instance SimpleGraph.componentCompl_nonempty_of_infinite E0 #

∀ {V : Type u} (G : SimpleGraph V) [Infinite V] (K : Finset V), Nonempty (G.ComponentCompl ↑K)

In an infinite graph, the set of components out of a finite set is nonempty.

def SimpleGraph.ComponentCompl.lift E1 #

{V : Type u} →
  {G : SimpleGraph V} →
    {K : Set V} →
      {β : Sort u_1} →
        (f : ⦃v : V⦄ → v ∉ K → β) →
          (∀ ⦃v w : V⦄ (hv : v ∉ K) (hw : w ∉ K), G.Adj v w → f hv = f hw) → G.ComponentCompl K → β

A ComponentCompl specialization of Quot.lift, where soundness has to be proved only for adjacent vertices.

theorem SimpleGraph.ComponentCompl.ind E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {β : G.ComponentCompl K → Prop},
  (∀ ⦃v : V⦄ (hv : v ∉ K), β (G.componentComplMk hv)) → ∀ (C : G.ComponentCompl K), β C

abbrev SimpleGraph.ComponentCompl.coeGraph E1 #

{V : Type u} → {G : SimpleGraph V} → {K : Set V} → (C : G.ComponentCompl K) → SimpleGraph ↥C

The induced graph on the vertices C.

theorem SimpleGraph.ComponentCompl.coe_inj E0 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {C D : G.ComponentCompl K}, ↑C = ↑D ↔ C = D

theorem SimpleGraph.ComponentCompl.nonempty E0 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} (C : G.ComponentCompl K), (↑C).Nonempty

theorem SimpleGraph.ComponentCompl.exists_eq_mk E0 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} (C : G.ComponentCompl K), ∃ v, ∃ (h : v ∉ K), G.componentComplMk h = C

theorem SimpleGraph.ComponentCompl.disjoint_right E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} (C : G.ComponentCompl K), Disjoint K ↑C

theorem SimpleGraph.ComponentCompl.notMem_of_mem E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {C : G.ComponentCompl K} {c : V}, c ∈ C → c ∉ K

theorem SimpleGraph.ComponentCompl.pairwise_disjoint E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V}, Pairwise fun C D ↦ Disjoint ↑C ↑D

theorem SimpleGraph.ComponentCompl.mem_of_adj E0 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V} {C : G.ComponentCompl K} (c d : V), c ∈ C → d ∉ K → G.Adj c d → d ∈ C

Any vertex adjacent to a vertex of C and not lying in K must lie in C.

theorem SimpleGraph.ComponentCompl.exists_adj_boundary_pair E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Set V},
  G.Preconnected → K.Nonempty → ∀ (C : G.ComponentCompl K), ∃ ck, ck.1 ∈ C ∧ ck.2 ∈ K ∧ G.Adj ck.1 ck.2

Assuming G is preconnected and K not empty, given any connected component C outside of K, there exists a vertex k ∈ K adjacent to a vertex v ∈ C.

abbrev SimpleGraph.ComponentCompl.hom E1 #

{V : Type u} → {G : SimpleGraph V} → {K L : Set V} → K ⊆ L → G.ComponentCompl L → G.ComponentCompl K

If K ⊆ L, the components outside of L are all contained in a single component outside of K.

theorem SimpleGraph.ComponentCompl.subset_hom E1 #

∀ {V : Type u} {G : SimpleGraph V} {K L : Set V} (C : G.ComponentCompl L) (h : K ⊆ L),
  ↑C ⊆ ↑(SimpleGraph.ComponentCompl.hom h C)

theorem SimpleGraph.componentComplMk_mem_hom E1 #

∀ {V : Type u} {K L : Set V} (G : SimpleGraph V) {v : V} (vK : v ∉ K) (h : L ⊆ K),
  v ∈ SimpleGraph.ComponentCompl.hom h (G.componentComplMk vK)

theorem SimpleGraph.ComponentCompl.hom_eq_iff_le E1 #

∀ {V : Type u} {G : SimpleGraph V} {K L : Set V} (C : G.ComponentCompl L) (h : K ⊆ L) (D : G.ComponentCompl K),
  SimpleGraph.ComponentCompl.hom h C = D ↔ ↑C ⊆ ↑D

theorem SimpleGraph.ComponentCompl.hom_eq_iff_not_disjoint E1 #

∀ {V : Type u} {G : SimpleGraph V} {K L : Set V} (C : G.ComponentCompl L) (h : K ⊆ L) (D : G.ComponentCompl K),
  SimpleGraph.ComponentCompl.hom h C = D ↔ ¬Disjoint ↑C ↑D

theorem SimpleGraph.ComponentCompl.hom_refl E1 #

∀ {V : Type u} {G : SimpleGraph V} {L : Set V} (C : G.ComponentCompl L), SimpleGraph.ComponentCompl.hom ⋯ C = C

theorem SimpleGraph.ComponentCompl.hom_trans E1 #

∀ {V : Type u} {G : SimpleGraph V} {K L M : Set V} (C : G.ComponentCompl L) (h : K ⊆ L) (h' : M ⊆ K),
  SimpleGraph.ComponentCompl.hom ⋯ C = SimpleGraph.ComponentCompl.hom h' (SimpleGraph.ComponentCompl.hom h C)

theorem SimpleGraph.ComponentCompl.hom_mk E0 #

∀ {V : Type u} {G : SimpleGraph V} {K L : Set V} {v : V} (vnL : v ∉ L) (h : K ⊆ L),
  SimpleGraph.ComponentCompl.hom h (G.componentComplMk vnL) = G.componentComplMk ⋯

theorem SimpleGraph.ComponentCompl.hom_infinite E1 #

∀ {V : Type u} {G : SimpleGraph V} {K L : Set V} (C : G.ComponentCompl L) (h : K ⊆ L),
  (↑C).Infinite → (↑(SimpleGraph.ComponentCompl.hom h C)).Infinite

theorem SimpleGraph.ComponentCompl.infinite_iff_in_all_ranges E1 #

∀ {V : Type u} {G : SimpleGraph V} {K : Finset V} (C : G.ComponentCompl ↑K),
  C.supp.Infinite ↔ ∀ (L : Finset V) (h : K ⊆ L), ∃ D, SimpleGraph.ComponentCompl.hom h D = C

instance SimpleGraph.componentCompl_finite E0 #

∀ {V : Type u} {G : SimpleGraph V} [G.LocallyFinite] [Gpc : Fact G.Preconnected] (K : Finset V),
  Finite (G.ComponentCompl ↑K)

For a locally finite preconnected graph, the number of components outside of any finite set is finite.

def SimpleGraph.componentComplFunctor E1 #

{V : Type u} → SimpleGraph V → CategoryTheory.Functor (Finset V)ᵒᵖ (Type u)

The functor assigning, to a finite set in V, the set of connected components in its complement.

theorem SimpleGraph.componentComplFunctor_obj E0 #

∀ {V : Type u} (G : SimpleGraph V) (K : (Finset V)ᵒᵖ),
  G.componentComplFunctor.obj K = G.ComponentCompl ↑(Opposite.unop K)

theorem SimpleGraph.componentComplFunctor_map E0 #

∀ {V : Type u} (G : SimpleGraph V) {X Y : (Finset V)ᵒᵖ} (f : X ⟶ Y),
  G.componentComplFunctor.map f = TypeCat.ofHom (SimpleGraph.ComponentCompl.hom ⋯)

def SimpleGraph.end E1 #

{V : Type u} → (G : SimpleGraph V) → Set ((j : (Finset V)ᵒᵖ) → G.componentComplFunctor.obj j)

The end of a graph, defined as the sections of the functor component_compl_functor .

theorem SimpleGraph.end_hom_mk_of_mk E0 #

∀ {V : Type u} (G : SimpleGraph V) {s : (j : (Finset V)ᵒᵖ) → G.componentComplFunctor.obj j},
  s ∈ G.end →
    ∀ {K L : (Finset V)ᵒᵖ} (h : L ⟶ K) {v : V} (vnL : v ∉ Opposite.unop L),
      s L = G.componentComplMk vnL → s K = G.componentComplMk ⋯

theorem SimpleGraph.infinite_iff_in_eventualRange E1 #

∀ {V : Type u} (G : SimpleGraph V) {K : (Finset V)ᵒᵖ} (C : G.componentComplFunctor.obj K),
  (SimpleGraph.ComponentCompl.supp C).Infinite ↔ C ∈ G.componentComplFunctor.eventualRange K