A stochastic process describes a dynamical system evolving over a linearly ordered set (“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 (Def. ), Brownian motion, Ornstein-Uhlenbeck processes? and Lévy processes?.
We denote by:
the category with countably many objects, , and no non-identity morphisms,
the Kleisli category of the Giry monad,
the category whose objects are sequences of objects in which are measurable spaces,
the endofunctor given by
where denotes the product measurable space with the smallest -algebra such that all the coordinate-projection functions are measurable.
So if is thought of as the space of all possible states of a system at time , then is the space of all possible histories of the system before time .
The following definition in category-theoretic probability theory is due to Lawvere 1962 §3.2.
A discrete time stochastic process is an algebra over the endofunctor (1).
This means that a discrete time stochastic process is:
a sequence of measurable spaces (an object in ),
a morphism in :
Because is a discrete category, the morphism consists of a sequence of component morphisms (which are Kleisli morphisms)
also called dynamic laws (of motion) at time .
The homomorphisms between stochastic processes are homomorphisms of algebras of endofunctors. This means:
Given a pair and of such (discrete time) stochastic processes (Def. ) a morphism
is a sequence of morphisms in such that for each , the following -diagram commutes:
With the evident notion of composition, this defines the category of discrete time stochastic processes, .
Beware that some authors use the notation instead to denote the Kleisli category of the Giry monad, traditionally denoted by or , which can also be interpreted (for modeling) as the category of Markov stochastic processes.
The following definition is as in Lawvere 1962 §3.3.
A stochastic process (Def. ) is called a Markov process if each for depends only on the current state in that it factors as:
where is the canonical coordinate projection (measurable) function which specifies the deterministic Kleisli morphism (with the same notation).
In the special case where is constant on some , , then a Markov stochastic process on is called a Markov chain.
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)
The term “(in)divisible stochastic process” is not classical but has been brought up by Barandes 2025 in a suggestion to give an “indivisible stochastic process interpretation of quantum mechanics”. Here is a way to state the definition in line with the above category-theoretic definitions and beyond finite state spaces:
Given a discrete time stochastic process (Def. ), its multi-step marginal transition from time to time , denoted , is the Kleisli morphism obtained by forming the joint distribution over all intermediate states up to time , and subsequently projecting onto the state space at time .
Explicitly, one constructs a sequence of history-accumulating morphisms in by induction:
where is the morphism given by pairing the deterministic identity on the history with the dynamic law . In the context of the Giry monad, this pairing is canonically constructed via the monadic tensorial strength (or equivalently, via the copy morphism in the framework of Markov categories).
The multi-step marginal transition is then defined as the Kleisli composition of with the canonical coordinate projection :
where is pushed forward as a deterministic Kleisli morphism. This construction is summarized by the following commuting diagram in :
A stochastic process (Def. ) is called divisible if its multi-step marginal transitions (Def. ) satisfy the Chapman-Kolmogorov property:
Namely, for all stages , there exists a Kleisli morphism such that the following diagram in commutes:
Meaning that .
In discrete time, every Markov process (Def. ) is automatically divisible (Def. ) by defining as the composition of its 1-step transitions.
Therefore, indivisibility is inherently a feature of non-Markovian processes (or continuous-time processes where intermediate transition kernels may fail to exist).
A 3-stage Markov stochastic process with measurements , modeled within the category of algebras of the Giry monad so that the process can be characterized in terms of the expected values of the measurements, is given by
The standard Borel space is the one point compactification of the real line. (There is no -algebra ; so to model any process with measurement we first need to embedd into .) The operator is defined at each by .
Note that measurements can be taken over any object which lies in the category of algebras of the monad . In the case where is a standard Borel space the -algebra , which is a morphism in the category of algebras, is defined as: is the unique element in such that for all affine measurable maps , the property
holds. (Every algebra necessarily possesses a convex space structure. The case is just a special case which trivially satisfies the above property since the affine maps are of the form (scale + translate) and hence simplifies to the standard expectation operator. A derivation of the category of algebras for standard Borel space is given on the Giry monad page.)
Here are two elementary examples of an indivisible stochastic process due to Barandes 2025. Taking the finite space for all , and defining the dynamic law by
where is the time at stage , and is a constant. (For a finite space a dynamic law can be represented by a matrix.)
Similarly, on the same space , we can define
where is a constant.
General:
Discussion in the context of category-theoretic approaches to probability theory:
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, New York (1988) [djvu, pdf]
With an eye towards quantum noise;
On some kind of supersymmetry in stochastic PDEs:
In the context of a proposed “indivisible stochastic process interpretation of quantum mechanics”:
Jacob Barandes, Quantum Systems as Indivisible Stochastic Processes [arXiv:2507.21192]
Jacob Barandes, Pilot-Wave Theories as Hidden Markov Models [arXiv:2602.10569]
Last revised on June 6, 2026 at 16:43:25. See the history of this page for a list of all contributions to it.