definition
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Definition
A triangle is a finite complete graph on exactly three vertices.
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Maps |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Triangles |
| 6 | type: definition |
| 7 | --- |
| 8 | A triangle is a finite complete graph on exactly three vertices. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | |
| 13 | namespace Lax68.Triangles |
| 14 | |
| 15 | def IsTriangle {V : Type*} (G : SimpleGraph V) : Prop := |
| 16 | Nonempty (G ≃g SimpleGraph.completeGraph (Fin 3)) |
| 17 | |
| 18 | end Lax68.Triangles |
| 19 |
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