[2204.02593] Nonlinear gradient mappings and stochastic optimization: A general framework with applications to heavy-tail noise