Lemma 2.35.37. (Equal differential ranks and regularity). Let be a ring map with Noetherian and regular, and suppose that is free of rank . Let is finite over , with the displayed triangular monic presentation. If is free of rank , then is regular. The same conclusion holds for each direct factor of .
Proof
Proof. The differential presentation is The last module is free of rank , so its kernel is projective of constant rank . The first map surjects onto this kernel. After localization at any prime of , a surjection between free modules of rank is an isomorphism: reduce modulo the maximal ideal, then its determinant is a unit. Hence the are independent modulo every such prime. Let be its inverse image in . This polynomial ring is regular by [StacksAlg] (Tag 07NF), so its localization is regular local. A relation would, on differentiating and reducing modulo , imply . Therefore the classes of the are independent in . Extend them to a minimal set of generators; [StacksAlg] (Tag 00NQ) shows that is regular local. These are all the local rings of , proving regularity. Local rings of a direct factor are among them. ◻