Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9.2, pp. 26–27 — if 2ℓ + 1 < d⊥ then ⟨s^(m,ℓ)⟩ = mr/p + (√(r(p − r))/p) wᵀA^(m,ℓ,d)w

Proved
DQI.Semicircle.lemma_9_2

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

decoded-quantum-interferometryeigenvaluesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1tridiagonal-matrices

Let ppp be prime, m>n≥1m>n\ge1m>n≥1, B∈Fpm×nB\in\mathbb F_p^{m\times n}B∈Fpm×n​, and ∣Fi∣=r|F_i|=r∣Fi​∣=r for all iii with 1≤r≤p−11\le r\le p-11≤r≤p−1. Let ℓ≥0\ell\ge0ℓ≥0 and w=(w0,…,wℓ)∈Rℓ+1\mathbf w=(w_0,\dots,w_\ell)\in\mathbb R^{\ell+1}w=(w0​,…,wℓ​)∈Rℓ+1, and consider the DQI state with amplitudes

aw(x)=∑k=0ℓwkP(k)(g1(b1⋅x),…,gm(bm⋅x))pn−k(mk),a_{\mathbf w}(\mathbf x)=\sum_{k=0}^\ell w_k\frac{P^{(k)}(g_1(\mathbf b_1\cdot\mathbf x),\dots,g_m(\mathbf b_m\cdot\mathbf x))}{\sqrt{p^{n-k}\binom mk}},aw​(x)=k=0∑ℓ​wk​pn−k(km​)​P(k)(g1​(b1​⋅x),…,gm​(bm​⋅x))​,

normalized so that ∑xaw(x)2=1\sum_{\mathbf x}a_{\mathbf w}(\mathbf x)^2=1∑x​aw​(x)2=1. If 2ℓ+1<d⊥2\ell+1<d^\perp2ℓ+1<d⊥, the expected number of satisfied constraints upon measuring this state is

⟨s(m,ℓ)⟩=∑xaw(x)2s(x)=mrp+r(p−r)p wTA(m,ℓ,d)w,d=p−2rr(p−r),\langle s^{(m,\ell)}\rangle=\sum_{\mathbf x}a_{\mathbf w}(\mathbf x)^2s(\mathbf x)=\frac{mr}{p}+\frac{\sqrt{r(p-r)}}{p}\,\mathbf w^{T}A^{(m,\ell,d)}\mathbf w,\qquad d=\frac{p-2r}{\sqrt{r(p-r)}},⟨s(m,ℓ)⟩=x∑​aw​(x)2s(x)=pmr​+pr(p−r)​​wTA(m,ℓ,d)w,d=r(p−r)​p−2r​,

where A(m,ℓ,d)A^{(m,\ell,d)}A(m,ℓ,d) is the tridiagonal matrix with diagonal 0,d,…,ℓd0,d,\dots,\ell d0,d,…,ℓd and off-diagonal ak=k(m−k+1)a_k=\sqrt{k(m-k+1)}ak​=k(m−k+1)​.

This reduces the optimization over polynomials to a Rayleigh quotient of an explicit (ℓ+1)×(ℓ+1)(\ell+1)\times(\ell+1)(ℓ+1)×(ℓ+1) matrix.

Formalization Note The page writes the decomposition as ∑kwkP(k)(f1,…,fm)/pn−k(mk)\sum_kw_kP^{(k)}(f_1,\dots,f_m)/\sqrt{p^{n-k}\binom mk}∑k​wk​P(k)(f1​,…,fm​)/pn−k(km​)​; with this normalization the variables must be the rescaled gig_igi​ of (44)–(46), §8.2.1 (with the fif_ifi​ the formula is false for p>2p>2p>2), and the statement uses the gig_igi​. The polynomial PPP enters only through w\mathbf ww, so the statement quantifies over w\mathbf ww; every such state is ∣P(f)⟩|P(f)\rangle∣P(f)⟩ for a degree-≤ℓ\le\ell≤ℓ polynomial PPP and conversely (Lemma A.1).

Preamble
import Mathlib
import Definitions.Def_DQI_Semicircle_Setting
Formal statement
namespace DQI.Semicircle

/-- Lemma 9.2, pp. 26–27, (69)–(70), with the decomposition in the `g_i` of (44)–(46). -/
theorem lemma_9_2 (p : ℕ) [Fact p.Prime] (m n : ℕ) (B : Matrix (Fin m) (Fin n) (ZMod p))
    (F : Fin m → Finset (ZMod p)) (r : ℕ) (hF : ∀ i, (F i).card = r) (hr : 1 ≤ r) (hrp : r < p)
    (hnm : n < m) (hn : 0 < n) (ℓ : ℕ) (w : Fin (ℓ + 1) → ℝ)
    (hnorm : ∑ x, ampl B F ℓ w x ^ 2 = 1) (hdist : DistGt B (2 * ℓ + 1)) :
    expSat B F (ampl B F ℓ w) =
      (m : ℝ) * r / p + Real.sqrt (r * ((p : ℝ) - r)) / p * (w ⬝ᵥ (Atri m ℓ (dparOf p r)).mulVec w) := by sorry

end DQI.Semicircle
Source
Jordan et al., Optimization by Decoded Quantum Interferometry, arXiv:2408.08292v5, pp. 26–27, Lemma 9.2, (69)–(70)
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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