OAI/Geometry/HyperbolicGroups/BFSTree.lean
2 declarations, 0 contain sorry, 0 declared as axioms
- lemma
OAI.HyperbolicObstruction.PlanarRecursion.exists_distance_parentline 15 - theorem
OAI.HyperbolicObstruction.PlanarRecursion.exists_bfs_treeline 35Source documentation
A literal shortest-path spanning tree of a finite connected graph. Root distances are preserved exactly, not merely bounded by the number of vertices. This is the radius-control input for the planar separator.
theorem exists_bfs_tree (G : SimpleGraph V) (hG : G.Connected) (root : V) : ∃ T : SimpleGraph V, T ≤ G ∧ T.IsTree ∧ ∀ v, T.dist root v = G.dist root v := by …