Ladders
Lax68.Ladders · concepts/Lax68/Ladders.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A finite ladder is a nonempty two-row grid: two paths joined by corresponding rungs.
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: Ladders |
| 6 | type: definition |
| 7 | --- |
| 8 | |
| 9 |  |
| 10 | |
| 11 | A finite ladder is a nonempty two-row grid: two paths joined by corresponding |
| 12 | rungs. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | namespace Lax68.Ladders |
| 18 | |
| 19 | def HasLadderShape {V : Type*} (G : SimpleGraph V) : Prop := |
| 20 | ∃ n : ℕ, |
| 21 | 0 < n ∧ |
| 22 | Nonempty |
| 23 | (G ≃g (SimpleGraph.pathGraph n □ SimpleGraph.pathGraph 2)) |
| 24 | |
| 25 | def IsLadder {V : Type*} (G : SimpleGraph V) : Prop := |
| 26 | HasLadderShape G |
| 27 | |
| 28 | end Lax68.Ladders |
| 29 |
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