Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (7) — three independent displacement channels expand into eight error patterns

Proved
LoockCVQEC.RepCode.eq_7

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

displacementp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1quantum-error-correctionstochastic-channel

Let WWW be any three-mode Wigner function, 0≤γ≤10\le\gamma\le10≤γ≤1 an error probability and xˉ2\bar x_2xˉ2​ the displacement size (the identity holds for all real γ,xˉ2\gamma,\bar x_2γ,xˉ2​). Applying the channel "displace by xˉ2\bar x_2xˉ2​ in xxx with probability γ\gammaγ" independently to each of the three modes gives

W′(x,p)=(1−γ)3W(x,p)+γ(1−γ)2[W(x−xˉ2e1,p)+W(x−xˉ2e2,p)+W(x−xˉ2e3,p)]+γ2(1−γ)[W(x−xˉ2(e1+e2),p)+W(x−xˉ2(e1+e3),p)+W(x−xˉ2(e2+e3),p)]+γ3W(x−xˉ2(e1+e2+e3),p).\begin{aligned}W'(x,p)={}&(1-\gamma)^3W(x,p)\\&+\gamma(1-\gamma)^2\big[W(x-\bar x_2e_1,p)+W(x-\bar x_2e_2,p)+W(x-\bar x_2e_3,p)\big]\\&+\gamma^2(1-\gamma)\big[W(x-\bar x_2(e_1+e_2),p)+W(x-\bar x_2(e_1+e_3),p)+W(x-\bar x_2(e_2+e_3),p)\big]\\&+\gamma^3W(x-\bar x_2(e_1+e_2+e_3),p).\end{aligned}W′(x,p)=​(1−γ)3W(x,p)+γ(1−γ)2[W(x−xˉ2​e1​,p)+W(x−xˉ2​e2​,p)+W(x−xˉ2​e3​,p)]+γ2(1−γ)[W(x−xˉ2​(e1​+e2​),p)+W(x−xˉ2​(e1​+e3​),p)+W(x−xˉ2​(e2​+e3​),p)]+γ3W(x−xˉ2​(e1​+e2​+e3​),p).​

The paper states this for the encoded state W=WencW=W_{\mathrm{enc}}W=Wenc​; the expansion holds for every WWW. Each term corresponds to one subset of erring channels, weighted by its probability.

Formalization Note The left-hand side is the composition of the three single-mode channels as defined; the shift vectors are written as ![d, 0, 0] and so on, Lean index 000 being the paper's mode 1.

Differences from the source:

  • generalization: stated for the encoded state W_enc → stated for every three-mode function W and all real γ, x̄₂; reason: the expansion is algebraic in W; W = W_enc gives the page's Eq. (7)
  • encoding: modes and channels numbered 1, 2, 3 → Fin 3, Lean index j − 1 for the paper's mode j; reason: Lean convention; same instances
Preamble
import Mathlib
import Definitions.Def_LoockCVQEC_RepCode_Protocol
Formal statement
namespace LoockCVQEC.RepCode

theorem eq_7 (γ d : ℝ) (W : (Fin 3 → ℝ) → (Fin 3 → ℝ) → ℝ) (x p : Fin 3 → ℝ) :
    noisy γ d W x p =
      (1 - γ) ^ 3 * W x p
      + γ * (1 - γ) ^ 2 * W (x - ![d, 0, 0]) p
      + γ * (1 - γ) ^ 2 * W (x - ![0, d, 0]) p
      + γ * (1 - γ) ^ 2 * W (x - ![0, 0, d]) p
      + γ ^ 2 * (1 - γ) * W (x - ![d, d, 0]) p
      + γ ^ 2 * (1 - γ) * W (x - ![d, 0, d]) p
      + γ ^ 2 * (1 - γ) * W (x - ![0, d, d]) p
      + γ ^ 3 * W (x - ![d, d, d]) p := by sorry

end LoockCVQEC.RepCode
Source
van Loock, A note on quantum error correction with continuous variables, arXiv:0811.3616v1, p. 2, Eq. (7)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me