In preparing for a talk, I am searching for an explicit example of Matlis duality. My attempt was to consider the Noetherian local ring $\mathbb{Z}_p$ which is the localization at the prime ideal $(p)$. Then take the injective hull of the residue field which is the Prüfer $p$-group $E=\mathbb{Z}(p^\infty)$. Now let $R$ be the completion of $\mathbb{Z}_p$ at its maximal ideal.
I would like to give an explicit description of $\operatorname{Hom}_R(\mathbb{Z}_p,E)$ and then show that taking the dual again recovers $\mathbb{Z}_p$. So far, I have been unsuccesful. (Edit: Comment shows this does not make sense).
So my question is how do I go about computing the explicit description I want above?
Or better yet, is there an explicit example where I take my Noetherian local ring to be complete as well and with a nicely chosen Artinian module to demonstrate?
Edit: From the comments, I guess an easy example where Matlis duality holds is:
Let $k$ be a field. Then its injective hull is itself and its completion is just itself. A finitely generated $k$-module is just finite dimension vector space. Then Matlis duality is an obvious consequence of properties of $\operatorname{Hom}_k$.
Edit: In this case, I would like to just give a module over the completion $R$ which is finitely generated and in which $\operatorname{Hom}_R(M,E)$ is clearly Artinian.
Based on the comment on local domains, I might need a non-integral domain example.
– Shrugs Oct 07 '22 at 18:30