let A be a ring , I shall prove that :
($ Nil(A)=0 $ and Every prime ideal of $A$ is maximal) $\Rightarrow$ ($A_m$ is a field for each maximal ideal $m$ )
where $ Nil(A) $ is the nilradical of A
now reading a proof somewhere , it said :
All primes of $A$ are maximal $\Rightarrow$ $\forall m$ maximal , no prime ideal of $A$ are strictly between $m$ and $(0)$
$\Rightarrow$ $\forall m$ maximal , the only prime of $A$ contained in $m$ is $(0)$
$\Rightarrow$ $\forall m$ maximal , the only prime of $A_m$ is $(0)$
$\Rightarrow$ $\forall m$ maximal , $A_m$ is a field
this proof is obviously wrong , it doesn't even use the fact that Nil(A)=0 , I tired to show this myself but I get stuck at some point when I need to prove that $A_m$ is an integral domain . any clear proof would be appreciated .