Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

EPR Chernoff coefficient and piecewise optimizer

Open
QAlgorithms.Papers.Independent.Intakethird100.P54.epr_chernoff

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let M≥1M\ge1M≥1 be the finite number of signal modes and J≥0J\ge0J≥0 the finite number of retained idler modes, on the full optical Fock spaces. The two channels have equal priors, independent vacuum environments, reflectances 0≤R0≤R1≤10\le R_0\le R_1\le10≤R0​≤R1​≤1, field magnitudes rb=Rbr_b=\sqrt{R_b}rb​=Rb​​ and tb=1−Rbt_b=\sqrt{1-R_b}tb​=1−Rb​​, and distinct complex reflection coefficients rbeiθbr_b e^{i\theta_b}rb​eiθb​. Every signal mode sees the same channel; idlers are retained losslessly and environment outputs are inaccessible. Write F\mathcal FF for squared Uhlmann fidelity, PeP_ePe​ for minimum average error over all joint binary receivers, Qs=Tr⁡(ρ0sρ11−s)Q_s=\operatorname{Tr}(\rho_0^s\rho_1^{1-s})Qs​=Tr(ρ0s​ρ11−s​), and Q=min⁡0≤s≤1QsQ=\min_{0\le s\le1}Q_sQ=min0≤s≤1​Qs​, with zero powers interpreted as support projections. Here the common phase is removed, so θ0=θ1=0\theta_0=\theta_1=0θ0​=θ1​=0 and R0<R1R_0<R_1R0​<R1​. Put μ=r0r1+t0t1\mu=r_0r_1+t_0t_1μ=r0​r1​+t0​t1​.

Assume R1<1R_1<1R1​<1 and N>0N>0N>0. Put Tb=1−RbT_b=1-R_bTb​=1−Rb​,

α=T0N+1T1N+1,β=T0T1,C=[(1−r0r1)N+1]2T0N+1,D=T1N.\alpha=\frac{T_0N+1}{T_1N+1},\quad\beta=\frac{T_0}{T_1},\quad C=\frac{[(1-r_0r_1)N+1]^2}{T_0N+1},\quad D=T_1N.α=T1​N+1T0​N+1​,β=T1​T0​​,C=T0​N+1[(1−r0​r1​)N+1]2​,D=T1​N.

Then 1<α<β1<\alpha<\beta1<α<β and C>D>0C>D>0C>D>0. For every s∈[0,1]s\in[0,1]s∈[0,1], Cαs−Dβs>0C\alpha^s-D\beta^s>0Cαs−Dβs>0 and the MMM-pair coefficient is

Qs(1)=(Cαs−Dβs)−1,Qs(M)=(Qs(1))M.Q_s^{(1)}=(C\alpha^s-D\beta^s)^{-1},\qquad Q_s^{(M)}=(Q_s^{(1)})^M.Qs(1)​=(Cαs−Dβs)−1,Qs(M)​=(Qs(1)​)M.

Write d=Dln⁡β−Cln⁡αd=D\ln\beta-C\ln\alphad=Dlnβ−Clnα. If d≥0d\ge0d≥0 choose s∗=0s_*=0s∗​=0; otherwise choose

s∗=min⁡{1,ln⁡[(Cln⁡α)/(Dln⁡β)]ln⁡(β/α)}.s_*=\min\left\{1,\frac{\ln[(C\ln\alpha)/(D\ln\beta)]}{\ln(\beta/\alpha)}\right\}.s∗​=min{1,ln(β/α)ln[(Clnα)/(Dlnβ)]​}.

This s∗∈[0,1]s_*\in[0,1]s∗​∈[0,1] attains Q(M)Q^{(M)}Q(M) and Pe≤12(Cαs∗−Dβs∗)−MP_e\le\tfrac12(C\alpha^{s_*}-D\beta^{s_*})^{-M}Pe​≤21​(Cαs∗​−Dβs∗​)−M. At N=0N=0N=0 the logarithmic optimizer is bypassed: F=Q=1\mathcal F=Q=1F=Q=1 and Pe=1/2P_e=1/2Pe​=1/2. The ideal-memory endpoint is treated separately.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P54
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Intakethird100.P54

