MathFin
Map / Valuation · Jump models / MathFin.Models.Jumps.JumpDiffusionVarianceSwap

Variance swaps with jumps: the log contract against the variance

MathFin.Models.Jumps.JumpDiffusionVarianceSwapMSC 91G20JEL G13 source

In the Black–Scholes model two functionals of the price give the variance swap's fair strike σ²: the log contract of Demeterfi, Derman, Kamal and Zou, (2/τ)·𝔼[log(F/S_τ) + (S_τ − F)/F] with the forward F = Se^{rτ} (varianceSwap_fairStrike), and the expected realized variance (tendsto_expected_bsLogPrice_equipartition_sum); VarianceSwapEquivalence.lean records that they agree. With jumps they differ by the jump bias 2Λ𝔼[e^J − 1 − J − J²/2], which vanishes without jumps and, for downward jumps, is ≤ 0, and < 0 once Λ > 0 and ν{J < 0} ≠ 0.

At the compensated drift b = r − σ²/2 − Λ(𝔼[e^J] − 1), for a jump law whose moment-generating function is finite near 0 and at 1, S > 0 and τ > 0:

  • jumpDiffusion_logContract: the log contract's expected payoff, scaled as a variance rate, is σ² + 2Λ𝔼[e^J − 1 − J]. It is (2/τ)(rτ − 𝔼[Y]) (integral_logContract_of_integral_exp) with the mean of JumpDiffusionMoments.lean; in Black–Scholes rτ − 𝔼[Y] is half the variance, and with jumps it differs from half the variance by Λτ𝔼[e^J − 1 − J − J²/2];
  • varianceSwap_fairStrike: its case Λ = 0, the Black–Scholes fair strike σ², stated for the standard normal driver of the lognormal price;
  • jumpDiffusion_logContract_sub_variance: the log contract minus the variance of the log-return per unit time, σ² + Λ𝔼[J²], is the jump bias;
  • integral_jumpBias_nonpos, integral_jumpBias_neg: the sign of 𝔼[e^J − 1 − J − J²/2], the bias per unit of 2Λ, is a fact about the jump law: ≤ 0 for jumps ≤ 0, as e^x ≤ 1 + x + x²/2 for x ≤ 0, and < 0 if moreover the jumps are negative with positive probability and the moment-generating function is finite near 0, as the inequality is strict for x < 0 (Real.exp_le_quadratic_of_nonpos, Real.exp_lt_quadratic_of_neg);
  • jumpDiffusion_logContract_le_variance, jumpDiffusion_logContract_lt_variance: so for jumps ≤ 0 the log contract is at most the variance, and strictly below it if Λ > 0 and the jumps are negative with positive probability;
  • mertonJump_logContract_variance: with Merton's log-jumps N(log(1 + k) − δ²/2, δ²), the log contract is σ² + 2Λ(k − log(1 + k) + δ²/2) and the variance per unit time is σ² + Λ((log(1 + k) − δ²/2)² + δ²).

On a jump-diffusion process X (JumpDiffusionProcess, a hypothesis structure whose existence with jumps is not proved), both functionals are taken under one measure P:

  • integral_sum_comp_increment_equipartition: for any process whose increments have laws that depend only on their length, 𝔼[∑ f(ΔX)] along n + 1 equal steps is n + 1 times the mean of f under the law of one step;
  • JumpDiffusionProcess.integral_sum_sq_increment_equipartition, JumpDiffusionProcess.tendsto_integral_sum_sq_increment_equipartition: so the expected realized variance is (σ² + Λ𝔼[J²])T + (b + Λ𝔼[J])²T²/(n + 1), which tends to (σ² + Λ𝔼[J²])T whatever the drift, as in Black–Scholes (expected_bsLogPrice_equipartition_sum, tendsto_expected_bsLogPrice_equipartition_sum);
  • JumpDiffusionProcess.integral_logContract_of_martingale: if the discounted price e^{−rt}Se^{X_t} is a P-martingale, the log contract on S_T = Se^{X_T} has expected payoff σ² + 2Λ𝔼[e^J − 1 − J] under P (the martingale forces the compensated drift, JumpDiffusionProcess.martingale_iff, and X_T has the log-return law, JumpDiffusionProcess.hasLaw);
  • JumpDiffusionProcess.logContract_sub_realizedVariance_of_martingale: then at every sampling frequency the log contract minus the expected realized variance per unit time is 2Λ𝔼[e^J − 1 − J − J²/2] − (b + Λ𝔼[J])²T/(n + 1), the jump bias less a discrete-sampling term;
  • JumpDiffusionProcess.tendsto_logContract_sub_realizedVariance_of_martingale: so the difference tends to the jump bias;
  • JumpDiffusionProcess.logContract_le_realizedVariance_of_martingale and JumpDiffusionProcess.logContract_lt_realizedVariance_of_martingale: for jumps ≤ 0 the log contract is at most the expected realized variance per unit time at every sampling frequency, strictly if Λ > 0 and the jumps are negative with positive probability;
  • IsFilteredPreBrownian.logContract_realizedVariance: without jumps, for Brownian motion with the risk-neutral drift, the log contract is σ² and the difference is −(r − σ²/2)²T/(n + 1).

