Let (Mi)0≤i≤n be a finite family of A-modules of finite length. If there exists an exact sequence of linear mappings
0⟶M0u0M1u1M2⟶⋯⟶Mn−1un−1Mn⟶0
then
k=0∑n(−1)klong(Mk)=0.
The corollary is obvious for n=1 and is just Proposition 16 for n=2; we argue by induction on n. If Mn−1′=Im(un−2), then, by the induction hypothesis,
k=0∑n−2(−1)klong(Mk)+(−1)n−1long(Mn−1′)=0.
On the other hand, the exact sequence 0→Mn−1′→Mn−1→Mn→0 gives
long(Mn−1′)+long(Mn)=long(Mn−1),
whence relation (38).
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.