open QAlgorithms.RealRegisters (Hilbert)

open QAlgorithms.Papers.Independent.Claimed50.P47 (Occupation)

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

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- EPR Chernoff expression and computed optimizer, PDF pp.9–10, (77)–(88).
The derivative test uses D ln beta-C ln alpha. Ideal memory and N=0 never use
beta=T0/T1 or the logarithmic critical-point expression. -/
theorem epr_chernoff (M : ℕ) (hM : 0 < M) (c : Channels) (hc : ValidSplitters c)
    (hr : Reading c) (hloss : (c true).reflectance < 1) :
    (∀ N : ℝ, 0 < N →
      1 < eprAlpha c N ∧ eprAlpha c N < eprBeta c ∧
      0 < eprD c N ∧ eprD c N < eprC c N ∧
      (∀ s ∈ Set.Icc (0 : ℝ) 1,
        0 < eprC c N * Real.rpow (eprAlpha c N) s - eprD c N * Real.rpow (eprBeta c) s ∧
        outputChernoffAt c (tmsvProbe 1 N) s =
          (eprC c N * Real.rpow (eprAlpha c N) s - eprD c N * Real.rpow (eprBeta c) s)⁻¹ ∧
        outputChernoffAt c (tmsvProbe M N) s=(outputChernoffAt c (tmsvProbe 1 N) s)^M) ∧
      eprOptimizer c N ∈ Set.Icc (0 : ℝ) 1 ∧
      (∀ s ∈ Set.Icc (0 : ℝ) 1,
        outputChernoffAt c (tmsvProbe M N) (eprOptimizer c N) ≤ outputChernoffAt c (tmsvProbe M N) s) ∧
      outputChernoff c (tmsvProbe M N)=outputChernoffAt c (tmsvProbe M N) (eprOptimizer c N) ∧
      outputError c (tmsvProbe M N) ≤ (1/2) *
        (eprC c N * Real.rpow (eprAlpha c N) (eprOptimizer c N) -
          eprD c N * Real.rpow (eprBeta c) (eprOptimizer c N))^(-(M : ℤ))) ∧
    outputFidelity c (tmsvProbe M 0)=1 ∧ outputChernoff c (tmsvProbe M 0)=1 ∧
    outputError c (tmsvProbe M 0)=1/2 := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P54

end
Source
Discriminating quantum-optical beam-splitter channels with number-diagonal signal states: Applications to quantum reading and target detection, arXiv:1105.4063v3, PDF p. 9, epr-chernoff
Read-back

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

Let MMM be a positive natural number and let two splitters have reflectances Rb∈[0,1]R_b\in[0,1]Rb​∈[0,1] and phases θb\theta_bθb​, for b∈{0,1}b\in\{0,1\}b∈{0,1}, with R0≤R1R_0\le R_1R0​≤R1​, R0eiθ0≠R1eiθ1\sqrt{R_0}e^{i\theta_0}\ne\sqrt{R_1}e^{i\theta_1}R0​​eiθ0​=R1​​eiθ1​, θ0=θ1=0\theta_0=\theta_1=0θ0​=θ1​=0, and R1<1R_1<1R1​<1; thus 0≤R0<R1<10\le R_0<R_1<10≤R0​<R1​<1, allowing R0=0R_0=0R0​=0. Put rb=Rbr_b=\sqrt{R_b}rb​=Rb​​ and tb=1−Rbt_b=\sqrt{1-R_b}tb​=1−Rb​​. For a natural number LLL and real N≥0N\ge0N≥0, define ψL,N\psi_{L,N}ψL,N​ on NL×NL\mathbb N^L\times\mathbb N^LNL×NL by coefficients

