Stars
Lax68.Stars · concepts/Lax68/Stars.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A star has a centre adjacent to every other vertex and has no edges between two non-central vertices.
Concept map
In the paper
- page 2 of the paper of lax-326031, Graph Classes and Width Parameters
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.UniversalVerts |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Stars |
| 6 | type: definition |
| 7 | --- |
| 8 | |
| 9 |  |
| 10 | |
| 11 | A star has a centre adjacent to every other vertex and has no edges between |
| 12 | two non-central vertices. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | namespace Lax68.Stars |
| 18 | |
| 19 | def HasStarShape {V : Type*} (G : SimpleGraph V) : Prop := |
| 20 | ∃ centre : V, |
| 21 | centre ∈ G.universalVerts ∧ |
| 22 | ∀ ⦃u v⦄, G.Adj u v → u = centre ∨ v = centre |
| 23 | |
| 24 | def IsStar {V : Type*} (G : SimpleGraph V) : Prop := |
| 25 | HasStarShape G |
| 26 | |
| 27 | end Lax68.Stars |
| 28 |
Builds on
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments