*Let A be a local noetherian ring, Ω a dualizing A-module and M a finitely generated A-module.
a) One has ExtAi(M,Ω)=0 for i<dim(A)−dimA(M).
b) Put c=dim(A)−dimA(M). If M is nonzero, the A-module ExtAc(M,Ω) is nonzero.
c) One has ExtAi(M,Ω)=0 for i>dim(A)−profA(M).
Assume M nonzero and denote by F its support. By proposition 9 of § 1, No. 5, the conjunction of assertions a) and b) is equivalent to profF(Ω)=c. But since Ω is Cohen-Macaulay and its support is equal to Spec(A) (proposition 1 and corollary 2 of proposition 2), one has
profF(Ω)=codim(F,Spec(A))=c
(§ 2, No. 1, corollary of proposition 1 and No. 2, corollary of proposition 2).
Let us prove c) by induction on the depth of M. If profA(M)=0, one indeed has ExtAi(M,Ω)=0 for i>dim(A), since diA(Ω)=dim(A) (proposition 1). Assume profA(M)>0; then there exists an element x of mA such that the homothety of ratio x is injective in M. One has profA(M/xM)=profA(M)−1 (§ 1, No. 4, proposition 7).
Consider the exact sequence of extension modules
ExtAi(M,Ω)xExtAi(M,Ω)⟶ExtAi+1(M/xM,Ω)
associated with the exact sequence
0→MxM⟶M/xM→0.
For i>dim(A)−profA(M), the A-module ExtAi+1(M/xM,Ω) is zero by the induction hypothesis; therefore the homothety with ratio x is surjective in ExtAi(M,Ω), which implies that this A-module is zero (Nakayama's lemma). This proves c).
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.