Let $M$ be an $A$-module and $M=M_0 \supset M_1 \supset \cdots$ a sequence of submodules, which we define to be a fundamental system of neighborhoods of $0$. Thus we make $M$ into a topological group. Define $\hat{M}$ to be the completion of $M$, i.e. the inverse limit of the system $\left\{M/M_n\right\}$. We give to $M/M_n$ the discrete topology, $\prod M/M_n$ the product topology and $\hat{M}$ the subspace topology. Then we have a natural map $\psi: M \rightarrow \hat{M}$ such that $\psi(x)=(x + M_n)_n$.
Question: How can i show that $\psi$ is continuous? Effort: It is enough to show that for any neighborhood $\hat{N}_{\psi(x)}$ of $\psi(x)$, $\psi^{-1}(\hat{N}_{\psi(x)})$ is a neighborhood of $x$. But because $\hat{M}$ has the discrete topology, $\psi(x)$ itself is a neighborhood of $\psi(x)$. How do i compute $\psi^{-1} (\psi(x))$ and subsequently show that it is a neighborhood of $x$?