The expectations are under a measure P that makes the discounted price a martingale and keeps the characteristics σ, Λ and ν of X. A change of measure that moves Λ or ν, such as the Esscher transform, is not covered.

Main results

  • varianceSwap_fairStrike: in Black–Scholes the log contract on the forward F = S₀e^{rT}, scaled as a variance rate 2/T, has expected payoff σ².
  • jumpDiffusion_logContract: at the compensated drift, for 𝔼[e^J] < ∞ and exponential moments near 0, the scaled log-contract payoff is σ² + 2Λ𝔼[e^J − 1 − J].
  • jumpDiffusion_logContract_sub_variance: the log contract minus Var[Y]/τ = σ² + Λ𝔼[J²] is the jump bias 2Λ𝔼[e^J − 1 − J − J²/2].
  • jumpDiffusion_logContract_le_variance, jumpDiffusion_logContract_lt_variance: with downward jumps (J ≤ 0 a.e.) the log contract is at most the variance, and strictly below it when Λ > 0 and ν{J < 0} ≠ 0.
  • mertonJump_logContract_variance: Merton's log-jumps give the log contract σ² + 2Λ(k − log(1 + k) + δ²/2) and the variance σ² + Λ((log(1 + k) − δ²/2)² + δ²).
  • tendsto_integral_sum_sq_increment_equipartition: the expected realized variance of a jump-diffusion along equipartitions of [0, T] tends to (σ² + Λ𝔼[J²])T.
  • logContract_sub_realizedVariance_of_martingale: for a discounted-martingale price process, the log contract minus the expected realized variance per unit time is the jump bias less a nonnegative discrete-sampling term; tendsto_logContract_sub_realizedVariance_of_martingale has limit the jump bias.
  • logContract_le_realizedVariance_of_martingale, logContract_lt_realizedVariance_of_martingale: with downward (crash) jumps the log contract is below (strictly below) the sampled variance at every sampling frequency.
  • logContract_realizedVariance: for a pre-Brownian motion, the Black–Scholes log contract has expected payoff σ² and differs from the sampled variance only by the discrete-sampling term −(r − σ²/2)²T/(n + 1).

References

Tags

variance swap, log contract, fair strike, realized variance, Demeterfi–Derman–Kamal–Zou, jump risk, MSC 91G20, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-jump-diffusion-log-contract · jumps_and_variance_swaps.json · full statement
With Jumps the Log Contract Prices σ² + 2ΛE[eᴶ − 1 − J]

Let Y have the jump-diffusion log-return law over τ (mf-jump-diffusion-log-return-mgf) at the compensated drift b = r − σ²/2 − Λ(E[e^J] − 1), for a jump law whose moment-generating function is finite near 0 and at 1, a spot S > 0, a rate r and a horizon τ > 0, and let S_τ = Se^Y. The Demeterfi–Derman–Kamal–Zou log contract on the forward F = Se^{rτ}, scaled as a variance rate, has expected payoff (2/τ)·E[log(F/S_τ) + (S_τ − F)/F] = σ² + 2ΛE[e^J − 1 − J]. Without jumps this is σ², the Black–Scholes value (varianceSwap_fairStrike, whose log piece is mf-variance-swap-log). With jumps the jump term is 2ΛE[e^J − 1 − J], rather than ΛE[J²], the jumps' contribution to the variance of the log-return (mf-jump-diffusion-log-contract-jump-bias). The law at the compensated drift is one pricing law, the one that keeps σ, Λ and ν; the market is incomplete, and other pricing laws, such as the Esscher transform, change Λ and ν (mf-jump-diffusion-incompleteness). No replication argument is used: the Carr–Madan strip of the log payoff is formalized pointwise on a bounded strike range (mf-carr-madan-log-contract), not integrated against this law.

mf-jump-diffusion-log-contract-jump-bias · jumps_and_variance_swaps.json · full statement
The Jump Bias of the Log Contract

Under the hypotheses of mf-jump-diffusion-log-contract, the log contract minus the variance of the log-return per unit time, Var[Y]/τ = σ² + ΛE[J²] (mf-jump-diffusion-log-return-variance), is the jump bias 2ΛE[e^J − 1 − J − J²/2], whose integrand eˣ − 1 − x − x²/2 vanishes to third order at x = 0. The two agree without jumps, and the bias is ≤ 0 for jumps ≤ 0 (mf-jump-diffusion-log-contract-downward-jumps). In Black–Scholes the log contract and the expected realized variance give the same σ² (mf-variance-swap-equivalence). Var[Y]/τ is the limit of the expected realized variance per unit time of a jump-diffusion process along equipartitions (mf-jump-diffusion-realized-variance), so the log contract minus that limit is the bias (mf-jump-diffusion-variance-swap-vs-log-contract).

mf-jump-diffusion-log-contract-downward-jumps · jumps_and_variance_swaps.json · full statement
With Downward Jumps the Log Contract Is at Most the Variance, Strictly When Nonzero Jumps Can Occur

