Tanaka's formula

In the stochastic calculus, Tanaka's formula for the Brownian motion states that

where Bt is the standard Brownian motion, sgn denotes the sign function

and Lt is its local time at 0 (the local time spent by B at 0 before time t) given by the L2-limit

One can also extend the formula to semimartingales.