let G1 be WGraph; :: thesis: for G2 being WSubgraph of G1
for W1 being Walk of G1
for W2 being Walk of G2 st W1 = W2 holds
W1 .weightSeq() = W2 .weightSeq()

let G2 be WSubgraph of G1; :: thesis: for W1 being Walk of G1
for W2 being Walk of G2 st W1 = W2 holds
W1 .weightSeq() = W2 .weightSeq()

let W1 be Walk of G1; :: thesis: for W2 being Walk of G2 st W1 = W2 holds
W1 .weightSeq() = W2 .weightSeq()

let W2 be Walk of G2; :: thesis: ( W1 = W2 implies W1 .weightSeq() = W2 .weightSeq() )
assume W1 = W2 ; :: thesis: W1 .weightSeq() = W2 .weightSeq()
then A1: W1 .edgeSeq() = W2 .edgeSeq() by GLIB_001:87;
set WS1 = W1 .weightSeq() ;
set WS2 = W2 .weightSeq() ;
now
thus len (W1 .weightSeq() ) = len (W1 .weightSeq() ) ; :: thesis: ( len (W2 .weightSeq() ) = len (W1 .weightSeq() ) & ( for x being Nat st x in dom (W1 .weightSeq() ) holds
(W2 .weightSeq() ) . x = (W1 .weightSeq() ) . x ) )

thus A2: len (W2 .weightSeq() ) = len (W1 .edgeSeq() ) by A1, Def18
.= len (W1 .weightSeq() ) by Def18 ; :: thesis: for x being Nat st x in dom (W1 .weightSeq() ) holds
(W2 .weightSeq() ) . x = (W1 .weightSeq() ) . x

let x be Nat; :: thesis: ( x in dom (W1 .weightSeq() ) implies (W2 .weightSeq() ) . x = (W1 .weightSeq() ) . x )
assume x in dom (W1 .weightSeq() ) ; :: thesis: (W2 .weightSeq() ) . x = (W1 .weightSeq() ) . x
then A3: ( 1 <= x & x <= len (W1 .weightSeq() ) & x <= len (W2 .weightSeq() ) ) by A2, FINSEQ_3:27;
then x <= len (W2 .edgeSeq() ) by Def18;
then A4: x in dom (W2 .edgeSeq() ) by A3, FINSEQ_3:27;
thus (W2 .weightSeq() ) . x = (the_Weight_of G2) . ((W2 .edgeSeq() ) . x) by A3, Def18
.= ((the_Weight_of G1) | (the_Edges_of G2)) . ((W2 .edgeSeq() ) . x) by Def10
.= (the_Weight_of G1) . ((W1 .edgeSeq() ) . x) by A1, A4, FUNCT_1:72, GLIB_001:80
.= (W1 .weightSeq() ) . x by A3, Def18 ; :: thesis: verum
end;
hence W1 .weightSeq() = W2 .weightSeq() by FINSEQ_2:10; :: thesis: verum