[step:Associate a connected finite type Dynkin diagram to a simple Lie algebra]Let $\mathfrak g$ be a finite-dimensional simple Lie algebra over $k$. Since $k$ is algebraically closed of characteristic zero and $\mathfrak g$ is simple, $\mathfrak g$ is semisimple. Choose a Cartan subalgebra $\mathfrak h \subset \mathfrak g$. Let
\begin{align*}
\Phi_{\mathfrak g}: \mathfrak h^* \setminus \{0\} &\to \{\text{root spaces of }\mathfrak g\} \\
\alpha &\mapsto \mathfrak g_\alpha := \{x \in \mathfrak g : [h,x] = \alpha(h)x \text{ for every } h \in \mathfrak h\}
\end{align*}
and define the root set
\begin{align*}
R(\mathfrak g,\mathfrak h) := \{\alpha \in \mathfrak h^* \setminus \{0\} : \mathfrak g_\alpha \ne 0\}.
\end{align*}
By the root space decomposition theorem for finite-dimensional semisimple Lie algebras over an algebraically closed field of characteristic zero, $R(\mathfrak g,\mathfrak h)$ is a reduced crystallographic finite root system in the real [vector space](/page/Vector%20Space) spanned by $R(\mathfrak g,\mathfrak h)$. Choose a base of simple roots
\begin{align*}
\Pi = \{\alpha_1,\dots,\alpha_r\} \subset R(\mathfrak g,\mathfrak h),
\end{align*}
and let $A(\mathfrak g,\mathfrak h,\Pi) = (a_{ij})_{1 \le i,j \le r}$ be the associated Cartan matrix, where
\begin{align*}
a_{ij} := \frac{2(\alpha_i,\alpha_j)}{(\alpha_j,\alpha_j)}.
\end{align*}
This proof uses the column-normalized Cartan matrix convention: the denominator is $(\alpha_j,\alpha_j)$, so the arrows in non-simply-laced Dynkin diagrams are encoded by the ordered pair $(a_{ij},a_{ji})$ with this convention fixed. Let $V_{\mathbb R}$ be the real vector space spanned by $R(\mathfrak g,\mathfrak h)$, and let $W = W(R(\mathfrak g,\mathfrak h))$ be the Weyl group generated by the root reflections on $V_{\mathbb R}$. The Killing form $\kappa_{\mathfrak g}: \mathfrak g \times \mathfrak g \to k$ is nondegenerate on $\mathfrak h$ because $\mathfrak g$ is semisimple; it identifies $\mathfrak h^*$ with $\mathfrak h$, and the standard real form $V_{\mathbb R} \subset \mathfrak h^*$ inherits a positive definite $W$-invariant inner product $(\cdot,\cdot)$ from this identification. The Dynkin diagram $\Delta(\mathfrak g)$ is the diagram encoded by this Cartan matrix.
The Dynkin diagram is independent of the chosen Cartan subalgebra and base up to diagram isomorphism: Cartan subalgebras are conjugate by an automorphism of $\mathfrak g$, and different bases of the same finite root system are related by the Weyl group, which preserves the Cartan matrix up to simultaneous relabelling of rows and columns. Since $\mathfrak g$ is simple, the root system cannot decompose as an orthogonal disjoint union $R_1 \sqcup R_2$ with both $R_i$ nonempty; such a decomposition would give a direct sum decomposition of $\mathfrak g$ into two nonzero ideals. Therefore $R(\mathfrak g,\mathfrak h)$ is irreducible, and $\Delta(\mathfrak g)$ is connected. Since the root system is finite crystallographic, its diagram is of finite type.[/step]