Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 13: theta-function inequalities, Eqs.(D.41)–(D.42), convergent domain

Open
QAlgorithms.Papers.Independent.Extend50.P22.theta_inequalities

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

prove2quantum

Let 0<q<10<q<10<q<1 and z=ibz=ibz=ib with b≥0b\ge0b≥0. In the source’s nome convention, ϑ3(z,q)=∑k∈Zqk2e2ikz\vartheta_3(z,q)=\sum_{k\in\mathbb Z}q^{k^2}e^{2ikz}ϑ3​(z,q)=∑k∈Z​qk2e2ikz and ϑ2(0,q)=∑k∈Zq(k+1/2)2\vartheta_2(0,q)=\sum_{k\in\mathbb Z}q^{(k+1/2)^2}ϑ2​(0,q)=∑k∈Z​q(k+1/2)2. These convergent real-valued series satisfy

ϑ3(ib,q)≥ϑ3(0,q),ϑ2(0,q)≥q1/4ϑ3(0,q).\vartheta_3(ib,q)\ge\vartheta_3(0,q),\qquad \vartheta_2(0,q)\ge q^{1/4}\vartheta_3(0,q).ϑ3​(ib,q)≥ϑ3​(0,q),ϑ2​(0,q)≥q1/4ϑ3​(0,q).

These inequalities supply the odd-shift overlap estimate. Source correction: the printed endpoint q=1q=1q=1 is excluded because the series diverge; 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 pp.46–47, Lemma 13. SOURCE CORRECTION: printed q<=1 changed to q<1;
q=1 gives divergent series. b>=0 parametrizes exactly Re(z)=0, Im(z)>=0.
The correction still requires independent moderation. -/
theorem theta_inequalities (q b : ℝ) (hq : 0 < q) (hq1 : q < 1) (hb : 0 ≤ b) :
    theta3Imaginary 0 q ≤ theta3Imaginary b q ∧
    Real.rpow q (1 / 4) * theta3Imaginary 0 q ≤ theta2Zero q := by sorry

end QAlgorithms.Papers.Independent.Extend50.P22

end
Source
Continuous symmetries and approximate quantum error correction, arXiv:1902.07714v1, PDF p. 46, Lemma 13: theta-function inequalities, Eqs.(D.41)–(D.42), convergent domain
Read-back

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

For every pair of real numbers q,bq,bq,b satisfying 0<q<10<q<10<q<1 and 0≤b0\le b0≤b, both inequalities

∑k∈Zek2log⁡q≤∑k∈Zek2log⁡q−2kb,q1/4∑k∈Zek2log⁡q≤∑k∈Ze(k+1/2)2log⁡q\sum_{k\in\mathbb Z}e^{k^2\log q} \le \sum_{k\in\mathbb Z}e^{k^2\log q-2kb}, \qquad q^{1/4}\sum_{k\in\mathbb Z}e^{k^2\log q} \le \sum_{k\in\mathbb Z}e^{(k+1/2)^2\log q}k∈Z∑​ek2logq≤k∈Z∑​ek2logq−2kb,q1/4k∈Z∑​ek2logq≤k∈Z∑​e(k+1/2)2logq

hold, where q1/4q^{1/4}q1/4 is the real power. The hypothesis includes b=0b=0b=0, so the first inequality then compares the same sum with itself.

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