Let $k$ be an algebraically closed field of positive characteristic and let $G$ be a connected split reductive group. We know $G$ is the product of its center $Z(G)$ and derived group $[G, G]$ and $[G, G]$ is semisimple so it's a product of simple algebraic groups $G_1, \ldots, G_n$ corresponding to the decomposition of it's root space. So $G = G_1\cdots G_nZ(G)$.
My questions are about the Lie algebras of these groups.
Is it true that $\mathrm{Lie}([G, G]) = \mathrm{Lie}(G_1) \times \cdots \times \mathrm{Lie}(G_n)$?
Is it true that $\mathrm{Lie}(G) = \mathrm{Lie}([G, G]) \times \mathrm{Lie}(Z(G))$?
I think the first is true. The dimension is right and the $G_i$ commute with each other so their Lie algebras should commute as well. I'd like the second to be true as well for basically the same reason.
I'm a little worried that maybe something funny can happen due to the products not being direct products (there can be a finite intersection which if taken scheme theoretically might have a Lie algebra?) and also maybe there should be a condition on the characteristic of the field. All the references that discuss these structure theorems (I have Malle and Testerman and all the LAG's: Humphreys, Borel, Springer) never talk about what this means for the Lie algebras. I'd be happy with a straight up answer or a reference if anyone knows of one.