While trying obtain the dynamics of $X_t = \exp( \int_t ^T \phi_s ds)$, where $\phi$ is an Ito process following $$ d\phi_t = \mu dt+ \sigma dW_t \ ,$$ I had some doubt concerning the application of Itô's lemma.
If $g_T(t,x) := \int_t ^T x(s) ds$ which is a functional of $x$ depending of $t$ and of the parameter $T$, then $X_t = f_T(t,\phi) :=\exp(g_T(t,\phi))$, so Itô's lemma gives us that $$dX_t =df_T(t,\phi) = (\partial_t +\frac{\sigma}{2}\partial_{xx}^2) f_T(t,\phi) dt +\partial_x f_T(t,\phi) dW_t$$ My doubt is precisely about the computation of $\partial_x f_T(t,\phi)$. Is it zero or am I making a mistake?
Thus, the dynamic of $X$ must be
$$dX_t =\partial_t f_T(t,\phi) dt =-\phi_tX_tdt$$
Could someone enlight me please?
The point is that Ito Lemma applies to the situation where you have a function of an Ito process, rather than a functional. E.g. you can apply it in case $h(\phi_t)$, but you don't apply Ito Lemma to compute the differential of $\int_0^t\phi_s\mathrm ds$. In the latter case you rather have $$ \mathrm d\left(\int_0^t\phi_s\mathrm ds\right) = \phi_t\mathrm dt. $$ Similarly, for any continuous function $\psi \in C([0,\infty))$ you have that $$ g(t):=\int_t^T\psi(s)\mathrm ds \in C^1([0,\infty)) $$ and thus $f(t):=\exp(g(t))$ belongs to this class as well. As a result, $$ \mathrm df(t) = f'_t(t)\mathrm dt = f(t)g'_t(t)\mathrm dt = -f(t)\psi(t)\mathrm dt. $$