Algebraic Stability of Measurable Functions