In the mathematical theory of , local time is a stochastic process associated with diffusion processes such as Brownian motion, that characterizes the amount of time a particle has spent at a given level. Local time appears in various 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 real valued diffusion process , the local time of at the point is the stochastic process
where is the Dirac delta function. It is a notion invented by Paul Lévy. The basic idea is that is a (rescaled) measure of how much time has spent at up to time . It may be written as