The Helmholtz energy function of fluid in a matrix of configuration 
 in the Canonical (
 in the Canonical ( ) ensemble is given by:
) ensemble is given by:
![{\displaystyle -\beta A_{1}(q^{N_{0}})=\log Z_{1}(q^{N_{0}})=\log \left({\frac {1}{N_{1}!}}\int \exp[-\beta (H_{01}(r^{N_{1}},q^{N_{0}})+H_{11}(r^{N_{1}},q^{N_{0}}))]~d\{r\}^{N_{1}}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/57f27ece5946ea5fb66b8f62c187daa36e942ab1) 
where  is the fluid partition function, and
 is the fluid partition function, and  is the Hamiltonian of the matrix.
Taking an average over matrix configurations gives
is the Hamiltonian of the matrix.
Taking an average over matrix configurations gives
![{\displaystyle -\beta {\overline {A}}_{1}={\frac {1}{N_{0}!Z_{0}}}\int \exp[-\beta _{0}H_{00}(q^{N_{0}})]~\log Z_{1}(q^{N_{0}})~d\{q\}^{N_{0}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2e92efa81f2a0f6b3f035909dd33eee00c792e0e) 
(Ref.s 1 and 2) An important mathematical trick to get rid of the logarithm inside of the integral is
 
one arrives at
 
The Hamiltonian written in this form describes a completely equilibrated system
of  components; the matrix and
 components; the matrix and  identical non-interacting copies (replicas) of the fluid.
Thus the relation between the Helmholtz energy function of the non-equilibrium partially frozen
and the replica (equilibrium) system is given by
 identical non-interacting copies (replicas) of the fluid.
Thus the relation between the Helmholtz energy function of the non-equilibrium partially frozen
and the replica (equilibrium) system is given by
![{\displaystyle -\beta {\overline {A}}_{1}=\lim _{s\rightarrow 0}{\frac {\rm {d}}{{\rm {d}}s}}[-\beta A^{\rm {rep}}(s)]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/7654516da01b5e9fd609dc75dfbfd4ece3a3d3c6) . .
References
- S F Edwards and P W Anderson  "Theory of spin glasses",Journal of Physics F: Metal Physics 5 pp.  965-974  (1975)
- S F Edwards and R C Jones "The eigenvalue spectrum of a large symmetric random matrix", 	Journal of Physics A: Mathematical and General  9 pp. 1595-1603 (1976)