Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section III B, Eqs.(22)–(23): derivatives along the constructed clocks

Open
QAlgorithms.Papers.Independent.Advance50.P22.parametric_entropy_derivatives

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

prove2quantum

Let n,K≥1n,K\ge1n,K≥1, let Φ\PhiΦ be a Gaussian scattering channel, and let its independent normalized inputs have finite mean photon number. Take clocks solving the entropy clock equations and fix τ>0\tau>0τ>0. Write Sα(τ)S_\alpha(\tau)Sα​(τ) and SY(τ)S_Y(\tau)SY​(τ) for the corresponding input and output entropies. On the finite twice-differentiable displacement-relative-entropy domain, the full Fisher Hessians satisfy

dSαdτ=14eSα/ntr⁡(Jαγα),dSYdτ=14(∑αλαeSα/n)tr⁡JY.\frac{dS_\alpha}{d\tau}=\frac14e^{S_\alpha/n}\operatorname{tr}(J_\alpha\gamma_\alpha),\qquad \frac{dS_Y}{d\tau}=\frac14\left(\sum_\alpha\lambda_\alpha e^{S_\alpha/n}\right)\operatorname{tr}J_Y.dτdSα​​=41​eSα​/ntr(Jα​γα​),dτdSY​​=41​(α∑​λα​eSα​/n)trJY​.

The input formula is evaluated only for nonsingular blocks. Singular inputs have zero entropy derivative without a Fisher evaluation. If all blocks are singular, the output entropy derivative is zero without an output Hessian assumption. These are derivative conclusions along the constructed clocks.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P22
Formal statement
noncomputable section

open Filter MeasureTheory

open scoped BigOperators ENNReal Topology

namespace QAlgorithms.Papers.Independent.Advance50.P22

attribute [local instance] Classical.propDecidable Classical.decEq

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

open QAlgorithms.Papers.Independent.Frontier18.P07
  (extendedEntropyNats extendedRelativeEntropyNats)

open QAlgorithms.Papers.Independent.Claimed50.P19
  (FockIndex DensityKernel Cov PhysicalCovariance FiniteMeanEnergy
   productWeyl weylArgument multimodeWeylTrace)

open QAlgorithms.Papers.Independent.Frontier30.P08
  (QuadratureIndex interleavedSymplecticForm)

open QAlgorithms.Papers.Independent.Next46.P17
  (bosonicEntropyPower conjugateCoefficient firstMoments quadratureCovariance
   gaussianCoefficient gaussification)

open QAlgorithms.Papers.Independent.Information100.P49 (symplecticEntropy)

/-- PDF p.4, Section III B, (22)--(23): both derivatives along entropy clocks.
Frozen singular inputs have zero derivative without a Fisher evaluation. If every
weight vanishes the output derivative is zero, even for a nonregular output.
Otherwise the output Hessian is used only on its explicit finite twice-differentiability domain. -/
theorem parametric_entropy_derivatives {n K : ℕ} (hn : 0 < n) (hK : 0 < K)
    (C : Scattering n K) (rho : Fin K → State (FockIndex n))
    (hEnergy : ∀ a, FiniteMeanEnergy (rho a).coefficients)
    (clock : Fin K → ℝ → ℝ)
    (hclock : EntropyClocks C.block (fun a => (rho a).coefficients) clock)
    (tau : ℝ) (htau : 0 < tau) :
    (∀ a, (C.block a).det ≠ 0 →
      MatrixFisherRegular (anisotropicHeat (inputNoise (C.block a))
        (clock a tau) (rho a).coefficients) →
      HasDerivAt (fun u => evolvedInputEntropyNats C.block (fun b => (rho b).coefficients) a (clock a u))
        (Real.exp (evolvedInputEntropyNats C.block (fun b => (rho b).coefficients) a (clock a tau) /
          (n : ℝ)) * (matrixFisher (anisotropicHeat (inputNoise (C.block a))
            (clock a tau) (rho a).coefficients) * inputNoise (C.block a)).trace / 4) tau) ∧
    (∀ a, (C.block a).det = 0 →
      HasDerivAt (fun u => evolvedInputEntropyNats C.block (fun b => (rho b).coefficients) a (clock a u)) 0 tau) ∧
    (let Y := fun u => C.channel (independentInput (evolvedInputs C.block
        (fun a => (rho a).coefficients) (fun a => clock a u)))
     ((∀ a, (C.block a).det = 0) →
       HasDerivAt (fun u => (extendedEntropyNats (Y u)).toReal) 0 tau) ∧
     ((∃ a, (C.block a).det ≠ 0) → MatrixFisherRegular (Y tau) →
       HasDerivAt (fun u => (extendedEntropyNats (Y u)).toReal)
         ((∑ a, determinantWeight (C.block a) *
           Real.exp (evolvedInputEntropyNats C.block (fun b => (rho b).coefficients) a (clock a tau) /
             (n : ℝ))) * (matrixFisher (Y tau)).trace / 4) tau)) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P22

