Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 54 - undecidability of the ground state energy with promise

Proved
UndecidableSpectralGap.usg_gs_energy_with_promise

by LG · Sep 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

mathematical-physicsquantum-informationspectral-gaptheoretical-computer-scienceundecidability

Fix a universal machine. There are a fixed local Hilbert space dimension ddd, Hermitian interactions h1(n),hrow(n),hcol(n)h_1(n),h_{\mathrm{row}}(n),h_{\mathrm{col}}(n)h1​(n),hrow​(n),hcol​(n) with algebraic (hence computable) matrix entries and operator norm at most 12\tfrac1221​, and a threshold function L(n)L(n)L(n), such that for every input nnn:

  1. if the machine does not halt on nnn, then λ0(HuΛ(L)(n))≤0\lambda_0(H_u^{\Lambda(L)}(n))\le0λ0​(HuΛ(L)​(n))≤0 for every L≥1L\ge1L≥1;

  2. if the machine halts on nnn, then λ0(HuΛ(L)(n))≥1\lambda_0(H_u^{\Lambda(L)}(n))\ge1λ0​(HuΛ(L)​(n))≥1 for every L≥L(n)L\ge L(n)L≥L(n).

This is the promise version of the diverging-energy proposition: the two alternatives are separated by a constant gap in energy, ≤0\le0≤0 against ≥1\ge1≥1, rather than by an asymptotic rate. Deciding which of them holds is therefore as hard as the halting problem, and the constant separation is exactly the input required by the final step that converts an energy statement into a statement about the spectral gap. The threshold L(n)L(n)L(n) is not computable from nnn.

Formalization note. Machines are represented by partial recursive codes, and the halting of the machine on input nnn is definedness of the evaluation at nnn.

Preamble
import Definitions.Def_usg_spectral_notions

set_option autoImplicit false
open scoped ComplexOrder
Formal statement
namespace UndecidableSpectralGap

theorem usg_gs_energy_with_promise (u : Nat.Partrec.Code) :
    ∃ (d : ℕ) (h1 : ℕ → Matrix (Fin d) (Fin d) ℂ)
      (hrow hcol : ℕ → Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) (Lbound : ℕ → ℕ),
      (∀ n : ℕ,
        (h1 n).IsHermitian ∧ (hrow n).IsHermitian ∧ (hcol n).IsHermitian ∧
        opNorm (h1 n) ≤ 1 / 2 ∧ opNorm (hrow n) ≤ 1 / 2 ∧ opNorm (hcol n) ≤ 1 / 2 ∧
        (∀ i j, IsAlgebraic ℚ ((h1 n) i j)) ∧
        (∀ i j, IsAlgebraic ℚ ((hrow n) i j)) ∧
        (∀ i j, IsAlgebraic ℚ ((hcol n) i j))) ∧
      ∀ n : ℕ,
        -- non-halting case: non-positive ground state energy at every size
        (¬ (u.eval n).Dom → ∀ L : ℕ, 0 < L →
          gsEnergy (latticeHam L d (h1 n) (hrow n) (hcol n)) ≤ 0) ∧
        -- halting case: ground state energy at least 1 from the size `Lbound n` on
        ((u.eval n).Dom → ∀ L ≥ Lbound n,
          1 ≤ gsEnergy (latticeHam L d (h1 n) (hrow n) (hcol n))) := by
  sorry

end UndecidableSpectralGap
Source
Cubitt, Perez-Garcia & Wolf, Undecidability of the Spectral Gap, Forum of Mathematics Pi 10:e14 (2022), pp. 1-102, doi:10.1017/fmp.2021.15, https://doi.org/10.1017/fmp.2021.15 (full version; same numbering as arXiv:1502.04573v5), Section 6.1, p. 96, Corollary 54 (Undecidability of g.s. energy with promise).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Fix a partial recursive code uuu. The statement asserts the existence of a single natural number ddd (one local dimension serving every instance), of an on-site d×dd\times dd×d complex matrix h1(n)h_1(n)h1​(n) and two d2×d2d^2\times d^2d2×d2 complex matrices hrow(n),hcol(n)h_{\mathrm{row}}(n), h_{\mathrm{col}}(n)hrow​(n),hcol​(n) for each natural number nnn, and of a function Lbd:N→NL_{\mathrm{bd}}:\mathbb{N}\to\mathbb{N}Lbd​:N→N, such that the following hold. Write HnΛ(L)H_n^{\Lambda(L)}HnΛ(L)​ for the Hamiltonian on the L×LL\times LL×L open-boundary square lattice with local dimension ddd, with h1(n)h_1(n)h1​(n) on every site, hrow(n)h_{\mathrm{row}}(n)hrow​(n) on every horizontal edge and hcol(n)h_{\mathrm{col}}(n)hcol​(n) on every vertical edge; λ0\lambda_0λ0​ is the infimum of its set of real spectral points, which is 000 by convention when that set is empty.

Uniform conditions. For every nnn: the three matrices are Hermitian; each has ℓ2\ell^2ℓ2-operator norm at most 12\tfrac1221​; and every entry of each of them is algebraic over Q\mathbb{Q}Q.

Non-halting case. For every nnn, if the evaluation of uuu on input nnn is not defined, then

λ0(HnΛ(L))  ≤  0for every L>0.\lambda_0\bigl(H_n^{\Lambda(L)}\bigr) \;\le\; 0 \qquad\text{for every } L > 0 .λ0​(HnΛ(L)​)≤0for every L>0.

Halting case. For every nnn, if the evaluation of uuu on input nnn is defined, then

1  ≤  λ0(HnΛ(L))for every L≥Lbd(n).1 \;\le\; \lambda_0\bigl(H_n^{\Lambda(L)}\bigr) \qquad\text{for every } L \ge L_{\mathrm{bd}}(n).1≤λ0​(HnΛ(L)​)for every L≥Lbd​(n).

Here L≥Lbd(n)L \ge L_{\mathrm{bd}}(n)L≥Lbd​(n) is non-strict, and if Lbd(n)=0L_{\mathrm{bd}}(n) = 0Lbd​(n)=0 this includes L=0L = 0L=0, for which the lattice has a single (empty) configuration and the Hamiltonian is the 1×11\times11×1 zero matrix, whose only real spectral point is 000; so the halting clause constrains Lbd(n)L_{\mathrm{bd}}(n)Lbd​(n) to be positive whenever it applies.

The two cases have complementary hypotheses, so exactly one of them has non-vacuous content for each nnn, and the constants 000 and 111 are separated by a fixed margin independent of nnn and LLL. Nothing is asserted about sizes below Lbd(n)L_{\mathrm{bd}}(n)Lbd​(n) in the halting case; no computability or growth property of LbdL_{\mathrm{bd}}Lbd​ is claimed, and it may depend on uuu. The statement mentions no gap, no algorithm and no decidability claim; it asserts only the existence of the matrices with the listed properties.

Provenance: this read-back was produced by the agent that drafted the item, not by an independent blind auditor.

Human review
  • Endorsed by Shuze Chen · Sep 15, 2026

  • Endorsed by LG · Sep 15, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me