let P2 be Path-like _Graph; :: thesis: for v2, e being object
for w2 being Vertex of P2
for P1 being addAdjVertex of P2,v2,e,w2 st ( w2 is endvertex or P2 is _trivial ) holds
P1 is Path-like

let v2, e be object ; :: thesis: for w2 being Vertex of P2
for P1 being addAdjVertex of P2,v2,e,w2 st ( w2 is endvertex or P2 is _trivial ) holds
P1 is Path-like

let w2 be Vertex of P2; :: thesis: for P1 being addAdjVertex of P2,v2,e,w2 st ( w2 is endvertex or P2 is _trivial ) holds
P1 is Path-like

let P1 be addAdjVertex of P2,v2,e,w2; :: thesis: ( ( w2 is endvertex or P2 is _trivial ) implies P1 is Path-like )
per cases ( ( not e in the_Edges_of P2 & not v2 in the_Vertices_of P2 ) or e in the_Edges_of P2 or v2 in the_Vertices_of P2 ) ;
suppose A1: ( not e in the_Edges_of P2 & not v2 in the_Vertices_of P2 ) ; :: thesis: ( ( w2 is endvertex or P2 is _trivial ) implies P1 is Path-like )
assume A2: ( w2 is endvertex or P2 is _trivial ) ; :: thesis: P1 is Path-like
thus P1 is Tree-like ; :: according to GLPACY00:def 1 :: thesis: for v being Vertex of P1 holds v .degree() c= 2
per cases ( w2 is endvertex or P2 is _trivial ) by A2;
end;
end;
suppose ( e in the_Edges_of P2 or v2 in the_Vertices_of P2 ) ; :: thesis: ( ( w2 is endvertex or P2 is _trivial ) implies P1 is Path-like )
then P1 == P2 by GLIB_006:def 12;
hence ( ( w2 is endvertex or P2 is _trivial ) implies P1 is Path-like ) by Lm3; :: thesis: verum
end;
end;