I recently came across the "replica trick\method" in the paper "Optimal storage properties of neural network models" by Gardner and Derrida. I would really like to understand it, but the problem is that the intuition used there is just from physics. I tried to look for introductory texts about this method, but everything that I found so far was written by physicists for physicists, so not only they use intuition from problems in physics, they sometimes use it instead of giving proper definitions and notations (not to mention the fact that physicists like to invent new names for all the known mathematical objects).
My question is, if there is a text somewhere where a mathematician who is not a physicist can read about it. This method seems to have applications in other fields (e.g. learning theory, error correcting codes etc), so I would like to believe that there is some text out there for non physicists. While I don't have a problem learning some physics for that, most texts that I saw so far assume more or less that you finished at least first degree in physics, which I don't intend to do any time soon.