> [!definition]
>
> Let $I = [0, 1]$, given the [[Metric Topology|metric topology]]. For any non-empty set $A$, the [[Product Topology|product]] $I^A$ is a **cube**. By [[Tychonoff's Theorem]], $I^A$ is a [[Compactness|compact]] [[Hausdorff Space|Hausdorff space]].
> [!definition]
>
> Let $X$ be a [[Topological Space|topological space]] and $\cf \subset C(X, I)$, then $\cf$ **separates points and closed sets** if for any $E \subset X$ closed and $x \not \in E$, there exists $f \in \cf$ such that $f(x) \not\in \ol{f(E)}$.
> 1. If $\cf$ separates points and closed sets, then there is a family $\mathcal G \subset C(X, I)$ where for any $E \subset X$ closed and $x \not\in E$, there exists $g \in \mathcal G$ such that $g(x) = 1$ and $g(E) = 0$.
> 2. A [[Separation Axioms|T1]] space is [[Completely Regular Space|completely regular]] if and only if there exists $\cf \subset C(X, I)$ that separates points and closed sets.
>
> *Proof*. Let $E \subset X$ be closed and $x \not\in E$. By [[Urysohn's Lemma]], there exists $\phi \in C(I, I)$ such that $\phi(f(x)) = 1$ and $\phi(\ol{f(E)}) = 0$, and $g = \phi \circ f$ is the desired family.
> [!theorem]
>
> Let $\cf \subset C(X, I)$, then there exists a canonical map
> $
> e: X \to I^\cf \quad \pi_f(e(x)) = (e(x))(f) = f(x)
> $
> known as the map from $X$ to $I^\cf$ **associated to** $\cf$.
> 1. $e$ is [[Continuity|continuous]].
> 2. If $\cf$ separates points, then $e$ is injective.
> 3. If $X$ is $T_1$ and $\cf$ separates points and closed sets, then $e$ is an embedding.
>
> *Proof*. $(1)$: Since $\pi_f \circ e = f$, $e$ is continuous in each coordinate. Therefore $e$ is continuous.
>
> $(3)$: Let $x \in X$ and $U \in \cn^o(x)$ be an [[Open Set|open]] [[Neighbourhood|neighbourhood]], then there exists $f \in \cf$ separating $x$ from $U^c$. In which case, there exists a neighbourhood $V \in \cn^o(f(x))$ such that $V \cap f(U^c) = \emptyset$. Thus for every $y \in X$ such that $e(y) \in \pi_f^{-1}(V)$, $f(y) \in V$, and $y \in U$. Therefore $\pi_f^{-1}(V)$ is a neighbourhood of $e(x)$ such that $e^{-1}(\pi_f^{-1}(V)) \subset U$.
> [!theorem]
>
> Let $X$ be a topological space.
> 4. $X$ is [[Completely Regular Space|completely regular]] if and only if it is [[Homeomorphism|homeomorphic]] to a subset of a compact Hausdorff space.
> 5. If $X$ is [[Compactness|compact]] and [[Hausdorff Space|Hausdorff]], then $X$ is homeomorphic to a closed subset of a cube.
>
> *Proof*. Suppose that $X$ is completely regular, then $C(X, I)$ separates points and closed sets, which yields the desired embedding. Suppose that $X$ is homeomorphic to a subset of a compact Hausdorff space, then since the compact Hausdorff space is completely regular, so is $X$.
>
> If $X$ is compact and Hausdorff, then the image under the embedding is [[Closed Set|closed]].