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 ) ) by LATTICES:5, LATTICES:def 22, LATTICES:def 25; :: 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 )

assume A1: 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
A2: p [= q and
A3: q in S ; :: thesis: p in S
p "\/" q = q by A2;
hence p in S by A1, A3; :: thesis: verum
end;
hence S is Ideal of L by A1, LATTICES:def 25; :: thesis: verum