Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Adiabatic theorem with the integrated 1/γ³ gap dependence

Proved
QAlgorithms.Nannicini.adiabatic_theorem_integral_gap

by Goku · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

lecture-notesnanniciniquantum-information

There is an absolute constant ccc with the following property.

Let H(s)H(s)H(s), s∈[0,1]s \in [0,1]s∈[0,1], be a time-dependent Hamiltonian on a finite-dimensional space Cι\mathbb{C}^\iotaCι: each H(s)H(s)H(s) is Hermitian, and the entries of HHH are twice differentiable on [0,1][0,1][0,1] with entrywise derivatives H′(s),H′′(s)H'(s), H''(s)H′(s),H′′(s). Let λ:[0,1]→R\lambda : [0,1] \to \mathbb{R}λ:[0,1]→R be continuous and let ∣φ(s)⟩|\varphi(s)\rangle∣φ(s)⟩ be a unit eigenvector of H(s)H(s)H(s) with eigenvalue λ(s)\lambda(s)λ(s). Let g:[0,1]→Rg : [0,1] \to \mathbb{R}g:[0,1]→R be a lower bound on the instantaneous spectral gap around λ\lambdaλ: for every sss, λ(s)\lambda(s)λ(s) is a simple eigenvalue of H(s)H(s)H(s) and every other eigenvalue lies at distance at least g(s)g(s)g(s) from it. Assume g(s)≥γ0g(s) \ge \gamma_0g(s)≥γ0​ for all sss, for some γ0>0\gamma_0 > 0γ0​>0, and that s↦∥H′(s)∥2/g(s)3+∥H′′(s)∥/g(s)2s \mapsto \|H'(s)\|^2/g(s)^3 + \|H''(s)\|/g(s)^2s↦∥H′(s)∥2/g(s)3+∥H′′(s)∥/g(s)2 is integrable on [0,1][0,1][0,1]. Let δ>0\delta > 0δ>0 and

