MathFin
Map / Valuation · Trees / MathFin.Models.Binomial.Girsanov

Discrete Girsanov: measure change in the binomial tree

MathFin.Models.Binomial.GirsanovMSC 91G20MSC 60G42JEL G13 source

The continuous-time Girsanov theorem has a transparent discrete-time counterpart in the binomial model. The one-flip algebra comes first; the same weights, multiplied over the first n flips, are the Radon–Nikodym density between the two coin-flip measures.

Given physical up-probability p and risk-neutral up-probability q, the Radon-Nikodym derivative dQ/dP takes only two values:

Z_up = q / p, Z_down = (1 − q) / (1 − p).

The key invariant: E^P[Z] = 1 (the change of measure preserves total mass). Plugging in:

p · (q/p) + (1 − p) · ((1 − q)/(1 − p)) = q + (1 − q) = 1.

This is the cleanest possible instance of Girsanov: a finite, two-point measure change with explicit RN derivative.

Why this matters

Every continuous-time risk-neutral pricing argument is E^Q[X] = E^P[Z · X] for the appropriate Z = dQ/dP. In the binomial model the same identity holds with Z as above, and the risk-neutral pricing formula

V_0 = e^{−r} · E^Q[V_T] = e^{−r} · E^P[Z · V_T]

is just two-state algebra. We make this discrete Girsanov-machinery explicit.

Main definitions

  • binomialRN: the one-flip Radon–Nikodym derivative dQ/dP, equal to q / p on an up-flip and (1 − q) / (1 − p) on a down-flip.
  • binomialDensity: the density process Z_n(ω) = ∏_{i<n} binomialRN p q (ωᵢ).

Main results

  • weight_mul_binomialRN: the one-flip identity P(b) · Z(b) = Q(b) that everything below multiplies or sums.
  • binomialRN_expectation_one: for p ≠ 0, 1, E^P[Z] = 1 (RN normalisation).
  • binomial_riskNeutral_via_RN: for p ≠ 0, 1, the discrete pricing identity E^Q[V_T] = E^P[Z · V_T] = p · Z_up · V_u + (1 − p) · Z_down · V_d.
  • map_flips_coinFlipMeasure_eq_withDensity: the change of measure on n flips. For 0 < p < 1 and q ≤ 1, the law of the first n flips under Bernoulli(q) is the law under Bernoulli(p) with density ∏ᵢ Z(xᵢ); coinFlipMeasure_apply_eq_lintegral states it on ℱₙ, and integral_comp_flips_eq as E^Q[F] = E^P[Z_n · F].
  • coinFlipMeasure_trim_equiv: for 0 < p, q < 1 the two coin-flip laws are equivalent on every ℱₙ.
  • martingale_binomialDensity: for 0 < p < 1, the density process Z_n = ∏_{i<n} Z(ωᵢ) is a P-martingale.

References

  • S. E. Shreve, Stochastic Calculus for Finance I: The Binomial Asset Pricing Model [ShreveSCFI], Ch 1

Tags

discrete Girsanov, change of measure, Radon–Nikodym derivative, risk-neutral measure, density process, binomial model, MSC 91G20, MSC 60G42, JEL G13

Import neighbourhood

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

Corpus entries

mf-binomial-girsanov-RN-norm · binomial.json · full statement
Single-Period Binomial Density Normalization: E^P[dQ/dP] = 1

In a single-period binomial, the Radon-Nikodym derivative Z = dQ/dP satisfies E^P[Z] = 1.

Declarations 16

defMathFin.binomialRNsource
ℝ → ℝ → Bool → ℝ

Radon-Nikodym derivative dQ/dP for the single-period binomial measure change. At the up state it equals q/p; at the down state, (1−q)/(1−p).

theoremMathFin.weight_mul_binomialRNsource
∀ {p q : ℝ}, p ≠ 0 → p ≠ 1 → ∀ (b : Bool), (if b = true then p else 1 - p) * binomialRN p q b = if b = true then q else 1 - q

The one-flip change of measure: the P-probability of a flip outcome times the density is its Q-probability, P(b) · Z(b) = Q(b). Every identity in this file is this one, summed over the two outcomes (binomialRN_expectation_one, binomial_riskNeutral_via_RN) or multiplied over the flips (map_flips_coinFlipMeasure_eq_withDensity).

theoremMathFin.binomialRN_nonnegsource
∀ {p q : ℝ}, 0 ≤ p → p < 1 → 0 ≤ q → q ≤ 1 → ∀ (b : Bool), 0 ≤ binomialRN p q b
theoremMathFin.binomialRN_possource
∀ {p q : ℝ}, 0 < p → p < 1 → 0 < q → q < 1 → ∀ (b : Bool), 0 < binomialRN p q b
theoremMathFin.binomialRN_expectation_onesource
∀ (p q : ℝ), p ≠ 0 → p ≠ 1 → p * binomialRN p q true + (1 - p) * binomialRN p q false = 1

RN normalisation: E^P[Z] = 1, i.e. p · (q/p) + (1 − p) · ((1 − q)/(1 − p)) = 1.

This is the universal "the change of measure preserves total mass" property, here in two-state form.

theoremMathFin.binomial_riskNeutral_via_RNsource
∀ (p q V_u V_d : ℝ), p ≠ 0 → p ≠ 1 → q * V_u + (1 - q) * V_d = p * binomialRN p q true * V_u + (1 - p) * binomialRN p q false * V_d

Discrete Girsanov pricing identity: under the binomial measure change, the Q-expectation of any payoff equals the P-expectation of Z · payoff, where Z = dQ/dP:

E^Q[V] = q · V_u + (1−q) · V_d = E^P[Z · V] = p · (q/p) · V_u + (1−p) · ((1−q)/(1−p)) · V_d.

