definition
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Definition
A finite ladder is a nonempty two-row grid: two paths joined by corresponding rungs.
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Hasse |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Ladders |
| 6 | type: definition |
| 7 | --- |
| 8 | A finite ladder is a nonempty two-row grid: two paths joined by corresponding |
| 9 | rungs. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | namespace Lax68.Ladders |
| 15 | |
| 16 | def HasLadderShape {V : Type*} (G : SimpleGraph V) : Prop := |
| 17 | ∃ n : ℕ, |
| 18 | 0 < n ∧ |
| 19 | Nonempty |
| 20 | (G ≃g (SimpleGraph.pathGraph n □ SimpleGraph.pathGraph 2)) |
| 21 | |
| 22 | def IsLadder {V : Type*} (G : SimpleGraph V) : Prop := |
| 23 | HasLadderShape G |
| 24 | |
| 25 | end Lax68.Ladders |
| 26 |
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