Equivalence of Definitions of Final Topology

Theorem
Let $X$ be a set.

Let $I$ be an indexing set.

Let $\family {\struct{Y_i, \tau_i}}_{i \mathop \in I}$ be an indexed family of topological spaces indexed by $I$.

Let $\family {f_i: Y_i \to X}_{i \mathop \in I}$ be an indexed family of mappings indexed by $I$.