# Gibbs measure

In mathematics, the Gibbs measure, named after Josiah Willard Gibbs, is a probability measure frequently seen in many problems of probability theory and statistical mechanics. It is a generalization of the canonical ensemble to infinite systems. The canonical ensemble gives the probability of the system X being in state x (equivalently, of the random variable X having value x) as

${\displaystyle P(X=x)={\frac {1}{Z(\beta )}}\exp(-\beta E(x)).}$

Here, E(x) is a function from the space of states to the real numbers; in physics applications, E(x) is interpreted as the energy of the configuration x. The parameter β is a free parameter; in physics, it is the inverse temperature. The normalizing constant Z(β) is the partition function. However, in infinite systems, the total energy is no longer a finite number and cannot be used in the traditional construction of the probability distribution of a canonical ensemble. Traditional approaches in statistical physics studied the limit of intensive properties as the size of a finite system approaches infinity (the thermodynamic limit). When the energy function can be written as a sum of terms that each involve only variables from a finite subsystem, the notion of a Gibbs measure provides an alternative approach. Gibbs measures were proposed by probability theorists such as Dobrushin, Lanford, and Ruelle and provided a framework to directly study infinite systems, instead of taking the limit of finite systems.

A measure is a Gibbs measure if the conditional probabilities it induces on each finite subsystem satisfy a consistency condition: if all degrees of freedom outside the finite subsystem are frozen, the canonical ensemble for the subsystem subject to these boundary conditions matches the probabilities in the Gibbs measure conditional on the frozen degrees of freedom.

The Hammersley–Clifford theorem implies that any probability measure that satisfies a Markov property is a Gibbs measure for an appropriate choice of (locally defined) energy function. Therefore, the Gibbs measure applies to widespread problems outside of physics, such as Hopfield networks, Markov networks, Markov logic networks, and boundedly rational potential games in game theory and economics. A Gibbs measure in a system with local (finite-range) interactions maximizes the entropy density for a given expected energy density; or, equivalently, it minimizes the free energy density.

The Gibbs measure of an infinite system is not necessarily unique, in contrast to the canonical ensemble of a finite system, which is unique. The existence of more than one Gibbs measure is associated with statistical phenomena such as symmetry breaking and phase coexistence.

## Statistical physics

The set of Gibbs measures on a system is always convex,[1] so there is either a unique Gibbs measure (in which case the system is said to be "ergodic"), or there are infinitely many (and the system is called "nonergodic"). In the nonergodic case, the Gibbs measures can be expressed as the set of convex combinations of a much smaller number of special Gibbs measures known as "pure states" (not to be confused with the related but distinct notion of pure states in quantum mechanics). In physical applications, the Hamiltonian (the energy function) usually has some sense of locality, and the pure states have the cluster decomposition property that "far-separated subsystems" are independent. In practice, physically realistic systems are found in one of these pure states.

If the Hamiltonian possesses a symmetry, then a unique (i.e. ergodic) Gibbs measure will necessarily be invariant under the symmetry. But in the case of multiple (i.e. nonergodic) Gibbs measures, the pure states are typically not invariant under the Hamiltonian's symmetry. For example, in the infinite ferromagnetic Ising model below the critical temperature, there are two pure states, the "mostly-up" and "mostly-down" states, which are interchanged under the model's ${\displaystyle \mathbb {Z} _{2}}$ symmetry.

## Markov property

An example of the Markov property can be seen in the Gibbs measure of the Ising model. The probability for a given spin σk to be in state s could, in principle, depend on the states of all other spins in the system. Thus, we may write the probability as

${\displaystyle P(\sigma _{k}=s\mid \sigma _{j},\,j\neq k)}$.

However, in an Ising model with only finite-range interactions (for example, nearest-neighbor interactions), we actually have

${\displaystyle P(\sigma _{k}=s\mid \sigma _{j},\,j\neq k)=P(\sigma _{k}=s\mid \sigma _{j},\,j\in N_{k})}$,

where Nk is a neighborhood of the site k. That is, the probability at site k depends only on the spins in a finite neighborhood. This last equation is in the form of a local Markov property. Measures with this property are sometimes called Markov random fields. More strongly, the converse is also true: any positive probability distribution (nonzero density everywhere) having the Markov property can be represented as a Gibbs measure for an appropriate energy function.[2] This is the Hammersley–Clifford theorem.

## Formal definition on lattices

What follows is a formal definition for the special case of a random field on a lattice. The idea of a Gibbs measure is, however, much more general than this.

The definition of a Gibbs random field on a lattice requires some terminology:

