This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Fluctuation Theorems and Thermodynamic Inequalities for Nonequilibrium Processes Stopped at Stochastic Times

Haoran Yang1,3 [email protected]    Hao Ge1,2 [email protected] 1Beijing International Center for Mathematical Research (BICMR), Peking University, Beijing 100871, People’s Republic of China
2Biomedical Pioneering Innovation Center (BIOPIC), Peking University, Beijing 100871, People’s Republic of China
3School of Mathematical Sciences, Peking University, Beijing 100871, People’s Republic of China
Abstract

We investigate thermodynamics of general nonequilibrium processes stopped at stochastic times. We propose a systematic strategy for constructing fluctuation-theorem-like martingales for each thermodynamic functional, yielding a family of stopping-time fluctuation theorems. We derive second-law-like thermodynamic inequalities for the mean thermodynamic functional at stochastic stopping times, the bounds of which are stronger than the thermodynamic inequalities resulting from the traditional fluctuation theorems when the stopping time is reduced to a deterministic one. Numerical verification is carried out for three well-known thermodynamic functionals, namely, entropy production, free energy dissipation and dissipative work. These universal equalities and inequalities are valid for arbitrary stopping strategies, and thus provide a comprehensive framework with new insights into the fundamental principles governing nonequilibrium systems.

Stochastic thermodynamics extends classical thermodynamics to individual trajectories of non-equilibrium processes, encompassing stationary or transient systems with or without external driving forces [1, 2, 3, 4]. A first-law-like energy balance equality and various second-law-like thermodynamic inequalities can be derived from fluctuating trajectories. Fluctuation theorems emerging from stochastic thermodynamics, as equality versions of the second law, impose constraints on probability distributions of thermodynamic functionals along single stochastic trajectories [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19].

Recently, a gambling demon, which stops the processes at random times, has been proposed for non-stationary stochastic processes without external driving force and feedback of control under an arbitrary deterministic protocol [20, 21]. The demon employs martingales, a concept that has been proposed in probability theory for more than 7070 years. The authors constructed a martingale for dissipative work, and obtained a stopping-time fluctuation theorem by applying the well-known optional stopping theorem (or Doob’s optional sampling theorem), which states that the average of a martingale at a stopping time is equal to the average of its initial value [22].

On the other hand, we already know that there are three faces in stochastic thermodynamics [23, 10, 24, 25], namely, (total) entropy production, housekeeping heat (non-adiabatic entropy production) and free energy dissipation (adiabatic entropy production). In a system with no external driving force, the housekeeping heat vanishes and the entropy production is equal to the free energy dissipation. However, in general non-stationary stochastic processes with an external driving force as well as an time-dependent protocol, we are curious about whether different martingales can be constructed for entropy production and free energy dissipation separately, while the martingale for housekeeping heat is straightforward to construct without any compensated term [26]. Both entropy production and free energy dissipation belong to a class of functionals along a single stochastic trajectory, i.e. general backward thermodynamic functionals, which has been rigorously defined in [27]. Housekeeping heat belongs to another class, called forward thermodynamic functionals [27].

Therefore, in this paper, we propose a systematic strategy for constructing martingales applicable to general backward thermodynamic functionals, with a focus on entropy production, free energy dissipation, and dissipative work as illustrative examples. Notably, the construction of martingales for forward thermodynamic functionals has been previously established in [27]. By leveraging our constructed martingales, we derive stopping-time fluctuation theorems that hold for general backward thermodynamic functionals, followed by second-law-like thermodynamic inequalities for arbitrary stopping times. When the stochastic stopping time reduces to a deterministic one, we exploit the additional degree of freedom present in our constructed martingales, enabling us to obtain a sharper nonnegative bound for the mean thermodynamic functional. In particular, we obtain a stronger inequality for the dissipative work than that obtained through classic Jarzynski equality.