(Both sides simplify to q · V_u + (1 − q) · V_d.)

defMathFin.binomialDensitysource
ℝ → ℝ → ℕ → (ℕ → Bool) → ℝ

The density process Z_n(ω) = ∏_{i<n} Z(ωᵢ): the product of the one-flip densities over the first n flips.

theoremMathFin.binomialDensity_eq_prod_flipssource
∀ (p q : ℝ) (n : ℕ) (ω : ℕ → Bool), binomialDensity p q n ω = ∏ i, binomialRN p q (flips n ω i)
theoremMathFin.pathAdaptedAt_binomialDensitysource
∀ (p q : ℝ) (n : ℕ), PathAdaptedAt n (binomialDensity p q n)
theoremMathFin.binomialDensity_update_succsource
∀ (p q : ℝ) (n : ℕ) (ω : ℕ → Bool) (b : Bool), binomialDensity p q (n + 1) (Function.update ω n b) = binomialDensity p q n ω * binomialRN p q b
theoremMathFin.map_flips_coinFlipMeasure_eq_withDensitysource
∀ {p q : NNReal}, 0 < p → ∀ (hp : p < 1) (hq : q ≤ 1) (n : ℕ), Measure.map (flips n) (coinFlipMeasure q hq) = (Measure.map (flips n) (coinFlipMeasure p ⋯)).withDensity fun x => ENNReal.ofReal (∏ i, binomialRN (↑p) (↑q) (x i))

Girsanov on n flips. For 0 < p < 1 and q ≤ 1, the law of the first n flips under i.i.d. Bernoulli(q) is their law under i.i.d. Bernoulli(p) with density the product ∏ᵢ binomialRN p q (xᵢ) of the one-flip Radon–Nikodym derivatives.

theoremMathFin.map_flips_coinFlipMeasure_equivsource
∀ {p q : NNReal}, 0 < p → ∀ (hp : p < 1), 0 < q → ∀ (hq : q < 1) (n : ℕ), (Measure.map (flips n) (coinFlipMeasure q ⋯)).AbsolutelyContinuous (Measure.map (flips n) (coinFlipMeasure p ⋯)) ∧ (Measure.map (flips n) (coinFlipMeasure p ⋯)).AbsolutelyContinuous (Measure.map (flips n) (coinFlipMeasure q ⋯))

Equivalence of the two coin-flip laws on n flips. For 0 < p < 1 and 0 < q < 1 the density ∏ᵢ binomialRN p q (xᵢ) is strictly positive, so the laws of the first n flips under Bernoulli(q) and Bernoulli(p) are mutually absolutely continuous.

theoremMathFin.coinFlipMeasure_trim_equivsource
∀ {p q : NNReal}, 0 < p → ∀ (hp : p < 1), 0 < q → ∀ (hq : q < 1) (n : ℕ), ((coinFlipMeasure q ⋯).trim ⋯).AbsolutelyContinuous ((coinFlipMeasure p ⋯).trim ⋯) ∧ ((coinFlipMeasure p ⋯).trim ⋯).AbsolutelyContinuous ((coinFlipMeasure q ⋯).trim ⋯)

The two coin-flip laws are equivalent on the information ℱₙ of the first n flips, for 0 < p, q < 1: an event known by time n is the preimage of a set of n-flip patterns, null under one law exactly when under the other (map_flips_coinFlipMeasure_equiv). (On the whole path space the two laws are mutually singular when p ≠ q, by the strong law of large numbers; that is not proved here.)

theoremMathFin.coinFlipMeasure_apply_eq_lintegralsource
∀ {p q : NNReal}, 0 < p → ∀ (hp : p < 1) (hq : q ≤ 1) (n : ℕ) {A : Set (ℕ → Bool)}, MeasurableSet A → (coinFlipMeasure q hq) A = ∫⁻ (ω : ℕ → Bool) in A, ENNReal.ofReal (binomialDensity (↑p) (↑q) n ω) ∂coinFlipMeasure p ⋯

The Radon–Nikodym derivative on ℱₙ. Under the hypotheses of map_flips_coinFlipMeasure_eq_withDensity, the Bernoulli(q) probability of an event known by time n is the Bernoulli(p) integral of the density process Zₙ = ∏_{i<n} Z(ωᵢ) over it: Z_n = dQ/dP on ℱₙ.

theoremMathFin.integral_comp_flips_eqsource
∀ {p q : NNReal}, 0 < p → ∀ (hp : p < 1) (hq : q ≤ 1) (n : ℕ) (F : (Fin n → Bool) → ℝ), ∫ (ω : ℕ → Bool), F (flips n ω) ∂coinFlipMeasure q hq = ∫ (ω : ℕ → Bool), binomialDensity (↑p) (↑q) n ω * F (flips n ω) ∂coinFlipMeasure p ⋯

Girsanov for expectations of n-flip functionals: E^Q[F(X₁,…,Xₙ)] = E^P[Zₙ · F(X₁,…,Xₙ)] for the density process Zₙ = ∏_{i<n} Z(ωᵢ), P = Bernoulli(p)^⊗ℕ, Q = Bernoulli(q)^⊗ℕ.

theoremMathFin.martingale_binomialDensitysource
∀ {p : NNReal}, 0 < p → ∀ (hp : p < 1) (c : ℝ), Martingale (binomialDensity (↑p) c) flipFiltration (coinFlipMeasure p ⋯)

The Girsanov density process is a martingale. Under P = Bernoulli(p)^⊗ℕ with 0 < p < 1, Zₙ = ∏_{i<n} Z(ωᵢ) is a Mathlib Martingale for the natural flip filtration; its one-step node average is binomialRN_expectation_one.