Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact normalized Fock-input output laws for all three families

Open
QAlgorithms.Papers.Independent.Advance50.P20.exactFockAction

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

prove2quantum

Let H=ℓ2(N)\mathcal H=\ell^2(\mathbb N)H=ℓ2(N), with normalized number states ∣j⟩|j\rangle∣j⟩, and let n∈Nn\in\mathbb Nn∈N be the environment photon number. Write A(κ;n)A(\kappa;n)A(κ;n), B(κ;n)B(\kappa;n)B(κ;n) and C(κ;n)C(\kappa;n)C(κ;n) for the canonical amplifier, attenuator and phase-conjugator channels, respectively. Their amplitude domains are κ≥1\kappa\ge1κ≥1, 0≤κ≤10\le\kappa\le10≤κ≤1 and κ≥0\kappa\ge0κ≥0. Each channel is defined by its specified two-mode unitary, the product environment ∣n⟩⟨n∣|n\rangle\langle n|∣n⟩⟨n∣, and the environmental partial trace. All density operators are positive trace class with trace one, and all Hilbert spaces are untruncated.

Fix an input number state ∣j⟩⟨j∣|j\rangle\langle j|∣j⟩⟨j∣. With g1,g2,g3g_1,g_2,g_3g1​,g2​,g3​ the finite binomial factors in Eqs.(13),(17),(21) and dκ=(1+κ2)−1/2d_\kappa=(1+\kappa^2)^{-1/2}dκ​=(1+κ2)−1/2, the output laws are

B(κ;n)(∣j⟩⟨j∣)=∑ℓ=0j+n(j+n−ℓ)!ℓ!j!n!g2(n,ℓ,j;κ)2∣j+n−ℓ⟩⟨j+n−ℓ∣,A(κ;n)(∣j⟩⟨j∣)=κ−2∑ℓ≥max⁡(n−j,0)j!ℓ!(j+ℓ−n)!n!g1(n,j,j+ℓ−n;κ)2∣j+ℓ−n⟩⟨j+ℓ−n∣,C(κ;n)(∣j⟩⟨j∣)=dκ2∑ℓ≥max⁡(j−n,0)n!ℓ!(n+ℓ−j)!j!g3(n,j,n+ℓ−j;κ)2∣n+ℓ−j⟩⟨n+ℓ−j∣.\begin{aligned} B(\kappa;n)(|j\rangle\langle j|)&=\sum_{\ell=0}^{j+n}\frac{(j+n-\ell)!\ell!}{j!n!}g_2(n,\ell,j;\kappa)^2|j+n-\ell\rangle\langle j+n-\ell|,\\ A(\kappa;n)(|j\rangle\langle j|)&=\kappa^{-2}\sum_{\ell\ge\max(n-j,0)}\frac{j!\ell!}{(j+\ell-n)!n!}g_1(n,j,j+\ell-n;\kappa)^2|j+\ell-n\rangle\langle j+\ell-n|,\\ C(\kappa;n)(|j\rangle\langle j|)&=d_\kappa^2\sum_{\ell\ge\max(j-n,0)}\frac{n!\ell!}{(n+\ell-j)!j!}g_3(n,j,n+\ell-j;\kappa)^2|n+\ell-j\rangle\langle n+\ell-j|. \end{aligned}B(κ;n)(∣j⟩⟨j∣)A(κ;n)(∣j⟩⟨j∣)C(κ;n)(∣j⟩⟨j∣)​=ℓ=0∑j+n​j!n!(j+n−ℓ)!ℓ!​g2​(n,ℓ,j;κ)2∣j+n−ℓ⟩⟨j+n−ℓ∣,=κ−2ℓ≥max(n−j,0)∑​(j+ℓ−n)!n!j!ℓ!​g1​(n,j,j+ℓ−n;κ)2∣j+ℓ−n⟩⟨j+ℓ−n∣,=dκ2​ℓ≥max(j−n,0)∑​(n+ℓ−j)!j!n!ℓ!​g3​(n,j,n+ℓ−j;κ)2∣n+ℓ−j⟩⟨n+ℓ−j∣.​

All weights are nonnegative and sum to one, all series converge in trace norm, and the attenuator output has finite support. The reciprocal-free form of g3g_3g3​ retains κ=0\kappa=0κ=0. These exact input-state identities do not imply the later mixed-input support equalities.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P20
Formal statement
noncomputable section

open Filter MeasureTheory

open scoped BigOperators Topology ENNReal

namespace QAlgorithms.Papers.Independent.Advance50.P20

open QAlgorithms.RealRegisters (Hilbert)

