A diffusion algebra is an associative algebra defined by ordered generators and relations
where the coefficients are scalars and for
. These relations originate
in a matrix-product description of stationary distributions (Isaev et al. 2001).
The ordered monomials
form a vector-space basis exactly when reducing the two
adjacent pairs in each overlap
,
, gives the same final result. Reductions
on disjoint adjacent pairs commute. Over a field of characteristic zero, Pyatov and
Twarock (2002) classified the ordered presentations and described their construction
by combining compatible blocks. Aliev (2026) formalized the basis criterion and the
rate-table classification in Lean.