Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§V (40)–(43): exact correctable embedded-error factorization

Open
QAlgorithms.Papers.Independent.Intakenext100.P12.embedded_error_factorization

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

prove2quantum

Let n≥1n\ge1n≥1, α>0\alpha>0α>0, and C={(u,v):∣u∣<α/2, ∣v∣<π/(nα)}C=\{(u,v):|u|<\alpha/2,\ |v|<\pi/(n\alpha)\}C={(u,v):∣u∣<α/2, ∣v∣<π/(nα)}. For c∈Cnc\in\mathbb C^nc∈Cn and an L2L^2L2 error function η\etaη supported almost everywhere in CCC, define the physical wavefunction by (40), using the explicitly fixed factor nα/(2π)\sqrt{n\alpha/(2\pi)}nα/(2π)​ in the comb integral. This wavefunction is in L2(R)L^2(\mathbb R)L2(R), and an isometric realization of the logical/syndrome tensor space exists. For any two such pairs,

⟨ψ1,ψ2⟩=(∑jc1j‾c2j)∫Cη1(u,v)‾η2(u,v) du dv.\langle\psi_1,\psi_2\rangle=\left(\sum_j\overline{c_{1j}}c_{2j}\right)\int_C\overline{\eta_1(u,v)}\eta_2(u,v)\,du\,dv.⟨ψ1​,ψ2​⟩=(j∑​c1j​​c2j​)∫C​η1​(u,v)​η2​(u,v)dudv.

In particular unit logical and error vectors produce a unit physical vector, and separating the syndrome preserves the logical factor. The logical inner product is the ordinary finite one, not a norm on an ideal delta comb.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P12
Formal statement
noncomputable section

open scoped BigOperators

open MeasureTheory Matrix ComplexConjugate

open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)

namespace QAlgorithms.Papers.Independent.Intakenext100.P12

/-- Section V (40)–(43), PDF p.7: the constructed physical realization preserves the
logical/error tensor inner product. Isometry and nonzero realization are conclusions. -/
theorem embedded_error_factorization (n : ℕ) (hn : 0 < n) (alpha : ℝ) (ha : 0 < alpha) :
    HasExactRealization n alpha ∧
    (∀ (c : Fin n → ℂ) (eta : (ℝ × ℝ) → ℂ), SupportedError n alpha eta →
      MemLp (embeddedWave n alpha c eta) 2 volume) ∧
    (∀ (c1 c2 : Fin n → ℂ) (eta1 eta2 : (ℝ × ℝ) → ℂ),
      SupportedError n alpha eta1 → SupportedError n alpha eta2 →
      (∫ q : ℝ, conj (embeddedWave n alpha c1 eta1 q) * embeddedWave n alpha c2 eta2 q) =
        finiteInner c1 c2 * ∫ uv : ℝ × ℝ, conj (eta1 uv) * eta2 uv) ∧
    (∀ (c : Fin n → ℂ) (eta : (ℝ × ℝ) → ℂ),
      SupportedError n alpha eta → finiteInner c c = 1 →
      (∫ uv : ℝ × ℝ, ‖eta uv‖ ^ 2) = 1 →
      (∫ q : ℝ, ‖embeddedWave n alpha c eta q‖ ^ 2) = 1) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P12

end
Source
Encoding a qubit in an oscillator, arXiv:quant-ph/0008040v3, PDF p. 7, §V (40)–(43): exact correctable embedded-error factorization
Read-back

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

For every positive natural number nnn and real α>0\alpha>0α>0, let E={(u,v)∈R2:∣u∣<α/2, ∣v∣<π/(nα)}\mathcal E=\{(u,v)\in\mathbb R^2:|u|<\alpha/2,\ |v|<\pi/(n\alpha)\}E={(u,v)∈R2:∣u∣<α/2, ∣v∣<π/(nα)}, put aj,k=α(j+nk)a_{j,k}=\alpha(j+nk)aj,k​=α(j+nk), and define W(c,η)(q)=nα/(2π)∑j=0n−1cj∑k∈Z∫Rη(q−aj,k,v)eiv(q+aj,k)/2 dvW(c,\eta)(q)=\sqrt{n\alpha/(2\pi)}\sum_{j=0}^{n-1}c_j\sum_{k\in\mathbb Z}\int_{\mathbb R}\eta(q-a_{j,k},v)e^{iv(q+a_{j,k})/2}\,dvW(c,η)(q)=nα/(2π)​∑j=0n−1​cj​∑k∈Z​∫R​η(q−aj,k​,v)eiv(q+aj,k​)/2dv. Here ccc is any complex coefficient vector of length nnn, and a supported error function η:R2→C\eta:\mathbb R^2\to\mathbb Cη:R2→C means a measurable-up-to-almost-everywhere-equality, square-integrable function that is zero almost everywhere outside E\mathcal EE. The assertion is that there exists a complex-linear isometry UUU from the ℓ2\ell^2ℓ2 sum of nnn copies of L2(E)L^2(\mathcal E)L2(E) into L2(R)L^2(\mathbb R)L2(R) such that, for every ccc and every η∈L2(E)\eta\in L^2(\mathcal E)η∈L2(E), U((cjη)j)(q)=W(c,η~)(q)U((c_j\eta)_j)(q)=W(c,\widetilde\eta)(q)U((cj​η)j​)(q)=W(c,η​)(q) for almost every qqq, where η~\widetilde\etaη​ extends a representative by zero outside E\mathcal EE; that W(c,η)W(c,\eta)W(c,η) is measurable up to almost-everywhere equality and square-integrable for every ccc and every supported error function η\etaη; that for all coefficient vectors c1,c2c_1,c_2c1​,c2​ and supported error functions η1,η2\eta_1,\eta_2η1​,η2​, ∫RW(c1,η1)(q)‾W(c2,η2)(q) dq=(∑j=0n−1(c1)j‾(c2)j)∫R2η1(u,v)‾η2(u,v) d(u,v)\int_{\mathbb R}\overline{W(c_1,\eta_1)(q)}W(c_2,\eta_2)(q)\,dq =(\sum_{j=0}^{n-1}\overline{(c_1)_j}(c_2)_j)\int_{\mathbb R^2}\overline{\eta_1(u,v)}\eta_2(u,v)\,d(u,v)∫R​W(c1​,η1​)(q)​W(c2​,η2​)(q)dq=(∑j=0n−1​(c1​)j​​(c2​)j​)∫R2​η1​(u,v)​η2​(u,v)d(u,v); and that whenever η\etaη is supported as specified, ∑j=0n−1cj‾cj=1\sum_{j=0}^{n-1}\overline{c_j}c_j=1∑j=0n−1​cj​​cj​=1, and ∫R2∣η(u,v)∣2 d(u,v)=1\int_{\mathbb R^2}|\eta(u,v)|^2\,d(u,v)=1∫R2​∣η(u,v)∣2d(u,v)=1, one has ∫R∣W(c,η)(q)∣2 dq=1\int_{\mathbb R}|W(c,\eta)(q)|^2\,dq=1∫R​∣W(c,η)(q)∣2dq=1. The first three assertions allow zero coefficient vectors and zero error functions.

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

    Confirmed by the moderator at approval.

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