Stopping-time fluctuation theorems and thermodynamic inequalities First, we will give an even more general definition of the backward thermodynamic functional than [27]. We consider a stochastic thermodynamic system with temperature β=1kB𝐓\beta=\frac{1}{k_{B}\mathbf{T}}. We denote the state (discrete or continuous) of the system at time s0s\geqslant 0 by X(s)X(s), whose stochastic dynamics is governed by a prescribed deterministic protocol Λ={λ(s):s0}\Lambda=\{\lambda(s)\colon s\geqslant 0\}. For a given duration [0,t][0,t], the trajectories are traced by the coordinates in phase space, denoted by x[0,t]{x(s)}0stx_{[0,t]}\equiv\{x(s)\}_{0\leqslant s\leqslant t}. We further denote the probability of observing a given trajectory x[0,t]x_{[0,t]} by 𝒫X(x[0,t])\mathcal{P}^{X}(x_{[0,t]}), and the probability density of X(s)X(s) by ϱX(x,s)\varrho^{X}(x,s) at any given time ss. The general backward thermodynamic functional in the duration [0,t][0,t] is defined by {X(s)}0st\{X(s)\}_{0\leqslant s\leqslant t} and another stochastic process {Y(s)}\{Y(s)\} with protocol Λ~={λ~(s):s0}\tilde{\Lambda}=\{\tilde{\lambda}(s)\colon s\geqslant 0\} (can be either the same as or different from Λ\Lambda). The only condition is that the processes {X(s)}0st\{X(s)\}_{0\leqslant s\leqslant t} and {Y(s)}0st\{Y(s)\}_{0\leqslant s\leqslant t} are absolutely continuous with each other, i.e. the probability 𝒫X(x[0,t])>0\mathcal{P}^{X}(x_{[0,t]})>0 if and only if 𝒫Y(x[0,t])>0\mathcal{P}^{Y}(x_{[0,t]})>0 for any given trajectory x[0,t]x_{[0,t]}. We define a third process {Zt(s)}0st\{Z^{t}(s)\}_{0\leqslant s\leqslant t} driven by the time-reversed protocol Λ~r,t={λ~(ts):0st}\tilde{\Lambda}^{r,t}=\{\tilde{\lambda}(t-s)\colon 0\leqslant s\leqslant t\} of {Y(s)}\{Y(s)\} up to time tt. The probability density of Zt(s)Z^{t}(s) is denoted by ϱZt(x,s)\varrho^{Z^{t}}(x,s) for any given time sts\leqslant t. Note that there is also an additional degree of freedom, i.e. the arbitrary choice of the initial distribution ϱZt(x,0)\varrho^{Z^{t}}(x,0) of {Zt(s)}0st\{Z^{t}(s)\}_{0\leqslant s\leqslant t} for any tt, because for different tt, only the protocols inherited from {Y(s)}\{Y(s)\} are closely related to each other, not the initial distributions.

The probability of observing a given trajectory x[0,t]x_{[0,t]} in {Zt(s)}0st\{Z^{t}(s)\}_{0\leqslant s\leqslant t} is denoted by 𝒫Zt(x[0,t])\mathcal{P}^{Z^{t}}(x_{[0,t]}). We define a general backward thermodynamic functional by

Ft(x[0,t])1βln𝒫X(x[0,t])𝒫Zt(x~[0,t]),F_{t}(x_{[0,t]})\equiv\frac{1}{\beta}\ln\frac{\mathcal{P}^{X}(x_{[0,t]})}{\mathcal{P}^{Z^{t}}(\tilde{x}_{[0,t]})},

where x~[0,t]{x(ts)}0st\tilde{x}_{[0,t]}\equiv\{x(t-s)\}_{0\leqslant s\leqslant t} denotes the time reversal of x[0,t]x_{[0,t]} in the duration [0,t][0,t].

It is straightforward to derive the fluctuation theorem for FtF_{t}:

eβFt=1.\left\langle e^{-\beta F_{t}}\right\rangle=1.

However, FtF_{t} is generally not a martingale [27].

For any given time interval [0,T][0,T], we would like to add a compensated term δt\delta_{t} as a function of X(t)X(t) and tt, to FtF_{t}, so that eβ(Ft+δt)e^{-\beta(F_{t}+\delta_{t})} be a martingale, i.e.

eβ(FT+δT)|X[0,t]=eβ(Ft+δt),\left\langle e^{-\beta(F_{T}+\delta_{T})}\middle|X_{[0,t]}\right\rangle=e^{-\beta(F_{t}+\delta_{t})},

for any t[0,T]t\in[0,T].

Then we propose

δt(X(t))1βlnϱZt(X(t),0)ϱ~ZT(X(t),Tt),\delta_{t}(X(t))\equiv\frac{1}{\beta}\ln\frac{\varrho^{Z^{t}}(X(t),0)}{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}, (1)

in which ϱ~ZT(X(t),Tt)\tilde{\varrho}^{Z^{T}}(X(t),T-t) is the distribution of ZT(t)Z^{T}(t) with any arbitrary initial distribution ϱ~ZT(,0)\tilde{\varrho}^{Z^{T}}(\cdot,0), which is not necessarily the same as ϱZT(,0)\varrho^{Z^{T}}(\cdot,0) and contributes another extra degree of freedom.

We apply the optional stopping theorem in martingale theory to derive the general stopping-time fluctuation theorem

eβ(Fτ+δτ)=1,\left\langle e^{-\beta(F_{\tau}+\delta_{\tau})}\right\rangle=1, (2)

where τ\tau is a stopping time, defined by any stopping mechanism to decide whether to stop a process based on the current position and past events.

By Jensen’s inequality,

Fτδτ.\left\langle F_{\tau}\right\rangle\geqslant-\left\langle\delta_{\tau}\right\rangle. (3)

The left-hand-side is independent of ϱ~ZT\tilde{\varrho}^{Z^{T}}. Hence we can improve the above inequality into

Fτsupϱ~ZTδt.\left\langle F_{\tau}\right\rangle\geqslant\sup_{\tilde{\varrho}^{Z^{T}}}-\left\langle\delta_{t}\right\rangle. (4)

A special situation is when τ=t\tau=t with probability 11, followed by

eβ(Ft+δt)=1,\left\langle e^{-\beta(F_{t}+\delta_{t})}\right\rangle=1,

and

Ftsupϱ~ZTδt=1βlnϱX(X(t),t)ϱZt(X(t),0)0,\left\langle F_{t}\right\rangle\geqslant\sup_{\tilde{\varrho}^{Z^{T}}}-\left\langle\delta_{t}\right\rangle=\frac{1}{\beta}\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\varrho^{Z^{t}}(X(t),0)}\right\rangle\geqslant 0, (5)

