Let $E$={$x\in [0,1]$| every decimal digit is 4 and 7}.show that it is closed and perfect?
My attempt:
$t\in E'$ so $\forall \epsilon >0 ,\exists y\in E $ , $ d(y,t)<\epsilon$
Claim :$t\in E$
On contary assume that $t\notin E $ that is it has digits other that 4 and 7.
I wanted to show this is contradication .
But how to argue using metric that i don't know.
To show it is perfect.We have to show that no point is isolated, as already we have closedness .
On contrary say $m\in E$ is isolated point so there exist $r>0 $ such that $(m-r,m+r)$ contain no point of E. That there is no point other than m in it which contain 4 and 7 .It is intutionaly I know not possible because Rational are dense.But i don't know how to write above in a rigorous way.Any Help will be appreciated.
Any help will be appreciated
Your approach is valid but has led to a wall. This can be overcome but I'll offer an alternate approach. Let $x\in E$ and show that it is a limit point. This can be done by writing $x=0.x_1x_2x_3...$ where $\{x_i\}_{i=1}^\infty\subset\{4,7\}$ is a sequence. Now construct a sequence $\{y_i\}_{i=1}^\infty\subset E$ that gets arbitrarily close to $x$ by modifying the decimal positions of $y_i$.