open QAlgorithms.Papers.Independent.Dependency50.P33
  (State PureState IsDensity IsTraceClass IsTraceClassChannel rankOne productCoeff traceSize)

open QAlgorithms.Papers.Independent.Dependency50.P39
  (Fock FockOperator fockKet fockDyad HasFockMatrix operatorOfMatrix KrausComplete
    CoherentRealized IsClassical husimiQ)

open QAlgorithms.Papers.Independent.Frontier18.P18
  (operatorCoeff boundedOperator conjugateCoeff IsKrausRepresentation)

open QAlgorithms.Papers.Independent.Frontier30.P14
  (Operation unitaryCoeff conjugateKernel partialRight partialLeft dilationReceiver weakComplement
    boundedUnitaryConjugation traceClassTensorPower operationalTraceClassCapacity)

open QAlgorithms.Papers.Independent.Claimed50.P35
  (InterleavedPhase ScaledWeylRepresentation physicalCommutationMatrix
    weylTraceCharacteristic LinearBosonic)

-- Accepted extended bit entropy and mean-photon thermal coefficients.

open QAlgorithms.Papers.Independent.Gap48.P26 (entropyBits thermalKernel)

open QAlgorithms.Papers.Independent.Claimed50.P39 (thermalProbability)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Section IV A, PDF pp.7--8, Eqs.(23),(25),(26): all three exact Fock laws,
with normalized nonnegative weights and trace-norm convergence. For B the sum
is finite (ell<=j+n). Invalid differences are excluded before their use. -/
theorem exactFockAction (c : PhotonFamily) (k : ℝ) (hk : PhotonParameter c k) (n j : ℕ) :
    DilationRealized c k ∧ KrausRealized c k n ∧ IsDensity (numberDensity j) ∧
    IsDensity (photonChannel c k n (numberDensity j)) ∧
    (∀ ell, 0 ≤ fockWeight c k n j ell) ∧ HasSum (fockWeight c k n j) 1 ∧
    TraceSeries (fun ell => (fockWeight c k n j ell : ℂ) •
      numberDensity (fockOutputIndex c n j ell))
      (photonChannel c k n (numberDensity j)) ∧
    (c = .attenuator →
      photonChannel c k n (numberDensity j) =
        ∑ ell ∈ Finset.range (j + n + 1), (fockWeight c k n j ell : ℂ) •
          numberDensity (j + n - ell)) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P20

end
Source
Non-Gaussian operations on bosonic modes of light: Photon-added Gaussian channels, arXiv:1604.07859v4, PDF p. 7, §IV A, unnumbered: exact Fock-state output laws (23),(25),(26)
Read-back

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

Let HA=ℓ2(A;C)H_A=\ell^2(A;\mathbb C)HA​=ℓ2(A;C). Call XXX trace class if Xab=∑rur(a)vr(b)‾X_{ab}=\sum_r u_r(a)\overline{v_r(b)}Xab​=∑r​ur​(a)vr​(b)​ with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞, and let τ(X)\tau(X)τ(X) be the infimum of these sums in [0,∞][0,\infty][0,∞], with infimum +∞+\infty+∞ if none exists. A density matrix is trace class, has real nonnegative finite quadratic forms, has summable real diagonal, and has real diagonal sum 111. Choose a family ccc, a real kkk, and n,j∈Nn,j\in\mathbb Nn,j∈N, with k≥1k\ge1k≥1 for the amplifier, 0≤k≤10\le k\le10≤k≤1 for the attenuator, or k≥0k\ge0k≥0 for the conjugator. Put ak=(1+k2)−1/2a_k=(1+k^2)^{-1/2}ak​=(1+k2)−1/2. The dilation coefficients for output (m,ℓ)(m,\ell)(m,ℓ) and input (h,s)(h,s)(h,s) are

