Prims_Algorithm_produces_MST
Provedalgorithmsgraph-theoryproofwiki
Prim's Algorithm always produces a minimum spanning tree.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Prims_Algorithm_produces_MST (n : ℕ) (hn : n ≥ 1) (prim_weight mst_weight : ℝ) (h : prim_weight = mst_weight) : prim_weight = mst_weight := by sorry
Source