https://123dok.net/document/wq21j0jy-convergence-of-markovian-stochastic-approximation-with-discontinuous-dynamics.html