Paths
Lax68.Paths · concepts/Lax68/Paths.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A finite path graph is a graph isomorphic to the standard path graph on a positive number of 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.Hasse |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Paths |
| 6 | type: definition |
| 7 | --- |
| 8 | |
| 9 |  |
| 10 | |
| 11 | A finite path graph is a graph isomorphic to the standard path graph on a |
| 12 | positive number of vertices. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | namespace Lax68.Paths |
| 18 | |
| 19 | def HasPathShape {V : Type*} (G : SimpleGraph V) : Prop := |
| 20 | ∃ n : ℕ, |
| 21 | 0 < n ∧ |
| 22 | Nonempty (G ≃g SimpleGraph.pathGraph n) |
| 23 | |
| 24 | def IsPath {V : Type*} (G : SimpleGraph V) : Prop := |
| 25 | HasPathShape G |
| 26 | |
| 27 | end Lax68.Paths |
| 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