An uncomputable phase diagram at positive temperature for one classical lattice model
- Proofs
- auditedtwo model families
- Computations
- independent engines
- Lean
- main theoremwith named hypotheses
In plain wordsThe phase diagram of one fixed classical lattice model on the square grid cannot be computed: no algorithm can tell at which rational inverse temperatures it has exactly one translation-invariant thermal state, because that encodes whether a fixed universal Turing machine halts. The model has hard constraints: besides energies 0 and 1, some local patterns have infinite energy and never occur. At every temperature it also has thermal states that are not translation invariant, so it never has exactly one thermal state outright.
The result
As the paper states it, in briefCan the phase diagram of one fixed classical lattice model be uncomputable? For quantum spin systems at zero temperature it can: there are families of Hamiltonians whose spectral gap or ground-state phase cannot be computed from the parameter. We prove a classical counterpart at positive temperature. There is one translation-invariant nearest-neighbour interaction on ℤ², with local energies 0, 1 and +∞ (hard constraints) and a fixed universal Turing machine U built in, and there are disjoint intervals Jn with rational endpoints computable from n, such that at every inverse temperature β in Jn the model has exactly one translation-invariant Gibbs measure if U does not halt on input n, and at least two if U halts. So uniqueness of the translation-invariant Gibbs measure at rational inverse temperature is undecidable for this single model. Uniqueness among all Gibbs measures fails at every temperature, because the hard constraints freeze a non-periodic background. These results are proved in Lean, with Dobrushin’s uniqueness theorem and the existence of the plus state of the two-dimensional Ising model taken as hypotheses. The background is a hierarchical tiling that contains arbitrarily large square grids. On each grid a Turing machine reads a label n from the size of the grid and runs U on n. Where U halts, small sensors made of free bits and unit energies couple the corner spins of all grids of that size into an ordinary Ising model, whose coupling is large only when β is close to n log 2. Assuming the exact solution of the two-dimensional Ising model, the inverse temperatures with at least two translation-invariant Gibbs measures form exactly a union of explicit intervals around n log 2 over the halting inputs n; restricted to rational β, this set is Σ⁰₁-complete.
Later work on this sitewhat later papers of the authors strengthen or replace
Theorem B of Computability of noise, mixing and correlation diagrams, from its version 2.1.0, settles Open problems 9.1 and 9.2 of this paper on ℤ²: one translation-invariant finite-range interaction with local energies 0 and 1 has exactly one Gibbs measure on its halting windows of inverse temperature, and two translation-invariant Gibbs measures, exchanged by an exact symmetry, on the others. What remains this paper’s own is the nearest-neighbour range, the opposite polarity, with exactly one translation-invariant Gibbs measure where the machine does not halt, the explicit windows near , and the Lean proof of Theorem A and Corollary B.
Questionson the index
- Answered Can the phase diagram of one fixed classical lattice model be uncomputable?
- Answered Is there one translation-invariant finite-range interaction on with finite rational energies, and computable rational inverse temperatures , such that uniqueness of the translation-invariant Gibbs measure at is undecidable?
- Answered Is there one interaction, with or without hard constraints, for which uniqueness among all Gibbs measures, as a function of , is undecidable?
How it was checkedthe three checks of the record; what they mean
- Proofs
Auditedtwo model families
The theorem and its proof derived by a model of one developer; three agents of the same developer each checked the complete written proof, in separate runs that did not write it. The proof then re-derived refutation-first, in two rounds, in a review by a model of the other developer: an independent derivation by hand, followed by an adversarial attack on its verdicts by a separate run that did not write them. A separate run of a model of the first developer, which had not seen the work, then reviewed the finished manuscript refutation-first, including the explicit rules, the tables and the program, and compared it with the original derivation. The agreement of the rules with the specification of the audited proofs checked by the writer, then by hand and refutation-first in a separate two-round review of the manuscript, which derived every new rule and the program again and then attacked its own verdicts, and then in the final review.
Models from more than one developerAI models from two developers derived, checked and wrote the mathematics. A model of one developer derived the theorem and its proof, and three agents of the same developer each checked the complete written proof; a model of the other developer then re-derived the proof refutation-first, in two rounds, in a review that found no false step. A model of the other developer searched the prior literature and wrote the manuscript from the audited proofs; a separate run of a model of the first developer, which had not seen the work, then reviewed the finished manuscript refutation-first and compared it with the original derivation. For version 1.2.0, agents running a model of the other developer, directed by a lead agent of the same model, wrote the Lean proofs of Theorem A and Corollary B, ported them for release and ran the comparator, the two kernel checkers and the axiom audit; the formal statements were written, and compared with the printed ones, only by models of that developer. The paper’s sections “How this work was done” and “Verification status”, version 1.2.0.
- Computations
Independent engines
In the final review, pairs of independently written programs checked finite parts of the construction: the scaffold tables and their seams, the program of the machine on bounded inputs, and the arithmetic of the windows; these checks support the text and are not part of any proof.
- Lean
Main theoremwith named hypotheses
Theorem A, Corollary B and the existence of a universal machine U formalized in Lean 4 with Mathlib, with no unproved step and only Lean’s three standard axioms. Theorem A and Corollary B are proved from two published results that Mathlib lacks, which enter as named hypotheses, H1, Dobrushin’s uniqueness theorem, and H2, the plus state of the two-dimensional Ising model: they are arguments of the two theorems, not axioms, and the formal Theorem A and Corollary B are implications from them. A comparator check against a challenge file that imports only Mathlib confirms that the three proved theorems have exactly the statements of the challenge, with the same definitions, and it replays them in Lean’s kernel; two kernel checkers, leanchecker and nanoda, re-check every declaration of the exported proofs, and nanoda rejects the export when Classical.choice is not permitted; the axiom audit finds only the three standard axioms in all 6,276 declarations of the development. Lean source
The labels in full
Verification and Lean, as written for this page
- Verification
- AI models from two developers derived, checked and wrote the mathematics. The theorem and its proof derived by a model of one developer; three agents of the same developer each checked the complete written proof, in separate runs that did not write it. The proof then re-derived refutation-first, in two rounds, in a review by a model of the other developer: an independent derivation by hand, followed by an adversarial attack on its verdicts by a separate run that did not write them; this review found no false step and recommended three changes of presentation, which the manuscript makes. A model of the other developer searched the prior literature and wrote the manuscript from the audited proofs, including the explicit rules of Section 4 and the program of Appendix C, which the proofs specified in words. A separate run of a model of the first developer, which had not seen the work, then reviewed the finished manuscript refutation-first, including the explicit rules, the tables and the program, and compared it with the original derivation; it found no false step in the main results, and five local errors and five points of presentation or credit, which the manuscript corrects. The agreement of the rules with the specification of the audited proofs checked by the writer, then by hand and refutation-first in a separate two-round review of the manuscript, which derived every new rule and the program again and then attacked its own verdicts, and then in the final review; the tables were not listed in full, and no program listed or checked the whole allowed set, which depends on the universal machine. In the final review, pairs of independently written programs checked finite parts of the construction: the scaffold tables and their seams, the program of the machine on bounded inputs, and the arithmetic of the windows; these checks support the text and are not part of any proof, and no proof in the text uses a computation. The plus and minus states of the two-dimensional Ising model, through the FKG inequality, and Dobrushin’s uniqueness theorem are imported with their scope stated; the exact diagram (Proposition 8.2) assumes the classical exact facts about the two-dimensional Ising model, which Theorem A and Corollary B do not use. Version 1.2.0 adds the Lean formalization of Appendix D and three corrections of wording. The Lean proofs, their port to the toolchain pinned for release and the checks described in Appendix D were done by agents running a model of the other developer, directed by a lead agent running the same model, which ruled on every choice of the formalization. The formalization found no false step. It found three imprecise sentences, corrected in version 1.2.0: the kernel of a specification by factors was not specified where its normalization is 0 (Section 2); the list of rules that involve payload coordinates omitted rule (K2) and the matching of colours (Section 4.7 and the proof of Lemma 6.1); and the list of sensor coordinates in Section 6 included two components of colours that are ∘. A model of the other developer wrote version 1.2.0. The formal statements of Appendix D were written, and compared with the printed ones, only by models of the other developer. Every review is internal.
- Lean
- Theorem A, Corollary B and the existence of a universal machine U formalized in Lean 4 with Mathlib, with no unproved step and only Lean’s three standard axioms, propext, Classical.choice and Quot.sound. Theorem A and Corollary B are proved from two published results that Mathlib lacks, which enter as named hypotheses, H1, Dobrushin’s uniqueness theorem, and H2, the plus state of the two-dimensional Ising model: they are arguments of the two theorems, not axioms, and the formal Theorem A and Corollary B are implications from them. H1 is stated in the form of Theorem 6.31 of Friedli and Velenik’s book: for a countable index set, a finite spin set and a quasilocal specification whose Dobrushin constant is less than 1, any two compatible probability measures are equal. H2 comes from their Theorems 3.17 and 6.5, Example 6.51 and Lemma 6.65: for every coupling there is a translation-invariant probability measure on to which the finite-volume plus states converge along every increasing sequence of finite sets that exhausts , and which satisfies the DLR identity of the Ising model. Everything else is proved: the specialization of H1 to the Ising models of Lemma 2.5, the existence of Gibbs measures by compactness, and Lemma 2.4 from H2, including the minus state, the spin flip and the bound 1/3; the existence of a universal machine uses neither hypothesis. The formal statements: for every machine and the interaction built from it, is an interaction, translation invariant and nearest-neighbour, with values in ; the intervals , , consist of positive numbers and are pairwise disjoint; for every and every real in , has exactly one translation-invariant Gibbs measure if does not halt on and at least two if it halts; and for every the set of Gibbs measures for that are not translation invariant is not countable (Theorem A); for every machine whose halting set is undecidable, the set of Corollary B is not decidable, is computable, and lies in exactly when does not halt on (Corollary B); and some machine has an undecidable halting set. Theorem A is stated for every machine , since its proof does not use universality, and Corollary B assumes only that the halting set of is undecidable; a rational number is presented by a pair of natural numbers. The statement file was written in the first session of the work and has not changed since. The existence halves of Steps 2 and 3 of the proof of Theorem 7.3 take another route, averaging translates of one Gibbs measure over boxes and taking a cluster point instead of the printed integral over Haar measure; inside a contour is defined by the parity of the crossings of a ray, and contours are counted more crudely than in the text. A comparator check against a challenge file that imports only Mathlib confirms that the three proved theorems have exactly the statements of the challenge, with the same definitions, and it replays them in Lean’s kernel; two kernel checkers, leanchecker and nanoda, re-check every declaration of the exported proofs, and nanoda rejects the export when Classical.choice is not permitted; the axiom audit finds only the three standard axioms in all 6,276 declarations of the development. The formalization does not cover Section 8, the exact diagram, which is conditional on the Ising solution; Remarks 7.5 and 7.6; the -completeness of the halting set of , which only Proposition 8.2 uses; or the measurability clause of Lemma 5.8(b), which the formal proof does not use. Reproduction status, 13 November 2026: the recorded checks used a prepared WSL workspace with copied pinned dependencies. The README’s alternative public dependency-setup route was not tested for this directory, and its custom replay runner needs the documented toolchain and memory-monitor setup. A rebuild of this tag from a fresh checkout has not been verified in this site’s review. On the main branch the folder was converted on 13 November 2026 to the standard Lake layout (commit 3f11247), where a fresh clone builds with lake exe cache get and lake build (tested); that change is not part of this tag. Lean source
As the paper states, the model has hard constraints: its local energies are 0, 1 and +∞, the infinite energies freeze the background and keep every computation exact, and nothing in the paper applies to interactions with finite energies only. Uniqueness in Theorem A is uniqueness among translation-invariant Gibbs measures; at every temperature the model also has Gibbs measures that are not translation invariant, so uniqueness among all Gibbs measures fails. The exact phase diagram (Proposition 8.2) is conditional on the classical exact facts about the two-dimensional Ising model; Theorem A and Corollary B are not. Theorem A, Corollary B and the existence of a universal machine are proved in Lean 4 with Mathlib (Appendix D); the formal Theorem A and Corollary B assume two published results that Mathlib lacks, named hypotheses H1, Dobrushin’s uniqueness theorem, and H2, the existence of the plus state of the two-dimensional Ising model, both in the form of Friedli and Velenik’s book, whose quotations were checked against the authors’ revised chapter files. Section 8, Remarks 7.5 and 7.6, the -completeness of the halting set of , which only Proposition 8.2 uses, and the measurability clause of Lemma 5.8(b), which the formal proof does not use, are not formalized, and nor is the remark that enters the interaction only through the table of the machine . As the paper states, the formal statements were written, and compared with the printed ones, by models of a single developer only, and it lists them as checked less thoroughly.
Label checked .
Where it standsnovelty and credit, a separate question from how it was checked
- Novelty
- New, with named prior work. The paper gives a classical, positive-temperature counterpart of the undecidable spectral gap of Cubitt, Pérez-García and Wolf (in one dimension, Bausch, Cubitt, Lucia and Pérez-García) and of the uncomputable phase diagram of Bausch, Cubitt and Watson, one continuous family of quantum Hamiltonians at zero temperature, with the temperature in the role of their parameter. For classical models, Gu, Weedbrook, Perales and Nielsen proved ground-state observables of two-dimensional Ising lattices built from Turing machines undecidable and expected the result to extend to positive temperature, and Gayral, Sablik and Taati expected most questions about the thermodynamic behaviour of finite-range models at or near zero temperature, in two or more dimensions, to be undecidable. Kurdyumov and Toom proved ergodicity of probabilistic cellular automata undecidable, and the authors’ Forgetting under noise is undecidable deduced that uniqueness of the translation-invariant Gibbs measure is undecidable for a family of space–time interactions; in both the machine is part of the model, while here the interaction is fixed and the input is carried by the temperature. Miękisz and Taati built a lattice gas on ℤ⁴ whose low-temperature Gibbs states are perturbations of Ammann tilings, by running a noise-resilient computation inside them; Marsan, Sablik and Törmä built a perturbed cellular automaton whose ergodicity undergoes at least two transitions as the noise varies; computability also enters thermodynamics through zero-temperature limits of Gibbs measures (Chazottes and Hochman) and the entropies of multidimensional subshifts of finite type (Hochman and Meyerovitch). The scaffold uses Wang tiles, the hierarchical method of Berger and Robinson, substitution tilings with local rules and unique derivation (Mozes, Mossé, Solomyak) and Ollinger’s two-by-two substitution in the transcription of the lean-wang project, with the ruler decoration of the forgetting paper. The proof uses the Peierls argument and Dobrushin’s uniqueness theorem; the conditional exact diagram uses the critical point that Kramers and Wannier identified and Onsager’s exact solution established, Yang’s spontaneous magnetization, the theorem of Aizenman and Higuchi, and the proof of criticality of Beffara and Duminil-Copin. The formal proof of version 1.2.0 uses the proof assistant Lean 4 and its library Mathlib; its two hypotheses are stated in the form of Friedli and Velenik’s book, and the parts of the scaffold shared with the forgetting paper, and the passage from Mathlib’s partial recursive codes to Turing machines, are adapted from the authors’ Lean formalization of that paper, published with its version 1.4.0.
Versionsthree, each with its own DOI
| Version | Date | DOI | Notes |
|---|---|---|---|
| 1.2.0 | 10.5281/zenodo.24144192 | Adds the Lean 4 formalization of Theorem A, Corollary B and the existence of the universal machine U (Appendix D), with its sources, a comparator check against a challenge file that imports only Mathlib, two kernel replays and the axiom audit in lean/. The formal Theorem A and Corollary B take Dobrushin’s uniqueness theorem and the existence of the plus state of the two-dimensional Ising model as hypotheses. Also corrects three imprecise sentences that the formalization found: the kernel of a specification by factors where its normalization is 0 (Section 2), the list of rules that involve payload coordinates (Section 4.7 and the proof of Lemma 6.1), and the list of sensor coordinates (Section 6). No other statement or proof has changed. PDF hosted here. | |
| 1.1.0 | 10.5281/zenodo.24124685 | Adds a citation of the authors' preprint on undecidable spontaneous magnetization and thermal decay, which makes uniqueness of the Gibbs measure undecidable for computable families of interactions with strictly positive Boltzmann weights, one interaction (and range) for each input; this paper fixes one nearest-neighbour interaction with hard constraints, varies only the temperature, and makes uniqueness among translation-invariant Gibbs measures, not among all Gibbs measures, undecidable. No statement or proof changed. | |
| 1.0.0 | 10.5281/zenodo.24115745 |
Filesthe PDF and its checksum, DOIs, code, Lean and licence
papers/undecidable-phase-diagram-v1.2.0.pdf, version 1.2.0, 607,615 bytes, 47 pages.SHA-256 f405f5e1a3940c1390c637afadc8b92999423b2b77c67fd1dec11db8b61c12bf
- DOI
10.5281/zenodo.24144192; all versions 10.5281/zenodo.24115744
- Lean
Corrections
- Precision, fixed in version 1.2.0. Versions 1.0.0 and 1.1.0 did not specify the kernel of a specification by factors where its normalization is 0 (Section 2); their list of the rules that involve payload coordinates omitted rule (K2) and the matching of colours (Section 4.7 and the proof of Lemma 6.1); and their list of the sensor coordinates in Section 6 included two components of colours that are ∘. Version 1.2.0 corrects the three sentences. The Lean formalization of Theorem A and Corollary B, which found them, found no false step; no other statement or proof has changed.doi:10.5281/zenodo.24144192
- Credit, fixed in version 1.1.0. Version 1.0.0 did not cite the authors’ earlier paper on undecidable spontaneous magnetization and thermal decay, including its result that uniqueness of the Gibbs measure at one fixed positive temperature is undecidable for computable families of interactions with strictly positive Boltzmann weights, one interaction for each input. Version 1.1.0 adds the citation and explains the distinction: in the earlier paper the interaction, including its range, depends on the input; Theorem A fixes one nearest-neighbour interaction, with hard constraints, lets the input enter only through the inverse temperature, and makes uniqueness among translation-invariant Gibbs measures, not among all Gibbs measures, undecidable. No statement or proof changes.doi:10.5281/zenodo.24124685
All corrections, and what counts as one.
Cite
@misc{douglas2026undecidablephasediagram,
author = {Douglas, Seth and Mghirbi, Nidhal},
title = {An uncomputable phase diagram at positive temperature for one classical lattice model},
year = {2026},
version = {1.2.0},
doi = {10.5281/zenodo.24144192},
url = {https://doi.org/10.5281/zenodo.24144192}
}