in which lnϱX(X(t),t)ϱZt(X(t),0)\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\varrho^{Z^{t}}(X(t),0)}\right\rangle is the relative entropy of ϱX(,t)\varrho^{X}(\cdot,t) with respect to ϱZt(,0)\varrho^{Z^{t}}(\cdot,0). The inequality (5) is stronger than the traditional inequality Ft0\left\langle F_{t}\right\rangle\geqslant 0 derived from the well-known fluctuation theorem eβFt=1\left\langle e^{-\beta F_{t}}\right\rangle=1, as long as ϱX(,t)\varrho^{X}(\cdot,t) is different from ϱZt(,0)\varrho^{Z^{t}}(\cdot,0).

As a corollary, we can derive certain bound for the infimum of Ft+δtF_{t}+\delta_{t} following the strategy in [28], which holds for both equilibrium processes and general nonequilibrium processes. According to Doob’s maximal inequality, we find the following bound for the cumulative distribution of the supremum of eβ(Ft+δt)e^{-\beta(F_{t}+\delta_{t})},

Pr(sup0tTeβ(Ft+δt)λ)1λeβ(Ft+δt)=1λ,\Pr\left(\sup_{0\leqslant t\leqslant T}e^{-\beta(F_{t}+\delta_{t})}\geqslant\lambda\right)\leqslant\frac{1}{\lambda}\left\langle e^{-\beta(F_{t}+\delta_{t})}\right\rangle=\frac{1}{\lambda},

for any λ0\lambda\geqslant 0. It is equivalent to a lower bound on the cumulative distribution of the infimum of β(Ft+δt)\beta(F_{t}+\delta_{t}) in the given duration [0,T][0,T], i.e.

Pr(inf0tT{β(Ft+δt)}s)1es,\Pr\left(\inf_{0\leqslant t\leqslant T}\{\beta(F_{t}+\delta_{t})\}\geqslant-s\right)\geqslant 1-e^{-s},

for s0s\geqslant 0. It implies the random variable inf0tT{β(Ft+δt)}-\inf_{0\leqslant t\leqslant T}\{\beta(F_{t}+\delta_{t})\} dominates stochastically over an exponential random variable with the mean of 11. Thus, we find the following universal bound for the mean infimum of β(Ft+δt)\beta(F_{t}+\delta_{t}), i.e.

inf0tT{(Ft+δt)}1β=kB𝐓.\left\langle\inf_{0\leqslant t\leqslant T}\{(F_{t}+\delta_{t})\}\right\rangle\geqslant-\frac{1}{\beta}=-k_{B}\mathbf{T}.

Applications The thermodynamic functional FtF_{t} becomes the (total) entropy production Stot(t)S_{\text{tot}}(t) up to time tt if the process {Y(t)}\{Y(t)\} is driven by exactly the same protocol as {X(t)}\{X(t)\}, and the initial distribution of ZtZ^{t} is taken to be the distribution of X(t)X(t) [29, 8], i.e. ϱZt(x,0)=ϱX(x,t)\varrho^{Z^{t}}(x,0)=\varrho^{X}(x,t). Then

δtStot(X(t))1βlnϱX(X(t),t)ϱ~ZT(X(t),Tt),\delta^{S_{\text{tot}}}_{t}(X(t))\equiv\frac{1}{\beta}\ln\frac{\varrho^{X}(X(t),t)}{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}, (6)

and eβ(Stot(t)+δtStot)e^{-\beta(S_{\text{tot}}(t)+\delta^{S_{\text{tot}}}_{t})} is a martingale. It is followed by

eβ(Stot(τ)+δτStot)=1,\left\langle e^{-\beta(S_{\text{tot}}(\tau)+\delta^{S_{\text{tot}}}_{\tau})}\right\rangle=1, (7)

for any stopping time τ\tau, and Stot(τ)δτStot\left\langle S_{\text{tot}}(\tau)\right\rangle\geqslant-\left\langle\delta^{S_{\text{tot}}}_{\tau}\right\rangle.

The thermodynamic functional FtF_{t} becomes the free energy dissipation (adiabatic entropy production) fd(t)f_{d}(t) if the process {Y(t)}\{Y(t)\} is taken to be the adjoint process of {X(t)}\{X(t)\}, and also the initial distribution of ZtZ^{t} is set as the distribution of X(t)X(t), i.e. ϱZt(x,0)=ϱX(x,t)\varrho^{Z^{t}}(x,0)=\varrho^{X}(x,t) [10, 24, 25, 23]. Then

δtfd(X(t))1βlnϱX(X(t),t)ϱ~ZT(X(t),Tt),\delta^{f_{d}}_{t}(X(t))\equiv\frac{1}{\beta}\ln\frac{\varrho^{X}(X(t),t)}{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}, (8)

and eβ(fd(t)+δtfd)e^{-\beta(f_{d}(t)+\delta^{f_{d}}_{t})} is a martingale. It is followed by

eβ(fd(τ)+δτfd)=1,\left\langle e^{-\beta(f_{d}(\tau)+\delta^{f_{d}}_{\tau})}\right\rangle=1, (9)

