I am asked to prove that given two ideals $I,J\subset \mathfrak{g}$ in a Lie algebra, then the set $$ [I,J]=\{[x,y]:x\in I,y\in J\} $$ is another ideal of $\mathfrak{g}$. It is somewhat easy to see that due to the Jacobi identity, for any $a\in \mathfrak{a},x\in I,y\in J$: $$ [a,[x,y]] = -[x,[y,a]]-[y,[a,x]], $$ so now I have only to check that $[I,J]$ is closed under sums (since each term in RHS is in $[I,J]$). I searched for previous posts and I don't even think this is true (see this answer): I think there's a typo in my book and that $[I,J]$ should be defined as the linear space spanned by all possible $[x,y]$ where $x\in I, y\in J$.
Can anyone either confirm that the definition is wrong or either give a proof that shows $ [x,y]+[a,b] \in \{[a',b']:a'\in I, b'\in J\} $ for $x,a\in I, y,b\in J$?