Stav dette: The mathematical theory of optimal processes