nLab stochastic process

Contents

Idea

A stochastic process describes a dynamical system evolving over a linearly ordered set TT (“time”), typically taken to be the (positive) integers or real numbers, whose dynamical laws of motion are morphisms in the Kleisli category of the Giry monad (or any other probability monad). By working in the larger category of algebras of that monad, a characterization of a stochastic processes can be modeled in terms of the expected value of measurements on that process.

By a random process physicists usually mean the same, but mathematicians sometimes allow random processes indexed by more general sets, not usually with meaning of time or equipped with a linear order.

The most studied examples include Markov processes (defined below), Brownian motion, Ornstein-Uhlenbeck processes? and Lévy processes?. The most elementary stochastic process (to define) is an indivisible stochastic process which Barandes 2025 has used to give an indivisible stochastic process interpretation of quantum mechanics.

Definitions

We define discrete time stochastic processes following Lawvere 1962. Let NN be the category with countably many objects, {0,1,2,...}\{0,1,2,...\}, and no non-identity morphisms, and let Meas G\mathbf{Meas}_G denote the Kleisli category of the Giry monad. Let Meas G N\mathbf{Meas}_G^{N} denote the category whose objects Ω\mathbf{\Omega} are sequences Ω 0,Ω 1,\Omega_0, \Omega_1,\ldots of objects in Meas G\mathbf{Meas}_G which are measurable spaces. We define an endofunctor Meas G NΦMeas G N\mathbf{Meas}_G^{N} \xrightarrow{\mathbf{\Phi}} \mathbf{Meas}_G^{N} by Φ(Ω)={ k<nΩ k} kN \mathbf{\Phi}(\mathbf{\Omega})= \{ \prod_{k \lt n} \Omega_k \}_{k \in N} where k<nΩ k\prod_{k \lt n} \Omega_k denotes the product measurable space with the smallest σ \sigma -algebra such that all the coordinate-projection functions are measurable. If Ω n\Omega_n is thought of as the space of all possible states of a system at time nn, then Φ(Ω) n= k<nΩ k\mathbf{\Phi}(\mathbf{\Omega})_n=\prod_{k \lt n}\Omega_k is the space of all possible histories of the system before time nn.

We define a discrete time stochastic process Q\mathbf{Q} to be a natural transformation

ΦQid \mathbf{\Phi} \xrightarrow{\mathbf{Q}} \mathbf{id}

where id\mathbf{id} is the identity functor on Meas G N\mathbf{Meas}_G^N. Given any two (discrete time) stochastic processes Q\mathbf{Q} and Q\mathbf{Q}' we define a sequence of morphisms in Meas G\mathbf{Meas}_G, Ω nf nΩ n \Omega_n \xrightarrow{f_n} \Omega_n^{'} to be a morphism from Q\mathbf{Q} to Q\mathbf{Q}' when, for each nNn \in N, the Meas G\mathbf{\Meas}_G-diagram

commutes. Since there is an obvious notion of composition for such maps, all stochastic processes and all such maps of such determine the category of discrete time stochastic processes dStoch\mathbf{dStoch}. (Warning: Some authors have used the notation Stoch\mathbf{Stoch} (Stoch) to mean the Kleisli category of the Giry monad, traditionally denoted by Meas G\mathbf{Meas}_G or 𝒦(G)\mathcal{K}(G), which can also be interpreted (for modeling) as the category of Markov stochastic processes.)

In the preceding diagram the morphisms Q nQ_n, which are Kleisli morphisms k<nΩ kQ nΩ n \prod_{k \lt n} \Omega_k \xrightarrow{Q_n} \Omega_n are called dynamic laws (of motion), and stochastic processes are classified by properties of the dynamic laws.

A Markov dynamic law Q nQ_n is a dynamic law depending only on the current state, i.e., Q nQ_n factors as where π n1\pi_{n-1} is the canonical coordinate projection (measurable) function which specifies the deterministic Kleisli morphism (with the same notation). Thus a Markov dynamic law only depends upon the current state and not its history.

