# Semimartingale

In probability theory, a real valued stochastic process X is called a semimartingale if it can be decomposed as the sum of a local martingale and a càdlàg adapted finite-variation process. Semimartingales are "good integrators", forming the largest class of processes with respect to which the Itô integral and the Stratonovich integral can be defined.
The class of semimartingales is quite large (including, for example, all continuously differentiable processes, Brownian motion and Poisson processes). Submartingales and supermartingales together represent a subset of the semimartingales.

## Definition

A real valued process X defined on the filtered probability space (Ω,F,(F$_t$)$_{t≥0}$,P) is called a semimartingale if it can be decomposed as
    $X_{t}=M_{t}+A_{t}$
where M is a local martingale and A is a càdlàg adapted process of locally bounded variation. This means that for almost all $\omega \in \Omega$ and all compact intervals $I\subset [0,\infty )$, the sample path $I\ni s\mapsto A_{s}(\omega )$ is of bounded variation.
An R$^n$-valued process X = (X$^1$,...,X$^n$) is a semimartingale if each of its components X$^i$ is a semimartingale.

## Alternative definition

First, the simple predictable processes are defined to be linear combinations of processes of the form H$_t$ = A1$_{{t>T}}$ for stopping times T and F$_T$ -measurable random variables A. The integral H ⋅ X for any such simple predictable process H and real valued process X is
    $H\cdot X_{t}:=1_{\{t>T\}}A(X_{t}-X_{T}).$
This is extended to all simple predictable processes by the linearity of H ⋅ X in H.
A real valued process X is a semimartingale if it is càdlàg, adapted, and for every t ≥ 0,
    $\left\{H\cdot X_{t}:H{\rm {\ is\ simple\ predictable\ and\ }}|H|\leq 1\right\}$
is bounded in probability. The Bichteler–Dellacherie Theorem states that these two definitions are equivalent (Protter 2004, p. 144).

## Examples

* Adapted and continuously differentiable processes are continuous, locally finite-variation processes, and hence semimartingales.
* Brownian motion is a semimartingale.
* All càdlàg martingales, submartingales and supermartingales are semimartingales.
* Itō processes, which satisfy a stochastic differential equation of the form dX = σdW + μdt are semimartingales. Here, W is a Brownian motion and σ, μ are adapted processes.
* Every Lévy process is a semimartingale.
Although most continuous and adapted processes studied in the literature are semimartingales, this is not always the case.
* Fractional Brownian motion with Hurst parameter H ≠ 1/2 is not a semimartingale.

## Properties