for any stopping time τ\tau, and fd(τ)δτfd\left\langle f_{d}(\tau)\right\rangle\geqslant-\left\langle\delta^{f_{d}}_{\tau}\right\rangle.

Let πX(t)\pi^{X}(t) be the pseudo-stationary distribution of X(t)X(t) corresponding to the protocol λ(t)\lambda(t), i.e. the stationary distribution of {X(t)}\{X(t)\} if the protocol is fixed at λ(t)\lambda(t). The thermodynamic functional FtF_{t} becomes the dissipative work Wd(t)W_{d}(t) up to time tt, if the initial distribution of X(t)X(t) is πX(0)\pi^{X}(0), the process {Y(t)}\{Y(t)\} is taken to be the adjoint process of {X(t)}\{X(t)\}, and the initial distribution of ZtZ^{t} is taken as the pseudo-stationary distribution of X(t)X(t), i.e. ϱZt(x,0)=πX(x,t)\varrho^{Z^{t}}(x,0)=\pi^{X}(x,t) [30, 20]. Then

δtWd(X(t))1βlnπX(X(t),t)ϱ~ZT(X(t),Tt),\delta^{W_{d}}_{t}(X(t))\equiv\frac{1}{\beta}\ln\frac{\pi^{X}(X(t),t)}{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}, (10)

and eβ(Wd(t)+δtWd)e^{-\beta(W_{d}(t)+\delta^{W_{d}}_{t})} is a martingale. It is followed by

eβ(Wd(τ)+δτWd)=1,\left\langle e^{-\beta(W_{d}(\tau)+\delta^{W_{d}}_{\tau})}\right\rangle=1, (11)

for any stopping time τ\tau, and Wd(τ)δτWd\left\langle W_{d}(\tau)\right\rangle\geqslant-\left\langle\delta^{W_{d}}_{\tau}\right\rangle.

For the mean WdW_{d} up to any fixed time tt, we can obtain a stronger inequality than Wd0\left\langle W_{d}\right\rangle\geqslant 0. Applying (5), we have

Wd(t)1βlnϱX(X(t),t)πX(X(t),t)0.\left\langle W_{d}(t)\right\rangle\geqslant\frac{1}{\beta}\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\pi^{X}(X(t),t)}\right\rangle\geqslant 0. (12)

Actually, this inequality can be derived from the equality dH(t)dt=fd(t)+Wd(t)\frac{dH(t)}{dt}=-f_{d}(t)+W_{d}(t) with the inequality fd(t)0f_{d}(t)\geqslant 0 from [23], in which H(t)H(t) is exactly lnϱX(X(t),t)πX(X(t),t)\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\pi^{X}(X(t),t)}\right\rangle. In [20], the thermodynamic functional under investigation is WdW_{d} but the δt\delta_{t} they defined is the same as δtStot\delta^{S_{\text{tot}}}_{t}. The mathematical derivation here implies that we should use different δt\delta_{t} for different thermodynamic functionals.

Numerical verifications Many mesoscopic biochemical processes such as the kinetics of enzyme or motor molecules, can be modeled in terms of transition rates between discrete states. We apply our theory to a simple stochastic process with only three states. The time-dependent transition rates between different discrete states are set as follows

k12(t)=t,k23(t)=3t2,k31(t)=1;\displaystyle k_{12}(t)=t,~{}k_{23}(t)=3t^{2},~{}k_{31}(t)=1;
k21=t2,k32(t)=2,k13(t)=2t,\displaystyle k_{21}=t^{2},~{}k_{32}(t)=2,~{}k_{13}(t)=2t,

in which the chemical driven energy

ΔG(t)=kBTlnk12(t)k23(t)k31(t)k21k32(t)k13(t)=kBTln34<0.\Delta G(t)=k_{B}T\ln\frac{k_{12}(t)k_{23}(t)k_{31}(t)}{k_{21}k_{32}(t)k_{13}(t)}=k_{B}T\ln\frac{3}{4}<0.

For the three thermodynamic functionals StotS_{\text{tot}}, fdf_{d} and WdW_{d}, the stopping strategy for τ\tau is set as follows: the process is stopped at τ<T\tau<T only when the functional reaches a given threshold value before TT; while the process is stopped at the final time τ=T\tau=T if the threshold value is never reached during the duration [0,T][0,T].

Fig. 1(a-c) shows the numerical results of Stot(τ)\left\langle S_{\text{tot}}(\tau)\right\rangle versus δτStot-\left\langle\delta^{S_{\text{tot}}}_{\tau}\right\rangle, fd(τ)\left\langle f_{d}(\tau)\right\rangle versus δτfd-\left\langle\delta^{f_{d}}_{\tau}\right\rangle, and Wd(τ)\left\langle W_{d}(\tau)\right\rangle versus δτWd-\left\langle\delta^{W_{d}}_{\tau}\right\rangle, as functions of the threshold value. The initial distribution is set to be uniform among the three states in Fig. 1(a-b), and concentrated on the second state in Fig. 1(c). Fig. 1(d-f) test the stopping-time fluctuation relations (7), (9) and (11), with and without the compensated term δt\delta_{t}.

