[step:Prove uniqueness via the auxiliary function $w(s) := T(t - s) v(s)$]Suppose $v: [0, \infty) \to X$ is another classical solution: $v \in C^1([0, \infty); X) \cap C([0, \infty); D(A))$, $v'(s) = A v(s)$ for $s \ge 0$, and $v(0) = g$. We show $v(t) = T(t) g$ for every $t \ge 0$.
Fix $t > 0$ and define
\begin{align*}
w: [0, t] &\to X, & s &\mapsto T(t - s) v(s).
\end{align*}
[claim:The function $w$ is differentiable on $[0, t]$ with $w'(s) = 0$ identically.]
[/claim]
[proof]
Fix $s \in (0, t)$ and let $h \in \mathbb{R}$ with $|h|$ small enough that $s + h \in (0, t)$. We expand the difference
\begin{align*}
w(s + h) - w(s) &= T(t - s - h) v(s + h) - T(t - s) v(s) \\
&= T(t - s - h) [v(s + h) - v(s)] + [T(t - s - h) - T(t - s)] v(s).
\end{align*}
Dividing by $h$:
\begin{align*}
\frac{w(s + h) - w(s)}{h} &= T(t - s - h)\, \frac{v(s + h) - v(s)}{h} + \frac{T(t - s - h) - T(t - s)}{h} v(s).
\end{align*}
Examine the two terms separately as $h \to 0$.
First term. Since $v$ is differentiable at $s$ with $v'(s) = A v(s)$, the difference quotient $\frac{v(s + h) - v(s)}{h} \to A v(s)$ in $X$. By the local exponential bound, $\|T(t - s - h)\|_{\mathcal{L}(X)} \le M e^{|\omega| t}$ for $|h|$ small, and $T(t - s - h) \to T(t - s)$ strongly as $h \to 0$. Together with the convergence of the difference quotient, the operator $\times$ vector limit gives
\begin{align*}
T(t - s - h)\, \frac{v(s + h) - v(s)}{h} &\xrightarrow{h \to 0} T(t - s)\, A v(s).
\end{align*}
Second term. Since $v(s) \in D(A)$, the differentiation formula from the [Closure and Density of the $C_0$-Semigroup Generator](/theorems/3144) applied to the orbit $\tau \mapsto T(\tau) v(s)$ at $\tau = t - s$ gives
\begin{align*}
\lim_{h \to 0} \frac{T(t - s - h) - T(t - s)}{h} v(s) &= \lim_{h \to 0} \frac{T(t - s - h) v(s) - T(t - s) v(s)}{h} = -\, A T(t - s) v(s).
\end{align*}
Using $A T(t - s) v(s) = T(t - s) A v(s)$ (the same theorem):
\begin{align*}
\lim_{h \to 0} \frac{T(t - s - h) - T(t - s)}{h} v(s) &= -\, T(t - s) A v(s).
\end{align*}
Adding the two limits:
\begin{align*}
w'(s) &= T(t - s) A v(s) - T(t - s) A v(s) = 0.
\end{align*}
The same computation with one-sided difference quotients gives $w'(0) = 0$ and $w'(t) = 0$, so $w' \equiv 0$ on $[0, t]$.
[/proof]
Since $w \in C([0, t]; X)$ (composition of continuous maps and the locally bounded semigroup) and $w' \equiv 0$ in $X$, the Mean Value Inequality for Banach-Valued Functions implies $w$ is constant on $[0, t]$. Comparing endpoints:
\begin{align*}
w(0) &= T(t) v(0) = T(t) g, & w(t) &= T(0) v(t) = v(t).
\end{align*}
Constancy gives $v(t) = T(t) g$. Since $t > 0$ was arbitrary and $v(0) = g = T(0) g$, we conclude $v = u$ on $[0, \infty)$.[/step]