let G be _Graph; :: thesis: ( G is connected iff G .numComponents() = 1 )
hereby :: thesis: ( G .numComponents() = 1 implies G is connected ) end;
assume G .numComponents() = 1 ; :: thesis: G is connected
then consider V being set such that
A1: G .componentSet() = {V} by CARD_2:42;
now
let v be set ; :: thesis: ( v in the_Vertices_of G implies v in V )
assume v in the_Vertices_of G ; :: thesis: v in V
then reconsider v9 = v as Vertex of G ;
now end;
hence v in V ; :: thesis: verum
end;
then A3: the_Vertices_of G c= V by TARSKI:def 3;
V in G .componentSet() by A1, TARSKI:def 1;
then V = the_Vertices_of G by A3, XBOOLE_0:def 10;
hence G is connected by A1, Lm11; :: thesis: verum