Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 54 - ground state energy with promise (computable interactions)

Open
UndecidableSpectralGap.usg_gs_energy_with_promise_computable

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

computabilitymathematical-physicsquantum-informationspectral-gaptheoretical-computer-scienceundecidability

Let uuu be a partial recursive code. The claim is that there is a translationally invariant nearest-neighbour model on the two-dimensional square lattice Λ(L)={1,…,L}2\Lambda(L)=\{1,\dots,L\}^2Λ(L)={1,…,L}2 with open boundary conditions, with local Hilbert space dimension ddd and Hermitian interactions of operator norm at most 1/21/21/2 with algebraic entries, whose ground state energy decides the halting problem for uuu under a promise — and whose interactions are computable functions of the input.

Writing HΛ(L)(n)H^{\Lambda(L)}(n)HΛ(L)(n) for the Hamiltonian assembled from the on-site term h1(n)h_1(n)h1​(n) and the nearest-neighbour terms hrow(n),hcol(n)h_{\mathrm{row}}(n), h_{\mathrm{col}}(n)hrow​(n),hcol​(n), the three families n↦h1(n),hrow(n),hcol(n)n \mapsto h_1(n), h_{\mathrm{row}}(n), h_{\mathrm{col}}(n)n↦h1​(n),hrow​(n),hcol​(n) are uniformly computable and there is a threshold Lbd(n)L_{\mathrm{bd}}(n)Lbd​(n) such that:

  1. if uuu halts on nnn, then 1≤λ0(HΛ(L)(n))1 \le \lambda_0(H^{\Lambda(L)}(n))1≤λ0​(HΛ(L)(n)) for all L≥Lbd(n)L \ge L_{\mathrm{bd}}(n)L≥Lbd​(n);

  2. if uuu does not halt on nnn, then there is L1L_1L1​ with λ0(HΛ(L)(n))≤0\lambda_0(H^{\Lambda(L)}(n)) \le 0λ0​(HΛ(L)(n))≤0 for all L≥L1L \ge L_1L≥L1​.

So on all sufficiently large lattices the ground state energy is either at least 111 or at most 000, and which alternative occurs is equivalent to the halting of uuu on nnn. Since the interactions are computable from nnn while the threshold LbdL_{\mathrm{bd}}Lbd​ is not, an algorithm determining the ground state energy to within 1/21/21/2 under this promise would decide the halting problem.

Formalization Note. This statement replaces usg_gs_energy_with_promise and its repair usg_gs_energy_with_promise_threshold. The former is proved, but only because it omits the computability requirement: without it the statement is satisfied by a one-dimensional model whose single on-site parameter is defined by a case distinction on the halting of uuu on nnn. Computability of the interaction family, in the sense of the definition usg_computable_family, is what carries the undecidability content, and algebraicity of the entries does not imply it. The non-halting clause is also required only from some size on, in parallel with the halting clause, matching the companion statement usg_diverging_gs_energy_computable.

Preamble
import Definitions.Def_usg_computable_family

set_option autoImplicit false
open scoped ComplexOrder
Formal statement
namespace UndecidableSpectralGap

/-- **Corollary 54 (undecidability of the ground state energy with promise),
computable form.**

This is the companion of `usg_diverging_gs_energy_computable`. The interactions are
required to be a uniformly computable family in the input `n`, and the non-halting clause
is required only from some size `L₁` on, in parallel with the halting clause.

Both corrections are needed. Without computability the statement is satisfied by a
one-dimensional model defined by a case distinction on the halting of `u` on `n`, and
carries no undecidability content; and the non-halting bound cannot be imposed at `L = 1`
in the companion proposition, where the lattice has no nearest-neighbour pair.

Under the promise, the ground state energy of all sufficiently large lattices is either at
least `1` or at most `0`, and which of the two occurs is equivalent to the halting of `u`
on `n`; since the interactions are computable from `n`, deciding the ground state energy to
within `1/2` under this promise would decide the halting problem. -/
theorem usg_gs_energy_with_promise_computable (u : Nat.Partrec.Code) :
    ∃ (d : ℕ) (h1 : ℕ → Matrix (Fin d) (Fin d) ℂ)
      (hrow hcol : ℕ → Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) (Lbound : ℕ → ℕ),
      -- the interactions are computable functions of the input
      ComputableMatrixFamily h1 ∧ ComputableMatrixFamily hrow ∧
        ComputableMatrixFamily hcol ∧
      (∀ 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: beyond some size the ground state energy is non-positive
        (¬ (u.eval n).Dom → ∃ L1 : ℕ, ∀ L ≥ L1,
          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), doi:10.1017/fmp.2021.15, Section 6.1, p. 94, Corollary 54.

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