Example
Dynamics on a finite uniform probability space
Uniform finite dynamics is permutation dynamics, with ergodicity exactly when there is one cycle.
On , , let and . The measure-preserving self-maps are exactly the permutations . Such a map is ergodic exactly when it is one -cycle.
Proof and invariant functions
Preservation of each singleton's probability forces exactly one preimage of each point. If the disjoint cycles are , invariant sets are precisely their unions. Fixed functions are constant on each cycle, so .
Function algebra and state
The algebra is with coordinatewise multiplication, complex conjugation as involution, unit , and maximum norm. Its state is . Inverse pullback is
The vector-space dimension is ; this algebra is not the matrix algebra , whose dimension is .
Three points
For , , and only constant triples are fixed. For , fixed triples have form . The identity fixes every triple. The state of the event is .
Frequencies and averages
For , , the functions form an orthonormal eigenbasis, with . For , the system is ergodic but not weakly mixing. An orbit average converges to the average over the starting point's cycle.