Let A be a local ring noetherian, M a A-module finitely generated and of finite injective dimension.
a) Let p∈Supp(M). Prove the equality prof(A)=prof(Ap)+dim(A/p). (Put p=prof(Ap) and q=dim(A/p); observe that one has p=diAp(Mp), whence ExtApp(κ(p),Mp)=0 and consequently ExtAp+q(κA,M)=0 by Lemma 3 of § 1, No. 7, which entails prof(A)=diA(M)=p+q.) If Supp(M)=Spec(A), A is a Macaulay ring.
b) Prove the equality grade(M)+dim(M)=prof(A) (use a) and Exercise 15 of § 1).