Under the hypotheses of mf-jump-diffusion-log-contract, suppose the jumps are nonpositive (J ≤ 0 ν-almost surely; then E[e^J] ≤ 1, so its finiteness need not be assumed). The log contract is then at most the variance of the log-return per unit time: (2/τ)·E[log(F/S_τ) + (S_τ − F)/F] ≤ Var[Y]/τ. If moreover Λ > 0 and the jumps are negative with positive probability (ν{J < 0} ≠ 0, a crash-type jump law), the inequality is strict. The jump bias 2ΛE[e^J − 1 − J − J²/2] (mf-jump-diffusion-log-contract-jump-bias) is ≤ 0 because eˣ ≤ 1 + x + x²/2 for x ≤ 0, and < 0 because eˣ < 1 + x + x²/2 for x < 0.

mf-jump-diffusion-realized-variance · jumps_and_variance_swaps.json · full statement
The Expected Realized Variance of a Jump-Diffusion

Let X be a jump-diffusion log-price process (mf-jump-diffusion-discounted-price-martingale) with drift b, volatility coefficient σ, jump rate Λ ≥ 0 and a jump law ν whose moment-generating function is finite near 0. Along the equipartition of [0, T] into n + 1 steps the expected realized variance is E[∑ₖ (X_{(k+1)T/(n+1)} − X_{kT/(n+1)})²] = (σ² + ΛE[J²])T + (b + ΛE[J])²T²/(n + 1), and it tends to (σ² + ΛE[J²])T as n → ∞, whatever the drift: the variance of the log-return over T (mf-jump-diffusion-log-return-variance). Without jumps the limit is the Black–Scholes σ²T (mf-variance-swap-equivalence). The statement is about the expectation: the convergence of the realized variance itself is not formalized. JumpDiffusionProcess is a hypothesis on X: Brownian motion with drift satisfies it without jumps (mf-jump-diffusion-brownian-no-jumps), and a process with jumps is not constructed in the library.

mf-jump-diffusion-log-contract-on-process · jumps_and_variance_swaps.json · full statement
The Log Contract on a Jump-Diffusion Process Under a Martingale Measure

Let X be a jump-diffusion log-price process (mf-jump-diffusion-discounted-price-martingale) with a jump law whose moment-generating function is finite near 0 and at 1, and let S > 0, a rate r and T > 0 be such that the discounted price e^{−rt}Se^{X_t} is a P-martingale. Then the Demeterfi–Derman–Kamal–Zou log contract on S_T = Se^{X_T} with the forward F = Se^{rT}, scaled as a variance rate, has expected payoff under P (2/T)·E_P[log(F/S_T) + (S_T − F)/F] = σ² + 2ΛE[e^J − 1 − J]: the martingale property forces the compensated drift (mf-jump-diffusion-discounted-price-martingale), X_T has the log-return law (mf-jump-diffusion-terminal-law), and that law prices the contract (mf-jump-diffusion-log-contract). Both the contract and the measure are those of the process. JumpDiffusionProcess is a hypothesis on X: Brownian motion with drift satisfies it without jumps (mf-jump-diffusion-brownian-no-jumps), and a process with jumps is not constructed in the library.

mf-jump-diffusion-variance-swap-vs-log-contract · jumps_and_variance_swaps.json · full statement
With Jumps the Log Contract Misses the Variance Swap by the Jump Bias

Under the hypotheses of mf-jump-diffusion-log-contract-on-process (a jump-diffusion process X whose discounted price e^{−rt}Se^{X_t} is a P-martingale, a jump law with moment-generating function finite near 0 and at 1, S > 0, T > 0), take the realized variance of X along the equipartition of [0, T] into n + 1 steps. At every n, the log contract on S_T = Se^{X_T} minus the expected realized variance per unit time, both under P, is 2ΛE[e^J − 1 − J − J²/2] − (b + ΛE[J])²T/(n + 1): the jump bias, whose integrand vanishes to third order at 0, less a discrete-sampling term that is ≥ 0 (b is the compensated drift the martingale property forces). As the partition refines the difference tends to the jump bias. In Black–Scholes the two variance-swap functionals agree in the limit (mf-variance-swap-equivalence); without jumps the difference is the discrete-sampling term alone (mf-black-scholes-log-contract-discrete-swap). For jumps ≤ 0 the log contract is at most the expected realized variance per unit time at every n (mf-jump-diffusion-log-contract-below-discrete-swap). The expected realized variance per unit time under a measure that makes the discounted price a martingale is the discretely sampled swap's fair strike (no swap contract or fair-strike functional is formalized); a change of measure that moves Λ or ν, such as the Esscher transform, is not covered. JumpDiffusionProcess is a hypothesis on X: Brownian motion with drift satisfies it without jumps (mf-jump-diffusion-brownian-no-jumps), and a process with jumps is not constructed in the library.

mf-jump-diffusion-log-contract-below-discrete-swap · jumps_and_variance_swaps.json · full statement
With Downward Jumps the Log Contract Is Below the Discretely Sampled Variance Swap

