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