After some helpful comments, I realized that I had to repost this question in a more systematic way.
On a complete probability space, let $\mathcal{H}$$\mathcal{H}_0$ denote allthe Hilbert space of square integrable random variables and let $\mathcal{H}_0$ denote all square integrable r.v.s with zero mean.
A stochastic process $X$ is called a second order process if $\mathbf{E}X(t)^2 < \infty$ and $\mathbf{E}X(t) = 0$, all $t$$t \in [0,T]$. ItSuch a process can be regarded as a curve in $\mathcal{H}_0$, i.e. a map $[0,T] \rightarrow \mathcal{H}_0$. Such a processIt is called q.m. continuous if this map is continuous, i.e. $\mathbf{E}(X(s)-X(t))^2 \rightarrow 0$$X(s) \rightarrow X(t)$ in quadratic mean as $s \rightarrow t$. One can show that each q.m. continuous process has a measurable version.
We defineLet $\mathcal{L}(X,t)$ to$X$ be subspace of $\mathcal{H}_0$ generated by $\lbrace X(s) : s \leq t \rbrace$a q. Form. continuous second order process. We want to compute the integral $Y \in \mathcal{H}_0$$\int_0^T X(s) \mathrm{d} s$. There are two ways.
Bochner integral. Clearly, the projection of $Y$ onto$X$ considered as a continuous map $\mathcal{L}(X,t)$$[0,T] \rightarrow \mathcal{H}_0$ is called the best linear estimate of $Y$ given $X(s)$, $s \leq t$Bochner integrable. One can showWe denote its Bochner integral by \begin{equation} \text{(B-)}\int_0^T X(s) \mathrm{d}s. \end{equation}
Lebesgue integral. We may assume that, for $X$ considered as a certain class of q.mmap $[0,T] \times \Omega \rightarrow \mathrm{R}$ is measurable. second order processesThus, one hasfor fixed $\mathcal{L}(X,t) = \lbrace \int_0^t f(s) \mathrm{d} X(s) : f \in L_2[0,t] \rbrace$$\omega$, the integral (this is not needed here$\int_0^T X(s,\omega) \mathrm{d} s$ exists as a Lebesgue integral, just for intuition). The problem mentioned inand we denote the title arisesrandom variable constructed in connection with the following :this way by \begin{equation} \text{(L-)}\int_0^T X(s) \mathrm{d}s. \end{equation}
Question. Do we have \begin{equation} \int_0^t X(s) \mathrm{d} s \in \mathcal{L}(X,t), \end{equation} where the integral is defined path by path as a Lebesgue-integral?\begin{equation} \text{(B-)}\int_0^T X(s) \mathrm{d}s = \text{(L-)}\int_0^T X(s) \mathrm{d}s \quad \text{a.s.?} \end{equation}
Idea of proof:Ideas. One can show that Let $X$ is q.m. continuous if and only if the covariance function$\lbrace t^n = t_0^n, \ldots t_{k_n}^n \rbrace$ be a sequence of partitions of $r(s,t) = \mathbf{E}X(s)X(t)$ is continuous$[0,T]$ with mesh going to zero. Using this,Define the simple functions \begin{equation} \xi_n = X(t_0^n)1[t_0^n,t_1^n] + \sum_{i=1}^{k_n-1} X(t_i^n) 1[t_i^n, t_{i+1}^n). \end{equation} Then one can show that for almost every sequence $\lbrace t^n \rbrace$ of partitions of$t$, we have $[0,t]$$\xi_n(t) \rightarrow X(t)$ in $\mathcal{H}_0$, the Riemann sumsand \begin{equation} \xi_n = \sum_i X(t_i^n) ( t_{i+1}^n - t_i^n ) \end{equation}\begin{equation} \int_0^T \xi_n(s) \mathrm{d}s \rightarrow \text{(B-)}\int_0^T X(s) \mathrm{d}s \quad \text{in $\mathcal{H}_0$}, \end{equation} are convergingwhere the integral on the left is defined in $\mathcal{H}_0$ to the same limitobvious way (we omit (B-)) (to show this, sayone uses the fact that the covariance function $\xi$$r(s,t) = \mathbf{E}X(s)X(t)$ of a q. Nowm. continuous process is continuous). After switching to a subsequence if necessary, the crucial question is: do we havemay assume that \begin{equation} \xi = \int_0^t X(s) \mathrm{d} s \quad \text{a.s.?} \end{equation}\begin{equation} \int_0^T \xi_n(s) \mathrm{d}s \rightarrow \text{(B-)}\int_0^T X(s) \mathrm{d}s \quad \text{$\mathbf{P}$-a.s.}, \end{equation} This seems very logicNow, but sincewe would like to have that also \begin{equation} \int_0^T \xi_n(s) \mathrm{d}s \rightarrow \text{(L-)}\int_0^T X(s) \mathrm{d}s \quad \text{$\mathbf{P}$-a.s.}, \end{equation} But this is tricky. The sums on the rightleft hand side is defined pathwise as a Lebesgue integral, this result is not immediateare Riemann sums, and I find it difficult to show this formallyi.
It would be enoughe. \begin{equation} \int_0^T \xi_n(s) \mathrm{d}s = \sum_{i=0}^{k_n-1} X(t_i^n)(t_{i+1}^n - t_i^n ). \end{equation} So if we knew that the paths of $X$ are a.s. Riemann integrable, but this is not clear. More generally, the assertion follows from the following conjecture: if a Riemann sum converges and the corresponding Lebesgue integral exists, then the limit of the Riemann sum mustwe would be this integraldone. But this is also not clear to me. I also tried to use some approximation argument with continuous processesarguments, but failed.
I found this question quite interesting, becausecouldn't do it would be really surprising if. It seems like one needs to deduce some kind of path regularity of $X$ from the assumption of q.m. integral has a chance of not being equal to the pathwise Lebesgue integralcontinuity, but somehow, the proof seems to be difficult. If it is true, then it is also an interesting result that Lebesgue integrals can be approximated by Riemann sumsI don't know any results in quadratic meanthis direction.