[guided]The purpose of this step is to extract the part of LaSalle's principle that is needed here, directly from precompactness and continuity of the semiflow.
First define the positive orbit
\begin{align*}
\mathcal O_x:=\{S(t)x:t\geq0\}
\end{align*}
and the omega-limit set
\begin{align*}
\omega(x):=\{y\in X:\text{there exists a sequence }(t_k)_{k=1}^{\infty}\subset[0,\infty)\text{ with }t_k\to\infty\text{ and }S(t_k)x\to y\text{ in }X\}.
\end{align*}
Because $x\in\mathcal U_\rho$, the orbit is global and remains in $B_X(0,r)$. By the precompactness hypothesis, the closure of $\mathcal O_x$ is compact in $X$. Therefore every sequence of orbit points with times tending to infinity has a convergent subsequence, so $\omega(x)$ is nonempty.
The Lyapunov functional has a limit along the orbit. Indeed, the function $\varphi_x:[0,\infty)\to[0,\infty)$ defined by $\varphi_x(t):=\Phi(S(t)x)$ is non-increasing by hypothesis and is bounded below by $0$. Hence the monotone convergence property for real-valued functions gives a limit
\begin{align*}
\ell:=\lim_{t\to\infty}\Phi(S(t)x).
\end{align*}
Now take any $y\in\omega(x)$. By definition, there is a sequence $t_k\to\infty$ such that $S(t_k)x\to y$ in $X$. Since $\Phi:X\to[0,\infty)$ is continuous,
\begin{align*}
\Phi(y)=\lim_{k\to\infty}\Phi(S(t_k)x)=\ell.
\end{align*}
Thus every omega-[limit point](/page/Limit%20Point) lies on the same Lyapunov level $\{\Phi=\ell\}$.
Next we show that omega-limit points generate forward orbits that remain inside the omega-limit set. Fix $y\in\omega(x)$ and $\tau\geq0$. Choose $t_k\to\infty$ with $S(t_k)x\to y$. The map $S(\tau):X\to X$ is continuous, and the semiflow identity gives
\begin{align*}
S(\tau)S(t_k)x=S(t_k+\tau)x.
\end{align*}
Passing to the limit,
\begin{align*}
S(\tau)y=\lim_{k\to\infty}S(t_k+\tau)x.
\end{align*}
Since $t_k+\tau\to\infty$, this proves $S(\tau)y\in\omega(x)$. Consequently $\Phi(S(\tau)y)=\ell$ for every $\tau\geq0$.
The hypothesis of the theorem is stated for complete trajectories, so we must also obtain a backward extension through each $y\in\omega(x)$. Fix $y\in\omega(x)$, and choose one sequence $(t_k)_{k=1}^{\infty}\subset[0,\infty)$ with $t_k\to\infty$ and $S(t_k)x\to y$. Using a single sequence is important: separate choices for different backward times would not automatically give compatible preimages.
For each fixed integer $m\geq1$, all sufficiently large $k$ satisfy $t_k\geq m$, so the shifted points $S(t_k-m)x$ are defined and belong to the positive orbit. Since the orbit is precompact in $X$, we can perform the usual diagonal extraction: first choose a subsequence along which $S(t_k-1)x$ converges, then a further subsequence along which $S(t_k-2)x$ converges, and so on; taking the diagonal subsequence gives one subsequence, still denoted $(t_k)$, such that for every fixed $m\geq1$ there exists $y_{-m}\in X$ with
\begin{align*}
S(t_k-m)x\to y_{-m}
\end{align*}
in $X$. Since $t_k-m\to\infty$, the definition of $\omega(x)$ gives $y_{-m}\in\omega(x)$.
Now the desired compatibility follows from the semiflow identity and continuity. For each $m\geq1$,
\begin{align*}
S(m)y_{-m}=\lim_{k\to\infty}S(m)S(t_k-m)x=\lim_{k\to\infty}S(t_k)x=y.
\end{align*}
Likewise, passing to the limit in $S(1)S(t_k-(m+1))x=S(t_k-m)x$ gives
\begin{align*}
S(1)y_{-(m+1)}=y_{-m}.
\end{align*}
Thus the backward points are consistent. Also, because each $y_{-m}\in\omega(x)$ and $\Phi$ equals $\ell$ on $\omega(x)$, we have $\Phi(y_{-m})=\ell<\rho$; hence $y_{-m}\in\mathcal U_\rho\subset B_X(0,r)$.
Define
\begin{align*}
u_y:\mathbb R\to X
\end{align*}
by $u_y(t):=S(t)y$ for $t\geq0$, and by $u_y(t):=S(t+m)y_{-m}$ when $m\in\mathbb N$ and $t\in[-m,-m+1]$. The consistency relation ensures that the definitions agree at the integer endpoints. The semiflow identity then gives
\begin{align*}
u_y(t+s)=S(t)u_y(s)
\end{align*}
for every $s\in\mathbb R$ and every $t\geq0$. Since all points used in the construction lie in $\omega(x)$ and $\omega(x)$ is positively invariant, $u_y(t)\in\omega(x)$ for every $t\in\mathbb R$. Therefore $\Phi(u_y(t))=\ell$ for every $t\in\mathbb R$. We have constructed a complete trajectory in $B_X(0,r)$ on which $\Phi$ is constant.[/guided]