Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 3.2 — large deviations, with small-time source correction

Open
QAlgorithms.Papers.Independent.Intake100.P34.entropy_large_deviations

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

prove2quantum

For the specified detailed-balance QDS with d>0d>0d>0, assume positivity improvement at every positive time. Let eee be its real spectral cumulant function, sˉ=−∇e(0)\bar s=-\nabla e(0)sˉ=−∇e(0), and

I(s)=sup⁡α∈RM{−α⋅s−e(α)}.I(s)=\sup_{\alpha\in\mathbb R^M}\{-\alpha\cdot s-e(\alpha)\}.I(s)=α∈RMsup​{−α⋅s−e(α)}.

The extended-real function III is nonnegative, convex and lower semicontinuous, has compact finite sublevel sets, and vanishes exactly at sˉ\bar ssˉ. For each initial state and ϵ>0\epsilon>0ϵ>0 there are a>0a>0a>0 and T>0T>0T>0 such that Pρt(∥s−sˉ∥2≥ϵ)≤e−taP^t_\rho(\|s-\bar s\|_2\ge\epsilon)\le e^{-ta}Pρt​(∥s−sˉ∥2​≥ϵ)≤e−ta for t≥Tt\ge Tt≥T. This corrects the printed assertion for all positive times.

For every Borel set GGG,

−inf⁡G∘I≤lim inf⁡t→∞t−1log⁡Pρt(G)≤lim sup⁡t→∞t−1log⁡Pρt(G)≤−inf⁡G‾I.-\inf_{G^\circ}I\le\liminf_{t\to\infty}t^{-1}\log P^t_\rho(G)\le\limsup_{t\to\infty}t^{-1}\log P^t_\rho(G)\le-\inf_{\overline G}I.−G∘inf​I≤t→∞liminf​t−1logPρt​(G)≤t→∞limsup​t−1logPρt​(G)≤−Ginf​I.

Here log⁡0=−∞\log0=-\inftylog0=−∞ and the infimum of the empty set is +∞+\infty+∞. Common time reversal implies I(−s)=∑jsj+I(s)I(-s)=\sum_js_j+I(s)I(−s)=∑j​sj​+I(s). A common Gibbs Hamiltonian at positive inverse temperatures implies I(s)=+∞I(s)=+\inftyI(s)=+∞ whenever β−1⋅s≠0\beta^{-1}\cdot s\ne0β−1⋅s=0. These conclusions give the full large-deviation description.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P34
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexConjugate ENNReal NNReal Matrix.Norms.L2Operator ComplexOrder

open MeasureTheory Filter

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Intake100.P34

open QAlgorithms (IsDensityMatrix)

open QAlgorithms.Papers.Independent.Dependency50.P16 (sandwich)

open QAlgorithms.Papers.Independent.Information100.P26 (Mat commutant scalars)

open QAlgorithms.Papers.Independent.Information100.P30 (MatrixMap IsPositiveMap)

open QAlgorithms.Papers.Independent.Information100.P56 (entropy)

open QAlgorithms.Papers.Independent.Information100.P69 (Faithful)

open QAlgorithms.Papers.Independent.Bridge50.P37 (hsAdjoint)

open QAlgorithms.Papers.Independent.Claimed50.P15
  (evaluate finiteRelativeEntropyNats entropyObservable)

open QAlgorithms.Papers.Independent.Claimed50.P43 (chaotic)

/-- PDF p.3: complex linear superoperators. -/
local notation "GeneratorMap" => fun d : ℕ => MatrixMap (Fin d) (Fin d)

