let L be antisymmetric with_suprema RelStr ; :: thesis: for S being Subset of L holds
( S is join-closed iff for x, y being Element of L st x in S & y in S holds
sup {x,y} in S )

let S be Subset of L; :: thesis: ( S is join-closed iff for x, y being Element of L st x in S & y in S holds
sup {x,y} in S )

thus ( S is join-closed implies for x, y being Element of L st x in S & y in S holds
sup {x,y} in S ) :: thesis: ( ( for x, y being Element of L st x in S & y in S holds
sup {x,y} in S ) implies S is join-closed )
proof
assume A1: S is join-closed ; :: thesis: for x, y being Element of L st x in S & y in S holds
sup {x,y} in S

let x, y be Element of L; :: thesis: ( x in S & y in S implies sup {x,y} in S )
assume that
A2: x in S and
A3: y in S ; :: thesis: sup {x,y} in S
ex_sup_of {x,y},L by YELLOW_0:20;
hence sup {x,y} in S by A1, A2, A3, Th16; :: thesis: verum
end;
assume for x, y being Element of L st x in S & y in S holds
sup {x,y} in S ; :: thesis: S is join-closed
then for x, y being Element of L st x in S & y in S & ex_sup_of {x,y},L holds
sup {x,y} in S ;
hence S is join-closed by Th16; :: thesis: verum