let X, x be set ; :: thesis: for T being Tolerance of X
for Y being set st ( for Z being set holds
( Z in Y iff ( x in Z & Z is TolSet of T ) ) ) holds
neighbourhood (,) = union Y

let T be Tolerance of X; :: thesis: for Y being set st ( for Z being set holds
( Z in Y iff ( x in Z & Z is TolSet of T ) ) ) holds
neighbourhood (,) = union Y

let Y be set ; :: thesis: ( ( for Z being set holds
( Z in Y iff ( x in Z & Z is TolSet of T ) ) ) implies neighbourhood (,) = union Y )

assume A1: for Z being set holds
( Z in Y iff ( x in Z & Z is TolSet of T ) ) ; :: thesis: neighbourhood (,) = union Y
for y being object holds
( y in neighbourhood (,) iff y in union Y )
proof
let y be object ; :: thesis: ( y in neighbourhood (,) iff y in union Y )
thus ( y in neighbourhood (,) implies y in union Y ) :: thesis: ( y in union Y implies y in neighbourhood (,) )
proof
assume y in neighbourhood (,) ; :: thesis: y in union Y
then [x,y] in T by Th27;
then consider Z being TolClass of T such that
A2: x in Z and
A3: y in Z by Th20;
Z in Y by A1, A2;
hence y in union Y by A3, TARSKI:def 4; :: thesis: verum
end;
assume y in union Y ; :: thesis: y in neighbourhood (,)
then consider Z being set such that
A4: y in Z and
A5: Z in Y by TARSKI:def 4;
reconsider Z = Z as TolSet of T by A1, A5;
x in Z by A1, A5;
then [x,y] in T by A4, Def1;
hence y in neighbourhood (,) by Th27; :: thesis: verum
end;
hence neighbourhood (,) = union Y by TARSKI:2; :: thesis: verum