Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§§IV–V, (18)–(21): constructed conditional pure states and DR/RR ensembles

Open
QAlgorithms.Papers.Independent.Intake100.P53.eve_ensembles

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

prove2quantum

Let κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0 be finite real parameters. Alice modulates normalized oscillator coherent states with density exp⁡(−∣α∣2/(2κ))/(2πκ)\exp(-|\alpha|^2/(2\kappa))/(2\pi\kappa)exp(−∣α∣2/(2κ))/(2πκ) relative to planar Lebesgue measure. Bob's tomographically verified output is D(ηα)τδ/2D(ηα)†D(\sqrt\eta\alpha)\tau_{\delta/2}D(\sqrt\eta\alpha)^\daggerD(η​α)τδ/2​D(η​α)†, where τn\tau_nτn​ is the thermal state of mean photon number nnn, and he uses ideal heterodyne detection. Bits are the signs of the real parts, with bit zero for a nonnegative real part. Public announcements are a=(u,y)=(∣ℜα∣,ℑα)a=(u,y)=(|\Re\alpha|,\Im\alpha)a=(u,y)=(∣ℜα∣,ℑα) and b=(w,z)=(∣ℜβ∣,ℑβ)b=(w,z)=(|\Re\beta|,\Im\beta)b=(w,z)=(∣ℜβ∣,ℑβ). Zero-real-part events have probability zero. All formulas below concern the source's collective-attack, infinite-key setting with completed tomography; they assert no finite-sample or coherent-attack security.

Fix one pure isometric collective interaction VVV before choosing α\alphaα. Construct the coherent-bra branch from its full oscillator coefficients. Its coefficient sums converge, its squared norm is πp(β∣α)>0\pi p(\beta\mid\alpha)>0πp(β∣α)>0, and its normalized vector ϵα,β\epsilon^{\alpha,\beta}ϵα,β has norm one. For fixed announcements let DijD_{ij}Dij​ be the projector on that vector at αi=(−1)iu+iy\alpha_i=(-1)^i u+\mathrm{i}yαi​=(−1)iu+iy, βj=(−1)jw+iz\beta_j=(-1)^j w+\mathrm{i}zβj​=(−1)jw+iz. Let ϵa,b\epsilon^{a,b}ϵa,b and its Alice-bit and Bob-bit conditional states be computed using the actual density disintegration, rather than chosen freely. Then all these operators are normalized positive trace-class densities and

ϵa,b=12[(1−e)(D00+D11)+e(D01+D10)]=12(ϵ0+ϵ1)=12(ϵ++ϵ−),\epsilon^{a,b}=\tfrac12[(1-e)(D_{00}+D_{11})+e(D_{01}+D_{10})]=\tfrac12(\epsilon_0+\epsilon_1)=\tfrac12(\epsilon_++\epsilon_-),ϵa,b=21​[(1−e)(D00​+D11​)+e(D01​+D10​)]=21​(ϵ0​+ϵ1​)=21​(ϵ+​+ϵ−​), ϵi=(1−e)Dii+eDi,1−i,ϵj (Bob)=(1−e)Djj+eD1−j,j.\epsilon_i=(1-e)D_{ii}+eD_{i,1-i},\qquad\epsilon_{j\,{\rm(Bob)}}=(1-e)D_{jj}+eD_{1-j,j}.ϵi​=(1−e)Dii​+eDi,1−i​,ϵj(Bob)​=(1−e)Djj​+eD1−j,j​.

These are exactly (18)–(21), with every imaginary announcement still in Eve's conditioning. The displayed finite mixtures also exhibit their finite supports; no Gaussian overlap formula is assumed.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P53
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P53

open MeasureTheory

open QAlgorithms.Papers.Independent.Dependency50.P39

open scoped ComplexConjugate Matrix

attribute [local instance] Classical.propDecidable

