Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Homodyne conditioning of an EPR pair realizes squeezed preparation

Open
QAlgorithms.Papers.Independent.Intake100.P05.eprPreparation

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

prove2quantum

Let V≥1V\ge1V≥1 be finite, in vacuum-III units, and set c=V2−1c=\sqrt{V^2-1}c=V2−1​. Start with the normalized two-mode squeezed EPR state of local quadrature variance VVV, with positive qAqBq_Aq_BqA​qB​ correlation ccc and negative pApBp_Ap_BpA​pB​ correlation −c-c−c. Alice homodynes qAq_AqA​ when r=0r=0r=0 and pAp_ApA​ when r=1r=1r=1. Her outcome xxx has the centered normal density of variance VVV, strictly positive for every real xxx. The actual normalized posterior on BBB is

ρB∣r,x=ρr,ar(x),a0(x)=cxV,a1(x)=−cxV,(ar)∗GV=GV−1/V.\rho_{B\mid r,x}=\rho_{r,a_r(x)},\qquad a_0(x)=\frac{cx}{V},\quad a_1(x)=-\frac{cx}{V},\qquad (a_r)_*G_V=G_{V-1/V}.ρB∣r,x​=ρr,ar​(x)​,a0​(x)=Vcx​,a1​(x)=−Vcx​,(ar​)∗​GV​=GV−1/V​.

Here ρr,a\rho_{r,a}ρr,a​ is the pure squeezed preparation in the preceding protocol; in the selected basis its covariance is diag⁡(1/V,V)\operatorname{diag}(1/V,V)diag(1/V,V). The source and posterior are positive trace-one densities. At V=1V=1V=1 the induced displacement law is Dirac. This supplies an actual preparation construction, with the momentum sign fixed by the EPR anticorrelation.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P05
Formal statement
noncomputable section

open MeasureTheory ProbabilityTheory

open scoped BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intake100.P05

