## minimal spanning set is also basis

It suffices to prove that $B$ is an independent set. Use reductio ad absurdum.