let G1, G2 be _Graph; :: thesis: ( G1 is Subgraph of G2 & G2 is Subgraph of G1 iff ( the_Vertices_of G1 = the_Vertices_of G2 & the_Edges_of G1 = the_Edges_of G2 & the_Source_of G1 = the_Source_of G2 & the_Target_of G1 = the_Target_of G2 ) )
hereby :: thesis: ( the_Vertices_of G1 = the_Vertices_of G2 & the_Edges_of G1 = the_Edges_of G2 & the_Source_of G1 = the_Source_of G2 & the_Target_of G1 = the_Target_of G2 implies ( G1 is Subgraph of G2 & G2 is Subgraph of G1 ) ) end;
assume that
A7: ( the_Vertices_of G1 = the_Vertices_of G2 & the_Edges_of G1 = the_Edges_of G2 ) and
A8: ( the_Source_of G1 = the_Source_of G2 & the_Target_of G1 = the_Target_of G2 ) ; :: thesis: ( G1 is Subgraph of G2 & G2 is Subgraph of G1 )
for e being set st e in the_Edges_of G1 holds
( (the_Source_of G1) . e = (the_Source_of G2) . e & (the_Target_of G1) . e = (the_Target_of G2) . e ) by A8;
hence ( G1 is Subgraph of G2 & G2 is Subgraph of G1 ) by A7, Def32; :: thesis: verum