Triangles
Lax68.Triangles · concepts/Lax68/Triangles.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A triangle is a finite complete graph on exactly three 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.Maps |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Triangles |
| 6 | type: definition |
| 7 | --- |
| 8 | |
| 9 |  |
| 10 | |
| 11 | A triangle is a finite complete graph on exactly three vertices. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | namespace Lax68.Triangles |
| 17 | |
| 18 | def IsTriangle {V : Type*} (G : SimpleGraph V) : Prop := |
| 19 | Nonempty (G ≃g SimpleGraph.completeGraph (Fin 3)) |
| 20 | |
| 21 | end Lax68.Triangles |
| 22 |
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