Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gapped, gapless, spectral gap and ground state energy density in the thermodynamic limit

Definition
usg_spectral_notions

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

mathematical-physicsquantum-informationspectral-gaptheoretical-computer-scienceundecidability

This file fixes the spectral vocabulary of the mission, for the lattice models of the companion definition.

For a complex square matrix AAA, the real spectrum is the set of real numbers that are eigenvalues of AAA; for Hermitian AAA this is the whole spectrum. The ground state energy is λ0(A)=inf⁡spec⁡A\lambda_0(A)=\inf\operatorname{spec}Aλ0​(A)=infspecA, and the multiplicity of a real number μ\muμ is the dimension of the eigenspace of AAA at μ\muμ. The ground state is non-degenerate when λ0(A)\lambda_0(A)λ0​(A) has multiplicity one, and AAA has gap at least γ\gammaγ when every eigenvalue μ≠λ0(A)\mu\neq\lambda_0(A)μ=λ0​(A) satisfies μ≥λ0(A)+γ\mu\ge\lambda_0(A)+\gammaμ≥λ0​(A)+γ; together these say Δ(A)=λ1(A)−λ0(A)≥γ\Delta(A)=\lambda_1(A)-\lambda_0(A)\ge\gammaΔ(A)=λ1​(A)−λ0​(A)≥γ for the two lowest eigenvalues λ0≤λ1\lambda_0\le\lambda_1λ0​≤λ1​.

The remaining notions are properties of the whole family {HΛ(L)}L\{H^{\Lambda(L)}\}_L{HΛ(L)}L​ generated by a fixed triple (h1,hrow,hcol)(h_1,h_{\mathrm{row}},h_{\mathrm{col}})(h1​,hrow​,hcol​) at local dimension ddd.

  1. Gapped with gap γ\gammaγ (Definition 1 of the source): γ>0\gamma>0γ>0 and there is a system size L0L_0L0​ such that for every L>L0L>L_0L>L0​ the ground state of HΛ(L)H^{\Lambda(L)}HΛ(L) is non-degenerate and Δ(HΛ(L))≥γ\Delta(H^{\Lambda(L)})\ge\gammaΔ(HΛ(L))≥γ. The family is gapped if it is gapped with some γ>0\gamma>0γ>0.

  2. Gapless (Definition 2 of the source): there is c>0c>0c>0 such that for every ε>0\varepsilon>0ε>0 there is an L0L_0L0​ with the property that for all L>L0L>L_0L>L0​ every point of the interval [λ0(HΛ(L)),λ0(HΛ(L))+c][\lambda_0(H^{\Lambda(L)}),\lambda_0(H^{\Lambda(L)})+c][λ0​(HΛ(L)),λ0​(HΛ(L))+c] lies within distance ε\varepsilonε of spec⁡HΛ(L)\operatorname{spec}H^{\Lambda(L)}specHΛ(L).

  3. Ground state energy density EEE: λ0(HΛ(L))/L2→E\lambda_0(H^{\Lambda(L)})/L^2\to Eλ0​(HΛ(L))/L2→E as L→∞L\to\inftyL→∞.

  4. Frustration free: all three interaction matrices are positive semidefinite and λ0(HΛ(L))=0\lambda_0(H^{\Lambda(L)})=0λ0​(HΛ(L))=0 for every L≥1L\ge1L≥1, i.e. a ground state minimises each interaction term separately.

As emphasised in the source, gapped is not the negation of gapless: systems with degenerate ground states, or with a gap that closes slowly, satisfy neither. The constructions of this mission are designed so that every instance falls into exactly one of the two classes.


Read-back — a literal restatement of what the Lean code of this item asserts. It is reproduced here because this item is now a published definition, and the platform stores a read-back only on draft items. It is not independent testimony: it was written by the same agent that drafted the Lean, so it is a careful re-reading of the code rather than blind outside evidence.

This item introduces no claim; it fixes eight notions on top of the lattice model, and everything below is a definition. Throughout, AAA is a square complex matrix indexed by a finite type with decidable equality, and HΛ(L)H^{\Lambda(L)}HΛ(L) denotes the Hamiltonian built from a local dimension ddd, an on-site matrix h1h_1h1​ of size d×dd\times dd×d and two matrices hrow,hcolh_{\mathrm{row}},h_{\mathrm{col}}hrow​,hcol​ of size d2×d2d^2\times d^2d2×d2, summed over the horizontal edges, the vertical edges and the sites of the L×LL\times LL×L open-boundary lattice.

Real spectrum. spec⁡R(A)\operatorname{spec}_{\mathbb{R}}(A)specR​(A) is the set of real numbers μ\muμ such that μ\muμ, viewed as a complex scalar, lies in the spectrum of AAA over C\mathbb{C}C — that is, μI−A\mu I - AμI−A fails to be invertible. Complex non-real spectral points are discarded. If the index type is empty (which happens for d=0d = 0d=0 and L≥1L\ge 1L≥1) the matrix algebra is trivial, every element is invertible, and this set is empty.

