I got badly lost in derivation of relativistic formulas for energy and momentum.
I stumbled upon relativistic action as follows (which should explain relativistic motion of a classical particle):
$$ S = \int Cds=C\int_{t_i}^{t_f}\sqrt{c^2-(x')^2}dt $$
Where $C$ is some constant (depends on what kind of physics we put in equation) and $s$ is relativistic interval. Later on Lagrangian $$ L(x')\equiv C\sqrt{c^2-(x')^2} $$ is used in derving relativistic energy and momentum.
I am familiar with Lagrangians and symmetry rules which connect energy and momentum to Lagrangian formalism. What I do not understand is this action - weren't action sum over time? Why all of a sudden it is sum over relativistic interval?