Let $I$ be an open interval, $p\in[1,\infty[$, $u\in L_p(I)$ and $x_0\in I$. Consider $v:=\int_{x_0}^\cdot u(\xi)d\xi$. I am asked to show that $v$ is weakly differentiable.
So, I thought we could get $u\in L_1([\inf I+\varepsilon, b])$ and $x_0,x\in[I+\varepsilon, b]$ for any $x\in I$ for some $\varepsilon>0$ and some $b\in I$, so $v$ should be differentiable at all $x\in I$ (in the classical sense), and weak differentiability would follow trivially...
But, the solution uses change of order of integration to directly show the defining property of weakly differentiable functions. Why? Did I miss something?
The notation in the definition of $v$ could be clearer. More important, "weakly differenntiable" means various different things in various contexts - you should include a definition.
Here's a special case:
Note Yes, we know that $F'=f$ almost everywhere. Best to forget about that! Because it really doesn't help in showing that $F'=f$ in the weak sense defined above. In fact the fact that $F'=f$ almost everywhere is much deeper than what we're proving here.
Example showing that $F'=f$ almost everywhere does not imply weak differentiability: Let $F$ be the Cantor-Lebesgue function, aka Devil's staircase. Then $F'=0$ almost everywhere. But it is not true that $F'=0$ weakly as above, because (exercise) this would imply that $F$ was constant.
Proof: Fubini shows that $$\int F(x)\phi'(x)=\int_{-\infty}^\infty \phi'(x)\int_{-\infty}^x f(t)\,dt\,dx=\int_{-\infty}^\infty f(t)\int_t^\infty\phi'(x)\,dx\,dt=-\int f(t)\phi(t)\,dt.$$
Proof: Exercise. (Once again, don't start with $F'=f$ almost everywehere; it won't help.)