DA,k=k−1h!ℓ!m!s!∑r=0s∑t=0m1{h=r+t, ℓ+r+t=s+m}(sr)(mt)(−1)r(k−1)s+t−r(1−k−2)m+r−t,DL,k=m!ℓ!h!s!∑r=0h∑t=0s1{ℓ=r+t, m+r+t=h+s}(hr)(st)(−1)s−tkh−r+t(1−k2)r+s−t,DC,k=aks!ℓ!m!h!∑r=0m∑t=0h1{s=r+t, ℓ+r+t=h+m}(mr)(ht)akh+r−t(−1)t(kak)m−r+t.\begin{aligned} D_{\mathrm A,k} &=k^{-1}\sqrt{\frac{h!\ell!}{m!s!}} \sum_{r=0}^{s}\sum_{t=0}^{m} \mathbf1_{\{h=r+t,\ \ell+r+t=s+m\}} \binom sr\binom mt(-1)^r(k^{-1})^{s+t-r}(\sqrt{1-k^{-2}})^{m+r-t},\\ D_{\mathrm L,k} &=\sqrt{\frac{m!\ell!}{h!s!}} \sum_{r=0}^{h}\sum_{t=0}^{s} \mathbf1_{\{\ell=r+t,\ m+r+t=h+s\}} \binom hr\binom st(-1)^{s-t}k^{h-r+t}(\sqrt{1-k^2})^{r+s-t},\\ D_{\mathrm C,k} &=a_k\sqrt{\frac{s!\ell!}{m!h!}} \sum_{r=0}^{m}\sum_{t=0}^{h} \mathbf1_{\{s=r+t,\ \ell+r+t=h+m\}} \binom mr\binom ht a_k^{h+r-t}(-1)^t(ka_k)^{m-r+t}. \end{aligned}DA,k​DL,k​DC,k​​=k−1m!s!h!ℓ!​​r=0∑s​t=0∑m​1{h=r+t, ℓ+r+t=s+m}​(rs​)(tm​)(−1)r(k−1)s+t−r(1−k−2​)m+r−t,=h!s!m!ℓ!​​r=0∑h​t=0∑s​1{ℓ=r+t, m+r+t=h+s}​(rh​)(ts​)(−1)s−tkh−r+t(1−k2​)r+s−t,=ak​m!h!s!ℓ!​​r=0∑m​t=0∑h​1{s=r+t, ℓ+r+t=h+m}​(rm​)(th​)akh+r−t​(−1)t(kak​)m−r+t.​

Let UUU be the selected complex linear isometric equivalence with this matrix, or the identity if none exists, write Bpq=(Ueq)(p)B_{pq}=(Ue_q)(p)Bpq​=(Ueq​)(p), and define

E(X)ab=∑e∑pB(a,e),p(∑qXp1q11{p2=n, q2=n}B(b,e),q‾).E(X)_{ab}=\sum_e\sum_pB_{(a,e),p} \left(\sum_qX_{p_1q_1}\mathbf1_{\{p_2=n,\ q_2=n\}}\overline{B_{(b,e),q}}\right).E(X)ab​=e∑​p∑​B(a,e),p​(q∑​Xp1​q1​​1{p2​=n, q2​=n}​B(b,e),q​​).

For all natural indices define

GA(n,h,m;k)=∑r=h−mmin⁡(n,h)(nr)(mh−r)(−1)r(k−1)n+h−2r(1−k−2)m+2r−h,GL(n,ℓ,h;k)=∑r=ℓ−nmin⁡(ℓ,h)(hr)(nℓ−r)(−1)n+r−ℓkh+ℓ−2r(1−k2)2r+n−ℓ,GC(n,h,m;k)=∑r=n−hmin⁡(n,m)(mr)(hn−r)(kak)m+n−2r(−1)n−rakh+2r−n,\begin{aligned} G_{\mathrm A}(n,h,m;k)&=\sum_{r=h-m}^{\min(n,h)} \binom nr\binom m{h-r}(-1)^r(k^{-1})^{n+h-2r}(\sqrt{1-k^{-2}})^{m+2r-h},\\ G_{\mathrm L}(n,\ell,h;k)&=\sum_{r=\ell-n}^{\min(\ell,h)} \binom hr\binom n{\ell-r}(-1)^{n+r-\ell}k^{h+\ell-2r}(\sqrt{1-k^2})^{2r+n-\ell},\\ G_{\mathrm C}(n,h,m;k)&=\sum_{r=n-h}^{\min(n,m)} \binom mr\binom h{n-r}(ka_k)^{m+n-2r}(-1)^{n-r}a_k^{h+2r-n}, \end{aligned}GA​(n,h,m;k)GL​(n,ℓ,h;k)GC​(n,h,m;k)​=r=h−m∑min(n,h)​(rn​)(h−rm​)(−1)r(k−1)n+h−2r(1−k−2​)m+2r−h,=r=ℓ−n∑min(ℓ,h)​(rh​)(ℓ−rn​)(−1)n+r−ℓkh+ℓ−2r(1−k2​)2r+n−ℓ,=r=n−h∑min(n,m)​(rm​)(n−rh​)(kak​)m+n−2r(−1)n−rakh+2r−n​,​

and

