# The Mézard–Parisi formula for diluted spin glasses

> The Mézard–Parisi cavity formula gives the exact free energy of sparse spin glasses in the Panchenko–Talagrand class.

Canonical: https://closedform.nishachay.tech/e/openai-math-2026-221/
Last updated: 2026-10-14

**The Mézard–Parisi cavity formula gives the exact free energy of sparse spin glasses in the Panchenko–Talagrand class.**

**Trust:** Formal proof listed · **Papers:** 1 · **First paper:** September 23, 2026 · **Field:** Probability and statistical mechanics · **Entry:** 221

*Explained by AI.* Drafted by one AI model and checked sentence by sentence against the paper by a different one. Spot a mistake? Report an error.

A diluted spin glass is a large set of tiny magnets where each one interacts with only a few random others. Physicists Mézard and Parisi proposed a formula for its free energy, built from layered guesses. Panchenko and Talagrand proved each such guess gives an upper bound. This paper proves the best of these bounds is exact, for their class of models. Lean has checked a formal version of this main result.

## At a glance

- **First step:** 2001 (Mézard and Parisi, the hierarchical cavity picture)
- **Significance:** Major. It resolves the Panchenko–Talagrand equality conjecture for its class, with a Lean check of the main theorem.
- **Trust:** Formal proof listed
- **Field:** Probability and statistical mechanics (1 paper)

## The explanation

Take 1000 tiny magnets, each pointing up (+1) or down (−1). Draw about 1500 random pairs among them. Give each pair a coupling of +1 or −1 by a coin flip. A +1 coupling rewards the pair for agreeing, and −1 for disagreeing. Each magnet then has on average 3 partners, not 999. This is a diluted spin glass: a finite mean number of interactions per spin, however large the system[1].

Physicists want the pressure, the expected log of the partition function, per spin[2]. The partition function adds a weight for every one of the 2^1000 states. A quick upper bound comes from averaging before taking the log. At inverse temperature 1 it gives log 2 + 1.5 × log cosh 1, about 1.344. That bound ignores the frustration of competing couplings, which can make the true value smaller.

The cavity method does better. Remove one spin, look at the fields its few partners exert, and put it back. When many competing states matter, the order parameter is a hierarchy of distributions of these fields[3]. Mézard and Parisi built this picture for sparse spin glasses in 2001. Franz and Leone then turned some of it into rigorous bounds. Panchenko and Talagrand proved that every finite level of the hierarchy gives an upper bound[4]. Whether the best such bound is exact was left as a conjecture.

This paper proves that the infimum of these bounds is the limiting pressure[5]. The infimum is the lowest value the bounds approach. The result needs only first moments of the interactions and external field, meaning their averages must be finite[6]. It covers the Viana–Bray model, diluted even-spin models with symmetric couplings, and soft random even-K satisfiability at every positive temperature[7]. Satisfiability here means a random logic puzzle, softened so each broken clause costs energy rather than being forbidden.

The main obstacle is how several samples from the same system share spins. Call each sample a replica. The chance of a joint pattern depends on products over every subset of replica spins. Their spatial averages are multioverlaps, and pair overlaps alone do not fix them[8]. The proof controls all of these at once, but only on average over the depths of a branching tree[9]. That averaged control is enough, because the cavity step itself averages over finite trees.

The result has limits. Every interaction must involve an even number of spins. The couplings must satisfy Panchenko and Talagrand's factorization and positivity conditions. The formula is an infimum over trial laws, so it gives no closed form for any specific model.

How sure is this? A computer proof checker called Lean has checked a formal version of the main theorem. It covers even arity from 2 up, positive interaction density, and the class's stated assumptions. The paper's consequences for named models and their ground states are not listed in that check. No specialist review has been published.

**What it doesn't show.** This does not cover odd-size interactions, or models outside the stated factorization and positivity conditions.

## Where it came from

This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.

## Hype check

Major. It settles a stated equality conjecture for its class, the main theorem has a Lean check, and no specialist review is published.

## Words used