/-- PDF pp.3,5--6, (18)--(21): the projected physical vector is normalized,
and density conditioning gives all displayed Eve mixtures and DR/RR ensembles.
The vectors are computed from the fixed isometry, never chosen from Gram data. -/
theorem eve_ensembles (P : CoherentHeterodyneParameters) (V : GaussianAttack P) :
    (∀ alpha beta : ℂ,
      (∀ k, Summable (fun n : ℕ => conj (coherentKet beta n) *
        V.interaction (coherentKet alpha) (n, k))) ∧
      (∀ k, eveBranch V alpha beta k = branchCoefficient V alpha beta k) ∧
      ‖eveBranch V alpha beta‖ ^ 2 = Real.pi * heterodyneDensity P alpha beta ∧
      0 < ‖eveBranch V alpha beta‖ ∧ ‖eveVector V alpha beta‖ = 1) ∧
    ∀ a b : ℝ × ℝ, 0 ≤ a.1 → 0 ≤ b.1 →
      let e := bitError P a b
      IsDensity (physicalMixture V a b) ∧
      (∀ i, IsDensity (physicalDR V a b i) ∧ IsDensity (physicalRR V a b i)) ∧
      physicalMixture V a b = ((1 / 2 : ℝ) : ℂ) •
        (((1 - e : ℝ) : ℂ) • (physicalDyad V a b false false + physicalDyad V a b true true) +
          (e : ℂ) • (physicalDyad V a b false true + physicalDyad V a b true false)) ∧
      physicalMixture V a b = ((1 / 2 : ℝ) : ℂ) •
        (physicalDR V a b false + physicalDR V a b true) ∧
      physicalMixture V a b = ((1 / 2 : ℝ) : ℂ) •
        (physicalRR V a b false + physicalRR V a b true) ∧
      (∀ i, physicalDR V a b i = ((1 - e : ℝ) : ℂ) • physicalDyad V a b i i +
        (e : ℂ) • physicalDyad V a b i (!i)) ∧
      (∀ j, physicalRR V a b j = ((1 - e : ℝ) : ℂ) • physicalDyad V a b j j +
        (e : ℂ) • physicalDyad V a b (!j) j) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P53

end
Source
Security of coherent state quantum cryptography in the presence of Gaussian noise, arXiv:quant-ph/0608015v4, PDF p. 5, §§IV–V, (18)–(21): constructed conditional pure states and DR/RR ensembles
Read-back

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

Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), let ∣n⟩|n\rangle∣n⟩ be its standard basis vectors, and write ∣u⟩⟨v∣|u\rangle\langle v|∣u⟩⟨v∣ for the operator w↦⟨v,w⟩uw\mapsto\langle v,w\rangle uw↦⟨v,w⟩u. Fix real parameters κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, including η=1\eta=1η=1 and δ=0\delta=0δ=0. For α∈C\alpha\in\mathbb Cα∈C, let cα∈Hc_\alpha\in Hcα​∈H be the vector chosen to have coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​ if such a vector exists, and zero otherwise. Let V:H→ℓ2(N×N;C)V:H\to\ell^2(\mathbb N\times\mathbb N;\mathbb C)V:H→ℓ2(N×N;C) be a complex linear isometry satisfying, for every α∈C\alpha\in\mathbb Cα∈C and m,n∈Nm,n\in\mathbb Nm,n∈N,

∑h=0∞(Vcα)m,h (Vcα)n,h‾=⟨m∣Rα∣n⟩,Rα=D(η α) T1+δ D(η α)∗.\sum_{h=0}^{\infty}(Vc_\alpha)_{m,h}\, \overline{(Vc_\alpha)_{n,h}} =\langle m|R_\alpha|n\rangle, \qquad R_\alpha=D(\sqrt\eta\,\alpha)\,T_{1+\delta}\, D(\sqrt\eta\,\alpha)^*.h=0∑∞​(Vcα​)m,h​(Vcα​)n,h​​=⟨m∣Rα​∣n⟩,Rα​=D(η​α)T1+δ​D(η​α)∗.

Here an operator specified by a matrix is a chosen bounded complex linear operator with that matrix if one exists, and the zero operator otherwise; TaT_aTa​ is specified by

⟨m∣Ta∣n⟩=1m=n2a+1(a−1a+1)n,\langle m|T_a|n\rangle =\mathbf1_{m=n}\frac{2}{a+1} \left(\frac{a-1}{a+1}\right)^n,⟨m∣Ta​∣n⟩=1m=n​a+12​(a+1a−1​)n,

and D(z)D(z)D(z) by

⟨m∣D(z)∣n⟩=e−∣z∣2/2m!n!∑h=0min⁡(m,n)zm−h(−z‾)n−hh!(m−h)!(n−h)!.\langle m|D(z)|n\rangle =e^{-|z|^2/2}\sqrt{m!n!} \sum_{h=0}^{\min(m,n)} \frac{z^{m-h}(-\overline z)^{n-h}} {h!(m-h)!(n-h)!}.⟨m∣D(z)∣n⟩=e−∣z∣2/2m!n!​h=0∑min(m,n)​h!(m−h)!(n−h)!zm−h(−z)n−h​.

For every α,β∈C\alpha,\beta\in\mathbb Cα,β∈C, define bα,β,h=∑n=0∞(cβ)n‾(Vcα)n,hb_{\alpha,\beta,h}=\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,h}bα,β,h​=∑n=0∞​(cβ​)n​​(Vcα​)n,h​, let bα,β∈Hb_{\alpha,\beta}\in Hbα,β​∈H be the chosen vector with these coordinates if one exists and zero otherwise, and put vα,β=∥bα,β∥−1bα,βv_{\alpha,\beta}=\|b_{\alpha,\beta}\|^{-1}b_{\alpha,\beta}vα,β​=∥bα,β​∥−1bα,β​, with inverse zero interpreted as zero. The theorem asserts that every series defining bα,β,hb_{\alpha,\beta,h}bα,β,h​ is summable, the chosen vector has exactly these coordinates, and