In the special situation that τ=t\tau=t with probability 11, Fig. 1(g) shows that the inequality (12) for Wd(t)\left\langle W_{d}(t)\right\rangle is not only stronger than the inequality Wd(t)δtWd\left\langle W_{d}(t)\right\rangle\geqslant-\langle\delta^{W_{d}}_{t}\rangle, but also the traditional Jarzynski inequality Wd(t)0\left\langle W_{d}(t)\right\rangle\geqslant 0.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 1: Numerical verification through a three-state jumping process(See maintext for details). (a) The entropy production Stot(τ)\left\langle S_{\text{tot}}(\tau)\right\rangle (blue) and the corresponding compensation item δτStot-\left\langle\delta^{S_{\text{tot}}}_{\tau}\right\rangle (red) as functions of the threshold value SthS_{\text{th}} for duration T=1T=1. (b) The free energy dissipation fd(τ)\left\langle f_{d}(\tau)\right\rangle (blue) and the corresponding compensation item δτfd-\left\langle\delta^{f_{d}}_{\tau}\right\rangle (red) as functions of the threshold value fthf_{\text{th}} for duration T=1T=1. (c) The dissipative work Wd(τ)\left\langle W_{d}(\tau)\right\rangle (blue) and the corresponding compensation item δτWd-\left\langle\delta^{W_{d}}_{\tau}\right\rangle (red) as functions of the threshold value WthW_{\text{th}} for duration T=1T=1. (d),(e),(f) Test of the stopping-time fluctuation theorems (7), (9), (11) with and without the compensated δt\delta_{t}. (g) When τ=t\tau=t with probability 11, the dissipative work Wd(t)\left\langle W_{d}(t)\right\rangle (blue), the corresponding compensation item δtWd-\langle\delta^{W_{d}}_{t}\rangle (red), and the relative entropy lnϱX(X(t),t)πX(X(t),t)\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\pi^{X}(X(t),t)}\right\rangle (yellow) as functions of tt for 0tT0\leqslant t\leqslant T.

Another example is the stochastic dynamics of a colloidal particle with diffusion coefficient DD in a time-dependent potential V(t)V(t). The dynamics obeys the Langevin equation

dX(t)dt=Vx(X(t),t)+ξ(t),\frac{\mathrm{d}X(t)}{\mathrm{d}t}=-\frac{\partial V}{\partial x}(X(t),t)+\xi(t),

where ξ\xi is a Gaussian white noise with zero mean and autocorrelation ξ(t)ξ(t)=2Dδ(tt)\left\langle\xi(t)\xi(t^{\prime})\right\rangle=2D\delta(t-t^{\prime}).

In such a stochastic system, the housekeeping heat equals to zero and thus the entropy production Stot(t)S_{\text{tot}}(t) coincides with the free energy dissipation fd(t)f_{d}(t). We follow the same stopping strategy as in the discrete model of Fig. 1, and show the numerical results of Stot(τ)\left\langle S_{\text{tot}}(\tau)\right\rangle versus δτStot-\left\langle\delta^{S_{\text{tot}}}_{\tau}\right\rangle in Fig. 2(a) and Wd(τ)\left\langle W_{d}(\tau)\right\rangle versus δτWd-\left\langle\delta^{W_{d}}_{\tau}\right\rangle in Fig. 2(b) with T=3T=3. Fig. 2(c-d) test the stopping-time fluctuation relations (7) and (11), with and without the compensated term δt\delta_{t}.

In the special situation that τ=t\tau=t with probability 11, Fig. 2(e) shows that the conclusion (12) for Wd(t)\left\langle W_{d}(t)\right\rangle is stronger than the inequality Wd(t)δtWd\left\langle W_{d}(t)\right\rangle\geqslant-\langle\delta^{W_{d}}_{t}\rangle and the Jarzynski inequality Wd(t)0\left\langle W_{d}(t)\right\rangle\geqslant 0.

In Fig. 1 and 2, the averaged thermodynamic functionals may be negative under certain stopping strategy, but the general stopping-time fluctuation relations and related thermodynamic inequalities always hold.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 2: Numerical verification through a diffusion process(See maintext for details). (a) The entropy production Stot(τ)\left\langle S_{\text{tot}}(\tau)\right\rangle (blue) and the corresponding compensation item δτStot-\left\langle\delta^{S_{\text{tot}}}_{\tau}\right\rangle (red) as functions of the threshold value SthS_{\text{th}} for duration T=3T=3. (b) The dissipative work Wd(τ)\left\langle W_{d}(\tau)\right\rangle (blue) and the corresponding compensation item δτWd-\left\langle\delta^{W_{d}}_{\tau}\right\rangle (red) as functions of the threshold value WthW_{\text{th}} for duration T=3T=3. (c),(d) Test of the stopping-time fluctuation theorems (7), (11) with and without δt\delta_{t}. (e) When τ=t\tau=t with probability 11, the dissipative work Wd(t)\left\langle W_{d}(t)\right\rangle (blue), the corresponding compensation item δtWd-\langle\delta^{W_{d}}_{t}\rangle (red), and the relative entropy lnϱX(X(t),t)πX(X(t),t)\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\pi^{X}(X(t),t)}\right\rangle (yellow) as functions of tt for 0tT0\leqslant t\leqslant T. In this example, V(x,t)=(t+4)(4xt)2/128V(x,t)=(t+4)(4x-t)^{2}/128, D=1D=1.