If Q\mathbf{Q} is a stochastic process such that the dynamic law at every stage is a Markov dynamic law we say the stochastic process Q\mathbf{Q} is a Markov stochastic process. In the special case where Ω\mathbf{\Omega} defines a constant sequence, Ω n=Ω\Omega_n = \Omega for all nn, then a Markov stochastic process on Ω\mathbf{\Omega} is called a Markov chain.

An even more elementary way of defining a stochastic process is by taking Ω n=Ω\Omega_n = \Omega, so each Ω n\Omega_n is a copy of Ω\Omega, and for all nn defining the dynamic law Q nQ_n such that it factorizes as a composite of the projection map π 0\pi_0 and a Kleisli morphism Q˜ n\tilde{Q}_n, For such dynamic laws the time at stage 00 is thought of as the conditioning event time - subsequent stages are ‘’conditioned on Ω 0\Omega_0’’.

We say a stochastic process Q\mathbf{Q} is divisible if and only if for all stages mm and nn, with mnm \le n there exists a Kleisli morphism Q˜ m,n\tilde{Q}_{m,n} such that the triangle on the right hand side of the Kleisli-diagram commutes, i.e., Q˜ n=Q˜ m,nQ˜ m\tilde{Q}_n = \tilde{Q}_{m,n} \circ \tilde{Q}_m. (We have abused notation by using the notation π 0\pi_0 to denote the two projection maps onto the 0 th0^{th} coordinate despite the domains being distinct when m<nm \lt n.)

An indivisible stochastic process is a stochastic process which is not divisible. Such processes are employed in the indivisible stochastic process interpretation of quantum mechanics.

An indivisible stochastic process is a very general type of stochastic process which can exhibit wild behavior because, for any ϵ>0\epsilon \gt 0, the two dynamics laws Γ t\Gamma_t and Γ t+ϵ\Gamma_{t+\epsilon} need not have any relationship between them. For example, even if Ω\Omega was a standard Borel space and for every UΣ ΩU \in \Sigma_{\Omega} all the measurable functions Ω 0Γ t(U|)[0,1]\Omega_0 \xrightarrow{\Gamma_t(U | \bullet)} [0,1] and Ω 0Γ t+ϵ(U|)[0,1]\Omega_0 \xrightarrow{\Gamma_{t+\epsilon}(U | \bullet)} [0,1] were continuous functions the two probability measures obtained by composition with an initial probability measure on Ω 0\Omega_0, 1P 0Ω 0Γ tΩ t\mathbf{1} \xrightarrow{P_0} \Omega_0 \xrightarrow{\Gamma_t} \Omega_t and 1P 0Ω 0Γ t+ϵΩ t+ϵ\mathbf{1} \xrightarrow{P_0} \Omega_0 \xrightarrow{\Gamma_{t+\epsilon}} \Omega_{t+\epsilon}, can vary significantly. Such a process is in stark contrast to a Markov process on a standard Borel space where continuous Markov kernels yield a continuously varying probability measure on the measurable space Ω\Omega.

Hidden Markov Models

When a non-Markov stochastic process can be re-expressed as a Markov stochastic process by formally augmenting its states with a suitable collection of unobservable variables, then the resulting process is called a Hidden Markov Model. The unobservable variables added to make the process look Markov are said to be latent or hidden variables. For example, Pilot-Wave theories can be viewed as Hidden Markov Models.Barandes 2026

Examples

Example

A 3-stage Markov stochastic process Q\mathbf{Q} with measurements Ω if i\Omega_i \xrightarrow{f_i} \mathbb{R}, modeled within the category of algebras of the Giry monad (G,η,μ)(G, \eta, \mu) so that the process Q\mathbf{Q} can be characterized in terms of the expected values of the measurements, is given by

