let S be non empty set ; :: thesis: for R being total Relation of S,S
for s0, s1 being Element of S st [s0,s1] in R holds
ex pai being inf_path of R st
( pai . 0 = s0 & pai . 1 = s1 )
let R be total Relation of S,S; :: thesis: for s0, s1 being Element of S st [s0,s1] in R holds
ex pai being inf_path of R st
( pai . 0 = s0 & pai . 1 = s1 )
let s0, s1 be Element of S; :: thesis: ( [s0,s1] in R implies ex pai being inf_path of R st
( pai . 0 = s0 & pai . 1 = s1 ) )
assume A1:
[s0,s1] in R
; :: thesis: ex pai being inf_path of R st
( pai . 0 = s0 & pai . 1 = s1 )
consider pai1 being inf_path of R such that
A2:
pai1 . 0 = s1
by Th25;
deffunc H1( set ) -> Element of S = PrePath $1,s0,pai1;
A3:
for x being set st x in NAT holds
H1(x) in S
;
consider pai being Function of NAT ,S such that
A4:
for n being set st n in NAT holds
pai . n = H1(n)
from FUNCT_2:sch 2(A3);
for n being Element of NAT holds [(pai . n),(pai . (n + 1))] in R
then reconsider pai = pai as inf_path of R by Def39;
take
pai
; :: thesis: ( pai . 0 = s0 & pai . 1 = s1 )
A10: pai . 0 =
H1( 0 )
by A4
.=
s0
by Def61
;
pai . 1 =
H1(1)
by A4
.=
pai1 . (k_nat ((k_nat 1) - 1))
by Def61
.=
pai1 . (k_nat (1 - 1))
by Def2
.=
s1
by A2, Def2
;
hence
( pai . 0 = s0 & pai . 1 = s1 )
by A10; :: thesis: verum