I read in Jacob Lurie's lecture notes that if $R=k[x_{1},\dots,x_{s}]/p$, and $R'=k[y_{1},\dots,y_{t}]$ injects into $R$ via Noether normalization such that $R$ is finite over $R'$, then $R$ is Cohen-Macaulay if and only if $R$ is a projective $R'$ module.
Jacob Lurie's 'proof' is unfortunately marred by various typos in the notes and simplified assumptions he made. So I want to try to construct a proof myself. One side - that the dimension of $R_{\mathcal{n}}=t$ is "clear", here subscript $n$ is any maximal ideal of $R$. A proof can be constructed by going up and going down in standard commutative algebra textbooks.
But the other side, that the depth of $R$ is equal to $t$ is not clear to me. By definition this is the same as showing the depth of $R_{n}$ with $n$ any maximal ideal of $R$ is equal to $t$. Lurie commented that since projectiveness can be stated in local terms, $R$ is projective over $R'$ if and only if $R_{m}$ is projective over $R'_{m}$ with $m$ the maximal ideal of $R'$. Now using the Auslander-Buchsbaum formula we can conclude that:
$R_{m}$ is projective as an $R'_{m}$ module if and only if the depth of $R_{m}$ as an $R'_{m}$ module is equal to $t$.
So we now have two similar statements at here, but once is the depth of $R$ as an $R$-module, and the other of the depth of $R$ as an $R'$ module. Lurie's proof does not really address why the two depths are equal, and I feel I am getting lost. So I decide to ask at here. Ideally I should be able to boil this down to the definition using derived functors, but so far what I get is quite a mess. Lurie's "proof" side tracked this issue by induction, which is nice but I do not know how it works in full generality.
Source: The CRing project file, page 419-420. Originally around page 165 of Matthew's notes.