Telefona gönder: The mathematical theory of optimal processes