let G be Graph; for pe being FinSequence of the carrier' of G
for p, q being oriented Chain of G st p = q ^ pe & len q >= 1 & len pe = 1 holds
vertices p = (vertices q) \/ {( the Target of G . (pe . 1))}
let pe be FinSequence of the carrier' of G; for p, q being oriented Chain of G st p = q ^ pe & len q >= 1 & len pe = 1 holds
vertices p = (vertices q) \/ {( the Target of G . (pe . 1))}
let p, q be oriented Chain of G; ( p = q ^ pe & len q >= 1 & len pe = 1 implies vertices p = (vertices q) \/ {( the Target of G . (pe . 1))} )
assume that
A1:
p = q ^ pe
and
A2:
len q >= 1
and
A3:
len pe = 1
; vertices p = (vertices q) \/ {( the Target of G . (pe . 1))}
set FS = the Source of G;
set FT = the Target of G;
set V3 = {( the Target of G . (pe . 1))};
A4:
len p = (len q) + 1
by A1, A3, FINSEQ_1:22;
now for x being object holds
( ( x in vertices p implies x in (vertices q) \/ {( the Target of G . (pe . 1))} ) & ( x in (vertices q) \/ {( the Target of G . (pe . 1))} implies x in vertices p ) )let x be
object ;
( ( x in vertices p implies x in (vertices q) \/ {( the Target of G . (pe . 1))} ) & ( x in (vertices q) \/ {( the Target of G . (pe . 1))} implies b1 in vertices p ) )hereby ( x in (vertices q) \/ {( the Target of G . (pe . 1))} implies b1 in vertices p )
assume
x in vertices p
;
x in (vertices q) \/ {( the Target of G . (pe . 1))}then consider y being
Vertex of
G such that A5:
y = x
and A6:
ex
i being
Nat st
(
i in dom p &
y in vertices (p /. i) )
;
consider i being
Nat such that A7:
i in dom p
and A8:
y in vertices (p /. i)
by A6;
A9:
1
<= i
by A7, FINSEQ_3:25;
A10:
i <= len p
by A7, FINSEQ_3:25;
per cases
( i <= len q or i > len q )
;
suppose A11:
i <= len q
;
x in (vertices q) \/ {( the Target of G . (pe . 1))}then A12:
i in dom q
by A9, FINSEQ_3:25;
p /. i =
p . i
by A9, A10, FINSEQ_4:15
.=
q . i
by A1, A9, A11, Lm1
.=
q /. i
by A9, A11, FINSEQ_4:15
;
then
y in { v where v is Vertex of G : ex j being Nat st
( j in dom q & v in vertices (q /. j) ) }
by A8, A12;
hence
x in (vertices q) \/ {( the Target of G . (pe . 1))}
by A5, XBOOLE_0:def 3;
verum end; end;
end; assume A18:
x in (vertices q) \/ {( the Target of G . (pe . 1))}
;
b1 in vertices p end;
hence
vertices p = (vertices q) \/ {( the Target of G . (pe . 1))}
by TARSKI:2; verum