T≥cδ(∥H′(0)∥g(0)2+∥H′(1)∥g(1)2+∫01(∥H′(s)∥2g(s)3+∥H′′(s)∥g(s)2)ds).T \ge \frac{c}{\delta}\left(\frac{\|H'(0)\|}{g(0)^2} + \frac{\|H'(1)\|}{g(1)^2} + \int_0^1 \left(\frac{\|H'(s)\|^2}{g(s)^3} + \frac{\|H''(s)\|}{g(s)^2}\right) ds\right).T≥δc​(g(0)2∥H′(0)∥​+g(1)2∥H′(1)∥​+∫01​(g(s)3∥H′(s)∥2​+g(s)2∥H′′(s)∥​)ds).

If ∣ψ(s)⟩|\psi(s)\rangle∣ψ(s)⟩ solves d∣ψ(s)⟩ds=iT H(s)∣ψ(s)⟩\frac{d|\psi(s)\rangle}{ds} = iT\,H(s)|\psi(s)\rangledsd∣ψ(s)⟩​=iTH(s)∣ψ(s)⟩ on [0,1][0,1][0,1] with ∣ψ(0)⟩=∣φ(0)⟩|\psi(0)\rangle = |\varphi(0)\rangle∣ψ(0)⟩=∣φ(0)⟩, then

∥eiθ∣ψ(1)⟩−∣φ(1)⟩∥≤δfor some θ∈R.\bigl\| e^{i\theta}|\psi(1)\rangle - |\varphi(1)\rangle \bigr\| \le \delta \quad \text{for some } \theta \in \mathbb{R}.​eiθ∣ψ(1)⟩−∣φ(1)⟩​≤δfor some θ∈R.

Compared with Theorem 9.11, the dependence on the gap improves from 1/γ41/\gamma^41/γ4 to 1/γ31/\gamma^31/γ3, the gap enters pointwise through an integral, and the accuracy enters as 1/δ1/\delta1/δ instead of 1/δ21/\delta^21/δ2.

Formalization Note Norms are operator norms, and derivatives at s=0,1s = 0, 1s=0,1 are one-sided. The source's instantaneous gap γ(s)\gamma(s)γ(s) (Def. 9.8) is taken through any pointwise lower bound g(s)g(s)g(s). The required bound on TTT decreases in every g(s)g(s)g(s), so this is equivalent to using γ(s)\gamma(s)γ(s) itself. Integrability is assumed explicitly: without it the source's integral is +∞+\infty+∞ and no TTT qualifies, whereas Lean's integral would default to 000. The constant ccc is quantified before the space, the Hamiltonian and δ\deltaδ.

Preamble
import Definitions.Def_QAlgorithms_Defs_Adiabatic
set_option autoImplicit false
Formal statement
universe u

namespace QAlgorithms.Nannicini


/-- Nannicini p.225, Theorem 9.23 (Adiabatic theorem with tighter spectral bound; Thm. 28.1 in
[Childs, 2017]). There exists some constant `c` such that the statement of Thm. 9.11 holds if we
choose `T` satisfying
`T ≥ (c/δ)(‖H′(0)‖/γ(0)² + ‖H′(1)‖/γ(1)² + ∫₀¹ (‖H′(s)‖²/γ(s)³ + ‖H″(s)‖/γ(s)²) ds)`.

The constant `c` is quantified before everything it is uniform over (the space, the Hamiltonian,
`δ`; trap 8). The hypotheses are those of Theorem 9.11 other than the bound on `T`. The
instantaneous gap `γ(s)` (Def. 9.8) enters through any function `g` with
`HasGapAround (H s) (λ s) (g s)` (so `g(s) ≤ γ(s)`), bounded below by some `γ0 > 0` (Thm. 9.11's
gap `γ > 0`); the bound on `T` is decreasing in each `g(s)`, so this is equivalent to using `γ(s)`
itself. `‖H′(s)‖, ‖H″(s)‖` are the pointwise operator norms. The integrand is required to be
integrable on `[0, 1]`: when it is not, the source's integral is `+∞` and no `T` qualifies, while
Lean's integral would be the junk value `0` (trap 2). -/
theorem adiabatic_theorem_integral_gap :
    ∃ c : ℝ, ∀ {ι : Type u} [Fintype ι] [DecidableEq ι] (H H' H'' : ℝ → Matrix ι ι ℂ),
      (∀ s ∈ Set.Icc (0 : ℝ) 1, ∀ i j,
        HasDerivWithinAt (fun t => H t i j) (H' s i j) (Set.Icc 0 1) s) →
      (∀ s ∈ Set.Icc (0 : ℝ) 1, ∀ i j,
        HasDerivWithinAt (fun t => H' t i j) (H'' s i j) (Set.Icc 0 1) s) →
      ∀ (lam : ℝ → ℝ), ContinuousOn lam (Set.Icc 0 1) →
      ∀ (φ : ℝ → EuclideanSpace ℂ ι),
      (∀ s ∈ Set.Icc (0 : ℝ) 1, IsState (φ s) ∧ act (H s) (φ s) = (lam s : ℂ) • φ s) →
      ∀ (g : ℝ → ℝ) (γ0 : ℝ), 0 < γ0 →
      (∀ s ∈ Set.Icc (0 : ℝ) 1, γ0 ≤ g s ∧ HasGapAround (H s) (lam s) (g s)) →
      IntervalIntegrable
        (fun s => specNorm (H' s) ^ 2 / g s ^ 3 + specNorm (H'' s) / g s ^ 2)
        MeasureTheory.volume 0 1 →
      ∀ (δ : ℝ), 0 < δ → ∀ (T : ℝ),
      c / δ * (specNorm (H' 0) / g 0 ^ 2 + specNorm (H' 1) / g 1 ^ 2 +
        ∫ s in (0 : ℝ)..1, (specNorm (H' s) ^ 2 / g s ^ 3 + specNorm (H'' s) / g s ^ 2)) ≤ T →
      ∀ (ψ : ℝ → EuclideanSpace ℂ ι), SolvesAdiabaticPlus H T ψ → ψ 0 = φ 0 →
      ∃ θ : ℝ, ‖Complex.exp ((θ : ℂ) * Complex.I) • ψ 1 - φ 1‖ ≤ δ := by
  sorry



end QAlgorithms.Nannicini
Source
Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025, PDF p. 225, Theorem 9.23. https://arxiv.org/pdf/2408.07086v5
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Statement form. There exists a single real constant ccc, with no sign condition imposed, such that the following holds. The constant is chosen before, and independently of, everything else: the index type, the matrices, δ\deltaδ and TTT.

Notation. As above, ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the spectral norm. "AAA has a gap ggg around λ\lambdaλ" means: AAA is Hermitian, λ\lambdaλ occurs exactly once in the increasingly sorted list of eigenvalues of AAA counted with multiplicity, and every other listed eigenvalue lies at distance at least ggg from λ\lambdaλ.

Hypotheses. For every finite index type ι\iotaι (in a fixed universe, with decidable equality), assume the following.

  • H,H′,H′′:R→Cι×ιH,H',H'':\mathbb{R}\to\mathbb{C}^{\iota\times\iota}H,H′,H′′:R→Cι×ι satisfy: for every s∈[0,1]s\in[0,1]s∈[0,1] and all i,ji,ji,j, H(⋅)ijH(\cdot)_{ij}H(⋅)ij​ has derivative H′(s)ijH'(s)_{ij}H′(s)ij​ within [0,1][0,1][0,1] at sss, and H′(⋅)ijH'(\cdot)_{ij}H′(⋅)ij​ has derivative H′′(s)ijH''(s)_{ij}H′′(s)ij​ within [0,1][0,1][0,1] at sss.
  • λ:R→R\lambda:\mathbb{R}\to\mathbb{R}λ:R→R is continuous on [0,1][0,1][0,1].
  • φ:R→Cι\varphi:\mathbb{R}\to\mathbb{C}^\iotaφ:R→Cι satisfies ∥φ(s)∥=1\|\varphi(s)\|=1∥φ(s)∥=1 and H(s)φ(s)=λ(s)φ(s)H(s)\varphi(s)=\lambda(s)\varphi(s)H(s)φ(s)=λ(s)φ(s) for all s∈[0,1]s\in[0,1]s∈[0,1].
  • g:R→Rg:\mathbb{R}\to\mathbb{R}g:R→R and γ0>0\gamma_0>0γ0​>0 satisfy, for every s∈[0,1]s\in[0,1]s∈[0,1], γ0≤g(s)\gamma_0\le g(s)γ0​≤g(s) and H(s)H(s)H(s) has a gap g(s)g(s)g(s) around λ(s)\lambda(s)λ(s).
  • The function
s↦∥H′(s)∥op2g(s)3+∥H′′(s)∥opg(s)2s\mapsto \frac{\|H'(s)\|_{\mathrm{op}}^2}{g(s)^3}+\frac{\|H''(s)\|_{\mathrm{op}}}{g(s)^2}s↦g(s)3∥H′(s)∥op2​​+g(s)2∥H′′(s)∥op​​

is interval-integrable on [0,1][0,1][0,1] with respect to Lebesgue measure.

  • δ>0\delta>0δ>0, and TTT is a real number with
cδ(∥H′(0)∥opg(0)2+∥H′(1)∥opg(1)2+∫01(∥H′(s)∥op2g(s)3+∥H′′(s)∥opg(s)2)ds)≤T.\frac{c}{\delta}\left(\frac{\|H'(0)\|_{\mathrm{op}}}{g(0)^2}+\frac{\|H'(1)\|_{\mathrm{op}}}{g(1)^2}+\int_0^1\Bigl(\frac{\|H'(s)\|_{\mathrm{op}}^2}{g(s)^3}+\frac{\|H''(s)\|_{\mathrm{op}}}{g(s)^2}\Bigr)ds\right)\le T.δc​(g(0)2∥H′(0)∥op​​+g(1)2∥H′(1)∥op​​+∫01​(g(s)3∥H′(s)∥op2​​+g(s)2∥H′′(s)∥op​​)ds)≤T.
  • ψ:R→Cι\psi:\mathbb{R}\to\mathbb{C}^\iotaψ:R→Cι satisfies ψ′(s)=i T H(s)ψ(s)\psi'(s)=i\,T\,H(s)\psi(s)ψ′(s)=iTH(s)ψ(s) for all s∈[0,1]s\in[0,1]s∈[0,1], with the derivative taken within [0,1][0,1][0,1].
  • ψ(0)=φ(0)\psi(0)=\varphi(0)ψ(0)=φ(0).

Conclusion. There is a real θ\thetaθ with

∥eiθψ(1)−φ(1)∥≤δ.\|e^{i\theta}\psi(1)-\varphi(1)\|\le\delta.∥eiθψ(1)−φ(1)∥≤δ.

Edge cases.

  • Because ccc is only asserted to be some real number, nothing in the statement forbids c≤0c\le 0c≤0. If c≤0c\le 0c≤0, the condition on TTT allows every TTT at least the corresponding non-positive quantity.
  • An empty ι\iotaι makes the hypotheses unsatisfiable, since no unit vector exists.
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 13, 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