Derivation First, we notice that

{𝒫Z~T,t(X~[0,t])𝒫X(X[0,t])}0tT,\left\{\frac{\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]})}{\mathcal{P}^{X}(X_{[0,t]})}\right\}_{0\leqslant t\leqslant T}, (13)

is a martingale, where X~[0,t]{X(ts)}0st\widetilde{X}_{[0,t]}\equiv\{X(t-s)\}_{0\leqslant s\leqslant t} denotes the time reversal of X[0,t]X_{[0,t]} in the duration [0,t][0,t], and 𝒫Z~T,t(x[0,t])\mathcal{P}^{\tilde{Z}^{T,t}}(x_{[0,t]}) denotes the probability of observing a given trajectory x[0,t]x_{[0,t]} in {Z~T,t(s)=ZT(s+Tt)}0st\{\tilde{Z}^{T,t}(s)=Z^{T}(s+T-t)\}_{0\leqslant s\leqslant t}. The distribution of ZT(0)Z^{T}(0) is ϱ~ZT(,0)\tilde{\varrho}^{Z^{T}}(\cdot,0).

Since

𝒫X(X[0,T])=𝒫X(X[0,T]|X[0,t])𝒫X(X[0,t]),\mathcal{P}^{X}(X_{[0,T]})=\mathcal{P}^{X}(X_{[0,T]}|X_{[0,t]})\mathcal{P}^{X}(X_{[0,t]}),

we have

𝒫Z~T,T(X~[0,T])𝒫X(X[0,T])|X[0,t]\displaystyle\mathrel{\phantom{=}}\left\langle\frac{\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]})}{\mathcal{P}^{X}(X_{[0,T]})}\middle|X_{[0,t]}\right\rangle
=\displaystyle= X[t,T]𝒫Z~T,T(X~[0,T])𝒫X(X[0,T])𝒫X(X[0,T]|X[0,t])\displaystyle\sum_{X_{[t,T]}}\frac{\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]})}{\mathcal{P}^{X}(X_{[0,T]})}\mathcal{P}^{X}(X_{[0,T]}|X_{[0,t]})
=\displaystyle= X[t,T]𝒫Z~T,T(X~[0,T])𝒫X(X[0,t]).\displaystyle\sum_{X_{[t,T]}}\frac{\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]})}{\mathcal{P}^{X}(X_{[0,t]})}.

For 0usT0\leqslant u\leqslant s\leqslant T, let X~[0,T](u,s)\widetilde{X}_{[0,T]}(u,s) be the part of the trajectory X~[0,T]\widetilde{X}_{[0,T]} in the duration [u,s][u,s], then X[t,T]X_{[t,T]} and X~[0,T](0,Tt)\widetilde{X}_{[0,T]}(0,T-t) are exactly the time reversal of each other. Thus

X[t,T]𝒫Z~T,T(X~[0,T])\displaystyle\mathrel{\phantom{=}}\sum_{X_{[t,T]}}\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]})
=X~[0,T](0,Tt)𝒫Z~T,T(X~[0,T])\displaystyle=\sum_{\widetilde{X}_{[0,T]}(0,T-t)}\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]})
=𝒫Z~T,T(X~[0,T](Tt,T))\displaystyle=\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]}(T-t,T))
=𝒫Z~T,t(X~[0,t]),\displaystyle=\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]}),

in which the last equality comes from the definition of 𝒫Z~T,t(X~[0,t])\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]}). So

𝒫Z~T,T(X~[0,T])𝒫X(X[0,T])|X[0,t]=𝒫Z~T,t(X~[0,t])𝒫X(X[0,t]),\left\langle\frac{\mathcal{P}^{\tilde{Z}^{T,T}}(\widetilde{X}_{[0,T]})}{\mathcal{P}^{X}(X_{[0,T]})}\middle|X_{[0,t]}\right\rangle=\frac{\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]})}{\mathcal{P}^{X}(X_{[0,t]})},

which is exactly the definition of martingale for (13).

Second, we show that {eβ(Ft+δt)}0tT\{e^{-\beta(F_{t}+\delta_{t})}\}_{0\leqslant t\leqslant T} is exactly the martingale (13). By the definition of FtF_{t}, we have

𝒫Z~T,t(X~[0,t])𝒫X(X[0,t])=𝒫Z~T,t(X~[0,t])𝒫Zt(X~[0,t])eβFt.\frac{\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]})}{\mathcal{P}^{X}(X_{[0,t]})}=\frac{\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]})}{\mathcal{P}^{Z^{t}}(\widetilde{X}_{[0,t]})}e^{-\beta F_{t}}. (14)

Since

𝒫Z~T,t(X~[0,t])=𝒫Z~T,t(X~[0,t]|X~(0))ϱ~ZT(X(t),Tt),\displaystyle\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]})=\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]}|\widetilde{X}(0))\tilde{\varrho}^{Z^{T}}(X(t),T-t),
𝒫Zt(X~[0,t])=𝒫Zt(X~[0,t]|X~(0))ϱZt(X(t),0),\displaystyle\mathcal{P}^{Z^{t}}(\widetilde{X}_{[0,t]})=\mathcal{P}^{Z^{t}}(\widetilde{X}_{[0,t]}|\widetilde{X}(0))\varrho^{Z^{t}}(X(t),0),

