Local time is a stochastic process associated with semimartingale processes such as Brownian motion, that characterizes the amount of time a particle has spent at a given level.
Local time is a stochastic process associated with semimartingale processes such as Brownian motion, that characterizes the amount of time a particle has spent at a given level. Local time appears in various stochastic integration formulas, such as Tanaka's formula, if the integrand is not sufficiently smooth. It is also studied in statistical mechanics in the context of random fields.
For a continuous real-valued semimartingale $ (B_{s})_{s\geq 0}$, the local time of $B$ at the point $x$ is the stochastic process which is informally defined by
$$ L ^ {x} (t) = \int _ {0} ^ {t} \delta (x-B _ {s})\ d[B]_{s} \text , $$
where $ \delta $ is the Dirac delta function and $[ B ]$ is the quadratic variation. The basic idea is that $ L^{x}(t) $ is an (appropriately rescaled and time-parametrized) measure of how much time $B_{s}$ has spent at $x$ up to time $t$. More rigorously, it may be written as the almost sure limit
$$ L ^ {x}(t)=\lim _ {\varepsilon \downarrow 0}{\frac {1}{2\varepsilon }} \int _ {0} ^ {t} \mathbb 1 _ {\lbrace x-\varepsilon <B_{s}<x+\varepsilon \rbrace}\,d[B]_{s} \text , $$
which may always be shown to exist. Note that in the special case of Brownian motion (or more generally a real-valued diffusion of the form $ dB=b(t,B)dt+dW $ where $W$ is a Brownian motion), the term $ d[B]_{s} $ simply reduces to $d s$, which explains why it is called the local time of $B$ at $x$. For a discrete state-space process $( X _ s ) _{s\geq 0}$, the local time can be expressed more simply as
$$ L ^ {x}(t)=\int _ {0} ^ {t} \mathbb 1 _ {\lbrace x \rbrace}(X _ {s})\ ds \text . $$
Source: Wikipedia