∥bα,β∥2=πh(α,β),0<∥bα,β∥,∥vα,β∥=1,\|b_{\alpha,\beta}\|^2=\pi h(\alpha,\beta), \qquad 0<\|b_{\alpha,\beta}\|, \qquad \|v_{\alpha,\beta}\|=1,∥bα,β​∥2=πh(α,β),0<∥bα,β​∥,∥vα,β​∥=1,

where

h(α,β)=2π(2+δ)exp⁡ ⁣(−2∣β−η α∣22+δ).h(\alpha,\beta)= \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|\beta-\sqrt\eta\,\alpha|^2}{2+\delta}\right).h(α,β)=π(2+δ)2​exp(−2+δ2∣β−η​α∣2​).

For every a=(a1,a2),b=(b1,b2)∈R2a=(a_1,a_2),b=(b_1,b_2)\in\mathbb R^2a=(a1​,a2​),b=(b1​,b2​)∈R2 with a1,b1≥0a_1,b_1\ge0a1​,b1​≥0, including zero, identify false and true with 000 and 111, put si(a)=(−1)ia1+ia2s_i(a)=(-1)^ia_1+\mathrm i a_2si​(a)=(−1)ia1​+ia2​, and define

dij=e−∣si(a)∣2/(2κ)2πκ h(si(a),sj(b)),wij=dij∑u,v∈{0,1}duv,e=w01+w10.d_{ij}= \frac{e^{-|s_i(a)|^2/(2\kappa)}}{2\pi\kappa}\, h(s_i(a),s_j(b)),\qquad w_{ij}=\frac{d_{ij}}{\sum_{u,v\in\{0,1\}}d_{uv}}, \qquad e=w_{01}+w_{10}.dij​=2πκe−∣si​(a)∣2/(2κ)​h(si​(a),sj​(b)),wij​=∑u,v∈{0,1}​duv​dij​​,e=w01​+w10​.

Set Dij=∣vsi(a),sj(b)⟩⟨vsi(a),sj(b)∣D_{ij}=|v_{s_i(a),s_j(b)}\rangle\langle v_{s_i(a),s_j(b)}|Dij​=∣vsi​(a),sj​(b)​⟩⟨vsi​(a),sj​(b)​∣, M=∑i,jwijDijM=\sum_{i,j}w_{ij}D_{ij}M=∑i,j​wij​Dij​, Ai=(∑jwij)−1∑jwijDijA_i=(\sum_jw_{ij})^{-1}\sum_jw_{ij}D_{ij}Ai​=(∑j​wij​)−1∑j​wij​Dij​, and Bj=(∑iwij)−1∑iwijDijB_j=(\sum_iw_{ij})^{-1}\sum_iw_{ij}D_{ij}Bj​=(∑i​wij​)−1∑i​wij​Dij​, again using zero for the inverse of zero. Then MMM, every AiA_iAi​, and every BiB_iBi​ are density operators, and

M=12((1−e)(D00+D11)+e(D01+D10)),M=12(A0+A1)=12(B0+B1),Ai=(1−e)Dii+eDi,1−i(i=0,1),Bj=(1−e)Djj+eD1−j,j(j=0,1).\begin{aligned} M&=\tfrac12\bigl((1-e)(D_{00}+D_{11})+e(D_{01}+D_{10})\bigr),\\ M&=\tfrac12(A_0+A_1)=\tfrac12(B_0+B_1),\\ A_i&=(1-e)D_{ii}+eD_{i,1-i}\quad(i=0,1),\\ B_j&=(1-e)D_{jj}+eD_{1-j,j}\quad(j=0,1). \end{aligned}MMAi​Bj​​=21​((1−e)(D00​+D11​)+e(D01​+D10​)),=21​(A0​+A1​)=21​(B0​+B1​),=(1−e)Dii​+eDi,1−i​(i=0,1),=(1−e)Djj​+eD1−j,j​(j=0,1).​

In this assertion, an operator XXX is a density operator precisely when it admits sequences ur,vr∈Hu_r,v_r\in Hur​,vr​∈H with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞ and ∑r∣ur⟩⟨vr∣=X\sum_r|u_r\rangle\langle v_r|=X∑r​∣ur​⟩⟨vr​∣=X in operator norm, is self-adjoint, satisfies Re⁡⟨u,Xu⟩≥0\operatorname{Re}\langle u,Xu\rangle\ge0Re⟨u,Xu⟩≥0 for every u∈Hu\in Hu∈H, and has a summable complex diagonal with ∑n⟨n∣X∣n⟩=1\sum_n\langle n|X|n\rangle=1∑n​⟨n∣X∣n⟩=1.

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