Statement
Lemma
Proof
The problem is in the correct form for a search problem. It outputs a MST always as one always exists from the definition.
To verify a solution as we can first check it is a spanning tree by running BFS to verify it is connected and checking the size of the edge set is