set X = { W where W is DPath of G : W is_Walk_from x,y } ;
then reconsider X = { W where W is DPath of G : W is_Walk_from x,y } as finite Subset of (G .allDPaths()) by TARSKI:def 3;
hereby ( ( for W being DWalk of G holds not W is_Walk_from x,y ) implies ex b1 being Real st b1 = 0 )
assume
ex
W being
DWalk of
G st
W is_Walk_from x,
y
;
ex IT being object ex WA being DPath of G st
( WA is_mincost_DPath_from x,y & IT = WA .cost() )then consider W being
DWalk of
G such that A1:
W is_Walk_from x,
y
;
set P = the
DPath of
W;
the
DPath of
W is_Walk_from x,
y
by A1, GLIB_001:160;
then
the
DPath of
W in X
;
then reconsider X =
X as non
empty finite Subset of
(G .allDPaths()) ;
deffunc H1(
Element of
X)
-> object = $1
.cost() ;
consider W1 being
Element of
X such that A2:
for
W2 being
Element of
X holds
H1(
W1)
<= H1(
W2)
from PRE_CIRC:sch 5();
W1 in X
;
then consider WA being
DPath of
G such that A3:
WA = W1
and A4:
WA is_Walk_from x,
y
;
reconsider WA =
WA as
DPath of
G ;
set IT =
WA .cost() ;
take IT =
WA .cost() ;
ex WA being DPath of G st
( WA is_mincost_DPath_from x,y & IT = WA .cost() )take WA =
WA;
( WA is_mincost_DPath_from x,y & IT = WA .cost() )thus
WA is_mincost_DPath_from x,
y
by A4, A5;
IT = WA .cost() thus
IT = WA .cost()
;
verum
end;
thus
( ( for W being DWalk of G holds not W is_Walk_from x,y ) implies ex b1 being Real st b1 = 0 )
; verum