I am studying measure theory, topology, and functional analysis in mathematics. Let $X$ be a compact topological space. We assume that there exists a countable family $\{f_n\: X \to \mathbb C: n\in\mathbb{N}\}$ of continuous complex-valued functions on $X$ that {\em separates points} in the following sense: for all $x,y\in X$ with $x\neq y$ there exists $n\in \mathbb{N}$ such that $f_n(x)\neq f_n(y)$. I have figured that wlog we may assume that $|f_n| \leq 1$ for all $n \in \mathbb N$ (take $\frac{f_n}{1 + |f_n|}$). I want to show that then $X$ is metrizable, i.e., there exists a metric $d$ on $X$ that induces the given topology on $X$.
I have shown that the function $$ d(x,y) := \sum_{n=1}^\infty \frac{1}{2^n} |f_n(x)-f_n(y)|$$ for $x,y\in X$ is a metric on $X$. I also know that if $g\: Y\to Z$ is a continuous bijection between a compact space $Y$ and a Hausdorff space $Z$, then $g$ is a homeomorphism.
Let $\tau$ denote the original topology and let $\tau_d$ be the topology induced by $d$. I have read this post on proving that $\tau_d \subset \tau$, but I am not sure how $d$ is a continuous function on $X \times X$. Could you clarify this? Also, I am assuming that the answer there uses the fact that, for any fixed $x \in X$, the map $y \mapsto (x,y)$ is also continuous; why is this true? I am also having trouble proving the other direction that $\tau \subseteq \tau_d$; I also read this post and I am lost on how $B(x;r)\supset \bigcap_{n \in \mathbb{Z}_+} \{y \in X |f_n(x)-f_n(y)|<r\}$ and how there is an open set in $\tau$ contained in $B(x,r)$.
Thanks so much for all your help!