Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 12: shifted Gaussian tail, Eq.(D.37), corrected cutoff domain

Open
QAlgorithms.Papers.Independent.Extend50.P22.shifted_gaussian_tail

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let w>0w>0w>0 and let W,xW,xW,x be integers with W>∣x∣W>|x|W>∣x∣. For either sign,

∑y∈Z∣y∣>We−(y±x)2/(2w2)≤2w2W−∣x∣exp⁡ ⁣(−(W−∣x∣)22w2).\sum_{\substack{y\in\mathbb Z\\|y|>W}}e^{-(y\pm x)^2/(2w^2)}\le\frac{2w^2}{W-|x|}\exp\!\left(-\frac{(W-|x|)^2}{2w^2}\right).y∈Z∣y∣>W​∑​e−(y±x)2/(2w2)≤W−∣x∣2w2​exp(−2w2(W−∣x∣)2​).

This uses the proof’s integral cutoff and positive denominator. Source correction: the printed hypothesis W≥0W\ge0W≥0 alone is insufficient; the corrected domain follows (D.38) and the application. Independent moderation is still required.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P22
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Extend50.P22

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P22 (bell)

open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible)

open QAlgorithms.Papers.Independent.Renew46.P45 (symmetricWeight)

/-- PDF p.45, Lemma 12, (D.37). SOURCE CORRECTION: printed W>=0 changed to integral
W>|x|, as required by the proof (D.38); otherwise the denominator can vanish or be negative.
The correction still requires independent moderation. -/
theorem shifted_gaussian_tail (w : ℝ) (hw : 0 < w) (W x : ℤ) (hW : |x| < W) :
    ∀ s : ℤ, (s = 1 ∨ s = -1) →
      (∑' y : ℤ, if W < |y| then
        Real.exp (-(((y : ℝ) + s * x) ^ 2) / (2 * w ^ 2)) else 0) ≤
      2 * w ^ 2 / ((W : ℝ) - |(x : ℝ)|) *
        Real.exp (-(((W : ℝ) - |(x : ℝ)|) ^ 2) / (2 * w ^ 2)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P22

end
Source
Continuous symmetries and approximate quantum error correction, arXiv:1902.07714v1, PDF p. 45, Lemma 12: shifted Gaussian tail, Eq.(D.37), corrected cutoff domain
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every real w>0w>0w>0 and integers W,xW,xW,x satisfying ∣x∣<W|x|<W∣x∣<W, for every integer sss equal to 111 or −1-1−1,

∑y∈Z∣y∣>Wexp⁡ ⁣(−(y+sx)22w2)≤2w2W−∣x∣exp⁡ ⁣(−(W−∣x∣)22w2).\sum_{\substack{y\in\mathbb Z\\ |y|>W}} \exp\!\left(-\frac{(y+sx)^2}{2w^2}\right) \le \frac{2w^2}{W-|x|} \exp\!\left(-\frac{(W-|x|)^2}{2w^2}\right).y∈Z∣y∣>W​∑​exp(−2w2(y+sx)2​)≤W−∣x∣2w2​exp(−2w2(W−∣x∣)2​).

Integer quantities in the real expressions are cast to real numbers. The hypothesis implies W>0W>0W>0 and W−∣x∣>0W-|x|>0W−∣x∣>0; the sum excludes the boundary points with ∣y∣=W|y|=W∣y∣=W, and x=0x=0x=0 is allowed.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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