open QAlgorithms.Papers.Independent.Dependency50.P30 (thermalEntropyBits)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- arXiv:0806.3954v2, PDF p.3, Fig.3: actual EPR preparation followed
by either quadrature homodyne produces the squeezed preparation of p.2.
Normalization is concluded. At V=1, the induced displacement law is Dirac. -/
theorem eprPreparation (V : ℝ) (hV : 1 ≤ V) :
    Integrable (fun x : ℝ × ℝ => Complex.normSq (eprWave V x)) volume ∧
    (∫ x : ℝ × ℝ, Complex.normSq (eprWave V x)) = 1 ∧
    IsContinuousDensityKernel volume (eprKernel V) ∧
    (∀ (r : Bool) (x : ℝ),
      Integrable (fun q => Complex.normSq (measuredEprWave V r x q)) volume ∧
      0 < eprBornDensity V r x ∧
      eprBornDensity V r x = normalPDF V x ∧
      eprPosteriorKernel V r x = preparedKernel V r (eprDisplacement V r x) ∧
      IsContinuousDensityKernel volume (eprPosteriorKernel V r x)) ∧
    (∀ r : Bool, Measure.map (eprDisplacement V r) (normalLaw V) =
      normalLaw (V - 1 / V)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P05

end
Source
Continuous-variable quantum key distribution protocols over noisy channels, arXiv:0806.3954v2, PDF p. 3, Fig.3
Read-back

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

For every real V≥1V\ge1V≥1, define

EV(s,q)=12πexp⁡ ⁣(−V(s2+q2)−2V2−1 sq4),KV(x,y)=EV(x)EV(y)‾E_V(s,q)=\frac{1}{\sqrt{2\pi}} \exp\!\left(-\frac{V(s^2+q^2)-2\sqrt{V^2-1}\,sq}{4}\right), \qquad K_V(x,y)=E_V(x)\overline{E_V(y)}EV​(s,q)=2π​1​exp(−4V(s2+q2)−2V2−1​sq​),KV​(x,y)=EV​(x)EV​(y)​

for x,y∈R2x,y\in\mathbb R^2x,y∈R2, and define

Fr(x,q)={EV(x,q),r=false,14π∫Re−ixs/2EV(s,q) ds,r=true,F_r(x,q)= \begin{cases} E_V(x,q),&r=\mathrm{false},\\ \displaystyle\frac{1}{\sqrt{4\pi}}\int_{\mathbb R}e^{-ixs/2}E_V(s,q)\,ds, &r=\mathrm{true}, \end{cases}Fr​(x,q)=⎩⎨⎧​EV​(x,q),4π​1​∫R​e−ixs/2EV​(s,q)ds,​r=false,r=true,​ br(x)=∫R∣Fr(x,q)∣2 dq,Pr,x(q,t)=Fr(x,q)Fr(x,t)‾br(x),dr(x)={V2−1 x/V,r=false,−V2−1 x/V,r=true.b_r(x)=\int_{\mathbb R}|F_r(x,q)|^2\,dq,\qquad P_{r,x}(q,t)=\frac{F_r(x,q)\overline{F_r(x,t)}}{b_r(x)}, \qquad d_r(x)= \begin{cases} \sqrt{V^2-1}\,x/V,&r=\mathrm{false},\\ -\sqrt{V^2-1}\,x/V,&r=\mathrm{true}. \end{cases}br​(x)=∫R​∣Fr​(x,q)∣2dq,Pr,x​(q,t)=br​(x)Fr​(x,q)Fr​(x,t)​​,dr​(x)={V2−1​x/V,−V2−1​x/V,​r=false,r=true.​

The theorem asserts that ∣EV∣2|E_V|^2∣EV​∣2 is Lebesgue integrable on R2\mathbb R^2R2 with integral 111, and that KVK_VKV​ is a continuous density kernel on R2\mathbb R^2R2. For every Boolean rrr and every real xxx, it further asserts that ∣Fr(x,⋅)∣2|F_r(x,\cdot)|^2∣Fr​(x,⋅)∣2 is integrable,

0<br(x)=e−x2/(2V)2πV,Pr,x(q,t)=wr,dr(x)(q)wr,dr(x)(t)‾,0<b_r(x)=\frac{e^{-x^2/(2V)}}{\sqrt{2\pi V}}, \qquad P_{r,x}(q,t)=w_{r,d_r(x)}(q)\overline{w_{r,d_r(x)}(t)},0<br​(x)=2πV​e−x2/(2V)​,Pr,x​(q,t)=wr,dr​(x)​(q)wr,dr​(x)​(t)​,

and Pr,xP_{r,x}Pr,x​ is a continuous density kernel on R\mathbb RR, where

wfalse,a(q)=e−(q−a)2/(4/V)2π/V,wtrue,a(q)=e−q2/(4V)+iaq/22πV.w_{\mathrm{false},a}(q)= \frac{e^{-(q-a)^2/(4/V)}}{\sqrt{\sqrt{2\pi/V}}}, \qquad w_{\mathrm{true},a}(q)= \frac{e^{-q^2/(4V)+iaq/2}}{\sqrt{\sqrt{2\pi V}}}.wfalse,a​(q)=2π/V​​e−(q−a)2/(4/V)​,wtrue,a​(q)=2πV​​e−q2/(4V)+iaq/2​.

Finally, for each rrr, pushing the centered Gaussian measure of variance VVV forward by drd_rdr​ gives the centered Gaussian measure of variance V−1/VV-1/VV−1/V. A continuous density kernel on either space means a jointly continuous Hermitian kernel whose finite quadratic sums are real and nonnegative, and whose real diagonal is Lebesgue integrable with integral 111; the finite quadratic condition quantifies over every finite subset and every complex coefficient function. The case V=1V=1V=1, where dr=0d_r=0dr​=0 and the last Gaussian measure is a point mass, is included.

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

    Confirmed by the moderator at approval.

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