let L be complete LATTICE; :: thesis: ( ( for J being non empty set st J in the_universe_of the carrier of L holds
for K being V9() ManySortedSet of st ( for j being Element of J holds K . j in the_universe_of the carrier of L ) holds
for F being DoubleIndexedSet of K,L st ( for j being Element of J holds rng (F . j) is directed ) holds
Inf = Sup ) implies L is continuous )

assume A1: for J being non empty set st J in the_universe_of the carrier of L holds
for K being V9() ManySortedSet of st ( for j being Element of J holds K . j in the_universe_of the carrier of L ) holds
for F being DoubleIndexedSet of K,L st ( for j being Element of J holds rng (F . j) is directed ) holds
Inf = Sup ; :: thesis: L is continuous
now
let x be Element of L; :: thesis: x = sup (waybelow x)
set J = { j where j is non empty directed Subset of L : x <= sup j } ;
set UN = the_universe_of the carrier of L;
A2: the_universe_of the carrier of L = Tarski-Class (the_transitive-closure_of the carrier of L) by YELLOW_6:def 3;
reconsider UN = the_universe_of the carrier of L as universal set ;
A3: the carrier of L c= the_transitive-closure_of the carrier of L by CLASSES1:59;
the_transitive-closure_of the carrier of L in UN by A2, CLASSES1:5;
then A4: the carrier of L in UN by A3, CLASSES1:def 1;
then A5: bool the carrier of L in UN by CLASSES2:65;
A6: { j where j is non empty directed Subset of L : x <= sup j } c= bool the carrier of L
proof
let u be set ; :: according to TARSKI:def 3 :: thesis: ( not u in { j where j is non empty directed Subset of L : x <= sup j } or u in bool the carrier of L )
assume u in { j where j is non empty directed Subset of L : x <= sup j } ; :: thesis: u in bool the carrier of L
then ex j being non empty directed Subset of L st
( u = j & x <= sup j ) ;
hence u in bool the carrier of L ; :: thesis: verum
end;
then A7: { j where j is non empty directed Subset of L : x <= sup j } in UN by A5, CLASSES1:def 1;
A8: {x} is non empty directed Subset of L by WAYBEL_0:5;
x <= sup {x} by YELLOW_0:39;
then A9: {x} in { j where j is non empty directed Subset of L : x <= sup j } by A8;
then reconsider J = { j where j is non empty directed Subset of L : x <= sup j } as non empty set ;
A10: for j being Element of J holds j is non empty directed Subset of L
proof
let j be Element of J; :: thesis: j is non empty directed Subset of L
j in J ;
then consider j' being non empty directed Subset of L such that
A11: j' = j and
x <= sup j' ;
thus j is non empty directed Subset of L by A11; :: thesis: verum
end;
set K = id J;
reconsider K = id J as ManySortedSet of ;
A12: for j being Element of J holds K . j in UN
proof
let j be Element of J; :: thesis: K . j in UN
K . j = j by FUNCT_1:35;
then K . j in J ;
hence K . j in UN by A4, A6, CLASSES1:def 1; :: thesis: verum
end;
for i being set st i in J holds
not K . i is empty
proof
let i be set ; :: thesis: ( i in J implies not K . i is empty )
assume i in J ; :: thesis: not K . i is empty
then reconsider i' = i as Element of J ;
K . i = i' by FUNCT_1:35;
hence not K . i is empty by A10; :: thesis: verum
end;
then reconsider K = K as V9() ManySortedSet of by PBOOLE:def 16;
deffunc H1( set ) -> Element of bool [:(K . $1),(K . $1):] = id (K . $1);
ex F being Function st
( dom F = J & ( for j being set st j in J holds
F . j = H1(j) ) ) from FUNCT_1:sch 3();
then consider F being Function such that
A13: dom F = J and
A14: for j being set st j in J holds
F . j = id (K . j) ;
reconsider F = F as ManySortedSet of by A13, PARTFUN1:def 4, RELAT_1:def 18;
for j being set st j in dom F holds
F . j is Function
proof
let j be set ; :: thesis: ( j in dom F implies F . j is Function )
assume j in dom F ; :: thesis: F . j is Function
then F . j = id (K . j) by A13, A14;
hence F . j is Function ; :: thesis: verum
end;
then reconsider F = F as ManySortedFunction of by FUNCOP_1:def 6;
for j being set st j in J holds
F . j is Function of (K . j),((J --> the carrier of L) . j)
proof
let j be set ; :: thesis: ( j in J implies F . j is Function of (K . j),((J --> the carrier of L) . j) )
assume j in J ; :: thesis: F . j is Function of (K . j),((J --> the carrier of L) . j)
then reconsider j = j as Element of J ;
A15: F . j = id (K . j) by A14;
then A16: dom (F . j) = K . j by FUNCT_2:def 1;
A17: rng (F . j) c= K . j by A15, RELAT_1:def 19;
K . j = j by FUNCT_1:35;
then K . j is Subset of L by A10;
then rng (F . j) c= the carrier of L by A17, XBOOLE_1:1;
then rng (F . j) c= (J --> the carrier of L) . j by FUNCOP_1:13;
hence F . j is Function of (K . j),((J --> the carrier of L) . j) by A16, FUNCT_2:4; :: thesis: verum
end;
then reconsider F = F as DoubleIndexedSet of K,L by PBOOLE:def 18;
A18: for j being Element of J
for k being Element of K . j holds (F . j) . k = k
proof
let j be Element of J; :: thesis: for k being Element of K . j holds (F . j) . k = k
let k be Element of K . j; :: thesis: (F . j) . k = k
F . j = id (K . j) by A14;
hence (F . j) . k = k by FUNCT_1:35; :: thesis: verum
end;
A19: for j being Element of J holds rng (F . j) = j
proof
let j be Element of J; :: thesis: rng (F . j) = j
now
let y be set ; :: thesis: ( y in rng (F . j) implies y in j )
assume y in rng (F . j) ; :: thesis: y in j
then consider x being set such that
A20: x in dom (F . j) and
A21: y = (F . j) . x by FUNCT_1:def 5;
x in K . j by A20;
then x in j by FUNCT_1:35;
hence y in j by A18, A20, A21; :: thesis: verum
end;
then A22: rng (F . j) c= j by TARSKI:def 3;
now
let x be set ; :: thesis: ( x in j implies x in rng (F . j) )
assume x in j ; :: thesis: x in rng (F . j)
then A23: x in K . j by FUNCT_1:35;
then A24: (F . j) . x = x by A18;
x in dom (F . j) by A23, FUNCT_2:def 1;
hence x in rng (F . j) by A24, FUNCT_1:def 5; :: thesis: verum
end;
then j c= rng (F . j) by TARSKI:def 3;
hence rng (F . j) = j by A22, XBOOLE_0:def 10; :: thesis: verum
end;
A25: for j being Element of J holds rng (F . j) is directed
proof
let j be Element of J; :: thesis: rng (F . j) is directed
rng (F . j) = j by A19;
hence rng (F . j) is directed by A10; :: thesis: verum
end;
for f being Function st f in dom (Frege F) holds
//\ ((Frege F) . f),L <= sup (waybelow x)
proof
let f be Function; :: thesis: ( f in dom (Frege F) implies //\ ((Frege F) . f),L <= sup (waybelow x) )
assume A26: f in dom (Frege F) ; :: thesis: //\ ((Frege F) . f),L <= sup (waybelow x)
set a = //\ ((Frege F) . f),L;
for D being non empty directed Subset of L st x <= sup D holds
ex d being Element of L st
( d in D & //\ ((Frege F) . f),L <= d )
proof
let D be non empty directed Subset of L; :: thesis: ( x <= sup D implies ex d being Element of L st
( d in D & //\ ((Frege F) . f),L <= d ) )

assume x <= sup D ; :: thesis: ex d being Element of L st
( d in D & //\ ((Frege F) . f),L <= d )

then D in J ;
then reconsider D' = D as Element of J ;
A27: for j being Element of J holds f . j in K . j
proof
let j be Element of J; :: thesis: f . j in K . j
j in J ;
then j in dom F by PARTFUN1:def 4;
then f . j in dom (F . j) by A26, Th9;
hence f . j in K . j ; :: thesis: verum
end;
A28: dom f = dom F by A26, Th8
.= J by PARTFUN1:def 4 ;
now
let y be set ; :: thesis: ( y in rng f implies y in the carrier of L )
assume y in rng f ; :: thesis: y in the carrier of L
then consider j being set such that
A29: j in dom f and
A30: y = f . j by FUNCT_1:def 5;
reconsider j = j as Element of J by A28, A29;
y in K . j by A27, A30;
then A31: y in j by FUNCT_1:35;
j is Subset of L by A10;
hence y in the carrier of L by A31; :: thesis: verum
end;
then rng f c= the carrier of L by TARSKI:def 3;
then reconsider f = f as Function of J,the carrier of L by A28, FUNCT_2:4;
A32: Inf <= f . D' by YELLOW_2:55;
A33: dom f = dom F by A26, Th8
.= dom ((Frege F) . f) by A26, Th8 ;
now
let j be set ; :: thesis: ( j in dom f implies ((Frege F) . f) . j = f . j )
assume A34: j in dom f ; :: thesis: ((Frege F) . f) . j = f . j
then A35: j in dom F by A26, Th8;
reconsider j' = j as Element of J by A34;
A36: f . j' is Element of K . j' by A27;
thus ((Frege F) . f) . j = (F . j') . (f . j') by A26, A35, Th9
.= f . j by A18, A36 ; :: thesis: verum
end;
then A37: //\ ((Frege F) . f),L <= f . D' by A32, A33, FUNCT_1:9;
f . D' in K . D' by A27;
then f . D' in D' by FUNCT_1:35;
hence ex d being Element of L st
( d in D & //\ ((Frege F) . f),L <= d ) by A37; :: thesis: verum
end;
then //\ ((Frege F) . f),L << x by WAYBEL_3:def 1;
then //\ ((Frege F) . f),L in waybelow x by WAYBEL_3:7;
hence //\ ((Frege F) . f),L <= sup (waybelow x) by YELLOW_2:24; :: thesis: verum
end;
then A38: Sup <= sup (waybelow x) by Th15;
x is_<=_than rng (Sups )
proof
let b be Element of L; :: according to LATTICE3:def 8 :: thesis: ( not b in rng (Sups ) or x <= b )
assume b in rng (Sups ) ; :: thesis: x <= b
then consider j being Element of J such that
A39: b = Sup by Th14;
j in J ;
then consider j' being non empty directed Subset of L such that
A40: j' = j and
A41: x <= sup j' ;
b = sup (rng (F . j)) by A39, YELLOW_2:def 5
.= sup j' by A19, A40 ;
hence x <= b by A41; :: thesis: verum
end;
then x <= inf (rng (Sups )) by YELLOW_0:33;
then A42: x <= Inf by YELLOW_2:def 6;
reconsider j = {x} as Element of J by A9;
Sup = sup (rng (F . j)) by YELLOW_2:def 5
.= sup {x} by A19
.= x by YELLOW_0:39 ;
then x in rng (Sups ) by Th14;
then inf (rng (Sups )) <= x by YELLOW_2:24;
then Inf <= x by YELLOW_2:def 6;
then A43: x = Inf by A42, ORDERS_2:25
.= Sup by A1, A7, A12, A25 ;
x is_>=_than waybelow x by WAYBEL_3:9;
then x >= sup (waybelow x) by YELLOW_0:32;
hence x = sup (waybelow x) by A38, A43, ORDERS_2:25; :: thesis: verum
end;
then A44: ( L is up-complete & L is satisfying_axiom_of_approximation ) by WAYBEL_3:def 5;
thus L is continuous by A44; :: thesis: verum