let L be Boolean LATTICE; :: thesis: ( L is completely-distributive implies ( L is complete & ( for x being Element of L ex X being Subset of L st
( X c= ATOM L & x = sup X ) ) ) )

assume Z: L is completely-distributive ; :: thesis: ( L is complete & ( for x being Element of L ex X being Subset of L st
( X c= ATOM L & x = sup X ) ) )

hence L is complete ; :: thesis: for x being Element of L ex X being Subset of L st
( X c= ATOM L & x = sup X )

let x be Element of L; :: thesis: ex X being Subset of L st
( X c= ATOM L & x = sup X )

consider X1 being Subset of L such that
A2: x = sup X1 and
A3: for y being Element of L st y in X1 holds
y is co-prime by Z, WAYBEL_6:38;
reconsider X = X1 \ {(Bottom L)} as Subset of L ;
take X ; :: thesis: ( X c= ATOM L & x = sup X )
thus X c= ATOM L :: thesis: x = sup X
proof
let z be set ; :: according to TARSKI:def 3 :: thesis: ( not z in X or z in ATOM L )
assume A4: z in X ; :: thesis: z in ATOM L
then A5: ( z in X1 & not z in {(Bottom L)} ) by XBOOLE_0:def 5;
reconsider z' = z as Element of L by A4;
A6: z' <> Bottom L by A5, TARSKI:def 1;
z' is co-prime by A3, A5;
then z' is atom by A6, Th23;
hence z in ATOM L by Def2; :: thesis: verum
end;
A7: ( x is_>=_than X1 & ( for b being Element of L st b is_>=_than X1 holds
x <= b ) ) by Z, A2, YELLOW_0:32;
now
let c be Element of L; :: thesis: ( c in X implies c <= x )
assume c in X ; :: thesis: c <= x
then c in X1 by XBOOLE_0:def 5;
hence c <= x by A7, LATTICE3:def 9; :: thesis: verum
end;
then A8: x is_>=_than X by LATTICE3:def 9;
now end;
hence x = sup X by Z, A8, YELLOW_0:32; :: thesis: verum