/- Copyright (c) 2026 Raphael Coelho. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Raphael Coelho -/ module public import MathFin.Pricing.FTAP.DensityPasting public import MathFin.Pricing.FTAP.NoArbitrageLocal /-! # The Dalang–Morton–Willinger theorem for one asset The fundamental theorem of asset pricing for one real-valued asset on a general filtered probability space and a finite horizon, with no integrability, no finiteness of the space and no measurable-selection hypothesis: an adapted price `S` has no arbitrage up to the horizon `N` if and only if some probability measure `Q` equivalent to `P` makes `S` a martingale. The proof follows the one-asset argument (Föllmer–Schied §5.2, Kabanov–Stricker for `d` assets). Its backward construction and final normalisation are the general pasting of `DensityPasting.lean`; what this file adds is the one-period step for one asset, the unnormalised density of `OneAsset.exists_onePeriodDensity`. A density of conditional mean one can fail to exist (with `𝓕 0` generated by a uniform `u`, and `ΔS = ±1` with `P (ΔS = 1 | u) = u`, every `Z` with `E[Z | 𝓕 0] = 1` and `E[Z ΔS | 𝓕 0] = 0` equals `1 / (2u)` on `{ΔS = 1}`, which is unbounded); the unnormalised weights in `(0, 1]` always exist. 1. **Integrability** (`exists_integrable_equivalent`): reweighing `P` by `exp (-∑ ‖S n‖)` gives an equivalent finite measure under which every `S n` is integrable. 2. **One period** (`exists_weight_of_noArbitrage`): for an arbitrage-free integrable gain `X` there is a weight `Z ∈ (0, 1]` with `E[Z X | m] = 0`, namely `E[X⁻ | m] / (E[X⁺ | m] + E[X⁻ | m])` on `{X > 0}` and `E[X⁺ | m] / (E[X⁺ | m] + E[X⁻ | m])` on `{X < 0}`; the two ratios are the balancing weights of `exists_balancing_weights`. 3. **Backward induction and normalisation** (`exists_measure_fair_increments`, `exists_isEMM_of_fair_measure`, in `DensityPasting.lean`): the weights are applied backward under the measure already weighted by the later periods and the total mass is normalised once, at the end (`OneAsset.exists_isEMM_of_noArbitrage`). The several-asset case (`F = EuclideanSpace ℝ (Fin d)`, `d > 1`) is not covered: there the conditional one-period step needs a measurable selection of the one-period martingale measure (Dalang–Morton–Willinger; Rogers 1994; Kabanov–Stricker 2001), and remains open in this library; it is the hypothesis of `DalangMortonWillinger.lean`. ## Main definitions * `balanceWeight x y`: the weight `y / (x + y)` (and `1` when `x = y = 0`) that balances two nonnegative reals, `balanceWeight x y * x = balanceWeight y x * y`. ## Main results * `exists_balancing_weights`: weights `u = b / (a + b)`, `w = a / (a + b)` with `u a = w b`. * `exists_weight_of_noArbitrage`: the weight of one arbitrage-free period. * `OneAsset.exists_onePeriodDensity`: a one-period density (`IsOnePeriodDensity`) of an arbitrage-free period. * `OneAsset.exists_isEMM_of_noArbitrage`: no arbitrage gives an equivalent martingale measure. * `OneAsset.noArbitrage_iff_exists_isEMM`: the equivalence, with `IsEMM.noArbitrage`. ## References * [H. Föllmer and A. Schied, *Stochastic Finance: An Introduction in Discrete Time*][FollmerSchied], §5.2 ## Tags fundamental theorem of asset pricing, Dalang–Morton–Willinger, equivalent martingale measure, no arbitrage, general probability space, one asset, JEL G13, MSC 91G20, MSC 60G42 -/ @[expose] public section namespace MathFin open MeasureTheory open scoped ENNReal section OnePeriod variable {Ω : Type*} {m m₁ m0 : MeasurableSpace Ω} {μ : Measure Ω} {X : Ω → ℝ} /-- **Pulling a bounded `m`-measurable factor through a conditional expectation under the integral**: `∫ f h = ∫ f μ[h|m]`. -/ theorem integral_mul_condExp (hm : m ≤ m0) [SigmaFinite (μ.trim hm)] {f h : Ω → ℝ} (hf : StronglyMeasurable[m] f) (hfh : Integrable (f * h) μ) (hh : Integrable h μ) : ∫ ω, f ω * h ω ∂μ = ∫ ω, f ω * (μ[h | m]) ω ∂μ := (integral_condExp hm).symm.trans (integral_congr_ae (condExp_mul_of_stronglyMeasurable_left hf hfh hh)) /-- **No arbitrage moves the negative part's mass onto the positive part's**: if the one-period gain `X` is arbitrage free over `m` and its negative part has no mass on the `m`-set `A`, neither has its positive part. -/ theorem setIntegral_posPart_eq_zero (hm : m ≤ m0) (hX : Integrable X μ) (hNA : ∀ θ : Ω → ℝ, StronglyMeasurable[m] θ → 0 ≤ᵐ[μ] (fun ω ↦ θ ω * X ω) → (fun ω ↦ θ ω * X ω) =ᵐ[μ] 0) {A : Set Ω} (hA : MeasurableSet[m] A) (h : ∫ ω in A, max (-X ω) 0 ∂μ = 0) : ∫ ω in A, max (X ω) 0 ∂μ = 0 := by have hneg : ∀ᵐ ω ∂μ, ω ∈ A → max (-X ω) 0 = 0 := (ae_restrict_iff' (hm A hA)).1 ((setIntegral_eq_zero_iff_of_nonneg_ae (ae_of_all _ fun ω ↦ le_max_right _ _) hX.neg.pos_part.integrableOn).1 h) have hgain : 0 ≤ᵐ[μ] fun ω ↦ A.indicator (fun _ ↦ (1 : ℝ)) ω * X ω := by filter_upwards [hneg] with ω hω by_cases hωA : ω ∈ A · simpa [hωA] using max_eq_right_iff.1 (hω hωA) · simp [hωA] have h0 := hNA _ (stronglyMeasurable_const.indicator hA) hgain refine setIntegral_eq_zero_of_ae_eq_zero ?_ filter_upwards [h0] with ω hω hωA have : X ω = 0 := by simpa [hωA] using hω simp [this] /-- **No arbitrage makes the two conditional means vanish together, one way.** For an arbitrage-free integrable gain `Y` over `m`, almost surely the nonnegative conditional mean of the negative part of `Y` vanishing forces that of the positive part to vanish. -/ theorem ae_condExp_posPart_eq_zero [IsFiniteMeasure μ] (hm : m ≤ m0) (hY : Integrable X μ) (hNA : ∀ θ : Ω → ℝ, StronglyMeasurable[m] θ → 0 ≤ᵐ[μ] (fun ω ↦ θ ω * X ω) → (fun ω ↦ θ ω * X ω) =ᵐ[μ] 0) : ∀ᵐ ω ∂μ, max ((μ[fun ω ↦ max (-X ω) 0 | m]) ω) 0 = 0 → max ((μ[fun ω ↦ max (X ω) 0 | m]) ω) 0 = 0 := by set a : Ω → ℝ := fun ω ↦ max ((μ[fun ω ↦ max (X ω) 0 | m]) ω) 0 set b : Ω → ℝ := fun ω ↦ max ((μ[fun ω ↦ max (-X ω) 0 | m]) ω) 0 have hb_m : StronglyMeasurable[m] b := by let _ := m exact stronglyMeasurable_condExp.sup stronglyMeasurable_const have ha_ae : a =ᵐ[μ] μ[fun ω ↦ max (X ω) 0 | m] := (condExp_nonneg (ae_of_all μ fun ω ↦ le_max_right (X ω) 0)).mono fun ω h ↦ max_eq_left h have hb_ae : b =ᵐ[μ] μ[fun ω ↦ max (-X ω) 0 | m] := (condExp_nonneg (ae_of_all μ fun ω ↦ le_max_right (-X ω) 0)).mono fun ω h ↦ max_eq_left h have hA : MeasurableSet[m] {ω | b ω = 0} := hb_m.measurable (measurableSet_singleton 0) have hbA : ∫ ω in {ω | b ω = 0}, max (-X ω) 0 ∂μ = 0 := (setIntegral_condExp hm hY.neg.pos_part hA).symm.trans ((setIntegral_congr_ae (hm _ hA) (hb_ae.mono fun ω h _ ↦ h.symm)).trans (setIntegral_eq_zero_of_forall_eq_zero fun ω hω ↦ hω)) have haA : ∫ ω in {ω | b ω = 0}, a ω ∂μ = 0 := (setIntegral_congr_ae (hm _ hA) (ha_ae.mono fun ω h _ ↦ h)).trans ((setIntegral_condExp hm hY.pos_part hA).trans (setIntegral_posPart_eq_zero hm hY hNA hA hbA)) have ha_int : Integrable a μ := integrable_condExp.congr ha_ae.symm exact (ae_restrict_iff' (hm _ hA)).1 ((setIntegral_eq_zero_iff_of_nonneg_ae (ae_of_all _ fun ω ↦ le_max_right _ _) ha_int.integrableOn).1 haA) /-- The **balancing weight** `y / (x + y)` of two nonnegative reals, and `1` when both vanish. -/ noncomputable def balanceWeight (x y : ℝ) : ℝ := if x + y = 0 then 1 else y / (x + y) theorem balanceWeight_mem_Icc {x y : ℝ} (hx : 0 ≤ x) (hy : 0 ≤ y) : balanceWeight x y ∈ Set.Icc (0 : ℝ) 1 := by unfold balanceWeight split_ifs with h · exact ⟨zero_le_one, le_rfl⟩ · have hs : 0 < x + y := lt_of_le_of_ne (add_nonneg hx hy) (Ne.symm h) exact ⟨div_nonneg hy hs.le, (div_le_one hs).2 (by linarith)⟩ theorem balanceWeight_pos {x y : ℝ} (hx : 0 ≤ x) (hy : 0 ≤ y) (h : 0 < x ↔ 0 < y) : 0 < balanceWeight x y := by unfold balanceWeight split_ifs with hs · exact one_pos · have hs' : 0 < x + y := lt_of_le_of_ne (add_nonneg hx hy) (Ne.symm hs) refine div_pos ?_ hs' by_contra hy0 exact hs (by linarith [not_lt.1 hy0, not_lt.1 (h.mp.mt hy0)]) theorem balanceWeight_mul_self {x y : ℝ} (hx : 0 ≤ x) (hy : 0 ≤ y) : balanceWeight x y * x = balanceWeight y x * y := by unfold balanceWeight by_cases h : x + y = 0 · have hx0 : x = 0 := by linarith have hy0 : y = 0 := by linarith simp [hx0, hy0] · rw [add_comm y x] simp only [h, ↓reduceIte] field_simp theorem stronglyMeasurable_balanceWeight {a b : Ω → ℝ} (ha : StronglyMeasurable[m] a) (hb : StronglyMeasurable[m] b) : StronglyMeasurable[m] fun ω ↦ balanceWeight (a ω) (b ω) := StronglyMeasurable.ite ((ha.add hb).measurable (measurableSet_singleton 0)) stronglyMeasurable_const (hb.div (ha.add hb)) /-- **Balancing weights.** For nonnegative `m`-measurable `a`, `b` that are positive together almost surely there are `m`-measurable weights `u = b / (a + b)` and `w = a / (a + b)` (both `1` where `a = b = 0`), valued in `[0, 1]` and almost surely positive, with `u a = w b`. -/ theorem exists_balancing_weights {a b : Ω → ℝ} (ha_m : StronglyMeasurable[m] a) (hb_m : StronglyMeasurable[m] b) (ha0 : ∀ ω, 0 ≤ a ω) (hb0 : ∀ ω, 0 ≤ b ω) (hboth : ∀ᵐ ω ∂μ, 0 < a ω ↔ 0 < b ω) : ∃ u w : Ω → ℝ, StronglyMeasurable[m] u ∧ StronglyMeasurable[m] w ∧ (∀ ω, u ω ∈ Set.Icc (0 : ℝ) 1) ∧ (∀ ω, w ω ∈ Set.Icc (0 : ℝ) 1) ∧ (∀ᵐ ω ∂μ, 0 < u ω ∧ 0 < w ω) ∧ ∀ ω, u ω * a ω = w ω * b ω := ⟨fun ω ↦ balanceWeight (a ω) (b ω), fun ω ↦ balanceWeight (b ω) (a ω), stronglyMeasurable_balanceWeight ha_m hb_m, stronglyMeasurable_balanceWeight hb_m ha_m, fun ω ↦ balanceWeight_mem_Icc (ha0 ω) (hb0 ω), fun ω ↦ balanceWeight_mem_Icc (hb0 ω) (ha0 ω), hboth.mono fun ω h ↦ ⟨balanceWeight_pos (ha0 ω) (hb0 ω) h, balanceWeight_pos (hb0 ω) (ha0 ω) h.symm⟩, fun ω ↦ balanceWeight_mul_self (ha0 ω) (hb0 ω)⟩ /-- **A conditionally balancing weight for an arbitrage-free one-period gain.** If `X` is a `μ`-integrable `m₁`-measurable gain that is arbitrage free over `m ≤ m₁`, some `m₁`-measurable weight `Z`, valued in `[0, 1]` and almost surely positive, makes `X` fair against every bounded `m`-measurable position: `∫ g Z X dμ = 0`. The weight is *not* normalised (`μ[Z | m] = 1` is not asked, and can fail with `Z` bounded: it is a density that may be unbounded). It is the ratio `E[X⁻ | m] / (E[X⁺ | m] + E[X⁻ | m])` on `{X > 0}` and `E[X⁺ | m] / (E[X⁺ | m] + E[X⁻ | m])` on `{X < 0}`; no arbitrage makes the two conditional means vanish together. -/ theorem exists_weight_of_noArbitrage [IsFiniteMeasure μ] (hm : m ≤ m₁) (hm₁ : m₁ ≤ m0) (hXm : StronglyMeasurable[m₁] X) (hX : Integrable X μ) (hNA : ∀ θ : Ω → ℝ, StronglyMeasurable[m] θ → 0 ≤ᵐ[μ] (fun ω ↦ θ ω * X ω) → (fun ω ↦ θ ω * X ω) =ᵐ[μ] 0) : ∃ Z : Ω → ℝ, StronglyMeasurable[m₁] Z ∧ (∀ ω, Z ω ∈ Set.Icc (0 : ℝ) 1) ∧ (∀ᵐ ω ∂μ, 0 < Z ω) ∧ ∀ g : Ω → ℝ, StronglyMeasurable[m] g → (∃ K, ∀ ω, |g ω| ≤ K) → ∫ ω, g ω * (Z ω * X ω) ∂μ = 0 := by have hm0 : m ≤ m0 := hm.trans hm₁ have hXp : Integrable (fun ω ↦ max (X ω) 0) μ := hX.pos_part have hXn : Integrable (fun ω ↦ max (-X ω) 0) μ := hX.neg.pos_part -- the nonnegative conditional means of the positive and negative parts set a : Ω → ℝ := fun ω ↦ max ((μ[fun ω ↦ max (X ω) 0 | m]) ω) 0 set b : Ω → ℝ := fun ω ↦ max ((μ[fun ω ↦ max (-X ω) 0 | m]) ω) 0 have ha_m : StronglyMeasurable[m] a := by let _ := m exact stronglyMeasurable_condExp.sup stronglyMeasurable_const have hb_m : StronglyMeasurable[m] b := by let _ := m exact stronglyMeasurable_condExp.sup stronglyMeasurable_const have ha0 (ω : Ω) : 0 ≤ a ω := le_max_right _ _ have hb0 (ω : Ω) : 0 ≤ b ω := le_max_right _ _ have ha_ae : a =ᵐ[μ] μ[fun ω ↦ max (X ω) 0 | m] := (condExp_nonneg (ae_of_all μ fun ω ↦ le_max_right (X ω) 0)).mono fun ω h ↦ max_eq_left h have hb_ae : b =ᵐ[μ] μ[fun ω ↦ max (-X ω) 0 | m] := (condExp_nonneg (ae_of_all μ fun ω ↦ le_max_right (-X ω) 0)).mono fun ω h ↦ max_eq_left h -- no arbitrage: the two conditional means vanish together have hNA' : ∀ θ : Ω → ℝ, StronglyMeasurable[m] θ → 0 ≤ᵐ[μ] (fun ω ↦ θ ω * (-X) ω) → (fun ω ↦ θ ω * (-X) ω) =ᵐ[μ] 0 := fun θ hθ hpos ↦ by simpa using hNA (-θ) hθ.neg (by simpa using hpos) have hboth : ∀ᵐ ω ∂μ, 0 < a ω ↔ 0 < b ω := by have h2 : ∀ᵐ ω ∂μ, max ((μ[fun ω ↦ max (X ω) 0 | m]) ω) 0 = 0 → max ((μ[fun ω ↦ max (-X ω) 0 | m]) ω) 0 = 0 := by simpa only [Pi.neg_apply, neg_neg] using ae_condExp_posPart_eq_zero hm0 hX.neg hNA' filter_upwards [ae_condExp_posPart_eq_zero hm0 hX hNA, h2] with ω h1 h2 exact ⟨fun h ↦ lt_of_le_of_ne (hb0 ω) fun h' ↦ h.ne' (h1 h'.symm), fun h ↦ lt_of_le_of_ne (ha0 ω) fun h' ↦ h.ne' (h2 h'.symm)⟩ obtain ⟨u, w, hu_m, hw_m, hu01, hw01, hupos, hpt⟩ := exists_balancing_weights ha_m hb_m ha0 hb0 hboth -- the weight set Z : Ω → ℝ := fun ω ↦ if 0 < X ω then u ω else if X ω < 0 then w ω else 1 have hZ_m : StronglyMeasurable[m₁] Z := StronglyMeasurable.ite (hXm.measurable measurableSet_Ioi) (hu_m.mono hm) (StronglyMeasurable.ite (hXm.measurable measurableSet_Iio) (hw_m.mono hm) stronglyMeasurable_const) have hZ01 (ω : Ω) : Z ω ∈ Set.Icc (0 : ℝ) 1 := by simp only [Z] split_ifs exacts [hu01 ω, hw01 ω, ⟨zero_le_one, le_rfl⟩] have hZpos : ∀ᵐ ω ∂μ, 0 < Z ω := by filter_upwards [hupos] with ω ⟨h1, h2⟩ simp only [Z] split_ifs <;> first | exact h1 | exact h2 | exact one_pos refine ⟨Z, hZ_m, hZ01, hZpos, fun g hg ⟨K, hK⟩ ↦ ?_⟩ have hZX (ω : Ω) : Z ω * X ω = u ω * max (X ω) 0 - w ω * max (-X ω) 0 := by simp only [Z] rcases lt_trichotomy (X ω) 0 with h | h | h · simp only [not_lt.2 h.le, h, ↓reduceIte, max_eq_right h.le, max_eq_left (by linarith : 0 ≤ -X ω)] ring · simp [h] · simp only [h, ↓reduceIte, max_eq_left h.le, max_eq_right (by linarith : -X ω ≤ 0)] ring have hbd (v : Ω → ℝ) (hv : ∀ ω, v ω ∈ Set.Icc (0 : ℝ) 1) (ω : Ω) : ‖g ω * v ω‖ ≤ K := by rw [Real.norm_eq_abs, abs_mul, abs_of_nonneg (hv ω).1] exact (mul_le_of_le_one_right (abs_nonneg _) (hv ω).2).trans (hK ω) have hgu_m : StronglyMeasurable[m] (g * u) := hg.mul hu_m have hgw_m : StronglyMeasurable[m] (g * w) := hg.mul hw_m have hI1 : Integrable ((g * u) * fun ω ↦ max (X ω) 0) μ := hXp.bdd_mul (hgu_m.mono hm0).aestronglyMeasurable (ae_of_all _ (hbd u hu01)) have hI2 : Integrable ((g * w) * fun ω ↦ max (-X ω) 0) μ := hXn.bdd_mul (hgw_m.mono hm0).aestronglyMeasurable (ae_of_all _ (hbd w hw01)) calc ∫ ω, g ω * (Z ω * X ω) ∂μ = ∫ ω, ((g * u) ω * max (X ω) 0 - (g * w) ω * max (-X ω) 0) ∂μ := integral_congr_ae (ae_of_all _ fun ω ↦ by simp only [hZX, Pi.mul_apply]; ring) _ = ∫ ω, (g * u) ω * max (X ω) 0 ∂μ - ∫ ω, (g * w) ω * max (-X ω) 0 ∂μ := integral_sub hI1 hI2 _ = ∫ ω, (g * u) ω * (μ[fun ω ↦ max (X ω) 0 | m]) ω ∂μ - ∫ ω, (g * w) ω * (μ[fun ω ↦ max (-X ω) 0 | m]) ω ∂μ := by rw [integral_mul_condExp hm0 hgu_m hI1 hXp, integral_mul_condExp hm0 hgw_m hI2 hXn] _ = ∫ ω, (g * u) ω * a ω ∂μ - ∫ ω, (g * w) ω * b ω ∂μ := by congr 1 · exact integral_congr_ae (ha_ae.mono fun ω h ↦ by simp only [h]) · exact integral_congr_ae (hb_ae.mono fun ω h ↦ by simp only [h]) _ = 0 := sub_eq_zero.2 (integral_congr_ae (ae_of_all _ fun ω ↦ by simp only [Pi.mul_apply, mul_assoc, hpt ω])) end OnePeriod section Main variable {Ω : Type*} {m0 : MeasurableSpace Ω} {𝓕 : Filtration ℕ m0} {S : ℕ → Ω → ℝ} {N : ℕ} {P : Measure Ω} /-- **Integrability is a change of equivalent measure.** On a finite measure space, an adapted price up to the horizon `N` is integrable under the equivalent finite measure with density `exp (-∑ₙ ‖S n‖)`, which is positive and at most `1`: `‖S n‖ exp (-‖S n‖) ≤ 1`. -/ theorem exists_integrable_equivalent [IsFiniteMeasure P] (hS : ∀ t ≤ N, StronglyMeasurable[𝓕 t] (S t)) : ∃ P' : Measure Ω, P' ≤ P ∧ P ≪ P' ∧ ∀ t ≤ N, Integrable (S t) P' := by have hm (n : ℕ) (hn : n ≤ N) : Measurable (S n) := (hS n hn).measurable.mono (𝓕.le n) le_rfl set w : Ω → ℝ := fun ω ↦ Real.exp (-∑ n ∈ Finset.range (N + 1), ‖S n ω‖) have hwm : Measurable w := (Finset.measurable_sum _ fun n hn ↦ (hm n (Nat.lt_succ_iff.1 (Finset.mem_range.1 hn))).norm).neg.exp have hw0 (ω : Ω) : 0 < w ω := Real.exp_pos _ have hw1 (ω : Ω) : w ω ≤ 1 := Real.exp_le_one_iff.2 (neg_nonpos.2 (Finset.sum_nonneg fun n _ ↦ norm_nonneg _)) refine ⟨P.withDensity fun ω ↦ ENNReal.ofReal (w ω), ?_, ?_, fun t ht ↦ ?_⟩ · exact (withDensity_mono (ae_of_all _ fun ω ↦ ENNReal.ofReal_le_one.2 (hw1 ω))).trans (withDensity_one ▸ le_rfl) · exact withDensity_absolutelyContinuous' hwm.ennreal_ofReal.aemeasurable (ae_of_all _ fun ω ↦ (ENNReal.ofReal_pos.2 (hw0 ω)).ne') · rw [integrable_withDensity_iff_integrable_smul' hwm.ennreal_ofReal (ae_of_all _ fun _ ↦ ENNReal.ofReal_lt_top)] refine Integrable.mono' (integrable_const 1) ((hwm.ennreal_ofReal.ennreal_toReal.smul (hm t ht)).aestronglyMeasurable) (ae_of_all _ fun ω ↦ ?_) have hle : ‖S t ω‖ ≤ ∑ n ∈ Finset.range (N + 1), ‖S n ω‖ := Finset.single_le_sum (f := fun n ↦ ‖S n ω‖) (fun n _ ↦ norm_nonneg _) (Finset.mem_range.2 (Nat.lt_succ_of_le ht)) rw [ENNReal.toReal_ofReal (hw0 ω).le, smul_eq_mul, norm_mul, Real.norm_of_nonneg (hw0 ω).le] calc w ω * ‖S t ω‖ ≤ Real.exp (-‖S t ω‖) * ‖S t ω‖ := by gcongr exact Real.exp_le_exp.2 (neg_le_neg hle) _ ≤ 1 := by rw [Real.exp_neg, inv_mul_le_iff₀ (Real.exp_pos _), mul_one] exact (Real.add_one_le_exp _).trans' (by linarith) namespace OneAsset /-- **A one-period density of one arbitrage-free asset.** If the increment `S (t+1) − S t` is `ν`-integrable for a finite measure `ν` and the conditional one-period market of period `t` is arbitrage free under `ν` (`NoArbitrageAt`), the weight of `exists_weight_of_noArbitrage` is a one-period density (`IsOnePeriodDensity`) under `ν`. -/ theorem exists_onePeriodDensity {ν : Measure Ω} [IsFiniteMeasure ν] {t : ℕ} (hS₁ : StronglyMeasurable[𝓕 (t + 1)] (S (t + 1))) (hS₀ : StronglyMeasurable[𝓕 t] (S t)) (hi₁ : Integrable (S (t + 1)) ν) (hi₀ : Integrable (S t) ν) (hNA : NoArbitrageAt 𝓕 ν S t) : ∃ Z, IsOnePeriodDensity 𝓕 ν S t Z := by obtain ⟨Z, hZm, hZ01, hZpos, hZ⟩ := exists_weight_of_noArbitrage (𝓕.mono t.le_succ) (𝓕.le (t + 1)) (hS₁.sub (hS₀.mono (𝓕.mono t.le_succ))) (hi₁.sub hi₀) fun θ hθ hpos ↦ by simpa [mul_comm] using hNA θ hθ (by simpa [mul_comm] using hpos) exact ⟨Z, hZm, hZ01, hZpos, fun g hg hgb ↦ by simpa using hZ g hg hgb⟩ /-- **Dalang–Morton–Willinger for one asset on a general probability space.** For an adapted real price `S` on a filtered probability space (no integrability, no finiteness of the space, no measurable-selection hypothesis), no arbitrage up to the horizon `N` gives an equivalent martingale measure. First `P` is replaced by an equivalent measure making `S` integrable (`exists_integrable_equivalent`). Then each conditional one-period market contributes an `𝓕 (t+1)`-measurable weight `Z t ∈ (0, 1]` balancing the increment (`exists_onePeriodDensity`), applied under the measure already weighted by the later periods (`exists_measure_fair_increments`). The weights are not normalised period by period (a conditional one-period density of mean one can fail to exist); only the total mass is normalised, at the end (`exists_isEMM_of_fair_measure`). -/ theorem exists_isEMM_of_noArbitrage [IsProbabilityMeasure P] (hS : ∀ t ≤ N, StronglyMeasurable[𝓕 t] (S t)) (hNA : NoArbitrage 𝓕 P S N) : ∃ Q, IsEMM 𝓕 P S N Q := by obtain ⟨P', hP'P, hPP', hint⟩ := exists_integrable_equivalent (P := P) hS have : IsFiniteMeasure P' := isFiniteMeasure_of_le P hP'P obtain ⟨ν, hνP', hP'ν, hν⟩ := exists_measure_fair_increments (P := P') (𝓕 := 𝓕) (S := S) (fun t ht ν hfin hνP' hP'ν ↦ by have := hfin exact exists_onePeriodDensity (hS (t + 1) ht) (hS t ht.le) ((hint (t + 1) ht).mono_measure hνP') ((hint t ht.le).mono_measure hνP') ((noArbitrageLocal_of_noArbitrage hNA t ht).of_absolutelyContinuous ((Measure.absolutelyContinuous_of_le hνP').trans (Measure.absolutelyContinuous_of_le hP'P)) (hPP'.trans hP'ν))) N le_rfl have : IsFiniteMeasure ν := isFiniteMeasure_of_le P' hνP' exact exists_isEMM_of_fair_measure (Measure.absolutelyContinuous_of_le (hνP'.trans hP'P)) (hPP'.trans hP'ν) hS (fun t ht ↦ (hint t ht).mono_measure hνP') fun s hs ↦ hν s (by omega) hs /-- **The fundamental theorem of asset pricing for one asset on a general probability space** (Dalang–Morton–Willinger, `d = 1`): an adapted real price has no arbitrage up to the horizon if and only if it has an equivalent martingale measure. The converse is `IsEMM.noArbitrage`. -/ theorem noArbitrage_iff_exists_isEMM [IsProbabilityMeasure P] (hS : ∀ t ≤ N, StronglyMeasurable[𝓕 t] (S t)) : NoArbitrage 𝓕 P S N ↔ ∃ Q, IsEMM 𝓕 P S N Q := ⟨exists_isEMM_of_noArbitrage hS, fun ⟨_, hQ⟩ ↦ hQ.noArbitrage⟩ end OneAsset end Main end MathFin