I am trying to solve exercise 6.4 from "Kirillov: An Introduction to Lie Groups and Lie Algebras". The exercise states:
Let $\mathfrak{g}$ be a complex Lie algebra which has a root decomposition \begin{align} \mathfrak{g} = \mathfrak{h} \oplus \bigoplus_{\alpha \in R} \mathfrak{g}_\alpha \end{align} where $R$ is a finite subset in $\mathfrak{h}^* \setminus \{ 0 \}$, $\mathfrak{h}$ is commutative and for $h \in \mathfrak{h}$, $x \in \mathfrak{g}_\alpha$, we have $[h,x]=\langle h,\alpha \rangle x$. How that then $\mathfrak{g}$ is semisimple, and $\mathfrak{h}$ is a Cartan subalgebra.
$\mathfrak{h}^*$ is the ordinary dual vector space of the vector space $\mathfrak{h}$. $\langle \bullet, \bullet \rangle$ denotes the pairing $\mathfrak{h} \times \mathfrak{h}^* \rightarrow \mathbb{C}$.
Once it is shown that $\mathfrak{g}$ is semisimple, it should follow easily that $\mathfrak{h}$ is a Cartan subalgebra of $\mathfrak{g}$. However I cannot prove the semisimplicity.
My observations/assumptions so far: One must assume $R \neq \emptyset$, otherwise $\mathfrak{g}$ may be not semisimple. "Root decomposition" does not imply properties apart from the ones mentioned in the end of the sentence. One might hope to show that the Killing form $K$ on $\mathfrak{g}$ is non-degenerate. Clearly $K(h,h) \neq 0$ for all $h \in \mathfrak{h}$. But why is $K$ non-degenerate on the $\mathfrak{g}_\alpha$?
(This is a clarification of question If $\mathfrak{g}$ admits a decomposition then it is semisimple )