Paths are trees
Lax68.PathTree · concepts/Lax68/PathTree.lean · lax-68
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every path graph is a tree.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
-
no assumptions
thm✓Lax68.PathTree
Lean source view on GitHub
| 1 | import Lax68.Paths |
| 2 | import Lax68.Trees |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Paths are trees |
| 7 | type: theorem |
| 8 | --- |
| 9 | Every path graph is a tree. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | namespace Lax68.PathTree |
| 15 | |
| 16 | /-- Every path graph is a tree. -/ |
| 17 | axiom path_tree {V : Type*} {G : SimpleGraph V} : |
| 18 | Lax68.Paths.IsPath G → |
| 19 | Lax68.Trees.IsTree G |
| 20 | |
| 21 | end Lax68.PathTree |
| 22 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments