https://123dok.net/document/ozl9gmlz-dynamic-programming-principle-combined-stopping-stochastic-conditional-expectations.html