/-- PDF pp.8–9, Corollary 3.2. SOURCE CORRECTION: the printed all-t tail bound is replaced
by an eventual bound; a jump lattice can miss the evaluate's epsilon ball at small times.
All rate and log-probability operations retain extended-real infinities. -/
theorem entropy_large_deviations {d M : ℕ} (D : DBData d M) (hER : ER D) :
    (∀ s : EntropyCoordinates M, 0 ≤ rateFunction D s) ∧ LowerSemicontinuous (rateFunction D) ∧
    (∀ x y : EntropyCoordinates M, ∀ r : ℝ, 0 < r → r < 1 →
      rateFunction D (r • x + (1 - r) • y) ≤
        (r : EReal) * rateFunction D x + ((1 - r : ℝ) : EReal) * rateFunction D y) ∧
    (∀ ell : ℝ, 0 ≤ ell → IsCompact {s : EntropyCoordinates M | rateFunction D s ≤ (ell : EReal)}) ∧
    (∀ s : EntropyCoordinates M, rateFunction D s = 0 ↔ s = entropyMean D) ∧
    (∀ rho, IsDensityMatrix rho → ∀ eps : ℝ, 0 < eps → ∃ a : ℝ, 0 < a ∧
      ∃ T : ℝ, 0 < T ∧ ∀ t ≥ T,
        efcs D rho t {s | eps ≤ length (s - entropyMean D)} ≤ ENNReal.ofReal (Real.exp (-t * a))) ∧
    (∀ rho, IsDensityMatrix rho → ∀ G : Set (EntropyCoordinates M), MeasurableSet G →
      -(⨅ s ∈ interior G, rateFunction D s) ≤ Filter.liminf (scaledLog (efcs D rho) G) atTop ∧
      Filter.liminf (scaledLog (efcs D rho) G) atTop ≤ Filter.limsup (scaledLog (efcs D rho) G) atTop ∧
      Filter.limsup (scaledLog (efcs D rho) G) atTop ≤ -(⨅ s ∈ closure G, rateFunction D s)) ∧
    (TR D → ∀ s : EntropyCoordinates M, rateFunction D (-s) = ((∑ j, s j : ℝ) : EReal) + rateFunction D s) ∧
    (∀ H : Mat d, ∀ beta : EntropyCoordinates M, Thermal D H beta → ∀ s : EntropyCoordinates M,
      reservoirPairing (fun j => (beta j)⁻¹) s ≠ 0 → rateFunction D s = ⊤) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P34

end
Source
Entropic fluctuations of quantum dynamical semigroups, arXiv:1305.4409v2, PDF p. 8, Corollary 3.2
Read-back

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

For any natural numbers d,Md,Md,M, let DDD consist of d>0d>0d>0, positive definite density matrices ρj∈Md(C)\rho_j\in M_d(\mathbb C)ρj​∈Md​(C), Hermitian matrices TjT_jTj​, and complex-linear maps Lj,Φj:Md(C)→Md(C)L_j,\Phi_j:M_d(\mathbb C)\to M_d(\mathbb C)Lj​,Φj​:Md​(C)→Md​(C), indexed by j=0,…,M−1j=0,\ldots,M-1j=0,…,M−1, such that every finite identity amplification of Φj\Phi_jΦj​ preserves positive semidefiniteness,

Lj(X)=i(TjX−XTj)−12(Φj(I)X+XΦj(I))+Φj(X),Lj∗(ρj)=0,Φj∗(Xρj)ρj−1=Φj(X),L_j(X)=i(T_jX-XT_j)-\tfrac12\bigl(\Phi_j(I)X+X\Phi_j(I)\bigr)+\Phi_j(X),\qquad L_j^*(\rho_j)=0,\qquad \Phi_j^*(X\rho_j)\rho_j^{-1}=\Phi_j(X),Lj​(X)=i(Tj​X−XTj​)−21​(Φj​(I)X+XΦj​(I))+Φj​(X),Lj∗​(ρj​)=0,Φj∗​(Xρj​)ρj−1​=Φj​(X),

and, for every t>0t>0t>0, etLje^{tL_j}etLj​ is completely positive and sends III to III; here ∗^*∗ on maps denotes the Hilbert–Schmidt adjoint, and a density matrix is positive semidefinite with trace 111. Put L=∑jLjL=\sum_jL_jL=∑j​Lj​, and assume that etL(X)e^{tL}(X)etL(X) is positive definite for every t>0t>0t>0 and every nonzero positive semidefinite XXX. For a∈RMa\in\mathbb R^Ma∈RM, define

