defpred S1[ set , set , set ] means ( ex e being FF:ELabeling of st
( e = $2 & $3 = FF:Step e,source,sink ) or ( ( for e being FF:ELabeling of holds not e = $2 ) & $3 = $2 ) );
then A2:
for n being Element of NAT
for x being set ex y being set st S1[n,x,y]
;
consider IT being Function such that
A3:
( dom IT = NAT & IT . 0 = (the_Edges_of G) --> 0 & ( for n being Element of NAT holds S1[n,IT . n,IT . (n + 1)] ) )
from RECDEF_1:sch 1(A2);
reconsider IT = IT as ManySortedSet of by A3, PARTFUN1:def 4, RELAT_1:def 18;
defpred S2[ Nat] means ex Gn being FF:ELabeling of st IT . $1 = Gn;
A6:
S2[ 0 ]
by A3;
A7:
for n being Nat holds S2[n]
from NAT_1:sch 2(A6, A4);
then reconsider IT = IT as FF:ELabelingSeq of G by Def19;
take
IT
; :: thesis: ( IT . 0 = (the_Edges_of G) --> 0 & ( for n being Nat holds IT . (n + 1) = FF:Step (IT . n),source,sink ) )
thus
IT . 0 = (the_Edges_of G) --> 0
by A3; :: thesis: for n being Nat holds IT . (n + 1) = FF:Step (IT . n),source,sink
let n be Nat; :: thesis: IT . (n + 1) = FF:Step (IT . n),source,sink
reconsider n' = n as Element of NAT by ORDINAL1:def 13;
ex X being FF:ELabeling of st
( X = IT . n & IT . (n' + 1) = FF:Step X,source,sink )
by A3;
hence
IT . (n + 1) = FF:Step (IT . n),source,sink
; :: thesis: verum
reconsider E0 = (the_Edges_of G) --> 0 as Function of (the_Edges_of G),REAL by FUNCOP_1:58;