bℓ,mhA=1{m+n=h+ℓ}k−1h!ℓ!m!n!GA(n,h,m;k),bℓ,mhL=1{m+ℓ=h+n}m!ℓ!h!n!GL(n,ℓ,h;k),bℓ,mhC=1{m+h=n+ℓ}akn!ℓ!m!h!GC(n,h,m;k).\begin{aligned} b^{\mathrm A}_{\ell,mh}&=\mathbf1_{\{m+n=h+\ell\}}k^{-1}\sqrt{\frac{h!\ell!}{m!n!}}G_{\mathrm A}(n,h,m;k),\\ b^{\mathrm L}_{\ell,mh}&=\mathbf1_{\{m+\ell=h+n\}}\sqrt{\frac{m!\ell!}{h!n!}}G_{\mathrm L}(n,\ell,h;k),\\ b^{\mathrm C}_{\ell,mh}&=\mathbf1_{\{m+h=n+\ell\}}a_k\sqrt{\frac{n!\ell!}{m!h!}}G_{\mathrm C}(n,h,m;k). \end{aligned}bℓ,mhA​bℓ,mhL​bℓ,mhC​​=1{m+n=h+ℓ}​k−1m!n!h!ℓ!​​GA​(n,h,m;k),=1{m+ℓ=h+n}​h!n!m!ℓ!​​GL​(n,ℓ,h;k),=1{m+h=n+ℓ}​ak​m!h!n!ℓ!​​GC​(n,h,m;k).​

Let KℓK_\ellKℓ​ be the selected bounded operator with matrix bℓcb^c_\ellbℓc​, or zero if no such operator exists. Write PhP_hPh​ for the matrix with its sole nonzero entry 111 at (h,h)(h,h)(h,h), and put

coℓwℓAj+ℓ−n{(bℓ,oℓjA)2,n≤j+ℓ,0,otherwise,Lj+n−ℓ{(bℓ,oℓjL)2,ℓ≤j+n,0,otherwise,Cn+ℓ−j{(bℓ,oℓjC)2,j≤n+ℓ,0,otherwise.\begin{array}{c|c|c} c & o_\ell & w_\ell\\ \hline \mathrm A & j+\ell-n & \begin{cases}(b^{\mathrm A}_{\ell,o_\ell j})^2,&n\le j+\ell,\\0,&\text{otherwise},\end{cases}\\ \mathrm L & j+n-\ell & \begin{cases}(b^{\mathrm L}_{\ell,o_\ell j})^2,&\ell\le j+n,\\0,&\text{otherwise},\end{cases}\\ \mathrm C & n+\ell-j & \begin{cases}(b^{\mathrm C}_{\ell,o_\ell j})^2,&j\le n+\ell,\\0,&\text{otherwise}.\end{cases} \end{array}cALC​oℓ​j+ℓ−nj+n−ℓn+ℓ−j​wℓ​{(bℓ,oℓ​jA​)2,0,​n≤j+ℓ,otherwise,​{(bℓ,oℓ​jL​)2,0,​ℓ≤j+n,otherwise,​{(bℓ,oℓ​jC​)2,0,​j≤n+ℓ,otherwise.​​​

Every natural-number subtraction is truncated at zero, reversed summation bounds give empty sums, and 00=10^0=100=1; thus oℓo_\elloℓ​ is still defined when its validity condition fails, but its weight is then zero. The declaration asserts that UUU actually has matrix Dc,kD_{c,k}Dc,k​, that every KℓK_\ellKℓ​ actually has matrix bℓcb^c_\ellbℓc​, that PjP_jPj​ and E(Pj)E(P_j)E(Pj​) are density matrices, and that wℓ≥0w_\ell\ge0wℓ​≥0 for every ℓ\ellℓ, ∑ℓwℓ=1\sum_\ell w_\ell=1∑ℓ​wℓ​=1, every wℓPoℓw_\ell P_{o_\ell}wℓ​Poℓ​​ and E(Pj)E(P_j)E(Pj​) is trace class, and

τ ⁣(E(Pj)−∑ℓ∈FwℓPoℓ)⟶0\tau\!\left(E(P_j)-\sum_{\ell\in F}w_\ell P_{o_\ell}\right)\longrightarrow0τ(E(Pj​)−ℓ∈F∑​wℓ​Poℓ​​)⟶0

over finite subsets F⊆NF\subseteq\mathbb NF⊆N. If ccc is the attenuator, it additionally asserts the exact finite identity

E(Pj)=∑ℓ=0j+nwℓPj+n−ℓ.E(P_j)=\sum_{\ell=0}^{j+n}w_\ell P_{j+n-\ell}.E(Pj​)=ℓ=0∑j+n​wℓ​Pj+n−ℓ​.

Both n=0n=0n=0 and j=0j=0j=0, and all permitted parameter endpoints, are included.

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

    Confirmed by the moderator at approval.

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