*Let S1 and S2 be two disjoint sets and d a mapping of S1×S2 into L(S2). Let g be the quotient Lie algebra of L(S1∪S2) by the ideal generated by the elements [s1,s2]−d(s1,s2) with s1∈S1,s2∈S2; let ψ be the canonical mapping of L(S1∪S2) onto g.
(a) *For i=1,2, the restriction ϕi of ψ to Si can be extended to an isomorphism of L(Si) onto a subalgebra ai of g.
(b) g=a1+a2,a1∩a2={0} and a2 is an ideal of g.
For i=1,2, let ψi denote the homomorphism of L(Si) into g which extends ϕi and ai its image. Clearly ϕi(Si) generates ai.
Let s1∈S1; we write D=adϕ1(s1). The derivation D of g maps ϕ2(S2) into a2 by the relation
[ϕ1(s1),ϕ2(s2)]=ψ2(d(s1,s2))for s2∈S2;
as the subalgebra a2 of g is generated by ϕ2(S2), therefore D(a2)⊂a2. The set of x∈g such that adx leaves a2 invariant is a Lie subalgebra of g which contains ϕ1(S1) by the above and hence also a1. Hence
[a1,a2]⊂a2.
Therefore a1+a2 is a Lie subalgebra of g and, as it contains the generating set ϕ1(S1)∪ϕ2(S2),
a1+a2=g.
For all s1∈S1 there exists a derivation Ds1 of L(S2) such that
Ds1(s2)=d(s1,s2)
for all s2 in S2 (no. 8, Corollary to Proposition 8). The mapping s1↦Ds1 can be extended to a homomorphism D of L(S1) into the Lie algebra of derivations of L(S2). Let h be the semi-direct product of L(S1) by L(S2) corresponding to D (Chapter I, § 1, no. 8). As a module h is equal to L(S1)×L(S2) and in particular
[(s1,0),(0,s2)]=(0,d(s1,s2))
for s1∈S1 and s2∈S2.
From (25) we deduce the existence of a homomorphism f of g into h such that f(ϕ1(s1))=(s1,0) and f(ϕ2(s2))=(0,s2) for s1∈S1 and s2∈S2. We deduce immediately the relation
f(ψ1(a1)+ψ2(a2))=(a1,a2)
for a1∈L(S1) and a2∈L(S2).
Relation (26) shows that ψ1 and ψ2 are injective and that a1∩a2={0}. Formulae (23) and (24) then imply the proposition.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.