SMS dit: The Mathematical theory of Optimal processes.