Under the hypotheses of mf-jump-diffusion-log-contract-on-process, except finiteness of the moment-generating function at 1, which follows, suppose the jumps are nonpositive (J ≤ 0 ν-almost surely). Then at every sampling frequency, along the equipartition of [0, T] into n + 1 steps, the log contract on S_T = Se^{X_T} with the forward F = Se^{rT} is at most the expected realized variance of X per unit time, both under P: (2/T)·E_P[log(F/S_T) + (S_T − F)/F] ≤ E_P[∑ₖ (ΔX)²]/T. If moreover Λ > 0 and the jumps are negative with positive probability (ν{J < 0} ≠ 0), the inequality is strict for every n. The difference is the jump bias, ≤ 0 for downward jumps and < 0 when moreover Λ > 0 and ν{J < 0} ≠ 0 (mf-jump-diffusion-log-contract-downward-jumps), less a discrete-sampling term ≥ 0 (mf-jump-diffusion-variance-swap-vs-log-contract). JumpDiffusionProcess is a hypothesis on X: Brownian motion with drift satisfies it without jumps (mf-jump-diffusion-brownian-no-jumps), and a process with jumps is not constructed in the library.

mf-black-scholes-log-contract-discrete-swap · jumps_and_variance_swaps.json · full statement
Black–Scholes: the Log Contract Against the Discretely Sampled Variance Swap

Let B be a filtered pre-Brownian motion under P, and let the price be S_t = Se^{(r − σ²/2)t + σB_t} with S > 0 (its discounted value is then a martingale, gir-risk-neutral-drift-unique), and T > 0. The log contract on S_T with the forward F = Se^{rT}, scaled as a variance rate, has expected payoff σ² under P, and minus the expected realized variance of the log-price per unit time along the equipartition of [0, T] into n + 1 steps it is −(r − σ²/2)²T/(n + 1), for every n: there is no jump bias, only the discrete-sampling term, which vanishes as n → ∞. So the expected realized variance is σ²T + (r − σ²/2)²T²/(n + 1), the formula the library proves separately for the Black–Scholes log-price driven by a Brownian motion on ℝ (expected_bsLogPrice_equipartition_sum, not derived from this entry); its limit σ²T is mf-variance-swap-equivalence. It is the case Λ = 0 of mf-jump-diffusion-log-contract-on-process and mf-jump-diffusion-variance-swap-vs-log-contract, Brownian motion with drift being a jump-diffusion without jumps (mf-jump-diffusion-brownian-no-jumps).

mf-merton-log-contract-variance · jumps_and_variance_swaps.json · full statement
Merton's Model: the Log Contract Against the Variance

Take Merton's jump-diffusion: log-jumps J ~ N(log(1 + k) − δ²/2, δ²) with k > −1 (jump multipliers of mean 1 + k), at the compensated drift b = r − σ²/2 − Λk, with S > 0 and τ > 0, and let Y have the log-return law over τ. Then the log contract, scaled as a variance rate, has expected payoff σ² + 2Λ(k − log(1 + k) + δ²/2), and the variance of the log-return per unit time is Var[Y]/τ = σ² + Λ((log(1 + k) − δ²/2)² + δ²). Their difference, the jump bias of mf-jump-diffusion-log-contract-jump-bias, is 2Λ(k − log(1 + k)) − Λ(log(1 + k) − δ²/2)²; without jumps both are σ². These are the jump-diffusion values of mf-jump-diffusion-log-contract and mf-jump-diffusion-log-return-variance for Merton's jump law, the one of Merton's option-pricing series (mf-jump-diffusion-merton-1976-every-date).

Declarations 20

theoremReal.exp_lt_quadratic_of_negsource
∀ {x : ℝ}, x < 0 → Real.exp x < 1 + x + x ^ 2 / 2

eˣ < 1 + x + x²/2 for x < 0, the strict reverse of Mathlib's Real.quadratic_le_exp_of_nonneg: eˣ − (1 + x + x²/2) is strictly increasing on (−∞, 0], its derivative eˣ − (1 + x) being positive off 0 (Real.add_one_lt_exp), and it vanishes at 0.

theoremReal.exp_le_quadratic_of_nonpossource
∀ {x : ℝ}, x ≤ 0 → Real.exp x ≤ 1 + x + x ^ 2 / 2

eˣ ≤ 1 + x + x²/2 for x ≤ 0, the reverse of Mathlib's Real.quadratic_le_exp_of_nonneg (Real.exp_lt_quadratic_of_neg, with equality at 0).