La(X)=∑jLj(Xρj−aj)ρjaj,e(a)=sup⁡{ℜz:z is a root of the characteristic polynomial of La},\mathcal L_a(X)=\sum_jL_j(X\rho_j^{-a_j})\rho_j^{a_j},\qquad e(a)=\sup\{\Re z:z\text{ is a root of the characteristic polynomial of }\mathcal L_a\},La​(X)=j∑​Lj​(Xρj−aj​​)ρjaj​​,e(a)=sup{ℜz:z is a root of the characteristic polynomial of La​},

where ρjz=exp⁡(zlog⁡ρj)\rho_j^z=\exp(z\log\rho_j)ρjz​=exp(zlogρj​), and define

I(s)=sup⁡a∈RM(−a⋅s−e(a))∈[−∞,+∞],sˉj=−ddxe(0 with coordinate j replaced by x)∣x=0.I(s)=\sup_{a\in\mathbb R^M}\bigl(-a\cdot s-e(a)\bigr)\in[-\infty,+\infty], \qquad \bar s_j=-\left.\frac{d}{dx}e(0\text{ with coordinate }j\text{ replaced by }x)\right|_{x=0}.I(s)=a∈RMsup​(−a⋅s−e(a))∈[−∞,+∞],sˉj​=−dxd​e(0 with coordinate j replaced by x)​x=0​.

The measure Pρ,tP_{\rho,t}Pρ,t​ used below is defined as follows: let Aj\mathcal A_jAj​ be the set of logarithms of the eigenvalues of ρj\rho_jρj​, let Pj,aP_{j,a}Pj,a​ be its spectral projection for logarithm aaa, and put

Fj,w(X)=∑a,b,c,f∈Aja−b=w, c−f=wPj,bΦj(Pj,aXPj,c)Pj,f,K=∑j(12Φj(I)+iTj),N(X)=−K†X−XK,Jj,w(u)=e−uN∘Fj,w∘euN.F_{j,w}(X)= \sum_{\substack{a,b,c,f\in\mathcal A_j\\a-b=w,\ c-f=w}} P_{j,b}\Phi_j(P_{j,a}XP_{j,c})P_{j,f},\quad K=\sum_j\bigl(\tfrac12\Phi_j(I)+iT_j\bigr),\quad N(X)=-K^\dagger X-XK,\quad J_{j,w}(u)=e^{-uN}\circ F_{j,w}\circ e^{uN}.Fj,w​(X)=a,b,c,f∈Aj​a−b=w, c−f=w​∑​Pj,b​Φj​(Pj,a​XPj,c​)Pj,f​,K=j∑​(21​Φj​(I)+iTj​),N(X)=−K†X−XK,Jj,w​(u)=e−uN∘Fj,w​∘euN.

For each number n≥0n\ge0n≥0 of jumps, each sequence of labels (jk,wk)(j_k,w_k)(jk​,wk​), with wk∈Ajk−Ajkw_k\in\mathcal A_{j_k}-\mathcal A_{j_k}wk​∈Ajk​​−Ajk​​, and 0≤u1≤⋯≤un≤t0\le u_1\le\cdots\le u_n\le t0≤u1​≤⋯≤un​≤t, give the jump times Lebesgue density equal to the nonnegative part of

ℜtr⁡ ⁣((etN)∗(ρ) [Jjn,wn(un)∘⋯∘Jj1,w1(u1)](I)).\Re\operatorname{tr}\!\left((e^{tN})^*(\rho)\, [J_{j_n,w_n}(u_n)\circ\cdots\circ J_{j_1,w_1}(u_1)](I)\right).ℜtr((etN)∗(ρ)[Jjn​,wn​​(un​)∘⋯∘Jj1​,w1​​(u1​)](I)).