end
Source
The multi-mode quantum Entropy Power Inequality, arXiv:1408.6410v2, PDF p. 4, Section III B, Eqs.(22)–(23): derivatives along the constructed clocks
Read-back

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

Let n,Kn,Kn,K be positive integers, let Q={0,…,n−1}×{0,1}Q=\{0,\ldots,n-1\}\times\{0,1\}Q={0,…,n−1}×{0,1}, and let F=N{0,…,n−1}F=\mathbb N^{\{0,\ldots,n-1\}}F=N{0,…,n−1}. All covariance matrices below are real matrices indexed by QQQ. A matrix XXX indexed by a set EEE is called nuclear here if it has an expansion Xij=∑r=0∞ur(i)vr(j)‾X_{ij}=\sum_{r=0}^{\infty}u_r(i)\overline{v_r(j)}Xij​=∑r=0∞​ur​(i)vr​(j)​, with ur,vr∈ℓ2(E;C)u_r,v_r\in\ell^2(E;\mathbb C)ur​,vr​∈ℓ2(E;C) and ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞; a state is such a matrix for which every finite quadratic form ∑i,j∈szi‾Xijzj\sum_{i,j\in s}\overline{z_i}X_{ij}z_j∑i,j∈s​zi​​Xij​zj​ is real and nonnegative, the real diagonal entries form a summable family, and their sum is 111. Define S(X)∈[0,∞]S(X)\in[0,\infty]S(X)∈[0,∞] as follows: for every finite principal submatrix A=X∣s×sA=X|_{s\times s}A=X∣s×s​, put s(A)=max⁡{(Re⁡tr⁡A)log⁡(Re⁡tr⁡A)−Re⁡tr⁡(AL(A)),0}s(A)=\max\{(\operatorname{Re}\operatorname{tr}A)\log(\operatorname{Re}\operatorname{tr}A)-\operatorname{Re}\operatorname{tr}(A L(A)),0\}s(A)=max{(RetrA)log(RetrA)−Retr(AL(A)),0}, where L(A)L(A)L(A) is the real continuous functional calculus of the total real logarithm, and set S(X)=sup⁡ss(A)S(X)=\sup_s s(A)S(X)=sups​s(A), including the empty submatrix. Define D(X∥Y)D(X\Vert Y)D(X∥Y) by taking the supremum over the same finite subsets of max⁡{Re⁡tr⁡(AL(A)−AL(B)+B−A),0}\max\{\operatorname{Re}\operatorname{tr}(A L(A)-A L(B)+B-A),0\}max{Retr(AL(A)−AL(B)+B−A),0} when ker⁡B⊆ker⁡A\ker B\subseteq\ker AkerB⊆kerA, and +∞+\infty+∞ otherwise, where B=Y∣s×sB=Y|_{s\times s}B=Y∣s×s​. Write r(Z)=S(Z)r(Z)=S(Z)r(Z)=S(Z) converted to a real number, with +∞+\infty+∞ converted to 000. For z∈Cz\in\mathbb Cz∈C, define