Ground state energy. λ0(A)\lambda_0(A)λ0​(A) is the infimum of spec⁡R(A)\operatorname{spec}_{\mathbb{R}}(A)specR​(A) as a subset of R\mathbb{R}R. No hypothesis guarantees this set is non-empty: by the convention for infima of real sets, λ0(A)=0\lambda_0(A) = 0λ0​(A)=0 whenever spec⁡R(A)\operatorname{spec}_{\mathbb{R}}(A)specR​(A) is empty (or fails to be bounded below), so λ0\lambda_0λ0​ is a total function and returns 000 in those degenerate cases.

Multiplicity. For a real μ\muμ, mA(μ)m_A(\mu)mA​(μ) is the dimension over C\mathbb{C}C of the eigenspace of the linear endomorphism determined by AAA for the eigenvalue μ\muμ — i.e. of ker⁡(A−μI)\ker(A - \mu I)ker(A−μI). It is 000 when μ\muμ is not an eigenvalue.

Non-degenerate ground state. AAA has a non-degenerate ground state when mA(λ0(A))=1m_A(\lambda_0(A)) = 1mA​(λ0​(A))=1: the eigenspace at the number λ0(A)\lambda_0(A)λ0​(A) is exactly one-dimensional. Combined with the convention above, for an empty index type this condition asks the eigenspace at 000 to be one-dimensional, which fails.

Gap at least γ\gammaγ. AAA has gap at least γ\gammaγ (a real number, not required to be positive here) when

∀ μ∈spec⁡R(A),μ≠λ0(A) ⟹ λ0(A)+γ≤μ.\forall\,\mu\in\operatorname{spec}_{\mathbb{R}}(A),\quad \mu \neq \lambda_0(A)\ \Longrightarrow\ \lambda_0(A)+\gamma \le \mu .∀μ∈specR​(A),μ=λ0​(A) ⟹ λ0​(A)+γ≤μ.

The condition is vacuously true when the real spectrum is empty or reduces to the single point λ0(A)\lambda_0(A)λ0​(A).

Gapped with gap γ\gammaγ (family version). The family generated by (d,h1,hrow,hcol)(d,h_1,h_{\mathrm{row}},h_{\mathrm{col}})(d,h1​,hrow​,hcol​) is gapped with gap at least γ\gammaγ when γ>0\gamma > 0γ>0 and there exists a natural number L0L_0L0​ such that for every natural number L>L0L > L_0L>L0​ the matrix HΛ(L)H^{\Lambda(L)}HΛ(L) has a non-degenerate ground state and has gap at least γ\gammaγ. Only sizes beyond L0L_0L0​ are constrained; the same γ\gammaγ serves all of them. The family is gapped when it is gapped with gap at least γ\gammaγ for some real γ\gammaγ (necessarily positive, by the first conjunct).

Gapless (family version). The family is gapless when there exists a real c>0c > 0c>0 such that for every real ε>0\varepsilon > 0ε>0 there exists a natural number L0L_0L0​ with: for every L>L0L > L_0L>L0​ and every real xxx in the closed interval

[λ0(HΛ(L)), λ0(HΛ(L))+c],\bigl[\lambda_0(H^{\Lambda(L)}),\ \lambda_0(H^{\Lambda(L)}) + c\bigr],[λ0​(HΛ(L)), λ0​(HΛ(L))+c],

there exists μ∈spec⁡R(HΛ(L))\mu \in \operatorname{spec}_{\mathbb{R}}(H^{\Lambda(L)})μ∈specR​(HΛ(L)) with ∣x−μ∣≤ε|x-\mu|\le\varepsilon∣x−μ∣≤ε. In words: that interval is ε\varepsilonε-dense in the real spectrum for all large sizes, for every ε\varepsilonε. This is not the negation of the previous condition; both could in principle fail, and the definition would also be met by a spectrum that is ε\varepsilonε-dense only in the stated window.

Ground state energy density. The family has ground state energy density EEE when the sequence L↦λ0(HΛ(L))/L2L\mapsto \lambda_0(H^{\Lambda(L)})/L^2L↦λ0​(HΛ(L))/L2, indexed by all natural numbers LLL, converges to EEE along the filter of large LLL. The term at L=0L = 0L=0 divides by zero and is irrelevant to the limit.

Frustration freeness. The family is frustration free when each of h1h_1h1​, hrowh_{\mathrm{row}}hrow​, hcolh_{\mathrm{col}}hcol​ is positive semidefinite (which in particular entails that each is Hermitian) and λ0(HΛ(L))=0\lambda_0(H^{\Lambda(L)}) = 0λ0​(HΛ(L))=0 for every L>0L > 0L>0.

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

Definition code
import Definitions.Def_usg_lattice_model

set_option autoImplicit false

open scoped ComplexOrder

namespace UndecidableSpectralGap

variable {n : Type*} [Fintype n] [DecidableEq n]

