A1:
the carrier of (product J) = product (Carrier J)
by YELLOW_1:def 4;
thus
product J is directed
:: thesis: product J is transitive proof
let x,
y be
Element of
(product J);
:: according to YELLOW_6:def 5 :: thesis: ex z being Element of (product J) st
( x <= z & y <= z )
defpred S1[
Element of
Y,
set ]
means (
[(x . T),Y] in the
InternalRel of
(J . T) &
[(y . T),Y] in the
InternalRel of
(J . T) );
consider z being
ManySortedSet of
such that A4:
for
i being
Element of
Y holds
S1[
i,
z . i]
from PBOOLE:sch 6(A2);
A5:
dom z =
the
carrier of
Y
by PARTFUN1:def 4
.=
dom (Carrier J)
by PARTFUN1:def 4
;
then reconsider z =
z as
Element of
(product J) by A1, A5, CARD_3:18;
take
z
;
:: thesis: ( x <= z & y <= z )
for
i being
set st
i in the
carrier of
Y holds
ex
R being
RelStr ex
xi,
yi being
Element of
R st
(
R = J . i &
xi = x . i &
yi = z . i &
xi <= yi )
hence
x <= z
by A1, YELLOW_1:def 4;
:: thesis: y <= z
for
i being
set st
i in the
carrier of
Y holds
ex
R being
RelStr ex
yi,
zi being
Element of
R st
(
R = J . i &
yi = y . i &
zi = z . i &
yi <= zi )
hence
y <= z
by A1, YELLOW_1:def 4;
:: thesis: verum
end;
let x, y, z be Element of (product J); :: according to YELLOW_0:def 2 :: thesis: ( not x <= y or not y <= z or x <= z )
assume that
A6:
x <= y
and
A7:
y <= z
; :: thesis: x <= z
consider fx, gy being Function such that
A8:
( fx = x & gy = y )
and
A9:
for i being set st i in the carrier of Y holds
ex R being RelStr ex xi, yi being Element of R st
( R = J . i & xi = fx . i & yi = gy . i & xi <= yi )
by A1, A6, YELLOW_1:def 4;
consider fy, gz being Function such that
A10:
( fy = y & gz = z )
and
A11:
for i being set st i in the carrier of Y holds
ex R being RelStr ex xi, yi being Element of R st
( R = J . i & xi = fy . i & yi = gz . i & xi <= yi )
by A1, A7, YELLOW_1:def 4;
for i being set st i in the carrier of Y holds
ex R being RelStr ex xi, yi being Element of R st
( R = J . i & xi = x . i & yi = z . i & xi <= yi )
proof
let i be
set ;
:: thesis: ( i in the carrier of Y implies ex R being RelStr ex xi, yi being Element of R st
( R = J . i & xi = x . i & yi = z . i & xi <= yi ) )
assume A12:
i in the
carrier of
Y
;
:: thesis: ex R being RelStr ex xi, yi being Element of R st
( R = J . i & xi = x . i & yi = z . i & xi <= yi )
then reconsider j =
i as
Element of
Y ;
consider R1 being
RelStr ,
xi,
yi being
Element of
R1 such that A13:
(
R1 = J . i &
xi = x . i &
yi = y . i &
xi <= yi )
by A8, A9, A12;
consider R2 being
RelStr ,
yi',
zi being
Element of
R2 such that A14:
(
R2 = J . i &
yi' = y . i &
zi = z . i &
yi' <= zi )
by A10, A11, A12;
reconsider xi =
xi,
zi =
zi as
Element of
(J . j) by A13, A14;
take
J . j
;
:: thesis: ex xi, yi being Element of (J . j) st
( J . j = J . i & xi = x . i & yi = z . i & xi <= yi )
take
xi
;
:: thesis: ex yi being Element of (J . j) st
( J . j = J . i & xi = x . i & yi = z . i & xi <= yi )
take
zi
;
:: thesis: ( J . j = J . i & xi = x . i & zi = z . i & xi <= zi )
thus
(
J . j = J . i &
xi = x . i &
zi = z . i )
by A13, A14;
:: thesis: xi <= zi
thus
xi <= zi
by A13, A14, YELLOW_0:def 2;
:: thesis: verum
end;
hence
x <= z
by A1, YELLOW_1:def 4; :: thesis: verum