definition
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Definition
A tree is a connected acyclic simple graph, using mathlib's native predicate.
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Acyclic |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Trees |
| 6 | type: definition |
| 7 | --- |
| 8 | A tree is a connected acyclic simple graph, using mathlib's native |
| 9 | `SimpleGraph.IsTree` predicate. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | namespace Lax68.Trees |
| 15 | |
| 16 | def IsTree {V : Type*} (G : SimpleGraph V) : Prop := |
| 17 | G.IsTree |
| 18 | |
| 19 | end Lax68.Trees |
| 20 |
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