Graph minors
Lax68.GraphMinors · concepts/Lax68/GraphMinors.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A graph H is a minor of a graph G when the vertices of H can be represented by pairwise disjoint connected branch sets in G, with an edge joining the corresponding branch sets for every edge of H.
Concept map
In the paper
- page 3 of the paper of lax-326031, Graph Classes and Width Parameters
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Graph minors |
| 6 | type: definition |
| 7 | --- |
| 8 | |
| 9 |  |
| 10 | |
| 11 | A graph *H* is a minor of a graph *G* when the vertices of *H* can be |
| 12 | represented by pairwise disjoint connected branch sets in *G*, with an edge |
| 13 | joining the corresponding branch sets for every edge of *H*. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | namespace Lax68.GraphMinors |
| 19 | |
| 20 | structure MinorModel {W V : Type*} |
| 21 | (H : SimpleGraph W) (G : SimpleGraph V) where |
| 22 | branchSet : W → Set V |
| 23 | connected : ∀ w, (G.induce (branchSet w)).Connected |
| 24 | disjoint : |
| 25 | ∀ {u v}, u ≠ v → |
| 26 | Disjoint (branchSet u) (branchSet v) |
| 27 | adjacent : |
| 28 | ∀ {u v}, H.Adj u v → |
| 29 | ∃ x ∈ branchSet u, ∃ y ∈ branchSet v, G.Adj x y |
| 30 | |
| 31 | def IsMinor {W V : Type*} |
| 32 | (H : SimpleGraph W) (G : SimpleGraph V) : Prop := |
| 33 | Nonempty (MinorModel H G) |
| 34 | |
| 35 | abbrev K5 : SimpleGraph (Fin 5) := |
| 36 | SimpleGraph.completeGraph (Fin 5) |
| 37 | |
| 38 | abbrev K4 : SimpleGraph (Fin 4) := |
| 39 | SimpleGraph.completeGraph (Fin 4) |
| 40 | |
| 41 | abbrev K33 : SimpleGraph (Fin 3 ⊕ Fin 3) := |
| 42 | completeBipartiteGraph (Fin 3) (Fin 3) |
| 43 | |
| 44 | abbrev K23 : SimpleGraph (Fin 2 ⊕ Fin 3) := |
| 45 | completeBipartiteGraph (Fin 2) (Fin 3) |
| 46 | |
| 47 | end Lax68.GraphMinors |
| 48 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments