let D be non empty set ; :: thesis: for d0 being Element of D
for Y being non empty TopSpace holds
( TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) iff ( the carrier of Y = D & ( for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ) ) )

let d0 be Element of D; :: thesis: for Y being non empty TopSpace holds
( TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) iff ( the carrier of Y = D & ( for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ) ) )

let Y be non empty TopSpace; :: thesis: ( TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) iff ( the carrier of Y = D & ( for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ) ) )

thus ( TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) implies ( the carrier of Y = D & ( for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ) ) ) :: thesis: ( the carrier of Y = D & ( for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ) implies TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) )
proof
assume A1: TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) ; :: thesis: ( the carrier of Y = D & ( for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ) )

hence the carrier of Y = D ; :: thesis: for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) )

now
let A be Subset of Y; :: thesis: ( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) )
reconsider B = A as Subset of (STS (D,d0)) by A1;
thus ( {d0} c= A implies A is closed ) :: thesis: ( not A is empty & A is closed implies {d0} c= A )thus ( not A is empty & A is closed implies {d0} c= A ) :: thesis: verum
proof
assume A2: not A is empty ; :: thesis: ( not A is closed or {d0} c= A )
assume A is closed ; :: thesis: {d0} c= A
then B is closed by A1, TOPS_3:79;
hence {d0} c= A by A2, Th24; :: thesis: verum
end;
end;
hence for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ; :: thesis: verum
end;
assume A3: the carrier of Y = D ; :: thesis: ( ex A being Subset of Y st
( ( {d0} c= A implies A is closed ) implies ( not A is empty & A is closed & not {d0} c= A ) ) or TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) )

assume A4: for A being Subset of Y holds
( ( {d0} c= A implies A is closed ) & ( not A is empty & A is closed implies {d0} c= A ) ) ; :: thesis: TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #)
now
let A be Subset of Y; :: thesis: for C being Subset of (STS (D,d0)) st A = C holds
( A is closed iff C is closed )

let C be Subset of (STS (D,d0)); :: thesis: ( A = C implies ( A is closed iff C is closed ) )
assume A5: A = C ; :: thesis: ( A is closed iff C is closed )
A6: now end;
now end;
hence ( A is closed iff C is closed ) by A6; :: thesis: verum
end;
hence TopStruct(# the carrier of Y, the topology of Y #) = TopStruct(# the carrier of (STS (D,d0)), the topology of (STS (D,d0)) #) by A3, TOPS_3:73; :: thesis: verum