I have a question regarding the definitions of quadratic variation for stochastic processes and p-variation for general functions.
Specifically, for a stochastic process $X_t$, the quadratic variation $[X]_T$ is defined using the limit as the mesh of the partition goes to zero:
$$ [X]_T = \lim_{\|P\| \to 0} \sum_{i} (X_{t_{i+1}} - X_{t_i})^2, $$
where $\|P\|$ is the mesh of the partition, and the limit ensures that the partition becomes finer and finer.
On the other hand, for a general function $f(t)$, the p-variation $V^p(f, [0, T])$ is defined using a supremum over all possible partitions:
$$ V^p(f, [0, T]) = \sup_{P} \left( \sum_{i} |f(t_{i+1}) - f(t_i)|^p \right)^{1/p}. $$
My question is: Why does the definition of quadratic variation rely on a limit as the partition's mesh goes to zero, whereas $p$-variation uses a supremum over all partitions?
Thank you in advance for your insights!