ψL,N(p,n)={∏m=1L1N+1(NN+1)nm,p=n,0,p≠n,\psi_{L,N}(p,n)= \begin{cases} \displaystyle\prod_{m=1}^{L}\sqrt{\frac1{N+1}} \left(\sqrt{\frac N{N+1}}\right)^{n_m},&p=n,\\ 0,&p\ne n, \end{cases}ψL,N​(p,n)=⎩⎨⎧​m=1∏L​N+11​​(N+1N​​)nm​,0,​p=n,p=n,​

regarded as an element of ℓ2\ell^2ℓ2 when these coefficients are square-summable and replaced by zero otherwise. Define

Ab(n,k)={∏m(nmkm) rb nm−kmtb km,k≤n componentwise,0,otherwise,Kb,L,N((p,n),(q,v))=∑k∈NLψL,N(p,n+k)Ab(n+k,k)ψL,N(q,v+k)Ab(v+k,k)‾.A_b(n,k)= \begin{cases} \displaystyle\prod_m\sqrt{\binom{n_m}{k_m}}\, r_b^{\,n_m-k_m}t_b^{\,k_m},&k\le n\text{ componentwise},\\ 0,&\text{otherwise}, \end{cases} \quad K_{b,L,N}((p,n),(q,v)) =\sum_{k\in\mathbb N^L} \psi_{L,N}(p,n+k)A_b(n+k,k) \overline{\psi_{L,N}(q,v+k)A_b(v+k,k)}.Ab​(n,k)=⎩⎨⎧​m∏​(km​nm​​)​rbnm​−km​​tbkm​​,0,​k≤n componentwise,otherwise,​Kb,L,N​((p,n),(q,v))=k∈NL∑​ψL,N​(p,n+k)Ab​(n+k,k)ψL,N​(q,v+k)Ab​(v+k,k)​.

For kernels K,L′K,L'K,L′ on XXX, a resolution is a representation K(x,y)=∑jajuj(x)uj(y)‾K(x,y)=\sum_j a_j u_j(x)\overline{u_j(y)}K(x,y)=∑j​aj​uj​(x)uj​(y)​ by nonnegative summable weights of sum one and vectors in ℓ2(X;C)\ell^2(X;\mathbb C)ℓ2(X;C), normalized on positive weights and orthogonal for distinct positive-weight indices; zero-weight vectors are unrestricted. Write h(a,s)=0h(a,s)=0h(a,s)=0 if a=0a=0a=0, and h(a,s)=ash(a,s)=a^sh(a,s)=as, using real powers, otherwise. Define

Cs(K,L′)=sup⁡(aj,uj) resolves K$bj,vj) resolves L′∑j,k≥0h(aj,s)h(bk,1−s)∣⟨uj,vk⟩∣2,C(K,L′)=inf⁡s∈[0,1]Cs(K,L′).C_s(K,L')= \sup_{\substack{(a_j,u_j)\text{ resolves }K\$b_j,v_j)\text{ resolves }L'}} \sum_{j,k\ge0}h(a_j,s)h(b_k,1-s)|\langle u_j,v_k\rangle|^2, \qquad C(K,L')=\inf_{s\in[0,1]}C_s(K,L').Cs​(K,L′)=(aj​,uj​) resolves K$bj​,vj​) resolves L′​sup​j,k≥0∑​h(aj​,s)h(bk​,1−s)∣⟨uj​,vk​⟩∣2,C(K,L′)=s∈[0,1]inf​Cs​(K,L′).

