If $K$ is a field, then as is well known every finite separable extension $L$ of $K$ is of the form $L=K(\alpha)$ for some $\alpha \in L$.

A similar statement can be made about an extension of discrete valuation rings with separable residue field extension.

These statements very much resemble the statement "every projective module over a principal ideal domain $A$ is free". This last statement can be interpreted as the vanishing of a certain cohomology group. Now my question is: can the primitive element theorem be interpreted as the vanishing of a cohomology group?

Thank you!