Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mode mismatch: Poisson error law and corrected optimal displacement condition

Open
QAlgorithms.Papers.Independent.Intake100.P08.imperfectTypeII_optimalDisplacement

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

prove2quantum

Let ∣±α⟩|\pm\alpha\rangle∣±α⟩ be equiprobable coherent signals with known α≥0\alpha\ge0α≥0. Fix 0≤η,τ,ξ≤10\le\eta,\tau,\xi\le10≤η,τ,ξ≤1 and ν≥0\nu\ge0ν≥0, denoting efficiency, transmittance, mode match and dark counts. For an output displacement δ∈C\delta\in\mathbb Cδ∈C, the total intensities at the detector are

I±=(1−ξ)(τα2+∣δ∣2)+ξ∣±τα+δ∣2.I_\pm=(1-\xi)(\tau\alpha^2+|\delta|^2)+\xi|\pm\sqrt\tau\alpha+\delta|^2.I±​=(1−ξ)(τα2+∣δ∣2)+ξ∣±τ​α+δ∣2.

The number laws are the normalized Poisson laws p±(n)=e−I±I±n/n!p_\pm(n)=e^{-I_\pm}I_\pm^n/n!p±​(n)=e−I±​I±n​/n!. The no-click probabilities are e−ν−ηI±e^{-\nu-\eta I_\pm}e−ν−ηI±​. With off decoded as minus, the average error is

P~D(δ)=12−e−ν−η(τα2+∣δ∣2)sinh⁡(2ηξταRe⁡δ).\widetilde P_D(\delta)=\frac12-e^{-\nu-\eta(\tau\alpha^2+|\delta|^2)} \sinh(2\eta\xi\sqrt\tau\alpha\operatorname{Re}\delta).PD​(δ)=21​−e−ν−η(τα2+∣δ∣2)sinh(2ηξτ​αReδ).

These laws are summable and the error lies in [0,1][0,1][0,1]. At τ=ξ=1\tau=\xi=1τ=ξ=1 the error equals the displacement-only receiver error. If any of α,η,τ,ξ\alpha,\eta,\tau,\xiα,η,τ,ξ vanishes, it equals 1/21/21/2 for every displacement. If all four are positive, there is a unique global minimizer over complex displacements; it is real and satisfies

γ~opt>ξτα,ξτα=γ~opttanh⁡(2ηξταγ~opt).\widetilde\gamma_{\rm opt}>\xi\sqrt\tau\alpha,\qquad \xi\sqrt\tau\alpha=\widetilde\gamma_{\rm opt} \tanh(2\eta\xi\sqrt\tau\alpha\widetilde\gamma_{\rm opt}).γ​opt​>ξτ​α,ξτ​α=γ​opt​tanh(2ηξτ​αγ​opt​).

For τ<1\tau<1τ<1, the local oscillator amplitude is δ/1−τ\delta/\sqrt{1-\tau}δ/1−τ​; multiplying by the beam-splitter displacement coefficient gives δ\deltaδ. At τ=1\tau=1τ=1, only the ideal displacement limit is used. This result keeps imperfections in the operational optimization and makes no all-power improvement claim for nonideal devices.

Formalization Note — source correction Printed Eq.(27) has tanh⁡(2ηξαγ~opt)\tanh(2\eta\xi\alpha\widetilde\gamma_{\rm opt})tanh(2ηξαγ​opt​). The statement inserts the missing τ\sqrt\tauτ​ inside the hyperbolic tangent, as required by differentiating Eq.(26). Independent moderation of this correction is pending.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P08
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P08

open MeasureTheory

open scoped BigOperators

open QAlgorithms.Papers.Independent.Dependency50.P39
  (Fock fockKet coherentKet coherentCoefficient CoherentRealized
   displacement DisplacementRealized)