In particular, the zero-weight convention applies even at exponent zero. Define (F(K,L')asthesupremumofas the supremum ofasthesupremumof|\langle z,w\rangle|^2overunitvectorsinover unit vectors inoverunitvectorsin\ell^2(X\times\mathbb N;\mathbb C)whoserespectivemarginalswhose respective marginalswhoserespectivemarginals\sum_e z(x,e)\overline{z(y,e)}andandand\sum_e w(x,e)\overline{w(y,e)}equalequalequalK,L'.Define. Define .DefineP(K,L')astheinfimum,overthetworesolutionsaboveandboundedcomplex−linearas the infimum, over the two resolutions above and bounded complex-linearastheinfimum,overthetworesolutionsaboveandboundedcomplex−linearE=E^*withwithwith0\le\operatorname{Re}\langle v,Ev\rangle\le|v|^2foreveryfor everyforeveryv$, of

12∑jaj(1−Re⁡⟨uj,Euj⟩)+12∑jbjRe⁡⟨vj,Evj⟩.\frac12\sum_j a_j(1-\operatorname{Re}\langle u_j,Eu_j\rangle) +\frac12\sum_j b_j\operatorname{Re}\langle v_j,Ev_j\rangle.21​j∑​aj​(1−Re⟨uj​,Euj​⟩)+21​j∑​bj​Re⟨vj​,Evj​⟩.

All these extrema are the specified real infima and suprema, with empty defining sets assigned zero. Abbreviate their values on K0,L,N,K1,L,NK_{0,L,N},K_{1,L,N}K0,L,N​,K1,L,N​ by Cs,L,N,CL,N,FL,N,PL,NC_{s,L,N},C_{L,N},F_{L,N},P_{L,N}Cs,L,N​,CL,N​,FL,N​,PL,N​. For every real N>0N>0N>0, put

a=(1−R0)N+1(1−R1)N+1,b=1−R01−R1,C=((1−r0r1)N+1)2(1−R0)N+1,D=(1−R1)N,a=\frac{(1-R_0)N+1}{(1-R_1)N+1},\quad b=\frac{1-R_0}{1-R_1},\quad C=\frac{((1-r_0r_1)N+1)^2}{(1-R_0)N+1},\quad D=(1-R_1)N,a=(1−R1​)N+1(1−R0​)N+1​,b=1−R1​1−R0​​,C=(1−R0​)N+1((1−r0​r1​)N+1)2​,D=(1−R1​)N,

and

s∗={0,Dlog⁡b−Clog⁡a≥0,min⁡ ⁣{1,log⁡ ⁣(Clog⁡aDlog⁡b)log⁡(b/a)},Dlog⁡b−Clog⁡a<0.s_*= \begin{cases} 0,&D\log b-C\log a\ge0,\\[2pt] \displaystyle\min\!\left\{1,\frac{\log\!\left(\frac{C\log a}{D\log b}\right)} {\log(b/a)}\right\},&D\log b-C\log a<0. \end{cases}s∗​=⎩⎨⎧​0,min⎩⎨⎧​1,log(b/a)log(DlogbCloga​)​⎭⎬⎫​,​Dlogb−Cloga≥0,Dlogb−Cloga<0.​

The declaration asserts 1<a<b1<a<b1<a<b, 0<D<C0<D<C0<D<C, and, for every s∈[0,1]s\in[0,1]s∈[0,1],

Cas−Dbs>0,Cs,1,N=(Cas−Dbs)−1,Cs,M,N=(Cs,1,N)M.Ca^s-Db^s>0,\qquad C_{s,1,N}=(Ca^s-Db^s)^{-1},\qquad C_{s,M,N}=(C_{s,1,N})^M.Cas−Dbs>0,Cs,1,N​=(Cas−Dbs)−1,Cs,M,N​=(Cs,1,N​)M.

It further asserts s∗∈[0,1]s_*\in[0,1]s∗​∈[0,1], Cs∗,M,N≤Cs,M,NC_{s_*,M,N}\le C_{s,M,N}Cs∗​,M,N​≤Cs,M,N​ for every s∈[0,1]s\in[0,1]s∈[0,1], CM,N=Cs∗,M,NC_{M,N}=C_{s_*,M,N}CM,N​=Cs∗​,M,N​, and

PM,N≤12(Cas∗−Dbs∗)−M,P_{M,N}\le\frac12(Ca^{s_*}-Db^{s_*})^{-M},PM,N​≤21​(Cas∗​−Dbs∗​)−M,

where the last exponent is an integer power. Separately, at N=0N=0N=0, it asserts FM,0=1F_{M,0}=1FM,0​=1, CM,0=1C_{M,0}=1CM,0​=1, and PM,0=1/2P_{M,0}=1/2PM,0​=1/2.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me