let T be non empty TopSpace; :: thesis: for A being Subset of T
for p being Point of T holds
( p is_an_accumulation_point_of A iff for U being open Subset of T st p in U holds
ex q being Point of T st
( q <> p & q in A & q in U ) )

let A be Subset of T; :: thesis: for p being Point of T holds
( p is_an_accumulation_point_of A iff for U being open Subset of T st p in U holds
ex q being Point of T st
( q <> p & q in A & q in U ) )

let p be Point of T; :: thesis: ( p is_an_accumulation_point_of A iff for U being open Subset of T st p in U holds
ex q being Point of T st
( q <> p & q in A & q in U ) )

hereby :: thesis: ( ( for U being open Subset of T st p in U holds
ex q being Point of T st
( q <> p & q in A & q in U ) ) implies p is_an_accumulation_point_of A )
assume p is_an_accumulation_point_of A ; :: thesis: for U being open Subset of T st p in U holds
ex q being Point of T st
( q <> p & q in A & q in U )

then A1: p in Der A by Th16;
let U be open Subset of T; :: thesis: ( p in U implies ex q being Point of T st
( q <> p & q in A & q in U ) )

assume p in U ; :: thesis: ex q being Point of T st
( q <> p & q in A & q in U )

then consider q being Point of T such that
A2: ( q in A /\ U & p <> q ) by A1, Th17;
take q = q; :: thesis: ( q <> p & q in A & q in U )
thus ( q <> p & q in A & q in U ) by A2, XBOOLE_0:def 4; :: thesis: verum
end;
assume A3: for U being open Subset of T st p in U holds
ex q being Point of T st
( q <> p & q in A & q in U ) ; :: thesis: p is_an_accumulation_point_of A
for U being open Subset of T st p in U holds
ex y being Point of T st
( y in A /\ U & p <> y )
proof
let U be open Subset of T; :: thesis: ( p in U implies ex y being Point of T st
( y in A /\ U & p <> y ) )

assume p in U ; :: thesis: ex y being Point of T st
( y in A /\ U & p <> y )

then consider q being Point of T such that
A4: ( q <> p & q in A & q in U ) by A3;
take q ; :: thesis: ( q in A /\ U & p <> q )
thus ( q in A /\ U & p <> q ) by A4, XBOOLE_0:def 4; :: thesis: verum
end;
then p in Der A by Th17;
hence p is_an_accumulation_point_of A by Th16; :: thesis: verum