/-- PDF pp.5--6, Eqs.(25)--(27): Poisson mismatch error and unique global
optimal displacement. SOURCE CORRECTION: printed Eq.(27) omits sqrt(tau)
inside tanh; it is restored here because differentiating Eq.(26) requires it.
Printed: xi sqrt(tau) alpha = gamma tanh(2 eta xi alpha gamma).
Changed: xi sqrt(tau) alpha = gamma tanh(2 eta xi sqrt(tau) alpha gamma).
The corrected equation reduces to Eq.(23) at tau=xi=1. Independent moderation
of this correction is pending. Zero information factors give error 1/2.
Finite LO division is restricted to tau<1; the tau=1 experiment is the limit. -/
theorem imperfectTypeII_optimalDisplacement
    (alpha eta nu tau xi : ℝ) (halpha : 0 ≤ alpha)
    (heta : 0 ≤ eta) (hetaMax : eta ≤ 1) (hnu : 0 ≤ nu)
    (htau : 0 ≤ tau) (htauMax : tau ≤ 1)
    (hxi : 0 ≤ xi) (hxiMax : xi ≤ 1) :
    (∀ (delta : ℂ) (plus : Bool),
      let intensity := mismatchIntensity alpha tau xi delta plus
      0 ≤ intensity ∧
      (∀ n, 0 ≤ poissonPhotonLaw intensity n) ∧
      Summable (poissonPhotonLaw intensity) ∧
      (∑' n, poissonPhotonLaw intensity n) = 1 ∧
      Summable (fun n : ℕ => (1 - eta) ^ n * poissonPhotonLaw intensity n) ∧
      countNoClick eta nu (poissonPhotonLaw intensity) = Real.exp (-nu - eta * intensity)) ∧
    (∀ delta : ℂ,
      imperfectError alpha eta nu tau xi delta =
        1 / 2 - Real.exp (-nu - eta * (tau * alpha ^ 2 + Complex.normSq delta)) *
          Real.sinh (2 * eta * xi * Real.sqrt tau * alpha * delta.re) ∧
      0 ≤ imperfectError alpha eta nu tau xi delta ∧
        imperfectError alpha eta nu tau xi delta ≤ 1) ∧
    (∀ delta : ℂ, imperfectError alpha eta nu 1 1 delta =
      displacementError alpha eta nu delta) ∧
    (tau < 1 → ∀ delta : ℂ,
      (Real.sqrt (1 - tau) : ℂ) * localOscillator tau delta = delta) ∧
    ((alpha = 0 ∨ eta = 0 ∨ tau = 0 ∨ xi = 0) → ∀ delta : ℂ,
      imperfectError alpha eta nu tau xi delta = 1 / 2) ∧
    (0 < alpha → 0 < eta → 0 < tau → 0 < xi → ∃ gamma : ℝ,
      xi * Real.sqrt tau * alpha < gamma ∧
      xi * Real.sqrt tau * alpha =
        gamma * Real.tanh (2 * eta * xi * Real.sqrt tau * alpha * gamma) ∧
      (∀ delta : ℂ, imperfectError alpha eta nu tau xi (gamma : ℂ) ≤
        imperfectError alpha eta nu tau xi delta) ∧
      (∀ delta : ℂ, imperfectError alpha eta nu tau xi delta =
        imperfectError alpha eta nu tau xi (gamma : ℂ) → delta = (gamma : ℂ))) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P08

end
Source
Discrimination of the binary coherent signal: Gaussian-operation limit and simple non-Gaussian near-optimal receivers, arXiv:0706.1038v3, PDF p. 6, Section III, Eqs. (25)–(27), beginning p.5
Read-back

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

For every choice of real parameters α,η,ν,τ,ξ\alpha,\eta,\nu,\tau,\xiα,η,ν,τ,ξ satisfying α≥0\alpha\ge0α≥0, 0≤η≤10\le\eta\le10≤η≤1, ν≥0\nu\ge0ν≥0, 0≤τ≤10\le\tau\le10≤τ≤1, and 0≤ξ≤10\le\xi\le10≤ξ≤1, the following holds. For δ∈C\delta\in\mathbb Cδ∈C and either sign s∈{+1,−1}s\in\{+1,-1\}s∈{+1,−1}, define

Is(δ)=(1−ξ)(τα2+∣δ∣2)+ξ ∣sτ α+δ∣2,pI(n)=e−IInn!(n∈N),I_s(\delta)=(1-\xi)(\tau\alpha^2+|\delta|^2) +\xi\,|s\sqrt\tau\,\alpha+\delta|^2,\qquad p_I(n)=e^{-I}\frac{I^n}{n!}\quad(n\in\mathbb N),Is​(δ)=(1−ξ)(τα2+∣δ∣2)+ξ∣sτ​α+δ∣2,pI​(n)=e−In!In​(n∈N),

where N\mathbb NN includes 000, and define

Qη,ν(p)=e−ν∑n=0∞(1−η)np(n),F(δ)=Qη,ν(pI+1(δ))+1−Qη,ν(pI−1(δ))2.Q_{\eta,\nu}(p)=e^{-\nu}\sum_{n=0}^{\infty}(1-\eta)^n p(n), \qquad F(\delta)=\frac{Q_{\eta,\nu}(p_{I_{+1}(\delta)})+1- Q_{\eta,\nu}(p_{I_{-1}(\delta)})}{2}.Qη,ν​(p)=e−νn=0∑∞​(1−η)np(n),F(δ)=2Qη,ν​(pI+1​(δ)​)+1−Qη,ν​(pI−1​(δ)​)​.

For every δ\deltaδ and either sign, Is(δ)≥0I_s(\delta)\ge0Is​(δ)≥0, every pIs(δ)(n)≥0p_{I_s(\delta)}(n)\ge0pIs​(δ)​(n)≥0, the sequence pIs(δ)p_{I_s(\delta)}pIs​(δ)​ is summable with sum 111, the sequence ((1−η)npIs(δ)(n))n((1-\eta)^n p_{I_s(\delta)}(n))_n((1−η)npIs​(δ)​(n))n​ is summable, and

Qη,ν(pIs(δ))=e−ν−ηIs(δ).Q_{\eta,\nu}(p_{I_s(\delta)})=e^{-\nu-\eta I_s(\delta)}.Qη,ν​(pIs​(δ)​)=e−ν−ηIs​(δ).

These claims include zero intensity, for which p0(0)=1p_0(0)=1p0​(0)=1 and p0(n)=0p_0(n)=0p0​(n)=0 for n>0n>0n>0, and η=1\eta=1η=1, for which the weighted sum retains only n=0n=0n=0, using 00=10^0=100=1. For every δ∈C\delta\in\mathbb Cδ∈C,

F(δ)=12−e−ν−η(τα2+∣δ∣2)sinh⁡ ⁣(2ηξτ α Re⁡δ),0≤F(δ)≤1.F(\delta)=\frac12- e^{-\nu-\eta(\tau\alpha^2+|\delta|^2)} \sinh\!\bigl(2\eta\xi\sqrt\tau\,\alpha\,\operatorname{Re}\delta\bigr), \qquad 0\le F(\delta)\le1.F(δ)=21​−e−ν−η(τα2+∣δ∣2)sinh(2ηξτ​αReδ),0≤F(δ)≤1.

To state the asserted relation to displacement error, let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C) with standard basis ene_nen​; let cβc_\betacβ​ be a selected vector with coordinates e−∣β∣2/2βn/n!e^{-|\beta|^2/2}\beta^n/\sqrt{n!}e−∣β∣2/2βn/n!​ if such a vector exists, and zero otherwise; and let DδD_\deltaDδ​ be a selected bounded complex-linear operator with matrix

