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