Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Vacuum monitoring penalty for the specified displacement attack

Open
QAlgorithms.Papers.Independent.Advance50.P33.vacuum_monitor_displacement

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

prove2quantum

Let A∈C∖{0}A\in\mathbb C\setminus\{0\}A∈C∖{0}, b∈{0,1}b\in\{0,1\}b∈{0,1}, and d∈Rd\in\mathbb Rd∈R. Under the ideal interferometer and the specified proof displacement, the normalized output is

∣Ψ⟩=D(−id/2)∣cb(A)⟩⊗∣id/2⟩.|\Psi\rangle=D(-id/\sqrt2)|c_b(A)\rangle\otimes|id/\sqrt2\rangle.∣Ψ⟩=D(−id/2​)∣cb​(A)⟩⊗∣id/2​⟩.

Let Cdisp(A,b,d)C_{\rm disp}(A,b,d)Cdisp​(A,b,d) be one half of the probability that the first output has the parity of bit 1−b1-b1−b. If Bob additionally requires vacuum in the second output, then

PNoP=e−d2/2,12Pr⁡(opposite parity and second-output vacuum)=Cdisp(A,b,d)e−d2/2.P_{\rm NoP}=e^{-d^2/2},\qquad \frac12\Pr(\text{opposite parity and second-output vacuum}) =C_{\rm disp}(A,b,d)e^{-d^2/2}.PNoP​=e−d2/2,21​Pr(opposite parity and second-output vacuum)=Cdisp​(A,b,d)e−d2/2.

The factorization follows from these product outputs. This is a strategy-specific penalty; the optimal Gaussian attack for the modified verifier is explicitly left open in the source.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P33
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P33

open Filter

open scoped BigOperators Topology

open QAlgorithms.Papers.Independent.Dependency50.P39
  (Fock FockOperator BipartiteFock fockKet bipartiteKet coherentKet
   coherentCoefficient CoherentRealized displacement displacementMatrix
   DisplacementRealized HasFockMatrix operatorOfMatrix IsDensity IsTraceClass
   nuclearTraceNorm fockTrace)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.6: vacuum-monitoring penalty for this specified independent-output
displacement attack. The product is a HALF-success, not a global optimum for
the modified protocol; the paper explicitly leaves that optimum open. -/
theorem vacuum_monitor_displacement (A : ℂ) (hA : A ≠ 0) (b : Bool) (d : ℝ) :
    CoherentRealized ∧ DisplacementRealized ∧
    ‖displacedOutput A b d‖ = 1 ∧
    vacuumProbability (displacedOutput A b d) = Real.exp (-d ^ 2 / 2) ∧
    vacuumJointProbability b (displacedOutput A b d) / 2 =
      displacementControl A b d * Real.exp (-d ^ 2 / 2) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P33

end
Source
Quantum bit commitment under Gaussian constraints, arXiv:1105.2140v2, PDF p. 6, III.C: vacuum monitoring penalty for the specified displacement strategy
Read-back

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

For every nonzero complex AAA, every Boolean bbb, and every real ddd, let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), H2=ℓ2(N2;C)H_2=\ell^2(\mathbb N^2;\mathbb C)H2​=ℓ2(N2;C), and T(u,v)=∑m,n≥0umvne(m,n)T(u,v)=\sum_{m,n\ge0}u_mv_ne_{(m,n)}T(u,v)=∑m,n≥0​um​vn​e(m,n)​. The theorem asserts that the selected coherent vectors cαc_\alphacα​, selected as zero if no representing vector exists, have coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​ and norm one for every complex α\alphaα. Let DzD_zDz​ be a selected bounded complex-linear operator with matrix

(Dzen)m=e−∣z∣2/2m!n!∑j=0min⁡(m,n)zm−j(−z‾)n−jj!(m−j)!(n−j)!,(D_ze_n)_m= e^{-|z|^2/2}\sqrt{m!n!} \sum_{j=0}^{\min(m,n)} \frac{z^{m-j}(-\overline z)^{n-j}} {j!(m-j)!(n-j)!},(Dz​en​)m​=e−∣z∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!zm−j(−z)n−j​,

or zero if none exists. The theorem asserts these entries for every z,m,nz,m,nz,m,n, that Dz∗Dz=DzDz∗=ID_z^*D_z=D_zD_z^*=IDz∗​Dz​=Dz​Dz∗​=I, and that for every trace-class XXX, DzXD_zXDz​X is trace class and its diagonal series is summable. Here trace class means admitting an operator-norm convergent expansion ∑r[x↦⟨vr,x⟩ur]\sum_r[x\mapsto\langle v_r,x\rangle u_r]∑r​[x↦⟨vr​,x⟩ur​] with ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ summable. Put sb=1s_b=1sb​=1 for true and −1-1−1 for false, and set

fA,b=cA+sbc−A2(1+sbe−2∣A∣2),g=D−id/2fA,b,W=T(g,cid/2).f_{A,b}=\frac{c_A+s_bc_{-A}}{\sqrt{2(1+s_be^{-2|A|^2})}}, \quad g=D_{-id/\sqrt2}f_{A,b}, \quad W=T(g,c_{id/\sqrt2}).fA,b​=2(1+sb​e−2∣A∣2)​cA​+sb​c−A​​,g=D−id/2​​fA,b​,W=T(g,cid/2​​).

Let Pb(n)P_b(n)Pb​(n) mean that nnn is odd if bbb is true and even if bbb is false. It asserts

∥W∥=1,∑n≥0∣Wn,0∣2=e−d2/2,\|W\|=1,\qquad \sum_{n\ge0}|W_{n,0}|^2=e^{-d^2/2},∥W∥=1,n≥0∑​∣Wn,0​∣2=e−d2/2,

and

12∑n≥0Pb(n)∣Wn,0∣2=(12∑n≥0Pb(n)∣gn∣2)e−d2/2.\frac12\sum_{\substack{n\ge0\\P_b(n)}}|W_{n,0}|^2 = \left(\frac12\sum_{\substack{n\ge0\\P_b(n)}}|g_n|^2\right)e^{-d^2/2}.21​n≥0Pb​(n)​∑​∣Wn,0​∣2=​21​n≥0Pb​(n)​∑​∣gn​∣2​e−d2/2.

The parenthesized quantity is the defined displacement control. The statements hold for every real ddd, including zero.

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