Text this: An algebraic formulation, of ergodic problems