Hope the title and premise of my question is correct...
Suppose I have two linearly independent elements $g_1, g_2$ of a real finite-dimensional Lie algebra $\mathfrak{g}$. I wish to find the maximal minimal Lie subalgebra they generate (is this the right term)?
What I mean is that I would want to keep forming Lie brackets $[g_1,g_2], [g_1,[g_1,g_2]]$ etc. and find the largest set of linearly-independent elements (over reals) generated from this procedure which are eventually closed under the bracket. This set is then a basis for my desired Lie subalgebra; I can get its dimension etc.
Would it make sense if I 'complexify' the elements, such as defining $h_1 = g_1 + ig_2$ and $h_2 = g_1 - ig_2$ and playing the same game of applying the Lie bracket over and over again to find the largest set that is linearly independent and closed? I guess I am a little unsure because I am not even sure I am able to say $h_1, h_2$ is linearly-independent (now over the complex numbers), let alone their brackets? or will complexifying give the same result for the dimension?
Note added: I am interested really in the case of $\mathfrak{g}=\mathfrak{su}(d)$, so maybe my question only makes sense there.
An example is $\mathfrak{su}{(3)}$: there are 8 linearly-independent (over reals) basis vectors, for example specified by the Gell-mann matrices $\lambda_i$. If $g_1 = \lambda_1$ and $g_2=\lambda_2$ then the Lie subalgebra they generate is $\{ \lambda_1, \lambda_2, \lambda_3\}$ since $[\lambda_1,\lambda_2] \propto \lambda_3$ and $[\lambda_3, \lambda_1] \propto \lambda_2$ and $[\lambda_2, \lambda_3] \propto \lambda_1$. So the dimension is 3.
However I can define $\lambda_{\pm} = \lambda_1 \pm i \lambda_2$ which a physicist would recognize as the raising and lowering operators and one can work out $[\lambda_+, \lambda_-] = \lambda_3$ and $[\lambda_{\pm}, \lambda_3] = \pm \lambda_{\pm}$ so that seems to give 3 linearly independent elements $\{ \lambda_+, \lambda_-, \lambda_3\}$ again (but now over $\mathbb{C}$). However, $\lambda_{\pm}$ is no longer an element of $\mathfrak{su}(3)$ (it is not hermitian).
Nevertheless I would still be able to say dim = 3 in both cases (though one is real and one is complex).
But I guess my question is, is such an equivalence a lucky coincidence or is there something more general at play?
[Title edited from Maximal to Minimal]