Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Display (1), §3.2, p. 16 — χ²(π_{i+1}, π_i) = Z(β_i)Z(2β_{i+1} − β_i)/Z(β_{i+1})² − 1

Proved
QuantumMC.Cooling.chiSq_gibbs_eq

by mikedeng1 · Oct 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

chi-squaredgibbs-distributionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1partition-function

Let Ω\OmegaΩ be finite, H:Ω→NH:\Omega\to\mathbb NH:Ω→N a Hamiltonian with at least one configuration of energy 000, and 0=β0<β1<⋯<βℓ=∞0=\beta_0<\beta_1<\dots<\beta_\ell=\infty0=β0​<β1​<⋯<βℓ​=∞ a cooling schedule, with Gibbs distributions πi(x)=e−βiH(x)/Z(βi)\pi_i(x)=e^{-\beta_iH(x)}/Z(\beta_i)πi​(x)=e−βi​H(x)/Z(βi​). Then for every i∈{0,…,ℓ−1}i\in\{0,\dots,\ell-1\}i∈{0,…,ℓ−1},

χ2(πi+1,πi)=Z(βi) Z(2βi+1−βi)Z(βi+1)2−1.\chi^2(\pi_{i+1},\pi_i)=\frac{Z(\beta_i)\,Z(2\beta_{i+1}-\beta_i)}{Z(\beta_{i+1})^2}-1.χ2(πi+1​,πi​)=Z(βi+1​)2Z(βi​)Z(2βi+1​−βi​)​−1.

The identity includes the last step i=ℓ−1i=\ell-1i=ℓ−1, where βi+1=∞\beta_{i+1}=\inftyβi+1​=∞ and 2βi+1−βi=∞2\beta_{i+1}-\beta_i=\infty2βi+1​−βi​=∞. It shows that the Chebyshev cooling condition of Definition 1 is exactly a bound on χ2(πi+1,πi)+1\chi^2(\pi_{i+1},\pi_i)+1χ2(πi+1​,πi​)+1.

Formalization Note The hypothesis that some xxx has H(x)=0H(x)=0H(x)=0 makes Z(∞)>0Z(\infty)>0Z(∞)>0, without which πℓ\pi_\ellπℓ​ is undefined; it is added and disclosed. The bound H≤nH\le nH≤n of the paper's model is not needed for this identity and is omitted.

Preamble
import Mathlib
import Definitions.Def_QuantumMC_Cooling_Setting

open scoped ENNReal InnerProductSpace
Formal statement
namespace QuantumMC.Cooling

/-- §3.2, display (1), p. 16: along a cooling schedule `0 = β_0 < ⋯ < β_ℓ = ∞`, for every
`i < ℓ` (including `β_{i+1} = ∞`),
`χ²(π_{i+1}, π_i) = Z(β_i) Z(2β_{i+1} - β_i) / Z(β_{i+1})² - 1`. -/
theorem chiSq_gibbs_eq {Ω : Type*} [Fintype Ω] (H : Ω → ℕ) (hZ : ∃ x, H x = 0)
    (β : ℕ → ℝ≥0∞) (ℓ : ℕ) (hβ : IsCoolingSchedule β ℓ) (i : ℕ) (hi : i < ℓ) :
    chiSq (gibbs H (β (i + 1))) (gibbs H (β i)) =
      Z H (β i) * Z H (2 * β (i + 1) - β i) / Z H (β (i + 1)) ^ 2 - 1 := by sorry

end QuantumMC.Cooling
Source
Montanaro, Quantum speedup of Monte Carlo methods, arXiv:1504.06987v3, §3.2, display (1), p. 16
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me