After $i$ th step, we get a set of edges $\{(u_1, v_1), (u_2, v_2), \dots, (u_i, v_i)\}$ by Prim's Algorithm.
The MST Property guarantees that there is a minimum-cost spanning tree that includes $(u_i, v_i)$ as an edge.
But I don't think the MST Property guarantees that there is a minimum-cost spanning tree that includes a set of edges $\{(u_1, v_1), (u_2, v_2), \dots, (u_i, v_i)\}$.
Is it obvious that there is a minimum-cost spanning tree that includes a set of edges $\{(u_1, v_1), (u_2, v_2), \dots, (u_i, v_i)\}$ after $i$ th step?
Do we need a proof?
If so, please give me a proof.
2026-04-03 02:55:28.1775184928
About Prim's Algorithm (Aho, Hopcroft, Ullman)
94 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1

It looks to me you're misunderstanding Prim's algorithm. At each step, it only adds ONE edge to the current tree. More fully, for a graph $G(V, E)$:
So, for the algorithm to work, you only need to be sure that $(u_1, v_1)$ is in the MST, not all the enges in $T$.