On the mathematical theory of competitive running