[step:Build the primitive of the weak derivative]Throughout the proof, let $\mathcal{L}^1$ denote one-dimensional [Lebesgue measure](/page/Lebesgue%20Measure) on $\mathbb{R}$, and let $|x|$ denote the norm of a vector $x\in X$. The space $L^1(0,T;X)$ denotes the Bochner space of strongly measurable maps $f:(0,T)\to X$ satisfying
\begin{align*}
\int_{(0,T)} |f(r)|\,d\mathcal{L}^1(r)<\infty.
\end{align*}
The test-function space $C_c^\infty(0,T)$ denotes the space of smooth scalar functions $\varphi:(0,T)\to\mathbb{R}$ with compact support in $(0,T)$.
Let
\begin{align*}
v:(0,T)\to X
\end{align*}
denote the weak derivative of $u$, so $v=\dot u$ in $L^1(0,T;X)$. Define the Bochner primitive as the map
\begin{align*}
F:[0,T]\to X.
\end{align*}
For each $t\in[0,T]$, set
\begin{align*}
F(t)=\int_{[0,t]} v(r)\,d\mathcal{L}^1(r).
\end{align*}
By the absolute [continuity theorem](/theorems/1145) for the Bochner integral, whose scalar majorant is the absolute continuity theorem for the [Lebesgue integral](/page/Lebesgue%20Integral) applied to $|v|\in L^1(0,T)$, $F$ is absolutely continuous as an $X$-valued map: if $\{(a_j,b_j)\}_{j=1}^N$ is a finite pairwise disjoint family of subintervals of $[0,T]$, then
\begin{align*}
\sum_{j=1}^N |F(b_j)-F(a_j)| \leq \sum_{j=1}^N \int_{(a_j,b_j)} |v(r)|\,d\mathcal{L}^1(r)
= \int_{\bigcup_{j=1}^N(a_j,b_j)} |v(r)|\,d\mathcal{L}^1(r).
\end{align*}
Since $|v|\in L^1(0,T)$, the right-hand side is small whenever the total length of the union is small.
We also record that $F$ has [weak derivative](/page/Weak%20Derivative) $v$. Indeed, for every scalar [test function](/page/Test%20Function)
\begin{align*}
\varphi:(0,T)\to\mathbb{R}, \qquad \varphi\in C_c^\infty(0,T),
\end{align*}
define the indicator map
\begin{align*}
\mathbb{1}_{[0,t]}:(0,T)\to\{0,1\}
\end{align*}
by setting $\mathbb{1}_{[0,t]}(r)=1$ when $r\in[0,t]$ and $\mathbb{1}_{[0,t]}(r)=0$ otherwise. The map $(r,t)\mapsto \mathbb{1}_{[0,t]}(r)\varphi'(t)v(r)$ is Bochner integrable on $(0,T)\times(0,T)$ because
\begin{align*}
\int_{(0,T)}\int_{(0,T)} \mathbb{1}_{[0,t]}(r)|\varphi'(t)|\,|v(r)|\,d\mathcal{L}^1(r)\,d\mathcal{L}^1(t)
\leq T\|\varphi'\|_{\infty}\int_{(0,T)}|v(r)|\,d\mathcal{L}^1(r)<\infty.
\end{align*}
Thus the Bochner-[Fubini theorem](/theorems/513) for Bochner-integrable functions on product measure spaces applies, since the displayed scalar majorant is integrable, and gives
\begin{align*}
\int_{(0,T)} F(t)\varphi'(t)\,d\mathcal{L}^1(t)
= \int_{(0,T)}\left(\int_{[0,t]}v(r)\,d\mathcal{L}^1(r)\right)\varphi'(t)\,d\mathcal{L}^1(t).
\end{align*}
Changing the order of integration gives
\begin{align*}
\int_{(0,T)} F(t)\varphi'(t)\,d\mathcal{L}^1(t)
= \int_{(0,T)} v(r)\left(\int_{[r,T]}\varphi'(t)\,d\mathcal{L}^1(t)\right)d\mathcal{L}^1(r).
\end{align*}
Because $\varphi$ has compact support in $(0,T)$, $\varphi(T)=0$, and the scalar [Fundamental Theorem of Calculus](/theorems/632) gives
\begin{align*}
\int_{[r,T]}\varphi'(t)\,d\mathcal{L}^1(t)=-\varphi(r).
\end{align*}
Hence
\begin{align*}
\int_{(0,T)} F(t)\varphi'(t)\,d\mathcal{L}^1(t)
= -\int_{(0,T)} v(r)\varphi(r)\,d\mathcal{L}^1(r).
\end{align*}
Thus the weak derivative of $F$ is $v$.[/step]