dz(p,q)=e−∣z∣2/2p! q!∑j=0min⁡(p,q)zp−j(−z‾)q−jj!(p−j)!(q−j)!,U(x)ab=∏j=0n−1d(xj,0+ixj,1)/2(aj,bj).d_z(p,q)=e^{-|z|^2/2}\sqrt{p!\,q!}\sum_{j=0}^{\min(p,q)} \frac{z^{p-j}(-\overline z)^{q-j}}{j!(p-j)!(q-j)!}, \qquad U(x)_{ab}=\prod_{j=0}^{n-1}d_{(x_{j,0}+i x_{j,1})/\sqrt2}(a_j,b_j).dz​(p,q)=e−∣z∣2/2p!q!​j=0∑min(p,q)​j!(p−j)!(q−j)!zp−j(−z)q−j​,U(x)ab​=j=0∏n−1​d(xj,0​+ixj,1​)/2​​(aj​,bj​).

Put TxXab=∑i∑jU(x)aiXijU(x)bj‾\mathcal T_x X_{ab}=\sum_i\sum_j U(x)_{ai}X_{ij}\overline{U(x)_{bj}}Tx​Xab​=∑i​∑j​U(x)ai​Xij​U(x)bj​​, let RxR xRx have coordinates (Rx)j,0=−xj,1(R x)_{j,0}=-x_{j,1}(Rx)j,0​=−xj,1​, (Rx)j,1=xj,0(R x)_{j,1}=x_{j,0}(Rx)j,1​=xj,0​, and put χX(q)=∑i∑jXijU(Rq)ji\chi_X(q)=\sum_i\sum_j X_{ij}U(Rq)_{ji}χX​(q)=∑i​∑j​Xij​U(Rq)ji​. The given scattering object consists of matrices MaM_aMa​, 0≤a<K0\le a<K0≤a<K, and a map Φ\PhiΦ from matrices indexed by FKF^KFK to matrices indexed by FFF, satisfying ∑aMaΩMaT=Ω\sum_a M_a\Omega M_a^T=\Omega∑a​Ma​ΩMaT​=Ω, where Ω\OmegaΩ has one block (01−10)\left(\begin{smallmatrix}0&1\\-1&0\end{smallmatrix}\right)(0−1​10​) per mode; Φ\PhiΦ preserves nuclear matrices, is additive and complex homogeneous on them, and for every integer m≥0m\ge0m≥0 and every state ZZZ indexed by FK×{0,…,m−1}F^K\times\{0,\ldots,m-1\}FK×{0,…,m−1}, the matrix with entries Φ((Z(i,α),(j,β))i,j)bc\Phi((Z_{(i,\alpha),(j,\beta)})_{i,j})_{bc}Φ((Z(i,α),(j,β)​)i,j​)bc​, indexed by (b,α),(c,β)(b,\alpha),(c,\beta)(b,α),(c,β), is a state. The condition for m=0m=0m=0 is vacuous. Moreover, for every joint state ZZZ and every q∈RQq\in\mathbb R^Qq∈RQ,

χΦ(Z)(q)=∑i∑jZij∏aU(R(MaTq))jaia.\chi_{\Phi(Z)}(q)=\sum_i\sum_j Z_{ij}\prod_a U(R(M_a^Tq))_{j_a i_a}.χΦ(Z)​(q)=i∑​j∑​Zij​a∏​U(R(MaT​q))ja​ia​​.

For each aaa, let ρa\rho_aρa​ be a state indexed by FFF, and assume ∑i∈F(∑jij)Re⁡(ρa)ii\sum_{i\in F}(\sum_j i_j)\operatorname{Re}(\rho_a)_{ii}∑i∈F​(∑j​ij​)Re(ρa​)ii​ is summable. Put wa=∣det⁡Ma∣1/nw_a=|\det M_a|^{1/n}wa​=∣detMa​∣1/n and Ga=0G_a=0Ga​=0 if det⁡Ma=0\det M_a=0detMa​=0, otherwise Ga=waMa−1(Ma−1)TG_a=w_a M_a^{-1}(M_a^{-1})^TGa​=wa​Ma−1​(Ma−1​)T. Define

