Let be a Borel function on . Considering as time, as the observed process, and as the observation period for , P. Lévy proposed the following formula for calculating the time , spent by the process at level over the time interval :
This is the so-called local time. Prove that the limit defining is defined and finite for almost all (with respect to the Lebesgue measure).