Theorem: Given $\{f_i\}_{1 \leq i \leq n}$, $f_i \in \mathbb{K}[x]$. Then the monic generator $f$ of the ideal $\langle \{f_i\} \rangle$ is $f = \gcd \{ f_i \}$.
In other words: $\langle \{f_i\} \rangle = \langle \gcd \{f_i\} \rangle$
My try at a proof: Let $d = \gcd \{f_i\}$.
$\subseteq$) If $g \in \langle \{f_i\} \rangle$, $g = \sum_i q_i f_i$ for some $q_i \in \mathbb{K}[x]$. As $d | f_i \ \forall i$, $f_i = r_i d$ then $g = \sum_i q_i r_i d$, and that means that $g = d \sum_i q_i r_i$ that is $d | g$, $g \in \langle d \rangle$
$\supseteq$) Let $g \in \langle d\rangle$. We know that $d = \sum_i q_i f_i$. And that $g = d q$. Then $dq = g = \sum_i q_i q f_i$. Then $g \in \langle \{f_i\} \rangle$.
I would like to know if my proof is correct. What puzzles me most is that I hadn't used that d is the greatest common divisor, just that it divides the other polynomials.