Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Explicit BK/TMSV root fidelity

Open
QAlgorithms.Papers.Independent.Intake100.P02.bkFidelityFormula

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

prove2quantum

Use [q,p]=i[q,p]=i[q,p]=i and vacuum covariance I/2I/2I/2. Let μ,t≥1/2\mu,t\ge1/2μ,t≥1/2 be finite resource and input TMSV variances, respectively, and set ξ(μ)=2μ−4μ2−1\xi(\mu)=2\mu-\sqrt{4\mu^2-1}ξ(μ)=2μ−4μ2−1​. Let Φt\Phi_tΦt​ be the normalized TMSV density with Schmidt amplitudes vj=(t−1/2)j/(t+1/2)j+1v_j=\sqrt{(t-1/2)^j/(t+1/2)^{j+1}}vj​=(t−1/2)j/(t+1/2)j+1​. Independently construct Yμ,tY_{\mu,t}Yμ,t​ by applying the random displacement D(z)D(z)D(z) only to the transmitted mode of Φt\Phi_tΦt​, averaging over the isotropic complex Gaussian law of variance ξ(μ)\xi(\mu)ξ(μ) and retaining the reference mode. The construction is normalized; its coefficient integrals and pure-input overlap series converge. The unsquared fidelity is F(μ,t)=⟨Φt∣Yμ,t∣Φt⟩F(\mu,t)=\sqrt{\langle\Phi_t|Y_{\mu,t}|\Phi_t\rangle}F(μ,t)=⟨Φt​∣Yμ,t​∣Φt​⟩​, and

F(μ,t)=11−4t[4μ2−1+t−2μ(1+2tξ(μ))]4.F(\mu,t)=\frac{1}{\sqrt[4]{1-4t\bigl[\sqrt{4\mu^2-1}+t-2\mu(1+2t\xi(\mu))\bigr]}}.F(μ,t)=41−4t[4μ2−1​+t−2μ(1+2tξ(μ))]​1​.

This identifies the fidelity of actual full Fock-space states, rather than defining it by the closed formula. Both vacuum endpoints are included.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P02
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P02

open Filter MeasureTheory QAlgorithms

open scoped ENNReal Topology

open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity)

open QAlgorithms.Papers.Independent.Dependency50.P39 (displacementMatrix)

open QAlgorithms.Papers.Independent.Next46.P32 (complexNormal)

/-- arXiv:1711.09909v3, PDF p.28, Appendix A, (A4): explicit root fidelity.
The whole bracket is inside the fourth root sqrt(sqrt(.)); vacuum endpoints
mu=t=1/2 are allowed. Well-definedness guards are conclusions. -/
theorem bkFidelityFormula (mu t : ℝ) (hmu : 1 / 2 ≤ mu) (ht : 1 / 2 ≤ t) :
    IsDensity (tmsvKernel t) ∧ IsDensity (bkOutput mu t) ∧
    IsProbabilityMeasure (complexNormal (bkNoise mu) 0) ∧
    (∀ x y : ℕ × ℕ, Integrable (fun z : ℂ => displacedTmsvKernel t z x y)
      (complexNormal (bkNoise mu) 0)) ∧
    Summable (bkOverlapTerm mu t) ∧
    bkRootFidelity mu t =
      1 / Real.sqrt (Real.sqrt
        (1 - 4 * t * (Real.sqrt (4 * mu ^ 2 - 1) + t -
          2 * mu * (1 + 2 * t * bkNoise mu)))) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P02

end
Source
Theory of channel simulation and bounds for private communication, arXiv:1711.09909v3, PDF p. 28, Appendix A, Eq. (A4): explicit BK/TMSV root fidelity
Read-back

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

For every real μ≥12\mu\ge\tfrac12μ≥21​ and t≥12t\ge\tfrac12t≥21​, put

st(r)=22t+1(2t−12t+1)r,Vμ=2μ−4μ2−1,Dz(m,n)=e−∣z∣2/2m! n!∑j=0min⁡(m,n)zm−j(−z‾)n−jj!(m−j)!(n−j)!.s_t(r)=\sqrt{\frac{2}{2t+1}\left(\frac{2t-1}{2t+1}\right)^r}, \quad V_\mu=2\mu-\sqrt{4\mu^2-1}, \quad D_z(m,n)=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)!}.st​(r)=2t+12​(2t+12t−1​)r​,Vμ​=2μ−4μ2−1​,Dz​(m,n)=e−∣z∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!zm−j(−z)n−j​.

