Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Uniform bounded-shift estimate for the raw sine coefficients

Open
QAlgorithms.Papers.Independent.Extend50.P15.sine_overlap_estimate

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

prove2quantum

Fix an integer cutoff n0≥0n_0\ge0n0​≥0. For integer kkk define the raw coefficients

gk(M)=2M+1sin⁡2 ⁣(π(2k+1)2(M+1)).g_k^{(M)}=\frac2{M+1}\sin^2\!\left(\frac{\pi(2k+1)}{2(M+1)}\right).gk(M)​=M+12​sin2(2(M+1)π(2k+1)​).

There are constants C>0C>0C>0 and M0≥max⁡{1,4n0+1}M_0\ge\max\{1,4n_0+1\}M0​≥max{1,4n0​+1}, chosen before MMM and the shift, such that for all integers M≥M0M\ge M_0M≥M0​ and δ∈Z\delta\in\mathbb Zδ∈Z with ∣δ∣≤n0|\delta|\le n_0∣δ∣≤n0​,

1−∑k=2n0M−2n0gk(M)gk+δ(M)≤12(πδM+1)2+CM3.1-\sum_{k=2n_0}^{M-2n_0}\sqrt{g_k^{(M)}g_{k+\delta}^{(M)}}\le\frac12\left(\frac{\pi\delta}{M+1}\right)^2+\frac C{M^3}.1−k=2n0​∑M−2n0​​gk(M)​gk+δ(M)​​≤21​(M+1πδ​)2+M3C​.

This is the source's bounded-shift O(M−3)O(M^{-3})O(M−3) remainder with explicit quantifier order. It estimates raw coefficients and supplies no normalization or valid Young-diagram grid for Theorem 1.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P15
Formal statement
noncomputable section

open MeasureTheory

open scoped Matrix ComplexConjugate Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P15

open QAlgorithms.Papers.Independent.Information100.P67 (squaredFidelity)

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Information100.P75 (Register)

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- B10 and B.4, PDF pp.22--24: a uniform remainder for the bounded shifts used in
Sdiff. Constants and threshold are chosen before M and delta. The theorem concerns raw
coefficients and does not repair or assume the invalid reference state of Theorem 1. -/
theorem sine_overlap_estimate (n0 : ℕ) :
    ∃ C : ℝ, 0 < C ∧ ∃ M0 : ℕ, max 1 (4 * n0 + 1) ≤ M0 ∧
      ∀ M : ℕ, M0 ≤ M → ∀ delta : ℤ, |delta| ≤ (n0 : ℤ) →
        sineOverlapError n0 M delta ≤
          (1 / 2 : ℝ) * (Real.pi * (delta : ℝ) / ((M : ℝ) + 1)) ^ 2 +
            C / (M : ℝ) ^ 3 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P15

end
Source
Optimal Universal Quantum Error Correction via Bounded Reference Frames, arXiv:2007.09154v2, PDF p. 22, B8,B10; calculation B.4
Read-back

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

For every natural number n0n_0n0​, including n0=0n_0=0n0​=0, there exist a real constant C>0C>0C>0 and a natural number M0≥max⁡(1,4n0+1)M_0\ge\max(1,4n_0+1)M0​≥max(1,4n0​+1) such that, for every natural number M≥M0M\ge M_0M≥M0​ and every integer δ\deltaδ with ∣δ∣≤n0|\delta|\le n_0∣δ∣≤n0​,

1−∑k=2n0M−2n0cM(k)cM(k+δ)≤12(πδM+1)2+CM3,cM(j)=2M+1sin⁡2 ⁣(π(2j+1)2(M+1)).1-\sum_{k=2n_0}^{M-2n_0}\sqrt{c_M(k)c_M(k+\delta)} \le \frac12\left(\frac{\pi\delta}{M+1}\right)^2+\frac{C}{M^3}, \qquad c_M(j)=\frac{2}{M+1} \sin^2\!\left(\frac{\pi(2j+1)}{2(M+1)}\right).1−k=2n0​∑M−2n0​​cM​(k)cM​(k+δ)​≤21​(M+1πδ​)2+M3C​,cM​(j)=M+12​sin2(2(M+1)π(2j+1)​).

The sum runs over natural-number indices, while k+δk+\deltak+δ is interpreted as an integer. The threshold ensures M>0M>0M>0 and that the displayed interval is nonempty. Both CCC and M0M_0M0​ may depend on n0n_0n0​; when n0=0n_0=0n0​=0, the only permitted shift is δ=0\delta=0δ=0.

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