Problem: Let $A$ be a semilocal Noetherian ring and let $\text{max}(A)$ be the finite set of maximal ideals of $A$. I am trying to prove the following statement (which I hope to be true but am not certain about)
$A\cong \Pi_{Q\in \text{max}(A)}A_Q$. Edit: if it's not true then I am trying to figure out what circumstances this would hold under.
Ideas I have so far: Let $Q_1,...,Q_n$ be the maximal ideals of $A$. We have canonical maps $A\to A_Q$ (for $Q\in \text{max}(A)$) (note that these might not be injective because $A$ might have zero divisors in some of the $R\setminus Q$). Together these give a map $f:A\to \Pi_{i=1}^nA_{Q_i}$ (which is injective if at least one of the maps $A\to A_Q$ is injective). According to a book I am reading (Swanson Huneke integral closure of ideals, rings, and modules) this (or a version of this at least) has something to do with Chinese remainder theorem (which I think would be related to the surjectivity of a map with this domain and codomain if anything).