Hγ,t(X)={(∫RQe−xTγ−1x/t(πt)ndet⁡γ (TxX)ij dx)ij,t>0 and γ is positive definite,X,otherwise.H_{\gamma,t}(X)= \begin{cases} \displaystyle\left(\int_{\mathbb R^Q} \frac{e^{-x^T\gamma^{-1}x/t}}{(\pi t)^n\sqrt{\det\gamma}}\, (\mathcal T_xX)_{ij}\,dx\right)_{ij}, &t>0\ \text{and }\gamma\text{ is positive definite},\\ X,&\text{otherwise}. \end{cases}Hγ,t​(X)=⎩⎨⎧​(∫RQ​(πt)ndetγ​e−xTγ−1x/t​(Tx​X)ij​dx)ij​,X,​t>0 and γ is positive definite,otherwise.​

Let Ea(t)=r(HGa,t(ρa))E_a(t)=r(H_{G_a,t}(\rho_a))Ea​(t)=r(HGa​,t​(ρa​)). The given clocks ca:R→Rc_a:\mathbb R\to\mathbb Rca​:R→R satisfy ca(0)=0c_a(0)=0ca​(0)=0, and, for every s≥0s\ge0s≥0, satisfy ca(s)≥0c_a(s)\ge0ca​(s)≥0 and have derivative within [0,∞)[0,\infty)[0,∞) equal to eEa(ca(s))/ne^{E_a(c_a(s))/n}eEa​(ca​(s))/n. For any matrix XXX, put fX(x)=D(X∥TxX)f_X(x)=D(X\Vert\mathcal T_xX)fX​(x)=D(X∥Tx​X) converted to a real number, again sending +∞+\infty+∞ to 000, and define J(X)ij=D(DfX)(0)[ei][ej]J(X)_{ij}=D(Df_X)(0)[e_i][e_j]J(X)ij​=D(DfX​)(0)[ei​][ej​]. Call XXX regular when D(X∥TxX)D(X\Vert\mathcal T_xX)D(X∥Tx​X) is finite throughout some neighborhood of 000, fXf_XfX​ is differentiable throughout some neighborhood of 000, and DfXDf_XDfX​ is differentiable at 000. For every τ>0\tau>0τ>0, the assertion is the conjunction of the following derivative statements: for every aaa with det⁡Ma≠0\det M_a\ne0detMa​=0, if HGa,ca(τ)(ρa)H_{G_a,c_a(\tau)}(\rho_a)HGa​,ca​(τ)​(ρa​) is regular, then

dduEa(ca(u))∣u=τ=14eEa(ca(τ))/ntr⁡ ⁣(J(HGa,ca(τ)(ρa))Ga);\left.\frac{d}{du}E_a(c_a(u))\right|_{u=\tau} =\frac14 e^{E_a(c_a(\tau))/n} \operatorname{tr}\!\left(J(H_{G_a,c_a(\tau)}(\rho_a))G_a\right);dud​Ea​(ca​(u))​u=τ​=41​eEa​(ca​(τ))/ntr(J(HGa​,ca​(τ)​(ρa​))Ga​);

for every aaa with det⁡Ma=0\det M_a=0detMa​=0, the same derivative exists and equals 000. Finally, define Xa(u)=HGa,ca(u)(ρa)X_a(u)=H_{G_a,c_a(u)}(\rho_a)Xa​(u)=HGa​,ca​(u)​(ρa​), P(u)ij=∏aXa(u)iajaP(u)_{ij}=\prod_a X_a(u)_{i_a j_a}P(u)ij​=∏a​Xa​(u)ia​ja​​, and Y(u)=Φ(P(u))Y(u)=\Phi(P(u))Y(u)=Φ(P(u)). If every det⁡Ma=0\det M_a=0detMa​=0, then ddur(Y(u))∣u=τ=0\left.\frac{d}{du}r(Y(u))\right|_{u=\tau}=0dud​r(Y(u))​u=τ​=0; if some det⁡Ma≠0\det M_a\ne0detMa​=0 and Y(τ)Y(\tau)Y(τ) is regular, then

ddur(Y(u))∣u=τ=14(∑awaeEa(ca(τ))/n)tr⁡J(Y(τ)).\left.\frac{d}{du}r(Y(u))\right|_{u=\tau} =\frac14\left(\sum_a w_a e^{E_a(c_a(\tau))/n}\right) \operatorname{tr}J(Y(\tau)).dud​r(Y(u))​u=τ​=41​(a∑​wa​eEa​(ca​(τ))/n)trJ(Y(τ)).

All displayed derivatives are ordinary two-sided derivatives at τ\tauτ; no finiteness assumption on the entropies is added beyond the stated hypotheses and regularity conditions.

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