I have a question concerning the post
Closed points of $Spec(A)$ are dense
The last paragraph says:
I know we have $A_f/pA_f=(A/p)_f$, then if p is a prime ideal of $A_f$, then the left side is a field and is a finite extension of k. Then how should I get the conclusion that $A/p$ is also a field?
I don't understand why "the left side is a field and is a finite extension of $k$" and the answer below "$(A/\mathfrak p)_f$ is finite-dimensional".
Maybe he is using "Any integral domain $R$ which is a finite-dimensional $k$-algebra must be a field". I know $A_f/pA_f$ is an integral domain and a finitely generated algebra. But why is it a finite-dimensional $k$-algebra?