Let (Ei)i∈I be a family of A-modules, F an A-module and, for each i∈I, let fi:Ei→F be a linear mapping. For f=∑i∈Ifi to be an isomorphism of E=⨁i∈IEi onto F, it is necessary and sufficient that there exist for each i∈I a linear mapping gi:F→Ei with the following properties: (1) gi∘fi=1Ei for all i∈I. (2) gi∘fκ=0 for i=κ. (3) For all y∈F, the family (gi(y)) has finite support and
y=i∈I∑fi(gi(y)). Note that if I is finite, the last condition may also be written as
i∈I∑fi∘gi=1F. Obviously the conditions are necessary for they are satisfied by the
gi=pri∘fi−1. Conversely if they hold, for all
y∈F,
g(y)=∑iji(gi(y)) is defined and it is immediate that
g is a linear mapping of F into E. For all
y∈F,
f(g(y))=∑ifi(gi(y))=y by hypothesis. On the other hand, for all
x∈E,
gκ(f(x))=gκ(∑ifi(pri(x)))=gκ(fκ(prκ(x)))=prκ(x) by hypothesis;
therefore g(f(x))=∑iji(gi(f(x)))=∑iji(pri(x))=x, which proves the corollary.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.
Nothing.