• The lattice: A countable set ${\displaystyle \mathbb {L} }$.
• The single-spin space: A probability space ${\displaystyle (S,{\mathcal {S}},\lambda )}$.
• The configuration space: ${\displaystyle (\Omega ,{\mathcal {F}})}$, where ${\displaystyle \Omega =S^{\mathbb {L} }}$ and ${\displaystyle {\mathcal {F}}={\mathcal {S}}^{\mathbb {L} }}$.
• Given a configuration ω ∈ Ω and a subset ${\displaystyle \Lambda \subset \mathbb {L} }$, the restriction of ω to Λ is ${\displaystyle \omega _{\Lambda }=(\omega (t))_{t\in \Lambda }}$. If ${\displaystyle \Lambda _{1}\cap \Lambda _{2}=\emptyset }$ and ${\displaystyle \Lambda _{1}\cup \Lambda _{2}=\mathbb {L} }$, then the configuration ${\displaystyle \omega _{\Lambda _{1}}\omega _{\Lambda _{2}}}$ is the configuration whose restrictions to Λ1 and Λ2 are ${\displaystyle \omega _{\Lambda _{1}}}$ and ${\displaystyle \omega _{\Lambda _{2}}}$, respectively.
• The set ${\displaystyle {\mathcal {L}}}$ of all finite subsets of ${\displaystyle \mathbb {L} }$.
• For each subset ${\displaystyle \Lambda \subset \mathbb {L} }$, ${\displaystyle {\mathcal {F}}_{\Lambda }}$ is the σ-algebra generated by the family of functions ${\displaystyle (\sigma (t))_{t\in \Lambda }}$, where ${\displaystyle \sigma (t)(\omega )=\omega (t)}$. The union of these σ-algebras as ${\displaystyle \Lambda }$ varies over ${\displaystyle {\mathcal {L}}}$ is the algebra of cylinder sets on the lattice.
• The potential: A family ${\displaystyle \Phi =(\Phi _{A})_{A\in {\mathcal {L}}}}$ of functions ΦA : Ω → R such that
1. For each ${\displaystyle A\in {\mathcal {L}},\Phi _{A}}$ is ${\displaystyle {\mathcal {F}}_{A}}$-measurable, meaning it depends only on the restriction ${\displaystyle \omega _{A}}$ (and does so measurably).
2. For all ${\displaystyle \Lambda \in {\mathcal {L}}}$ and ω ∈ Ω, the following series exists:[when defined as?]
${\displaystyle H_{\Lambda }^{\Phi }(\omega )=\sum _{A\in {\mathcal {L}},A\cap \Lambda \neq \emptyset }\Phi _{A}(\omega ).}$

We interpret ΦA as the contribution to the total energy (the Hamiltonian) associated to the interaction among all the points of finite set A. Then ${\displaystyle H_{\Lambda }^{\Phi }(\omega )}$ as the contribution to the total energy of all the finite sets A that meet ${\displaystyle \Lambda }$. Note that the total energy is typically infinite, but when we "localize" to each ${\displaystyle \Lambda }$ it may be finite, we hope.

• The Hamiltonian in ${\displaystyle \Lambda \in {\mathcal {L}}}$ with boundary conditions ${\displaystyle {\bar {\omega }}}$, for the potential Φ, is defined by
${\displaystyle H_{\Lambda }^{\Phi }(\omega \mid {\bar {\omega }})=H_{\Lambda }^{\Phi }\left(\omega _{\Lambda }{\bar {\omega }}_{\Lambda ^{c}}\right)}$
where ${\displaystyle \Lambda ^{c}=\mathbb {L} \setminus \Lambda }$.
• The partition function in ${\displaystyle \Lambda \in {\mathcal {L}}}$ with boundary conditions ${\displaystyle {\bar {\omega }}}$ and inverse temperature β > 0 (for the potential Φ and λ) is defined by
${\displaystyle Z_{\Lambda }^{\Phi }({\bar {\omega }})=\int \lambda ^{\Lambda }(\mathrm {d} \omega )\exp(-\beta H_{\Lambda }^{\Phi }(\omega \mid {\bar {\omega }})),}$
where
${\displaystyle \lambda ^{\Lambda }(\mathrm {d} \omega )=\prod _{t\in \Lambda }\lambda (\mathrm {d} \omega (t)),}$
is the product measure
A potential Φ is λ-admissible if ${\displaystyle Z_{\Lambda }^{\Phi }({\bar {\omega }})}$ is finite for all ${\displaystyle \Lambda \in {\mathcal {L}},{\bar {\omega }}\in \Omega }$ and β > 0.
A probability measure μ on ${\displaystyle (\Omega ,{\mathcal {F}})}$ is a Gibbs measure for a λ-admissible potential Φ if it satisfies the Dobrushin–Lanford–Ruelle (DLR) equation
${\displaystyle \int \mu (\mathrm {d} {\bar {\omega }})Z_{\Lambda }^{\Phi }({\bar {\omega }})^{-1}\int \lambda ^{\Lambda }(\mathrm {d} \omega )\exp(-\beta H_{\Lambda }^{\Phi }(\omega \mid {\bar {\omega }}))1_{A}(\omega _{\Lambda }{\bar {\omega }}_{\Lambda ^{c}})=\mu (A),}$
for all ${\displaystyle A\in {\mathcal {F}}}$ and ${\displaystyle \Lambda \in {\mathcal {L}}}$.

### An example

To help understand the above definitions, here are the corresponding quantities in the important example of the Ising model with nearest-neighbor interactions (coupling constant J) and a magnetic field (h), on Zd:

• The lattice is simply ${\displaystyle \mathbb {L} =\mathbf {Z} ^{d}}$.
• The single-spin space is S = {−1, 1}.
• The potential is given by
${\displaystyle \Phi _{A}(\omega )={\begin{cases}-J\,\omega (t_{1})\omega (t_{2})&{\text{if }}A=\{t_{1},t_{2}\}{\text{ with }}\|t_{2}-t_{1}\|_{1}=1\\-h\,\omega (t)&{\text{if }}A=\{t\}\\0&{\text{otherwise}}\end{cases}}}$