* The semimartingales form the largest class of processes for which the Itō integral can be defined.
* Linear combinations of semimartingales are semimartingales.
* Products of semimartingales are semimartingales, which is a consequence of the integration by parts formula for the Itō integral.
* The quadratic variation exists for every semimartingale.
* The class of semimartingales is closed under optional stopping, localization, change of time and absolutely continuous change of probability measure (see Girsanov's Theorem).
* If X is an R$^m$ valued semimartingale and f is a twice continuously differentiable function from R$^m$ to R$^n$, then f(X) is a semimartingale. This is a consequence of Itō's lemma.
* The property of being a semimartingale is preserved under shrinking the filtration. More precisely, if X is a semimartingale with respect to the filtration F$_t$, and is adapted with respect to the subfiltration G$_t$, then X is a G$_t$-semimartingale.
* (Jacod's Countable Expansion) The property of being a semimartingale is preserved under enlarging the filtration by a countable set of disjoint sets. Suppose that F$_t$ is a filtration, and G$_t$ is the filtration generated by F$_t$ and a countable set of disjoint measurable sets. Then, every F$_t$-semimartingale is also a G$_t$-semimartingale. (Protter 2004, p. 53)

## Semimartingale decompositions

By definition, every semimartingale is a sum of a local martingale and a finite-variation process. However, this decomposition is not unique.

### Continuous semimartingales

A continuous semimartingale uniquely decomposes as X = M + A where M is a continuous local martingale and A is a continuous finite-variation process starting at zero. (Rogers & Williams 1987, p. 358)
For example, if X is an Itō process satisfying the stochastic differential equation dX$_t$ = σ$_t$ dW$_t$ + b$_t$ dt, then
    $M_{t}=X_{0}+\int _{0}^{t}\sigma _{s}\,dW_{s},\ A_{t}=\int _{0}^{t}b_{s}\,ds.$

### Special semimartingales

A special semimartingale is a real valued process $X$ with the decomposition $X=M^{X}+B^{X}$, where $M^{X}$ is a local martingale and $B^{X}$ is a predictable finite-variation process starting at zero. If this decomposition exists, then it is unique up to a P-null set.
Every special semimartingale is a semimartingale. Conversely, a semimartingale is a special semimartingale if and only if the process X$_t$$^*$ ≡ sup$_{s≤t}$ |X$_s$| is locally integrable (Protter 2004, p. 130).
For example, every continuous semimartingale is a special semimartingale, in which case M and A are both continuous processes.

### Multiplicative decompositions

Recall that ${\mathcal {E}}(X)$ denotes the stochastic exponential of semimartingale $X$. If $X$ is a special semimartingale such that $\Delta B^{X}\neq -1$, then ${\mathcal {E}}(B^{X})\neq 0$ and ${\mathcal {E}}(X)/{\mathcal {E}}(B^{X})={\mathcal {E}}\left(\int _{0}^{\cdot }{\frac {M_{u}^{X}}{1+\Delta B_{u}^{X}}}\right)$ is a local martingale. Process ${\mathcal {E}}(B^{X})$ is called the multiplicative compensator of ${\mathcal {E}}(X)$ and the identity ${\mathcal {E}}(X)={\mathcal {E}}\left(\int _{0}^{\cdot }{\frac {M_{u}^{X}}{1+\Delta B_{u}^{X}}}\right){\mathcal {E}}(B^{X})$ the multiplicative decomposition of ${\mathcal {E}}(X)$.

### Purely discontinuous semimartingales / quadratic pure-jump semimartingales

A semimartingale is called purely discontinuous (Kallenberg 2002) if its quadratic variation [X] is a finite-variation pure-jump process, i.e.,
    $[X]_{t}=\sum _{s\leq t}(\Delta X_{s})^{2}$.
By this definition, time is a purely discontinuous semimartingale even though it exhibits no jumps at all. The alternative (and preferred) terminology quadratic pure-jump semimartingale for a purely discontinuous semimartingale (Protter 2004, p. 71) is motivated by the fact that the quadratic variation of a purely discontinuous semimartingale is a pure jump process. Every finite-variation semimartingale is a quadratic pure-jump semimartingale. An adapted continuous process is a quadratic pure-jump semimartingale if and only if it is of finite variation.
For every semimartingale X there is a unique continuous local martingale $X^{c}$ starting at zero such that $X-X^{c}$ is a quadratic pure-jump semimartingale (He, Wang & Yan 1992, p. 209; Kallenberg 2002, p. 527). The local martingale $X^{c}$ is called the continuous martingale part of X.
Observe that $X^{c}$ is measure-specific. If $P$ and $Q$ are two equivalent measures then $X^{c}(P)$ is typically different from $X^{c}(Q)$, while both $X-X^{c}(P)$ and $X-X^{c}(Q)$ are quadratic pure-jump semimartingales. By Girsanov's theorem $X^{c}(P)-X^{c}(Q)$ is a continuous finite-variation process, yielding $[X^{c}(P)]=[X^{c}(Q)]=[X]-\sum _{s\leq \cdot }(\Delta X_{s})^{2}$.

### Continuous-time and discrete-time components of a semimartingale

Every semimartingale $X$ has a unique decomposition $X=X_{0}+X^{\mathrm {qc} }+X^{\mathrm {dp} },$where $X_{0}^{\mathrm {qc} }=X_{0}^{\mathrm {dp} }=0$, the $X^{\mathrm {qc} }$ component does not jump at predictable times, and the $X^{\mathrm {dp} }$ component is equal to the sum of its jumps at predictable times in the semimartingale topology. One then has $[X^{\mathrm {qc} },X^{\mathrm {dp} }]=0$. Typical examples of the "qc" component are Itô process and Lévy process. The "dp" component is often taken to be a Markov chain but in general the predictable jump times may not be isolated points; for example, in principle $X^{\mathrm {dp} }$ may jump at every rational time. Observe also that $X^{\mathrm {dp} }$ is not necessarily of finite variation, even though it is equal to the sum of its jumps (in the semimartingale topology). For example, on the time interval $[0,\infty )$ take $X^{\mathrm {dp} }$ to have independent increments, with jumps at times $\{\tau _{n}=2-1/n\}_{n\in \mathbb {N} }$ taking values $\pm 1/n$ with equal probability.

## Semimartingales on a manifold

The concept of semimartingales, and the associated theory of stochastic calculus, extends to processes taking values in a differentiable manifold. A process X on the manifold M is a semimartingale if f(X) is a semimartingale for every smooth function f from M to R. (Rogers & Williams 1987, p. 24) Stochastic calculus for semimartingales on general manifolds requires the use of the Stratonovich integral.