Proposition 7
Tag 060O, permanent. Cite it as [Bourbaki, Tag 060O].
Algebra, chapter III, § 4. Tensor products of algebras
Let G be an algebra over a commutative field K and E, F two subalgebras of G such that every element of E commutes with every element of F. For E and F to be linearly disjoint over K, it is necessary and sufficient that there exist a basis of E over K which is a free subset of G for the right F-module structure on G. When this is so: (i) the canonical homomorphism is an isomorphism of onto the subalgebra of G generated by ; (ii) (iii) every free subset of E (resp. F) over K is a free subset of G with its right or left F-module (resp. E-module) structure.
The condition of the statement is obviously necessary, since every basis of E over K is a basis of with its right F-module structure (II, § 3, no. 7, Corollary 1 to Proposition 7). To see that the condition is sufficient, note that the image H of under h is the set of sums in G, with and ; if is a basis of E over K, H is therefore also the submodule of the (right or left) F-module G, generated by . The condition of the statement therefore means that there exists a basis of E which is also a basis of the F-module H; it follows that h is injective. Assertion (iii) follows from the fact that every free subset of E is contained in a basis of E (II, § 7, no. 1, Theorem 2).
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.