let T be non empty TopSpace; :: thesis: for B being Basis of T
for x being Element of T holds { U where U is Subset of T : ( x in U & U in B ) } is Basis of x

let B be Basis of T; :: thesis: for x being Element of T holds { U where U is Subset of T : ( x in U & U in B ) } is Basis of x
let x be Element of T; :: thesis: { U where U is Subset of T : ( x in U & U in B ) } is Basis of x
set Bx = { U where U is Subset of T : ( x in U & U in B ) } ;
A1: { U where U is Subset of T : ( x in U & U in B ) } c= B
proof
let a be set ; :: according to TARSKI:def 3 :: thesis: ( not a in { U where U is Subset of T : ( x in U & U in B ) } or a in B )
assume a in { U where U is Subset of T : ( x in U & U in B ) } ; :: thesis: a in B
then ex U being Subset of T st
( a = U & x in U & U in B ) ;
hence a in B ; :: thesis: verum
end;
then reconsider Bx = { U where U is Subset of T : ( x in U & U in B ) } as Subset-Family of T by XBOOLE_1:1;
Bx is Basis of x
proof
B c= the topology of T by CANTOR_1:def 2;
hence Bx c= the topology of T by A1, XBOOLE_1:1; :: according to YELLOW_8:def 2 :: thesis: ( x in Intersect Bx & ( for b1 being Element of K10(the carrier of T) holds
( not b1 is open or not x in b1 or ex b2 being Element of K10(the carrier of T) st
( b2 in Bx & b2 c= b1 ) ) ) )

now
let a be set ; :: thesis: ( a in Bx implies x in a )
assume a in Bx ; :: thesis: x in a
then ex U being Subset of T st
( a = U & x in U & U in B ) ;
hence x in a ; :: thesis: verum
end;
hence x in Intersect Bx by SETFAM_1:58; :: thesis: for b1 being Element of K10(the carrier of T) holds
( not b1 is open or not x in b1 or ex b2 being Element of K10(the carrier of T) st
( b2 in Bx & b2 c= b1 ) )

let S be Subset of T; :: thesis: ( not S is open or not x in S or ex b1 being Element of K10(the carrier of T) st
( b1 in Bx & b1 c= S ) )

assume A2: ( S is open & x in S ) ; :: thesis: ex b1 being Element of K10(the carrier of T) st
( b1 in Bx & b1 c= S )

consider V being Subset of T such that
A3: ( V in B & x in V & V c= S ) by A2, YELLOW_9:31;
V in Bx by A3;
hence ex b1 being Element of K10(the carrier of T) st
( b1 in Bx & b1 c= S ) by A3; :: thesis: verum
end;
hence { U where U is Subset of T : ( x in U & U in B ) } is Basis of x ; :: thesis: verum