(Ω : Type u_1) → [mΩ : MeasurableSpace Ω] → Filtration ℕ mΩ
The two-step filtration of ℕ: nothing is known at 0, everything from 1 on.
The smallest market with a pricing measure, and the one a closed-form family reads in when it prices at a single date: one traded asset that is quoted at its initial price s₀ (growing at the rate r of the money market, so that the deflated price is the constant s₀) until a date τ, and at a random value X from τ on, with the money market e^{rt} as numéraire and no information before τ (Market.oneDate).
Up to the horizon τ, the deflated asset is a martingale for a measure Q exactly when it is a probability measure for which X is integrable with 𝔼_Q[X] = s₀ e^{rτ}. With Q equivalent to the reference measure P, it is a pricing measure (Market.isPricingMeasure_oneDate). The information is the time change of the two-step filtration ⊥ ≤ mΩ along the date τ (Market.dateFiltration), so the martingale is that of martingale_min_of_condExp_succ, read along the time change (Martingale.comp).
The price of a contract that reads the asset at τ only is the integral against Q of its payoff, discounted by e^{−rτ} (Market.price_pay_obs_oneDate, Market.price_europeanCall_oneDate).
The model is as small as can be: the initial price is a parameter, with no dynamics before τ, so that a measure prices the market says only that it is equivalent to P and calibrated to the quote s₀. A family's socket here certifies that its law prices a market, and the work is in the family's own moment identity (the Esscher or Merton compensator, the tilted mean). The families that instantiate it (Models/Jumps/Market.lean, Insurance/EsscherPremium.lean) say which law of X and which Q they read in it.
Market.oneDate: the market of a terminal value X, an initial price s₀, a rate r and a date τ.Market.dateFiltration: the information of the market, nothing before τ and everything from τ on.Market.isPricingMeasure_oneDate: a probability measure equivalent to P, with X integrable and 𝔼_Q[X] = s₀ e^{rτ}, is a pricing measure up to τ.Market.integral_eq_of_isPricingMeasure_oneDate: the converse for τ > 0: a pricing measure makes X integrable with mean s₀ e^{rτ}.Market.price_pay_obs_oneDate: the claim paying the asset at τ is worth 𝔼_Q[e^{−rτ} X].Market.price_europeanCall_oneDate: the call struck at K is worth 𝔼_Q[e^{−rτ} (X − K)⁺].one-period market, pricing measure, equivalent martingale measure, risk-neutral pricing, MSC 91G20, MSC 60G44, JEL G13
Above: what it imports. Below: what imports it.
(Ω : Type u_1) → [mΩ : MeasurableSpace Ω] → Filtration ℕ mΩ
The two-step filtration of ℕ: nothing is known at 0, everything from 1 on.
∀ (Ω : Type u_1) [mΩ : MeasurableSpace Ω], ↑(Market.twoStepFiltration Ω) 0 = ⊥
∀ (Ω : Type u_1) [mΩ : MeasurableSpace Ω], ↑(Market.twoStepFiltration Ω) 1 = mΩ
NNReal → NNReal → ℕ
The step of a date: 0 before τ, 1 from τ on.
∀ (τ : NNReal), Monotone (Market.dateStep τ)
∀ {τ t : NNReal}, t < τ → Market.dateStep τ t = 0∀ {τ t : NNReal}, ¬t < τ → Market.dateStep τ t = 1(Ω : Type u_1) → [mΩ : MeasurableSpace Ω] → NNReal → Filtration NNReal mΩ
The information of the one-date market: nothing is known before τ, everything from τ on. It is the two-step filtration read along the step of the date.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {τ t : NNReal}, t < τ → ↑(Market.dateFiltration Ω τ) t = ⊥∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {τ t : NNReal}, ¬t < τ → ↑(Market.dateFiltration Ω τ) t = mΩ{Ω : Type u_1} → [mΩ : MeasurableSpace Ω] → Measure Ω → {X : Ω → ℝ} → Measurable X → ℝ → ℝ → NNReal → Market Unit ΩThe one-date market: one asset, quoted at s₀ e^{rt} before the date τ and at the random value X from τ on, with the money market e^{rt} as numéraire, no information before τ (dateFiltration) and the reference measure P. The deflated asset is s₀ before τ and X e^{−rτ} at τ.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (P : Measure Ω) {X : Ω → ℝ} (hX : Measurable X) (s₀ r : ℝ) (τ : NNReal) (ω : Ω), (Market.oneDate P hX s₀ r τ).asset () τ ω = X ωThe asset of the one-date market at the date τ is X.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (P : Measure Ω) {X : Ω → ℝ} (hX : Measurable X) (s₀ r : ℝ) (τ : NNReal) (ω : Ω), (Market.oneDate P hX s₀ r τ).deflator τ ω = Real.exp (-r * ↑τ)The deflator of the one-date market at τ is the discount e^{−rτ}.
{Ω : Type u_1} → (Ω → ℝ) → ℝ → ℝ → NNReal → ℕ → Ω → ℝThe deflated price at step 0 is s₀, and from step 1 on it is X e^{−rτ}.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (P : Measure Ω) {X : Ω → ℝ} (hX : Measurable X) (s₀ r : ℝ) (τ : NNReal) (i : Unit) (t : NNReal) (ω : Ω), (Market.oneDate P hX s₀ r τ).deflated i (min t τ) ω = Market.deflatedStep X s₀ r τ (min (Market.dateStep τ t) 1) ωThe deflated asset, frozen at τ, is the deflated step process read along the date: S̃ (min t τ) = g (min (step t) 1).
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {P : Measure Ω} {X : Ω → ℝ} {hX : Measurable X} {s₀ r : ℝ} {τ : NNReal} {Q : Measure Ω} [IsProbabilityMeasure Q], Q.AbsolutelyContinuous P → P.AbsolutelyContinuous Q → Integrable X Q → ∫ (ω : Ω), X ω ∂Q = s₀ * Real.exp (r * ↑τ) → (Market.oneDate P hX s₀ r τ).IsPricingMeasure τ QA pricing measure of the one-date market. A probability measure Q equivalent to P under which X is integrable with mean s₀ e^{rτ} prices the one-date market up to τ: the deflated asset is the constant s₀ before τ and X e^{−rτ} at τ, and Q-integrating the latter gives back s₀.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {P : Measure Ω} {X : Ω → ℝ} {hX : Measurable X} {s₀ r : ℝ} {τ : NNReal} {Q : Measure Ω}, 0 < τ → (Market.oneDate P hX s₀ r τ).IsPricingMeasure τ Q → Integrable X Q ∧ ∫ (ω : Ω), X ω ∂Q = s₀ * Real.exp (r * ↑τ)A pricing measure of the one-date market has the quoted mean. For a date τ > 0, a pricing measure Q of the one-date market makes X integrable with mean s₀ e^{rτ}: the deflated asset is the constant s₀ at 0 and X e^{−rτ} at τ, and a martingale keeps its mean (Martingale.setIntegral_eq). This is the converse of isPricingMeasure_oneDate. For τ = 0 the quote s₀ is never read, so no such constraint holds.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {P : Measure Ω} {X : Ω → ℝ} {hX : Measurable X} {s₀ r : ℝ} {τ : NNReal} (Q : Measure Ω), (Market.oneDate P hX s₀ r τ).price Q (Contract.pay τ (Payoff.obs () τ)) = ∫ (ω : Ω), Real.exp (-r * ↑τ) * X ω ∂QThe claim paying the asset at τ is worth the discounted expectation 𝔼_Q[e^{−rτ} X], under any measure Q: the market's price is the contract value (price), and the asset at τ is X.
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {P : Measure Ω} {X : Ω → ℝ} {hX : Measurable X} {s₀ r : ℝ} {τ : NNReal} (Q : Measure Ω) (K : ℝ), (Market.oneDate P hX s₀ r τ).price Q (europeanCall K τ) = ∫ (ω : Ω), Real.exp (-r * ↑τ) * max (X ω - K) 0 ∂QThe European call in the one-date market is worth 𝔼_Q[e^{−rτ} (X − K)⁺] under any measure Q.