/-- The real spectrum of a complex square matrix: the set of real numbers that are
eigenvalues of it. For a Hermitian matrix this is the whole spectrum. -/
def specReal (A : Matrix n n ℂ) : Set ℝ := {μ : ℝ | (μ : ℂ) ∈ spectrum ℂ A}

/-- The ground state energy `λ₀(A)`: the smallest element of the real spectrum. -/
noncomputable def gsEnergy (A : Matrix n n ℂ) : ℝ := sInf (specReal A)

/-- The multiplicity of a real number `μ` as an eigenvalue of `A`, i.e. the dimension of
the corresponding eigenspace. -/
noncomputable def eigMultiplicity (A : Matrix n n ℂ) (μ : ℝ) : ℕ :=
  Module.finrank ℂ (Module.End.eigenspace (Matrix.toLin' A) (μ : ℂ))

/-- The ground state of `A` is non-degenerate: the ground state energy has multiplicity one. -/
def GroundStateNondegenerate (A : Matrix n n ℂ) : Prop :=
  eigMultiplicity A (gsEnergy A) = 1

/-- `A` has spectral gap at least `γ`: every eigenvalue other than the ground state energy
is at least `λ₀(A) + γ`. Together with non-degeneracy of the ground state this says
`Δ(A) = λ₁(A) - λ₀(A) ≥ γ`. -/
def HasGapAtLeast (A : Matrix n n ℂ) (γ : ℝ) : Prop :=
  ∀ μ ∈ specReal A, μ ≠ gsEnergy A → gsEnergy A + γ ≤ μ

/-- **Definition 1 (Gapped), with an explicit gap.** The family `{H^{Λ(L)}}` determined by
the interactions `h₁, h_row, h_col` on local dimension `d` is gapped with gap at least
`γ > 0`: there is a system size `L₀` such that for all `L > L₀` the ground state of
`H^{Λ(L)}` is non-degenerate and `Δ(H^{Λ(L)}) ≥ γ`. -/
def GappedWithGap (d : ℕ) (h1 : Matrix (Fin d) (Fin d) ℂ)
    (hrow hcol : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) (γ : ℝ) : Prop :=
  0 < γ ∧ ∃ L0 : ℕ, ∀ L > L0,
    GroundStateNondegenerate (latticeHam L d h1 hrow hcol) ∧
      HasGapAtLeast (latticeHam L d h1 hrow hcol) γ

/-- **Definition 1 (Gapped).** The family `{H^{Λ(L)}}` is gapped if it is gapped with some
constant gap `γ > 0`. -/
def Gapped (d : ℕ) (h1 : Matrix (Fin d) (Fin d) ℂ)
    (hrow hcol : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) : Prop :=
  ∃ γ : ℝ, GappedWithGap d h1 hrow hcol γ

/-- **Definition 2 (Gapless).** The family `{H^{Λ(L)}}` is gapless if there is a constant
`c > 0` such that for every `ε > 0` there is an `L₀` such that for all `L > L₀` every point
of the interval `[λ₀(H^{Λ(L)}), λ₀(H^{Λ(L)}) + c]` lies within distance `ε` of the spectrum
of `H^{Λ(L)}`. -/
def Gapless (d : ℕ) (h1 : Matrix (Fin d) (Fin d) ℂ)
    (hrow hcol : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) : Prop :=
  ∃ c > 0, ∀ ε > 0, ∃ L0 : ℕ, ∀ L > L0,
    ∀ x ∈ Set.Icc (gsEnergy (latticeHam L d h1 hrow hcol))
        (gsEnergy (latticeHam L d h1 hrow hcol) + c),
      ∃ μ ∈ specReal (latticeHam L d h1 hrow hcol), |x - μ| ≤ ε

/-- The family `{H^{Λ(L)}}` has ground state energy density `E`, i.e.
`E = lim_{L→∞} λ₀(H^{Λ(L)})/L²`. -/
def HasGsEnergyDensity (d : ℕ) (h1 : Matrix (Fin d) (Fin d) ℂ)
    (hrow hcol : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) (E : ℝ) : Prop :=
  Filter.Tendsto (fun L : ℕ => gsEnergy (latticeHam L d h1 hrow hcol) / (L : ℝ) ^ 2)
    Filter.atTop (nhds E)

/-- The family `{H^{Λ(L)}}` is frustration free: all interaction terms are positive
semidefinite and the ground state energy vanishes for every lattice size. -/
def FrustrationFree (d : ℕ) (h1 : Matrix (Fin d) (Fin d) ℂ)
    (hrow hcol : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) : Prop :=
  h1.PosSemidef ∧ hrow.PosSemidef ∧ hcol.PosSemidef ∧
    ∀ L : ℕ, 0 < L → gsEnergy (latticeHam L d h1 hrow hcol) = 0

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 1.1, pp. 2-3, eqs. (1.3)-(1.4), Definition 1 (Gapped) and Definition 2 (Gapless), p. 3, and the definition of frustration-freeness, p. 3.
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