The standard Borel space \mathbb{R}_{\infty} is the one point compactification of the real line. (There is no GG-algebra G()G(\mathbb{R}) \rightarrow \mathbb{R}; so to model any process with measurement Ωf\Omega \xrightarrow{f} \mathbb{R} we first need to embedd \mathbb{R} into \mathbb{R}_{\infty}.) The operator 𝔼 (id )\mathbb{E}_{\bullet}(id_{\mathbb{R}_{\infty}}) is defined at each PG( )P \in G(\mathbb{R}_{\infty}) by 𝔼 P(id )=id dP\mathbb{E}_{P}(id_{\mathbb{R}_{\infty}}) =\int id_{\mathbb{R}_{\infty}} \, dP.

Note that measurements ΩfX\Omega \xrightarrow{f} X can be taken over any object XX which lies in the category of algebras of the monad GG. In the case where XX is a standard Borel space the GG-algebra G(X)𝔼 (id X)XG(X) \xrightarrow{\mathbb{E}_{\bullet}(id_X)} X, which is a morphism in the category of algebras, is defined as: 𝔼 P(id X)\mathbb{E}_{P}(id_X) is the unique element in XX such that for all affine measurable maps Xm X \xrightarrow{m} \mathbb{R}_{\infty}, the property

m(𝔼 P(id X))= XmdP m(\mathbb{E}_P(id_X)) = \int_X m \, dP

holds. (Every algebra XX necessarily possesses a convex space structure. The case X= X=\mathbb{R}_{\infty} is just a special case which trivially satisfies the above property since the affine maps m \mathbb{R}_{\infty} \xrightarrow{m} \mathbb{R}_{\infty} are of the form m(r)=λr+tm(r) =\lambda r + t (scale + translate) and hence 𝔼 (id )\mathbb{E}_{\bullet}(id_{\mathbb{R}_{\infty}}) simplifies to the standard expectation operator. A derivation of the category of algebras for standard Borel space is given on the Giry monad page.)

Example

Here are two elementary examples of an indivisible stochastic process due to Barendes 2025. Taking the finite space Ω={1,2}=Ω n\Omega = \{1,2\}=\Omega_n for all nn, and defining the dynamic law ΩQ˜ nΩ\Omega \xrightarrow{\tilde{Q}_n} \Omega by

Q˜ n=(e t n 2τ 2 1e t n 2τ 2 1e t n 2τ 2 e t n 2τ 2) \tilde{Q}_n = \begin{pmatrix} e^{-\frac{t_n^2}{\tau^2}} & 1-e^{-\frac{t_n^2}{\tau^2}} \\ 1-e^{-\frac{t_n^2}{\tau^2}} & e^{-\frac{t_n^2}{\tau^2}} \end{pmatrix}

where t nt_n is the time at stage nn, and τ\tau is a constant. (For a finite space Ω\Omega a dynamic law ΩΩ\Omega \rightarrow \Omega can be represented by a matrix.)

Similarly, on the same space Ω\Omega, we can define

Q˜ n=(cos 2(ωt n) sin 2(ωt n) sin 2(ωt n) cos 2(ωt n)) \tilde{Q}_n = \begin{pmatrix} \cos^2(\omega t_n) & \sin^2(\omega t_n) \\ \sin^2(\omega t_n) & \cos^2(\omega t_n) \end{pmatrix}

where ω\omega is a constant.

References

  • Wikipedia stochastic process

  • William Lawvere, The Category of Probabilistic Mappings With Applications to Stochastic Processes, Statistics, and Pattern Recognition (1962), including abstract and commentary added by Lawvere in 2020, Lawvere Archive (2025) [pdf]

  • Xiao-qing Meng, Categories of convex sets and of metric spaces with applications to stochastic programming and related areas, PhD thesis (djvu)

  • Jacob Barandes, Quantum Systems as Indivisible Stochastic Processes [arXiv:2507.21192]

  • Jacob Barandes, Pilot-Wave Theories as Hidden Markov Models [

    [arXiv:2602.10569] (https://arxiv.org/abs/2602.10569)]

With an eye towards quantum noise;

On some kind of supersymmetry in stochastic PDEs:

Last revised on March 4, 2026 at 01:50:40. See the history of this page for a list of all contributions to it.