Let γμ\gamma_\muγμ​ be the point mass at zero if Vμ=0V_\mu=0Vμ​=0, and otherwise the measure with Lebesgue density max⁡{e−∣z∣2/Vμ/(πVμ),0}\max\{e^{-|z|^2/V_\mu}/(\pi V_\mu),0\}max{e−∣z∣2/Vμ​/(πVμ​),0}. Define kernels on N2\mathbb N^2N2 by

Pt(x,y)={st(x1)st(y1),x1=x2 and y1=y2,0,otherwise,Yμ,t(x,y)=∫Cst(x1)Dz(x2,x1)st(y1)Dz(y2,y1)‾ dγμ(z),P_t(x,y)= \begin{cases} s_t(x_1)s_t(y_1),&x_1=x_2\ \text{and }y_1=y_2,\\ 0,&\text{otherwise}, \end{cases} \qquad Y_{\mu,t}(x,y)= \int_{\mathbb C}s_t(x_1)D_z(x_2,x_1) \overline{s_t(y_1)D_z(y_2,y_1)}\,d\gamma_\mu(z),Pt​(x,y)={st​(x1​)st​(y1​),0,​x1​=x2​ and y1​=y2​,otherwise,​Yμ,t​(x,y)=∫C​st​(x1​)Dz​(x2​,x1​)st​(y1​)Dz​(y2​,y1​)​dγμ​(z),

and set Bμ,t(i,j)=st(i)Yμ,t((i,i),(j,j))st(j)B_{\mu,t}(i,j)=s_t(i)Y_{\mu,t}((i,i),(j,j))s_t(j)Bμ,t​(i,j)=st​(i)Yμ,t​((i,i),(j,j))st​(j) and F(μ,t)=Re⁡∑(i,j)∈N2Bμ,t(i,j)F(\mu,t)=\sqrt{\operatorname{Re}\sum_{(i,j)\in\mathbb N^2}B_{\mu,t}(i,j)}F(μ,t)=Re∑(i,j)∈N2​Bμ,t​(i,j)​. The assertion is that both PtP_tPt​ and Yμ,tY_{\mu,t}Yμ,t​ are density kernels: each admits an expansion Xab=∑r∈Nur(a)vr(b)‾X_{ab}=\sum_{r\in\mathbb N}u_r(a)\overline{v_r(b)}Xab​=∑r∈N​ur​(a)vr​(b)​ with ur,vr∈ℓ2(N2;C)u_r,v_r\in\ell^2(\mathbb N^2;\mathbb C)ur​,vr​∈ℓ2(N2;C) and ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞, every finite quadratic form ∑a,b∈Sca‾Xabcb\sum_{a,b\in S}\overline{c_a}X_{ab}c_b∑a,b∈S​ca​​Xab​cb​ is real and nonnegative for every finite S⊆N2S\subseteq\mathbb N^2S⊆N2 and arbitrary coefficients cac_aca​, and their real diagonal entries are summable with sum one. Moreover, γμ\gamma_\muγμ​ is a probability measure, the integrand defining every entry Yμ,t(x,y)Y_{\mu,t}(x,y)Yμ,t​(x,y) is integrable, the complex family Bμ,tB_{\mu,t}Bμ,t​ is summable over N2\mathbb N^2N2, and

F(μ,t)=11−4t(4μ2−1+t−2μ(1+2tVμ)).F(\mu,t)= \frac{1}{ \sqrt{\sqrt{ 1-4t\left(\sqrt{4\mu^2-1}+t-2\mu(1+2tV_\mu)\right) }} }.F(μ,t)=1−4t(4μ2−1​+t−2μ(1+2tVμ​))​​1​.

Both boundary values μ=12\mu=\tfrac12μ=21​ and t=12t=\tfrac12t=21​ are included; real square roots and reciprocals use the conventions that a negative radicand and a zero denominator yield zero.

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