theoremMathFin.integrable_exp_of_ae_nonpossource
∀ {ν : Measure ℝ} [IsFiniteMeasure ν], (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → Integrable Real.exp ν

With jumps ≤ 0 almost surely, e^J ≤ 1, so the jump law has a finite exponential moment.

theoremMathFin.integral_jumpBias_nonpossource
∀ {ν : Measure ℝ}, (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → ∫ (x : ℝ), Real.exp x - 1 - x - x ^ 2 / 2 ∂ν ≤ 0

The jump-bias integral is ≤ 0 for downward jumps: if J ≤ 0 almost surely, 𝔼[e^J − 1 − J − J²/2] ≤ 0, since e^x ≤ 1 + x + x²/2 for x ≤ 0 (Real.exp_le_quadratic_of_nonpos).

theoremMathFin.integral_jumpBias_negsource
∀ {ν : Measure ℝ} [IsFiniteMeasure ν], 0 ∈ interior (integrableExpSet id ν) → (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → ν {x | x < 0} ≠ 0 → ∫ (x : ℝ), Real.exp x - 1 - x - x ^ 2 / 2 ∂ν < 0

The jump-bias integral is < 0 for crash jumps: if J ≤ 0 almost surely and moreover the jumps are negative with positive probability, for a jump law with exponential moments near 0 (so that J and J² are integrable), 𝔼[e^J − 1 − J − J²/2] < 0: the integrand is < 0 where J < 0 (Real.exp_lt_quadratic_of_neg).

theoremMathFin.jumpDiffusion_logContractsource
∀ {S r b σ : ℝ}, 0 < S → ∀ {Λ : NNReal} {ν : Measure ℝ} [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → Integrable Real.exp ν → b = r - σ ^ 2 / 2 - ↑Λ * (∫ (x : ℝ), Real.exp x ∂ν - 1) → ∀ {τ : NNReal}, 0 < τ → 2 / ↑τ * ∫ (y : ℝ), Real.log (S * Real.exp (r * ↑τ) / (S * Real.exp y)) + (S * Real.exp y - S * Real.exp (r * ↑τ)) / (S * Real.exp (r * ↑τ)) ∂jumpDiffusionIncrementLaw b σ Λ ν τ = σ ^ 2 + 2 * ↑Λ * ∫ (x : ℝ), Real.exp x - 1 - x ∂ν

The log contract with jumps. At the compensated drift b = r − σ²/2 − Λ(𝔼[e^J] − 1), for a jump law with 𝔼[e^J] < ∞ and exponential moments near 0, S > 0 and τ > 0, the Demeterfi–Derman–Kamal–Zou log contract on the forward F = Se^{rτ} has, scaled as a variance rate, the expected payoff (2/τ)·𝔼[log(F/S_τ) + (S_τ − F)/F] = σ² + 2Λ𝔼[e^J − 1 − J]. The forward is the mean of S_τ (integral_exp_jumpDiffusionIncrementLaw_of_compensated), so its expected payoff is (2/τ)(rτ − 𝔼[Y]) (integral_logContract_of_integral_exp), and 𝔼[Y] = (b + Λ𝔼[J])τ (integral_id_jumpDiffusionIncrementLaw). Without jumps it is σ², the Black–Scholes value (varianceSwap_fairStrike, its Λ = 0 case).

theoremMathFin.varianceSwap_fairStrikesource
∀ {S_0 : ℝ}, 0 < S_0 → ∀ (r σ T : ℝ), 0 < T → 2 / T * ∫ (z : ℝ), Real.log (S_0 * Real.exp (r * T) / (S_0 * Real.exp ((r - σ ^ 2 / 2) * T + σ * √T * z))) + (S_0 * Real.exp ((r - σ ^ 2 / 2) * T + σ * √T * z) - S_0 * Real.exp (r * T)) / (S_0 * Real.exp (r * T)) ∂gaussianReal 0 1 = σ ^ 2

Variance swap fair strike (Demeterfi–Derman–Kamal): in Black–Scholes the log contract's expected payoff, scaled as a variance rate, is the squared volatility, (2/T)·𝔼[log(F/S_T) + (S_T − F)/F] = σ² with F = S_0e^{rT} and S_T driven by a standard normal. It is the case Λ = 0 of jumpDiffusion_logContract: without jumps the log-return has the Gaussian law N((r − σ²/2)T, σ²T) (jumpDiffusionIncrementLaw_zero), which is the image of the standard normal under z ↦ (r − σ²/2)T + σ√T·z, and the jump bias 2Λ𝔼[e^J − 1 − J] vanishes.

theoremMathFin.jumpDiffusion_logContract_sub_variancesource
∀ {S r b σ : ℝ}, 0 < S → ∀ {Λ : NNReal} {ν : Measure ℝ} [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → Integrable Real.exp ν → b = r - σ ^ 2 / 2 - ↑Λ * (∫ (x : ℝ), Real.exp x ∂ν - 1) → ∀ {τ : NNReal}, 0 < τ → 2 / ↑τ * ∫ (y : ℝ), Real.log (S * Real.exp (r * ↑τ) / (S * Real.exp y)) + (S * Real.exp y - S * Real.exp (r * ↑τ)) / (S * Real.exp (r * ↑τ)) ∂jumpDiffusionIncrementLaw b σ Λ ν τ - variance id (jumpDiffusionIncrementLaw b σ Λ ν τ) / ↑τ = 2 * ↑Λ * ∫ (x : ℝ), Real.exp x - 1 - x - x ^ 2 / 2 ∂ν

The jump bias of the log contract. Under the hypotheses of jumpDiffusion_logContract, the log contract minus the variance of the log-return per unit time, Var[Y]/τ = σ² + Λ𝔼[J²] (variance_id_jumpDiffusionIncrementLaw), is 2Λ𝔼[e^J − 1 − J − J²/2], whose integrand vanishes to third order at 0. Without jumps (Λ = 0) the two agree.

theoremMathFin.jumpDiffusion_logContract_le_variancesource
∀ {S r b σ : ℝ}, 0 < S → ∀ {Λ : NNReal} {ν : Measure ℝ} [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → b = r - σ ^ 2 / 2 - ↑Λ * (∫ (x : ℝ), Real.exp x ∂ν - 1) → ∀ {τ : NNReal}, 0 < τ → 2 / ↑τ * ∫ (y : ℝ), Real.log (S * Real.exp (r * ↑τ) / (S * Real.exp y)) + (S * Real.exp y - S * Real.exp (r * ↑τ)) / (S * Real.exp (r * ↑τ)) ∂jumpDiffusionIncrementLaw b σ Λ ν τ ≤ variance id (jumpDiffusionIncrementLaw b σ Λ ν τ) / ↑τ

With downward jumps the log contract is at most the variance. If the jumps are nonpositive (J ≤ 0 ν-a.e.; then 𝔼[e^J] ≤ 1 is finite, integrable_exp_of_ae_nonpos), at the compensated drift, for a jump law with exponential moments near 0, S > 0 and τ > 0, the log contract is at most the variance of the log-return per unit time: the jump bias (jumpDiffusion_logContract_sub_variance) is ≤ 0 (integral_jumpBias_nonpos).

theoremMathFin.jumpDiffusion_logContract_lt_variancesource
∀ {S r b σ : ℝ}, 0 < S → ∀ {Λ : NNReal}, 0 < Λ → ∀ {ν : Measure ℝ} [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → ν {x | x < 0} ≠ 0 → b = r - σ ^ 2 / 2 - ↑Λ * (∫ (x : ℝ), Real.exp x ∂ν - 1) → ∀ {τ : NNReal}, 0 < τ → 2 / ↑τ * ∫ (y : ℝ), Real.log (S * Real.exp (r * ↑τ) / (S * Real.exp y)) + (S * Real.exp y - S * Real.exp (r * ↑τ)) / (S * Real.exp (r * ↑τ)) ∂jumpDiffusionIncrementLaw b σ Λ ν τ < variance id (jumpDiffusionIncrementLaw b σ Λ ν τ) / ↑τ

With crash jumps the log contract is strictly below the variance. If moreover Λ > 0 and the jumps are negative with positive probability (ν {J < 0} ≠ 0), the inequality of jumpDiffusion_logContract_le_variance is strict: the jump bias is negative (integral_jumpBias_neg).

theoremMathFin.mertonJump_logContract_variancesource
∀ {S r b σ k δ : ℝ}, 0 < S → -1 < k → ∀ {Λ : NNReal}, b = r - σ ^ 2 / 2 - ↑Λ * k → ∀ {τ : NNReal}, 0 < τ → 2 / ↑τ * ∫ (y : ℝ), Real.log (S * Real.exp (r * ↑τ) / (S * Real.exp y)) + (S * Real.exp y - S * Real.exp (r * ↑τ)) / (S * Real.exp (r * ↑τ)) ∂jumpDiffusionIncrementLaw b σ Λ (gaussianReal (Real.log (1 + k) - δ ^ 2 / 2) (δ ^ 2).toNNReal) τ = σ ^ 2 + 2 * ↑Λ * (k - Real.log (1 + k) + δ ^ 2 / 2) ∧ variance id (jumpDiffusionIncrementLaw b σ Λ (gaussianReal (Real.log (1 + k) - δ ^ 2 / 2) (δ ^ 2).toNNReal) τ) / ↑τ = σ ^ 2 + ↑Λ * ((Real.log (1 + k) - δ ^ 2 / 2) ^ 2 + δ ^ 2)

Merton's model: the log contract against the variance. With Merton's log-jumps N(log(1 + k) − δ²/2, δ²) (k > −1) at the compensated drift b = r − σ²/2 − Λk (mertonJump_compensated), S > 0 and τ > 0, the log contract is σ² + 2Λ(k − log(1 + k) + δ²/2) and the variance of the log-return per unit time is σ² + Λ((log(1 + k) − δ²/2)² + δ²): the jump multipliers have mean 1 + k (integral_exp_mertonJump), and the log-jumps mean log(1 + k) − δ²/2 and variance δ² (Mathlib's integral_id_gaussianReal, variance_id_gaussianReal). The jump bias, their difference, is 2Λ(k − log(1 + k)) − Λ(log(1 + k) − δ²/2)².

theoremMathFin.integral_sum_comp_increment_equipartitionsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : NNReal → Ω → ℝ} {μ : NNReal → Measure ℝ}, (∀ (s t : NNReal), s ≤ t → HasLaw (fun ω => X t ω - X s ω) (μ (t - s)) P) → ∀ {f : ℝ → ℝ}, (∀ (τ : NNReal), Integrable f (μ τ)) → ∀ (T : NNReal) (n : ℕ), ∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), f (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ∂P = (↑n + 1) * ∫ (y : ℝ), f y ∂μ (T / (↑n + 1))

The expected sum of a function of the increments along an equipartition. If each increment X_t − X_s (s ≤ t) has a law μ (t − s) that depends only on t − s, then along n + 1 equal steps of [0, T], 𝔼[∑ₖ f(X_{(k+1)T/(n+1)} − X_{kT/(n+1)})] = (n + 1)·∫ f dμ(T/(n + 1)), for any f integrable under every μ τ (Mathlib's HasLaw.integral_comp).

theoremMathFin.JumpDiffusionProcess.integral_sum_sq_increment_equipartitionsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → ∀ (T : NNReal) (n : ℕ), ∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ^ 2 ∂P = (σ ^ 2 + ↑Λ * ∫ (x : ℝ), x ^ 2 ∂ν) * ↑T + (b + ↑Λ * ∫ (x : ℝ), x ∂ν) ^ 2 * ↑T ^ 2 / (↑n + 1)

The expected realized variance of a jump-diffusion along an equipartition: over n + 1 equal steps of [0, T], 𝔼[∑ₖ (X_{(k+1)T/(n+1)} − X_{kT/(n+1)})²] = (σ² + Λ𝔼[J²])T + (b + Λ𝔼[J])²T²/(n + 1), n + 1 times the second moment of the log-return over one step (integral_sum_comp_increment_equipartition, integral_sq_jumpDiffusionIncrementLaw). The Black–Scholes form is expected_bsLogPrice_equipartition_sum.

theoremMathFin.JumpDiffusionProcess.tendsto_integral_sum_sq_increment_equipartitionsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → ∀ (T : NNReal), Filter.Tendsto (fun n => ∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ^ 2 ∂P) Filter.atTop (nhds ((σ ^ 2 + ↑Λ * ∫ (x : ℝ), x ^ 2 ∂ν) * ↑T))

The expected realized variance of a jump-diffusion tends to (σ² + Λ𝔼[J²])T as the equipartition of [0, T] refines: the drift term (b + Λ𝔼[J])²T²/(n + 1) vanishes, so the limit is the variance of the log-return over T (variance_id_jumpDiffusionIncrementLaw), whatever the drift. The Black–Scholes form is tendsto_expected_bsLogPrice_equipartition_sum.

theoremMathFin.JumpDiffusionProcess.integral_logContract_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → Integrable Real.exp ν → ∀ {S r : ℝ}, 0 < S → Martingale (fun t ω => Real.exp (-r * ↑t) * (S * Real.exp (X t ω))) 𝓕 P → ∀ {T : NNReal}, 0 < T → 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp (X T ω))) + (S * Real.exp (X T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P = σ ^ 2 + 2 * ↑Λ * ∫ (x : ℝ), Real.exp x - 1 - x ∂ν

The log contract on the process. If the discounted price e^{−rt}Se^{X_t} is a P-martingale, with S > 0, T > 0 and a jump law whose moment-generating function is finite near 0 and at 1, the log contract on S_T = Se^{X_T} with the forward F = Se^{rT} has, under P, the expected payoff (2/T)·𝔼_P[log(F/S_T) + (S_T − F)/F] = σ² + 2Λ𝔼[e^J − 1 − J]: the martingale property forces the compensated drift (martingale_iff), X_T has the log-return law over T (hasLaw), and the law gives jumpDiffusion_logContract.

theoremMathFin.JumpDiffusionProcess.logContract_sub_realizedVariance_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → Integrable Real.exp ν → ∀ {S r : ℝ}, 0 < S → Martingale (fun t ω => Real.exp (-r * ↑t) * (S * Real.exp (X t ω))) 𝓕 P → ∀ {T : NNReal}, 0 < T → ∀ (n : ℕ), 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp (X T ω))) + (S * Real.exp (X T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P - (∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ^ 2 ∂P) / ↑T = 2 * ↑Λ * ∫ (x : ℝ), Real.exp x - 1 - x - x ^ 2 / 2 ∂ν - (b + ↑Λ * ∫ (x : ℝ), x ∂ν) ^ 2 * ↑T / (↑n + 1)

The log contract against the discretely sampled variance swap. Under the hypotheses of integral_logContract_of_martingale, along n + 1 equal steps of [0, T] the log contract minus the expected realized variance of X per unit time is 2Λ𝔼[e^J − 1 − J − J²/2] − (b + Λ𝔼[J])²T/(n + 1): the jump bias, less a discrete-sampling term that is ≥ 0 (from integral_sum_sq_increment_equipartition) and vanishes as n → ∞ (tendsto_logContract_sub_realizedVariance_of_martingale). The drift b is the compensated drift, which the martingale property forces.

theoremMathFin.JumpDiffusionProcess.tendsto_logContract_sub_realizedVariance_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → Integrable Real.exp ν → ∀ {S r : ℝ}, 0 < S → Martingale (fun t ω => Real.exp (-r * ↑t) * (S * Real.exp (X t ω))) 𝓕 P → ∀ {T : NNReal}, 0 < T → Filter.Tendsto (fun n => 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp (X T ω))) + (S * Real.exp (X T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P - (∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ^ 2 ∂P) / ↑T) Filter.atTop (nhds (2 * ↑Λ * ∫ (x : ℝ), Real.exp x - 1 - x - x ^ 2 / 2 ∂ν))

With jumps the log contract misses the variance swap by the jump bias. Under the hypotheses of integral_logContract_of_martingale, the log contract minus the expected realized variance of X per unit time along equipartitions of [0, T] tends to the jump bias 2Λ𝔼[e^J − 1 − J − J²/2]: the discrete-sampling term of logContract_sub_realizedVariance_of_martingale vanishes. In Black–Scholes the limit is 0 (varianceSwap_log_eq_QV_limit_value, IsFilteredPreBrownian.logContract_realizedVariance).

theoremMathFin.JumpDiffusionProcess.logContract_le_realizedVariance_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → ∀ {S r : ℝ}, 0 < S → Martingale (fun t ω => Real.exp (-r * ↑t) * (S * Real.exp (X t ω))) 𝓕 P → ∀ {T : NNReal}, 0 < T → ∀ (n : ℕ), 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp (X T ω))) + (S * Real.exp (X T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P ≤ (∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ^ 2 ∂P) / ↑T

With downward jumps the log contract is below the variance swap at every sampling frequency. Under the hypotheses of integral_logContract_of_martingale, except finiteness of 𝔼[e^J], which follows, if the jumps are ≤ 0 then along n + 1 equal steps of [0, T] the log contract is at most the expected realized variance of X per unit time, for every n: the jump bias is ≤ 0 (integral_jumpBias_nonpos) and the discrete-sampling term ≥ 0 (logContract_sub_realizedVariance_of_martingale).

theoremMathFin.JumpDiffusionProcess.logContract_lt_realizedVariance_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], 0 ∈ interior (integrableExpSet id ν) → 0 < Λ → (∀ᵐ (x : ℝ) ∂ν, x ≤ 0) → ν {x | x < 0} ≠ 0 → ∀ {S r : ℝ}, 0 < S → Martingale (fun t ω => Real.exp (-r * ↑t) * (S * Real.exp (X t ω))) 𝓕 P → ∀ {T : NNReal}, 0 < T → ∀ (n : ℕ), 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp (X T ω))) + (S * Real.exp (X T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P < (∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), (X ((↑k + 1) * T / (↑n + 1)) ω - X (↑k * T / (↑n + 1)) ω) ^ 2 ∂P) / ↑T

With crash jumps the log contract is strictly below the variance swap at every sampling frequency. If moreover Λ > 0 and the jumps are negative with positive probability, the inequality of logContract_le_realizedVariance_of_martingale is strict for every n: the jump bias is < 0 (integral_jumpBias_neg).

theoremProbabilityTheory.IsFilteredPreBrownian.logContract_realizedVariancesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} (𝓕 : Filtration NNReal mΩ) {B : NNReal → Ω → ℝ} [hB : IsFilteredPreBrownian B 𝓕 P] {S r σ : ℝ}, 0 < S → ∀ {T : NNReal}, 0 < T → 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp ((r - σ ^ 2 / 2) * ↑T + σ * B T ω))) + (S * Real.exp ((r - σ ^ 2 / 2) * ↑T + σ * B T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P = σ ^ 2 ∧ ∀ (n : ℕ), 2 / ↑T * ∫ (ω : Ω), Real.log (S * Real.exp (r * ↑T) / (S * Real.exp ((r - σ ^ 2 / 2) * ↑T + σ * B T ω))) + (S * Real.exp ((r - σ ^ 2 / 2) * ↑T + σ * B T ω) - S * Real.exp (r * ↑T)) / (S * Real.exp (r * ↑T)) ∂P - (∫ (ω : Ω), ∑ k ∈ Finset.range (n + 1), ((r - σ ^ 2 / 2) * ↑((↑k + 1) * T / (↑n + 1)) + σ * B ((↑k + 1) * T / (↑n + 1)) ω - ((r - σ ^ 2 / 2) * ↑(↑k * T / (↑n + 1)) + σ * B (↑k * T / (↑n + 1)) ω)) ^ 2 ∂P) / ↑T = -((r - σ ^ 2 / 2) ^ 2 * ↑T / (↑n + 1))

Black–Scholes: the log contract against the discretely sampled variance swap. For a pre-Brownian motion B for a filtration 𝓕, the price S_t = Se^{(r − σ²/2)t + σB_t} with S > 0 and T > 0: the log contract on S_T, scaled as a variance rate, has expected payoff σ², and minus the expected realized variance per unit time along n + 1 equal steps of [0, T] it is −(r − σ²/2)²T/(n + 1): no jump bias, only the discrete-sampling term, which vanishes as n → ∞. The filtration is explicit, since the statement does not mention it. It is the case Λ = 0 of JumpDiffusionProcess.integral_logContract_of_martingale and JumpDiffusionProcess.logContract_sub_realizedVariance_of_martingale, through IsFilteredPreBrownian.jumpDiffusionProcess. The expected realized variance it implies, σ²T + (r − σ²/2)²T²/(n + 1), is the formula that expected_bsLogPrice_equipartition_sum proves separately on ℝ time.