Sum these measures over all nnn and label sequences and push them forward by sj=t−1∑k:jk=jwks_j=t^{-1}\sum_{k:j_k=j}w_ksj​=t−1∑k:jk​=j​wk​ to obtain Pρ,tP_{\rho,t}Pρ,t​ for t≠0t\ne0t=0; set Pρ,0=δ0P_{\rho,0}=\delta_0Pρ,0​=δ0​, with the same ordered-time construction defining the trajectory measure for other real ttt. Then III is nonnegative and lower semicontinuous; for every x,y∈RMx,y\in\mathbb R^Mx,y∈RM and 0<r<10<r<10<r<1,

I(rx+(1−r)y)≤rI(x)+(1−r)I(y);I(rx+(1-r)y)\le rI(x)+(1-r)I(y);I(rx+(1−r)y)≤rI(x)+(1−r)I(y);

every sublevel set {s:I(s)≤ℓ}\{s:I(s)\le\ell\}{s:I(s)≤ℓ} is compact for every real ℓ≥0\ell\ge0ℓ≥0; and I(s)=0I(s)=0I(s)=0 exactly when s=sˉs=\bar ss=sˉ. For every density matrix ρ\rhoρ and every ε>0\varepsilon>0ε>0, there are a>0,T>0a>0,T>0a>0,T>0 such that, for all real t≥Tt\ge Tt≥T,

Pρ,t{s:∥s−sˉ∥2≥ε}≤e−ta.P_{\rho,t}\{s:\|s-\bar s\|_2\ge\varepsilon\}\le e^{-ta}.Pρ,t​{s:∥s−sˉ∥2​≥ε}≤e−ta.

For every such ρ\rhoρ and every measurable G⊆RMG\subseteq\mathbb R^MG⊆RM,

−inf⁡s∈int⁡GI(s)≤lim inf⁡t→+∞log⁡Pρ,t(G)t≤lim sup⁡t→+∞log⁡Pρ,t(G)t≤−inf⁡s∈G‾I(s),-\inf_{s\in\operatorname{int}G}I(s) \le\liminf_{t\to+\infty}\frac{\log P_{\rho,t}(G)}t \le\limsup_{t\to+\infty}\frac{\log P_{\rho,t}(G)}t \le-\inf_{s\in\overline G}I(s),−s∈intGinf​I(s)≤t→+∞liminf​tlogPρ,t​(G)​≤t→+∞limsup​tlogPρ,t​(G)​≤−s∈Ginf​I(s),

with extended-real logarithms and infima, including log⁡0=−∞\log0=-\inftylog0=−∞ and inf⁡∅=+∞\inf\varnothing=+\inftyinf∅=+∞. If there exists an additive, conjugate-linear, multiplicative, unital, adjoint-preserving involution Θ\ThetaΘ on Md(C)M_d(\mathbb C)Md​(C) such that, for every jjj, Θ(ρj)=ρj\Theta(\rho_j)=\rho_jΘ(ρj​)=ρj​ and Lj∗((ΘX)ρj)ρj−1=Θ(LjX)L_j^*((\Theta X)\rho_j)\rho_j^{-1}=\Theta(L_jX)Lj∗​((ΘX)ρj​)ρj−1​=Θ(Lj​X) for every XXX, then

I(−s)=∑jsj+I(s)(s∈RM).I(-s)=\sum_js_j+I(s)\qquad(s\in\mathbb R^M).I(−s)=j∑​sj​+I(s)(s∈RM).

Finally, for every Hermitian HHH and every β∈RM\beta\in\mathbb R^Mβ∈RM satisfying βj>0\beta_j>0βj​>0 and ρj=e−βjH/tr⁡(e−βjH)\rho_j=e^{-\beta_jH}/\operatorname{tr}(e^{-\beta_jH})ρj​=e−βj​H/tr(e−βj​H) for every jjj, I(s)=+∞I(s)=+\inftyI(s)=+∞ whenever ∑jβj−1sj≠0\sum_j\beta_j^{-1}s_j\ne0∑j​βj−1​sj​=0. The case M=0M=0M=0 is included: R0\mathbb R^0R0 is a singleton and coordinate sums are empty.

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

    Confirmed by the moderator at approval.

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