Let $P=\prod_{n=1}^{\infty} I_{n}$ with $I_{n}=[0,1]$
I must define two metrics on $P$ that generate two different topologies.
My idea:
$d_{1}:P\times P \rightarrow \mathbb{R}$
$d_{1}(x,y)=0$ if $x=y$
$d_{1}(x,y)=1$ if $x\neq y$
this is the discrete metric, in which all points are open and then, the respective topology is the discrete topology relative to $P$.
$d_{2}:=$ the usual metric on $\mathbb{R^n}$
which gives the usual topology relative to $P$ and is strictly coarser than the discrete topology.
Is my idea correct?
I'm worried about the fact that the product is infinite.
Thanks in advance.