let L be Lattice; :: thesis: for S being non empty Subset of L holds
( S is Ideal of L iff for p, q being Element of L holds
( ( p in S & q in S ) iff p "\/" q in S ) )

let S be non empty Subset of L; :: thesis: ( S is Ideal of L iff for p, q being Element of L holds
( ( p in S & q in S ) iff p "\/" q in S ) )

thus ( S is Ideal of L implies for p, q being Element of L holds
( ( p in S & q in S ) iff p "\/" q in S ) ) :: thesis: ( ( for p, q being Element of L holds
( ( p in S & q in S ) iff p "\/" q in S ) ) implies S is Ideal of L )
proof
assume ZZ: S is Ideal of L ; :: thesis: for p, q being Element of L holds
( ( p in S & q in S ) iff p "\/" q in S )

let p, q be Element of L; :: thesis: ( ( p in S & q in S ) iff p "\/" q in S )
thus ( p in S & q in S implies p "\/" q in S ) by ZZ, LATTICES:def 25; :: thesis: ( p "\/" q in S implies ( p in S & q in S ) )
assume Z: p "\/" q in S ; :: thesis: ( p in S & q in S )
( p [= p "\/" q & q [= p "\/" q ) by LATTICES:22;
hence ( p in S & q in S ) by ZZ, Z, LATTICES:def 22; :: thesis: verum
end;
assume Z: for p, q being Element of L holds
( ( p in S & q in S ) iff p "\/" q in S ) ; :: thesis: S is Ideal of L
S is initial
proof
let p, q be Element of L; :: according to LATTICES:def 22 :: thesis: ( not p [= q or not q in S or p in S )
assume that
Z1: p [= q and
Z2: q in S ; :: thesis: p in S
p "\/" q = q by Z1, LATTICES:def 3;
hence p in S by Z, Z2; :: thesis: verum
end;
hence S is Ideal of L by Z, LATTICES:def 25; :: thesis: verum