and notice that {Z~T,t(s)}0st\{\tilde{Z}^{T,t}(s)\}_{0\leqslant s\leqslant t} and {Zt(s)}0st\{Z^{t}(s)\}_{0\leqslant s\leqslant t} are driven by the same protocol {λ~(ts):0st}\{\tilde{\lambda}(t-s)\colon 0\leqslant s\leqslant t\}, we have

𝒫Z~T,t(X~[0,t]|X~(0))=𝒫Zt(X~[0,t]|X~(0)),\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]}|\widetilde{X}(0))=\mathcal{P}^{Z^{t}}(\widetilde{X}_{[0,t]}|\widetilde{X}(0)),

which implies

𝒫Z~T,t(X~[0,t])𝒫Zt(X~[0,t])=ϱ~ZT(X(t),Tt)ϱZt(X(t),0)=eβδt.\frac{\mathcal{P}^{\tilde{Z}^{T,t}}(\widetilde{X}_{[0,t]})}{\mathcal{P}^{Z^{t}}(\widetilde{X}_{[0,t]})}=\frac{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}{\varrho^{Z^{t}}(X(t),0)}=e^{-\beta\delta_{t}}. (15)

Combining (14) and (15) shows that {eβ(Ft+δt)}0tT\{e^{-\beta(F_{t}+\delta_{t})}\}_{0\leqslant t\leqslant T} is exactly the martingale (13), then the general stopping-time fluctuation theorem (2) follows from the optional stopping theorem.

When τ=t\tau=t with probability 11, we decompose

δt\displaystyle\mathrel{\phantom{=}}-\left\langle\delta_{t}\right\rangle
=1βlnϱ~ZT(X(t),Tt)ϱZt(X(t),0)\displaystyle=\frac{1}{\beta}\left\langle\ln\frac{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}{\varrho^{Z^{t}}(X(t),0)}\right\rangle
=1βlnϱX(X(t),t)ϱZt(X(t),0)+1βlnϱ~ZT(X(t),Tt)ϱX(X(t),t).\displaystyle=\frac{1}{\beta}\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\varrho^{Z^{t}}(X(t),0)}\right\rangle+\frac{1}{\beta}\left\langle\ln\frac{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}{\varrho^{X}(X(t),t)}\right\rangle.

By Jensen’s inequality, we know

lnϱ~ZT(X(t),Tt)ϱX(X(t),t)lnϱ~ZT(X(t),Tt)ϱX(X(t),t)=0.\displaystyle\left\langle\ln\frac{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}{\varrho^{X}(X(t),t)}\right\rangle\leqslant\ln\left\langle\frac{\tilde{\varrho}^{Z^{T}}(X(t),T-t)}{\varrho^{X}(X(t),t)}\right\rangle=0.

Furthermore, for any given tt, we can choose ϱ~ZT(,0)\tilde{\varrho}^{Z^{T}}(\cdot,0) such that ϱ~ZT(x,Tt)=ϱX(x,t)\tilde{\varrho}^{Z^{T}}(x,T-t)=\varrho^{X}(x,t), which leads to

supϱ~ZTδt=1βlnϱX(X(t),t)ϱZt(X(t),0)0.\sup_{\tilde{\varrho}^{Z^{T}}}-\left\langle\delta_{t}\right\rangle=\frac{1}{\beta}\left\langle\ln\frac{\varrho^{X}(X(t),t)}{\varrho^{Z^{t}}(X(t),0)}\right\rangle\geqslant 0.

Conclusion In summary, our study contributes a general framework for understanding martingales constructed upon thermodynamic functionals. We have successfully derived and proven the stopping-time fluctuation theorems, accompanied by second-law-like inequalities for mean thermodynamic functionals stopped at stochastic times. Our results generalize the recent gambling strategy and stopping-time fluctuation theorems [20] to a very general setting. Our framework encompasses the general definition of thermodynamic functionals, accommodates various types of stochastic dynamics, and allows for arbitrary stopping strategies. The validity and applicability of our framework are supported by numerical verifications conducted in stochastic dynamics with both discrete and continuous states.

Furthermore, we highlight the significance of the additional degree of freedom introduced through the compensated term δt\delta_{t}, which leads to a strengthening of the inequality for dissipative work compared to the well-known Jarzynski inequality when the stopping time is reduced to a deterministic one. Overall, our results provide novel insights, new interpretations, and improved bounds for the fundamental principles underlying the Second Law of Thermodynamics in the context of stochastic processes.

H. Ge is supported by NSFC 11971037 and T2225001.