(Dδen)m=e−∣δ∣2/2m! n!∑j=0min⁡(m,n)δm−j(−δ‾)n−jj! (m−j)! (n−j)!(D_\delta e_n)_m= e^{-|\delta|^2/2}\sqrt{m!\,n!} \sum_{j=0}^{\min(m,n)} \frac{\delta^{m-j}(-\overline\delta)^{n-j}}{j!\,(m-j)!\,(n-j)!}(Dδ​en​)m​=e−∣δ∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!δm−j(−δ)n−j​

if such an operator exists, and zero otherwise. Define

E(δ)=Qη,ν(n↦∣(Dδcα)n∣2)+1−Qη,ν(n↦∣(Dδc−α)n∣2)2.E(\delta)=\frac{ Q_{\eta,\nu}\bigl(n\mapsto |(D_\delta c_\alpha)_n|^2\bigr)+1- Q_{\eta,\nu}\bigl(n\mapsto |(D_\delta c_{-\alpha})_n|^2\bigr)}2.E(δ)=2Qη,ν​(n↦∣(Dδ​cα​)n​∣2)+1−Qη,ν​(n↦∣(Dδ​c−α​)n​∣2)​.

The assertion states that replacing τ\tauτ and ξ\xiξ by 111 in F(δ)F(\delta)F(δ) gives E(δ)E(\delta)E(δ) for every complex δ\deltaδ. If τ<1\tau<1τ<1, then for every δ\deltaδ,

1−τ(δ1−τ)=δ;\sqrt{1-\tau}\left(\frac{\delta}{\sqrt{1-\tau}}\right)=\delta;1−τ​(1−τ​δ​)=δ;

the quotient is the defined local oscillator, and at τ=1\tau=1τ=1 it is zero under the total convention for division by zero, while this reconstruction claim is conditional on τ<1\tau<1τ<1. If at least one of α,η,τ,ξ\alpha,\eta,\tau,\xiα,η,τ,ξ equals zero, then F(δ)=1/2F(\delta)=1/2F(δ)=1/2 for every δ\deltaδ. Finally, if all four are strictly positive, there exists a real γ\gammaγ satisfying

ξτ α<γ,ξτ α=γtanh⁡ ⁣(2ηξτ α γ)\xi\sqrt\tau\,\alpha<\gamma,\qquad \xi\sqrt\tau\,\alpha =\gamma\tanh\!\bigl(2\eta\xi\sqrt\tau\,\alpha\,\gamma\bigr)ξτ​α<γ,ξτ​α=γtanh(2ηξτ​αγ)

such that F(γ)≤F(δ)F(\gamma)\le F(\delta)F(γ)≤F(δ) for every δ∈C\delta\in\mathbb Cδ∈C, and equality F(δ)=F(γ)F(\delta)=F(\gamma)F(δ)=F(γ) implies δ=γ\delta=\gammaδ=γ as a complex number.

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