definition
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
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.
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Graph minors |
| 6 | type: definition |
| 7 | --- |
| 8 | A graph *H* is a minor of a graph *G* when the vertices of *H* can be |
| 9 | represented by pairwise disjoint connected branch sets in *G*, with an edge |
| 10 | joining the corresponding branch sets for every edge of *H*. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | namespace Lax68.GraphMinors |
| 16 | |
| 17 | structure MinorModel {W V : Type*} |
| 18 | (H : SimpleGraph W) (G : SimpleGraph V) where |
| 19 | branchSet : W → Set V |
| 20 | connected : ∀ w, (G.induce (branchSet w)).Connected |
| 21 | disjoint : |
| 22 | ∀ {u v}, u ≠ v → |
| 23 | Disjoint (branchSet u) (branchSet v) |
| 24 | adjacent : |
| 25 | ∀ {u v}, H.Adj u v → |
| 26 | ∃ x ∈ branchSet u, ∃ y ∈ branchSet v, G.Adj x y |
| 27 | |
| 28 | def IsMinor {W V : Type*} |
| 29 | (H : SimpleGraph W) (G : SimpleGraph V) : Prop := |
| 30 | Nonempty (MinorModel H G) |
| 31 | |
| 32 | abbrev K5 : SimpleGraph (Fin 5) := |
| 33 | SimpleGraph.completeGraph (Fin 5) |
| 34 | |
| 35 | abbrev K33 : SimpleGraph (Fin 3 ⊕ Fin 3) := |
| 36 | completeBipartiteGraph (Fin 3) (Fin 3) |
| 37 | |
| 38 | end Lax68.GraphMinors |
| 39 |
Builds on
none
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments