Topological Space with Generic Point is Path-Connected

Theorem
Let $T = \left({S, \tau}\right)$ be a topological space.

Let $T$ have a generic point $g \in S$.

Then $T$ is path-connected.

Proof
By Path-Connectedness is Equivalence Relation, it suffices to prove that every point is path-connected with $g$.

Let $x \in S$.

Define a path $\gamma: \left[{0 \,.\,.\, 1}\right] \to S$ by:
 * $\gamma \left({t}\right) = \begin{cases}

x & : t \le \dfrac 1 2 \\ g & : t > \dfrac 1 2 \end{cases}$

We show that $\gamma$ is indeed continuous.

Let $U \subseteq S$ be open and non-empty.

Because $g$ is a generic point, $g \in U$.

If $x \in U$, then its preimage $\gamma^{-1} \left[{U}\right] = \left[{0 \,.\,.\, 1}\right]$ is open.

If $x \notin U$, then its preimage $\gamma^{-1} \left[{U}\right] = \left({\dfrac 1 2 \,.\,.\, 1}\right]$ is also open.

Thus $x$ and $g$ are path-connected.