  We prove a representation formula of Hopf-Lax type for the solution of a
Hamilton-Jacobi equation involving Caputo time-fractional derivative. Equations
of these type are associated with optimal control problems where the controlled
dynamics is replaced by a time-changed stochastic process describing the
trajectory of a particle subject to random trapping effects.
