Outerplanar graphs
Lax68.Outerplanar · concepts/Lax68/Outerplanar.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A graph is outerplanar here when it has a crossing-free straight-line drawing with every vertex on one circle, a compact certificate for having every vertex on the boundary of the outer face.
Concept map
In the paper
- page 2 of the paper of lax-326031, Graph Classes and Width Parameters
- page 3 of the paper of lax-326031, Graph Classes and Width Parameters
Lean source view on GitHub
| 1 | import Lax68.GraphMinors |
| 2 | import Lax68.StraightLineDrawings |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Outerplanar graphs |
| 7 | type: definition |
| 8 | --- |
| 9 | |
| 10 |  |
| 11 | |
| 12 | A graph is outerplanar here when it has a crossing-free straight-line drawing |
| 13 | with every vertex on one circle, a compact certificate for having every |
| 14 | vertex on the boundary of the outer face. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | namespace Lax68.Outerplanar |
| 20 | |
| 21 | structure OuterplaneDrawing {V : Type*} (G : SimpleGraph V) |
| 22 | extends StraightLineDrawings.StraightLineDrawing G where |
| 23 | radius : ℝ |
| 24 | radius_pos : 0 < radius |
| 25 | onBoundary : |
| 26 | ∀ v : V, |
| 27 | let p := toStraightLineDrawing.point v |
| 28 | p.1 ^ 2 + p.2 ^ 2 = radius ^ 2 |
| 29 | |
| 30 | def IsOuterplanar {V : Type*} (G : SimpleGraph V) : Prop := |
| 31 | Nonempty (OuterplaneDrawing G) |
| 32 | |
| 33 | /-- The usual forbidden-minor characterization of outerplanarity. -/ |
| 34 | def IsOuterplanarByExcludedMinors {V : Type*} (G : SimpleGraph V) : Prop := |
| 35 | ¬ GraphMinors.IsMinor GraphMinors.K4 G ∧ |
| 36 | ¬ GraphMinors.IsMinor GraphMinors.K23 G |
| 37 | |
| 38 | end Lax68.Outerplanar |
| 39 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments