MathFin
Map / Probability · Continuous martingales / MathFin.Probability.Martingales.ChangeOfMeasure

The Bayes change-of-measure martingale engine

MathFin.Probability.Martingales.ChangeOfMeasureMSC 60G44MSC 91G20 source

The abstract heart of Girsanov's theorem, isolated from any stochastic-calculus machinery. Fix a finite measure P, a filtration 𝓕, and a density process Z that is a P-martingale with Z_T ≥ 0. Let Q := P.withDensity Z_T be the tilted measure. Then a process D is a Q-martingale on [0, T] when the product Z · D is a P-martingale (one direction; the set-integral form is proved):

∫_A D_t dQ = ∫_A Z_t D_t dP = ∫_A Z_s D_s dP = ∫_A D_s dQ for A ∈ 𝓕_s.

The two outer equalities are the Bayes/pull-out step — for a set A ∈ 𝓕_s ⊆ 𝓕_u and D_u 𝓕_u-measurable, ∫_A D_u Z_T dP = ∫_A D_u · P[Z_T | 𝓕_u] dP = ∫_A D_u Z_u dP since Z is a P-martingale (condExp_mul_of_stronglyMeasurable_left + setIntegral_condExp). The middle equality is the Z · D martingale property (Martingale.setIntegral_eq).

This is the reusable engine: any concrete change of measure (the Black–Scholes Girsanov tilt in MathFin/Pricing/Girsanov.lean; and, once the tower gains an adapted-integrand Itô formula, the general Doléans–Dade exponential) is one instance — supply Z, D, and the two martingale facts.

Main results

  • MathFin.changeOfMeasure_setIntegral_eq

References

  • Y. F. Saporito, Stochastic Processes [Saporito], Ch 9
  • S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models [ShreveSCFII], Ch 5.2

Tags

Bayes rule, change of measure, density process, Radon–Nikodym, Girsanov tilt, martingale under Q, MSC 60G44, MSC 91G20

Import neighbourhood

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

Corpus entries

gir-change-of-measure-engine · girsanov_finance.json · full statement
Bayes Change-of-Measure Martingale Engine

The abstract kernel of Girsanov's theorem: if the density process Z and the product Z·D are both P-martingales and Z_T ≥ 0, then D is a martingale on [0,T] under the tilted measure Q = withDensity(Z_T). No stochastic calculus — only conditional expectations (a Bayes pull-out and a martingale set-integral). The reusable engine consumed by the Black-Scholes Girsanov instantiation.

Declarations 2

theoremMathFin.changeOfMeasure_setIntegral_eq_of_ae_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} [SigmaFiniteFiltration P 𝓕] {Z D M : NNReal → Ω → ℝ} (T : NNReal), Measurable (Z T) → (∀ (ω : Ω), 0 ≤ Z T ω) → (∀ (u : NNReal), StronglyMeasurable (D u)) → Martingale Z 𝓕 P → Martingale M 𝓕 P → (∀ u ≤ T, (fun ω => Z u ω * D u ω) =ᵐ[P] M u) → (∀ u ≤ T, Integrable (fun ω => D u ω * Z T ω) P) → ∀ {s t : NNReal}, s ≤ t → t ≤ T → ∀ {A : Set Ω}, MeasurableSet A → (∫ (ω : Ω) in A, D t ω ∂P.withDensity fun ω => ENNReal.ofReal (Z T ω)) = ∫ (ω : Ω) in A, D s ω ∂P.withDensity fun ω => ENNReal.ofReal (Z T ω)

Bayes change-of-measure engine ([0,T] form). Let Z be a P-martingale with Z_T ≥ 0 (the density process), D an 𝓕-adapted process, M a P-martingale, and suppose the product Z · D agrees with M a.e. on [0, T] (Z_u · D_u =ᵐ M_u for u ≤ T). Then D is a martingale under Q := P.withDensity (Z_T) on [0, T]: for s ≤ t ≤ T and A ∈ 𝓕_s, the Q-integrals of D_t and D_s over A agree.

The generality over the full-martingale form changeOfMeasure_setIntegral_eq is that Z · D itself need not be a martingale — only its [0,T]-restriction need agree with an honest martingale M. This is exactly the simple-θ Girsanov situation, where the tilted-density identity Z · D =ᵐ E^{a−c} (simple_spine_ae) holds only on [0,T] (beyond the last partition point Z · D diverges from the Doléans martingale E^{a−c} by a forward Wald factor). The mechanism is unchanged: ∫_A D_u dQ = ∫_A Z_u D_u dP (withDensity conversion + Bayes pull-out, using hmix, hZ, hDsm, none of which touch M), then Z_u D_u =ᵐ M_u and M's martingale property close the loop. No stochastic calculus, only conditional expectations.

theoremMathFin.changeOfMeasure_setIntegral_eqsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} [SigmaFiniteFiltration P 𝓕] {Z D : NNReal → Ω → ℝ} (T : NNReal), Measurable (Z T) → (∀ (ω : Ω), 0 ≤ Z T ω) → (∀ (u : NNReal), StronglyMeasurable (D u)) → Martingale Z 𝓕 P → Martingale (fun t ω => Z t ω * D t ω) 𝓕 P → (∀ u ≤ T, Integrable (fun ω => D u ω * Z T ω) P) → ∀ {s t : NNReal}, s ≤ t → t ≤ T → ∀ {A : Set Ω}, MeasurableSet A → (∫ (ω : Ω) in A, D t ω ∂P.withDensity fun ω => ENNReal.ofReal (Z T ω)) = ∫ (ω : Ω) in A, D s ω ∂P.withDensity fun ω => ENNReal.ofReal (Z T ω)

Bayes change-of-measure engine (full-martingale form). The special case of changeOfMeasure_setIntegral_eq_of_ae_martingale where the product Z · D is itself a P-martingale (take M := Z · D, so the =ᵐ hypothesis is reflexivity): then D is a martingale under Q := P.withDensity (Z_T) on [0,T]. This is the constant-θ Girsanov situation, where Z · D = Wald(a−θ) is a genuine martingale everywhere.