let H be addAdjVertexAll of G,v,V; :: thesis: H is with_max_in_degree
per cases ( ( not v in the_Vertices_of G & V c= the_Vertices_of G ) or v in the_Vertices_of G or not V c= the_Vertices_of G ) ;
suppose A1: ( not v in the_Vertices_of G & V c= the_Vertices_of G ) ; :: thesis: H is with_max_in_degree
consider v0 being Vertex of G such that
A2: for w0 being Vertex of G holds w0 .inDegree() c= v0 .inDegree() by Def13;
A3: the_Vertices_of H = (the_Vertices_of G) \/ {v} by A1, GLIB_007:def 4;
then reconsider v9 = v0 as Vertex of H by XBOOLE_0:def 3;
reconsider v1 = v as Vertex of H by A1, GLIB_007:50;
A4: for w being Vertex of H
for w0 being Vertex of G st w = w0 & w .inDegree() <> (w0 .inDegree()) +` 1 holds
w .inDegree() = w0 .inDegree()
proof
let w be Vertex of H; :: thesis: for w0 being Vertex of G st w = w0 & w .inDegree() <> (w0 .inDegree()) +` 1 holds
w .inDegree() = w0 .inDegree()

let w0 be Vertex of G; :: thesis: ( w = w0 & w .inDegree() <> (w0 .inDegree()) +` 1 implies w .inDegree() = w0 .inDegree() )
assume A5: w = w0 ; :: thesis: ( not w .inDegree() <> (w0 .inDegree()) +` 1 or w .inDegree() = w0 .inDegree() )
assume A6: w .inDegree() <> (w0 .inDegree()) +` 1 ; :: thesis: w .inDegree() = w0 .inDegree()
A7: w .inDegree() c= (w0 .inDegree()) +` 1 by A5, GLIBPRE0:58;
then A8: (w .inDegree()) +` 1 c= (w0 .inDegree()) +` 1 by A6, Lm1;
G is Subgraph of H by GLIB_006:57;
then A9: w0 .inDegree() c= w .inDegree() by A5, GLIB_000:78, CARD_1:11;
then (w0 .inDegree()) +` 1 c= (w .inDegree()) +` 1 by CARD_2:83;
then A10: (w .inDegree()) +` 1 = (w0 .inDegree()) +` 1 by A8, XBOOLE_0:def 10;
end;
per cases ( (v0 .inDegree()) +` 1 c= v1 .inDegree() or ( v1 .inDegree() in (v0 .inDegree()) +` 1 & v9 .inDegree() = (v0 .inDegree()) +` 1 ) or ( v1 .inDegree() in (v0 .inDegree()) +` 1 & v9 .inDegree() <> (v0 .inDegree()) +` 1 & ( for w0 being Vertex of G
for w being Vertex of H st w0 = w & w .inDegree() = (w0 .inDegree()) +` 1 holds
(w0 .inDegree()) +` 1 c= v0 .inDegree() ) ) or ( v1 .inDegree() c= (v0 .inDegree()) +` 1 & v9 .inDegree() <> (v0 .inDegree()) +` 1 & ex w0 being Vertex of G ex w being Vertex of H st
( w0 = w & w .inDegree() = (w0 .inDegree()) +` 1 & not ( w .inDegree() = (w0 .inDegree()) +` 1 & (w0 .inDegree()) +` 1 c= v0 .inDegree() ) ) ) ) by ORDINAL1:16;
suppose A14: (v0 .inDegree()) +` 1 c= v1 .inDegree() ; :: thesis: H is with_max_in_degree
end;
suppose A16: ( v1 .inDegree() in (v0 .inDegree()) +` 1 & v9 .inDegree() = (v0 .inDegree()) +` 1 ) ; :: thesis: H is with_max_in_degree
end;
suppose A18: ( v1 .inDegree() in (v0 .inDegree()) +` 1 & v9 .inDegree() <> (v0 .inDegree()) +` 1 & ( for w0 being Vertex of G
for w being Vertex of H st w0 = w & w .inDegree() = (w0 .inDegree()) +` 1 holds
(w0 .inDegree()) +` 1 c= v0 .inDegree() ) ) ; :: thesis: H is with_max_in_degree
end;
suppose A20: ( v1 .inDegree() c= (v0 .inDegree()) +` 1 & v9 .inDegree() <> (v0 .inDegree()) +` 1 & ex w0 being Vertex of G ex w being Vertex of H st
( w0 = w & w .inDegree() = (w0 .inDegree()) +` 1 & not ( w .inDegree() = (w0 .inDegree()) +` 1 & (w0 .inDegree()) +` 1 c= v0 .inDegree() ) ) ) ; :: thesis: H is with_max_in_degree
end;
end;
end;
suppose ( v in the_Vertices_of G or not V c= the_Vertices_of G ) ; :: thesis: H is with_max_in_degree
end;
end;