let S be RealUnitarySpace; :: thesis: for X being Subset of S holds
( X is closed Subset of (TopSpaceNorm (RUSp2RNSp S)) iff for s1 being sequence of S st rng s1 c= X & s1 is convergent holds
lim s1 in X )

let X be Subset of S; :: thesis: ( X is closed Subset of (TopSpaceNorm (RUSp2RNSp S)) iff for s1 being sequence of S st rng s1 c= X & s1 is convergent holds
lim s1 in X )

reconsider Y = X as Subset of (TopSpaceNorm (RUSp2RNSp S)) ;
hereby :: thesis: ( ( for s1 being sequence of S st rng s1 c= X & s1 is convergent holds
lim s1 in X ) implies X is closed Subset of (TopSpaceNorm (RUSp2RNSp S)) )
assume X is closed Subset of (TopSpaceNorm (RUSp2RNSp S)) ; :: thesis: for s1 being sequence of S st rng s1 c= X & s1 is convergent holds
lim s1 in X

then reconsider Y = X as closed Subset of (TopSpaceNorm (RUSp2RNSp S)) ;
A1: for s being sequence of S st ( for n being Nat holds s . n in Y ) & s is convergent holds
lim s in Y by Th11;
thus for s1 being sequence of S st rng s1 c= X & s1 is convergent holds
lim s1 in X :: thesis: verum
proof
let s1 be sequence of S; :: thesis: ( rng s1 c= X & s1 is convergent implies lim s1 in X )
assume that
A2: rng s1 c= X and
A3: s1 is convergent ; :: thesis: lim s1 in X
now :: thesis: for n being Nat holds s1 . n in X
let n be Nat; :: thesis: s1 . n in X
s1 . n in rng s1 by FUNCT_2:4, ORDINAL1:def 12;
hence s1 . n in X by A2; :: thesis: verum
end;
hence lim s1 in X by A1, A3; :: thesis: verum
end;
end;
assume A4: for s1 being sequence of S st rng s1 c= X & s1 is convergent holds
lim s1 in X ; :: thesis: X is closed Subset of (TopSpaceNorm (RUSp2RNSp S))
for s being sequence of S st ( for n being Nat holds s . n in Y ) & s is convergent holds
lim s in Y
proof
let s be sequence of S; :: thesis: ( ( for n being Nat holds s . n in Y ) & s is convergent implies lim s in Y )
assume that
A5: for n being Nat holds s . n in Y and
A6: s is convergent ; :: thesis: lim s in Y
rng s c= X
proof
let y be object ; :: according to TARSKI:def 3 :: thesis: ( not y in rng s or y in X )
assume y in rng s ; :: thesis: y in X
then consider n being object such that
A7: ( n in dom s & y = s . n ) by FUNCT_1:def 3;
reconsider n = n as Nat by A7;
thus y in X by A7, A5; :: thesis: verum
end;
hence lim s in Y by A4, A6; :: thesis: verum
end;
hence X is closed Subset of (TopSpaceNorm (RUSp2RNSp S)) by Th11; :: thesis: verum