https://123dok.net/document/yj7epj2y-generalized-gradients-priors-on-minimization-flows.html