References

  • Sekimoto [1998] K. Sekimoto, Langevin equation and thermodynamics, Progress of Theoretical Physics Supplement 130, 17 (1998).
  • Seifert [2012] U. Seifert, Stochastic thermodynamics, fluctuation theorems and molecular machines, Rep. Prog. Phys. 75, 126001 (2012).
  • Peliti and Pigolotti [2017] L. Peliti and S. Pigolotti, Stochastic Thermodynamics: An Introduction (Princeton University Press, 2017).
  • Seifert [2008] U. Seifert, Stochastic thermodynamics: principles and perspectives, The European Physical Journal B 64, 423 (2008).
  • Jarzynski [1997] C. Jarzynski, Nonequilibrium equality for free energy differences, Phys. Rev. Lett. 78, 2690 (1997).
  • Jarzynski [2011] C. Jarzynski, Equalities and inequalities: Irreversibility and the second law of thermodynamics at the nanoscale, Annual Review of Condensed Matter Physics 2, 329 (2011).
  • Crooks [1999] G. E. Crooks, Entropy production fluctuation theorem and the nonequilibrium work relation for free energy differences, Phys. Rev. E 60, 2721 (1999).
  • Seifert [2005] U. Seifert, Entropy production along a stochastic trajectory and an integral fluctuation theorem, Phys. Rev. Lett. 95, 040602 (2005).
  • Collin et al. [2005] D. Collin, F. Ritort, C. Jarzynski, S. B. Smith, I. Tinoco Jr, and C. Bustamante, Verification of the crooks fluctuation theorem and recovery of rna folding free energies, Nature 437, 231 (2005).
  • Esposito and Van den Broeck [2010a] M. Esposito and C. Van den Broeck, Three detailed fluctuation theorems, Phys. Rev. Lett. 104, 090601 (2010a).
  • Yang and Qian [2020] Y.-J. Yang and H. Qian, Unified formalism for entropy production and fluctuation relations, Phys. Rev. E 101, 022129 (2020).
  • Manzano et al. [2015] G. Manzano, J. M. Horowitz, and J. M. R. Parrondo, Nonequilibrium potential and fluctuation theorems for quantum maps, Phys. Rev. E 92, 032129 (2015).
  • Lahiri and Jayannavar [2014] S. Lahiri and A. M. Jayannavar, Fluctuation theorems for excess and housekeeping heat for underdamped langevin systems, Eur. Phys. J. B 87, 195 (2014).
  • Chetrite and Gupta [2011] R. Chetrite and S. Gupta, Two refreshing views of fluctuation theorems through kinematics elements and exponential martingale, Journal of Statistical Physics 143, 42 (2011).
  • Crooks [2000] G. E. Crooks, Path-ensemble averages in systems driven far from equilibrium, Phys. Rev. E 61, 2361 (2000).
  • Chernyak et al. [2006] V. Y. Chernyak, M. Chertkov, and C. Jarzynski, Path-integral analysis of fluctuation theorems for general langevin processes, Journal of Statistical Mechanics: Theory and Experiment 2006, P08001 (2006).
  • [17] T. Speck and U. Seifert, Integral fluctuation theorem for the housekeeping heat, Journal of Physics A: Mathematical and General .
  • [18] R. J. Harris and G. M. Schütz, Fluctuation theorems for stochastic dynamics, Journal of Statistical Mechanics: Theory and Experiment .
  • Evans and Searles [2002] D. J. Evans and D. J. Searles, The fluctuation theorem, Advances in Physics 51, 1529 (2002).
  • Manzano et al. [2021] G. Manzano, D. Subero, O. Maillet, R. Fazio, J. P. Pekola, and É . Roldán, Thermodynamics of gambling demons, Physical Review Letters 12610.1103/physrevlett.126.080603 (2021).
  • Roldán et al. [2023] É. Roldán, I. Neri, R. Chetrite, S. Gupta, S. Pigolotti, F. Ju¨\ddot{u}licher, and K. Sekimoto, Martingales for physicists,   (2023), arXiv:2210.09983 [cond-mat.stat-mech] .
  • Williams [1991] D. Williams, Probability with martingales (Cambridge university press, 1991).
  • Ge and Qian [2010] H. Ge and H. Qian, Physical origins of entropy production, free energy dissipation, and their mathematical representations, Phys. Rev. E 81, 051133 (2010).
  • Esposito and Van den Broeck [2010b] M. Esposito and C. Van den Broeck, Three faces of the second law. i. master equation formulation, Phys. Rev. E 82, 011143 (2010b).
  • Ge [2009] H. Ge, Extended forms of the second law for general time-dependent stochastic processes, Physical review. E, Statistical, nonlinear, and soft matter physics 80, 021137 (2009).
  • Chetrite et al. [2019] R. Chetrite, S. Gupta, I. Neri, and É. Roldán, Martingale theory for housekeeping heat, Europhys. Lett. 124, 60006 (2019).
  • Ge et al. [2021] H. Ge, C. Jia, and X. Jin, Martingale structure for general thermodynamic functionals of diffusion processes under second-order averaging, Journal of Statistical Physics 18410.1007/s10955-021-02798-y (2021).
  • Neri et al. [2017] I. Neri, É. Roldán, and F. Jülicher, Statistics of infima and stopping times of entropy production and applications to active molecular processes, Phys. Rev. X 7, 011019 (2017).
  • Jiang et al. [2004] D.-Q. Jiang, M. Qian, and M.-P. Qian, Mathematical Theory of Nonequilibrium Steady States: On the Frontier of Probability and Dynamical Systems (Springer, Berlin, 2004).
  • Ge and Jiang [2008] H. Ge and D.-Q. Jiang, Generalized jarzynski’s equality of inhomogeneous multidimensional diffusion processes, Journal of Statistical Physics 131, 675 (2008).