- **Spin glass:** A system of tiny magnets whose pairwise couplings are random and conflict, so no state pleases every pair.
- **Diluted:** Each spin interacts with only a few others on average, however large the system grows.
- **Pressure:** The expected logarithm of the partition function per spin; the free energy is its negative divided by β.
- **Cavity method:** A physics technique that removes one spin, studies the fields its neighbours exert, then adds it back.
- **Replica:** An independent sample drawn from the same random system with the same couplings.
- **Multioverlap:** The average over sites of a product of spins taken from several replicas.
- **Infimum:** The greatest number that is below or equal to every value in a set; the lowest value the bounds approach.

## The original paper

- [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf) - September 23, 2026

- [Lean notes](https://github.com/openai/math/blob/main/lean/docs/221.md)
- [Model's reasoning summary](https://github.com/openai/math/blob/main/reasoning_traces/mezard-parisi-formula.pdf)

## Quoted lines from the paper (9)

[1] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> A diluted spin glass has a finite mean number of interactions per spin.

[2] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> The thermodynamic question is whether this hierarchy determines the limiting expected log partition function per spin.

[3] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> When many competing states contribute to the partition function, the proposed order parameter is a hierarchy of distributions of these fields.

[4] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> Panchenko and Talagrand then proved the arbitrary finite-level hierarchical upper bounds considered here.

[5] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> We prove that the infimum of these bounds is the limiting pressure.

[6] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> Only first moments of the interaction and external field are required.

[7] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> The result includes the Viana--Bray model, diluted even-spin models with symmetric couplings, and soft random even-$K$ SAT at every positive temperature.

[8] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> The spatial average of such a product is a \emph{multioverlap}; pair overlaps alone do not determine all these patterns.

[9] From [The Mézard–Parisi formula for diluted spin glasses](https://github.com/openai/math/blob/main/preprints/The-Mezard-Parisi-formula-for-diluted-spin-glasses-September-23-2026/paper.pdf):

> Delaying each branching depth by one level permits an induction that concentrates multioverlaps \emph{on average over branching depths}.

## Other sources

- [openai/math, Lean scope note for family 221](https://github.com/openai/math/blob/main/lean/docs/221.md): “Under the class's factorization, independence, integrability, and positivity assumptions, the finite-system pressure converges to the infimum of the trial functional over all finite hierarchy depths and trial laws.”
- [openai/math release notes (2026): model provenance and review status](https://github.com/openai/math/blob/main/README.md): “manuscripts and supporting proof artifacts produced by an internal OpenAI model”
- [M. Mézard and G. Parisi, “The Bethe lattice spin glass revisited”, European Physical Journal B 20 (2001), 217–233](https://doi.org/10.1007/PL00011099)
- [D. Panchenko and M. Talagrand, “Bounds for diluted mean-fields spin glass models”, Probability Theory and Related Fields 130 (2004), 319–336](https://doi.org/10.1007/s00440-004-0342-2)

## Related

- [Random-cluster interfaces: critical, disordered, thermal, and natural-time scaling](https://closedform.nishachay.tech/e/openai-math-2026-223/) - Probability and statistical mechanics
- [Exact Hausdorff gauges for SLE](https://closedform.nishachay.tech/e/openai-math-2026-230/) - Probability and statistical mechanics
- [Gaussian fields and interfaces for triangular-lattice Lipschitz heights](https://closedform.nishachay.tech/e/openai-math-2026-232/) - Probability and statistical mechanics
- [Optimal logarithmic mixing of the Thorp shuffle](https://closedform.nishachay.tech/e/openai-math-2026-238/) - Probability and statistical mechanics
- [Sharp singularity rates for symmetric random sign matrices](https://closedform.nishachay.tech/e/openai-math-2026-239/) - Probability and statistical mechanics
- [Probability and statistical mechanics](https://closedform.nishachay.tech/science/mathematics/probability-and-statistical-mechanics/) - Field · 29 results
- [Open since the 2000s](https://closedform.nishachay.tech/open-since/2000s/) - Era · 48 results
- [Lean-checked results](https://closedform.nishachay.tech/trust/lean-checked/) - Trust · 242 results
- [Report an error](https://github.com/nishachay/closed-form/issues/new?template=report-error.yml&labels=entry-error&title=%5Bentry%20221%5D%20)
