∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {B : NNReal → Ω → ℝ} [IsProbabilityMeasure μ], IsPreBrownianReal B μ → ∀ (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ (ω : Ω), Continuous fun s => B s ω) → ∀ {f f_t f_x f_xx : ℝ → ℝ → ℝ}, (∀ (t x : ℝ), HasDerivAt (fun s => f s x) (f_t t x) t) → (∀ (t x : ℝ), HasDerivAt (fun u => f t u) (f_x t x) x) → (∀ (t x : ℝ), HasDerivAt (fun u => f_x t u) (f_xx t x) x) → (Continuous fun p => f p.1 p.2) → (Continuous fun p => f_t p.1 p.2) → (Continuous fun p => f_x p.1 p.2) → (Continuous fun p => f_xx p.1 p.2) → ∃ M, (∀ (ω : Ω), Continuous fun t => M t ω) ∧ IsLocalMartingale M (augFiltration hBmeas) μ ∧ ∀ (t : NNReal), (fun ω => f (↑t) (B t ω) - f 0 (B 0 ω)) =ᵐ[μ] fun ω => M t ω + ∫ (s : NNReal) in Set.Ioc 0 t, f_t (↑s) (B s ω) + 1 / 2 * f_xx (↑s) (B s ω) ∂timeMeasureLandmarks
The landmark results, one per line of the README's main results. Each shows the statement exactly as Lean elaborates it, read from the declaration index, with what the statement does not cover stated next to it. The prose above a statement is a reading aid; the statement is the claim.
- Itô's formula
- Lévy's characterization
- Girsanov's theorem
- Martingale representation
- Stochastic differential equations
- Fundamental theorem of asset pricing
- Coherent risk measures
- The Black–Scholes PDE from Feynman–Kac
- Black–Scholes delta hedge
- Jump-diffusions and Merton's series
- The American put
- Raw SVI
- Contracts, separate from models
- Interest rates
Itô's formula
For f(t,x) with continuous f, f_t, f_x and f_xx and no growth condition, f(t,B_t) − f(0,B_0) − ∫₀ᵗ (f_t + ½ f_xx)(s,B_s) ds is a continuous local martingale for the augmented Brownian filtration. For an Itô process built from one Brownian motion, with continuous adapted coefficients and no bounds on them or on f, the full change-of-variables formula holds almost surely at every t ≤ T at once.
Not proved. The formula for an Itô process is proved on a finite horizon [0,T], for a process built from a single Brownian motion with a deterministic starting point. Itô's formula for a continuous semimartingale not built from B is not proved, and neither is a quadratic-variation process for a general continuous local martingale.
The Lean statement
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {σ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), StronglyMeasurable (σ t)) (hcont : ∀ (ω : Ω), Continuous fun t => σ t ω) {b : NNReal → Ω → ℝ} (hb_adap : ∀ (t : NNReal), StronglyMeasurable (b t)) (hb_cont : ∀ (ω : Ω), Continuous fun s => b s ω) (x₀ : ℝ) {f f_t f_x f_xx : ℝ → ℝ → ℝ}, (∀ (t x : ℝ), HasDerivAt (fun s => f s x) (f_t t x) t) → (∀ (t x : ℝ), HasDerivAt (fun u => f t u) (f_x t x) x) → (∀ (t x : ℝ), HasDerivAt (fun u => f_x t u) (f_xx t x) x) → (Continuous fun p => f_t p.1 p.2) → ∀ (hf_x_cont : Continuous fun p => f_x p.1 p.2), (Continuous fun p => f_xx p.1 p.2) → ∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T, f (↑t) (localItoProcess T hBmeas hadap hcont x₀ b t ω) = f 0 x₀ + ∫ (s : NNReal) in Set.Ioc 0 t, f_t (↑s) (localItoProcess T hBmeas hadap hcont x₀ b s ω) + f_x (↑s) (localItoProcess T hBmeas hadap hcont x₀ b s ω) * b s ω + 1 / 2 * (f_xx (↑s) (localItoProcess T hBmeas hadap hcont x₀ b s ω) * σ s ω ^ 2) ∂timeMeasure + predItoIntegral T hBmeas ⋯ t ω∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ (ω : Ω), Continuous fun t => B t ω) → ∀ {σ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), StronglyMeasurable (σ t)) (hcont : ∀ (ω : Ω), Continuous fun t => σ t ω) {b : NNReal → Ω → ℝ}, (∀ (t : NNReal), StronglyMeasurable (b t)) → (∀ (ω : Ω), Continuous fun s => b s ω) → ∀ (x₀ : ℝ) {f f_t f_x f_xx : ℝ → ℝ → ℝ}, (∀ (t x : ℝ), HasDerivAt (fun s => f s x) (f_t t x) t) → (∀ (t x : ℝ), HasDerivAt (fun u => f t u) (f_x t x) x) → (∀ (t x : ℝ), HasDerivAt (fun u => f_x t u) (f_xx t x) x) → (Continuous fun p => f_t p.1 p.2) → (Continuous fun p => f_x p.1 p.2) → (Continuous fun p => f_xx p.1 p.2) → ∃ Y, (∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T, Y t ω = f (↑t) (localItoProcess T hBmeas hadap hcont x₀ b t ω) - f 0 x₀ - ∫ (s : NNReal) in Set.Ioc 0 t, f_t (↑s) (localItoProcess T hBmeas hadap hcont x₀ b s ω) + f_x (↑s) (localItoProcess T hBmeas hadap hcont x₀ b s ω) * b s ω + 1 / 2 * (f_xx (↑s) (localItoProcess T hBmeas hadap hcont x₀ b s ω) * σ s ω ^ 2) ∂timeMeasure) ∧ (∀ (ω : Ω), Continuous fun t => Y t ω) ∧ IsLocalMartingale Y (augFiltration hBmeas) μBuilds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
- Itô's formula uses Itô integral and Itô isometry
- Itô integral and Itô isometry
Lévy's characterization
A continuous adapted process M with M₀ = 0 such that M and M² − t are local martingales for a filtration F is an F-Brownian motion.
Not proved. The hypothesis is that M² − t is a local martingale, not that the quadratic variation ⟨M⟩ₜ equals t: a quadratic-variation process for a general continuous local martingale is not constructed.
The Lean statement
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {𝓕 : Filtration NNReal mΩ} {M : NNReal → Ω → ℝ}, StronglyAdapted 𝓕 M → (∀ (ω : Ω), Continuous fun t => M t ω) → (∀ (ω : Ω), M 0 ω = 0) → IsLocalMartingale M 𝓕 P → IsLocalMartingale (fun t ω => M t ω ^ 2 - ↑t) 𝓕 P → IsFilteredPreBrownian M 𝓕 PGirsanov's theorem
For bounded predictable θ and a horizon T, under the measure with density exp(−∫₀ᵀ θ dB − ½∫₀ᵀ θ² dt), an adapted modification of B_t + ∫₀^{t∧T} θ_s ds is a Brownian motion for the Brownian filtration F: it starts at 0, has N(0,t−s) increments, and each increment is independent of F_s, on all of [0,∞). If B has continuous paths so does the new process.
Not proved. Only bounded θ, for an adapted modification of the process. The measure is that of the fixed horizon T and changes with T; past T the process is B plus the drift frozen at T. Unbounded θ, Novikov's condition and the general form of Girsanov's theorem are reduced cores, not derived.
The Lean statement
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {μ : Measure Ω} [IsProbabilityMeasure μ] (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) {θ : NNReal → Ω → ℝ} (hpred : IsStronglyPredictable (natFiltration hBmeas) θ) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |θ t ω| ≤ C) (T : NNReal), IsFilteredPreBrownian (BthetaPred T hBmeas hpred hbdd) (natFiltration hBmeas) (μ.withDensity fun ω => ENNReal.ofReal (ZTpred hB T hBmeas hpred hbdd ω))∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {μ : Measure Ω} [IsProbabilityMeasure μ] (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ᵐ (ω : Ω) ∂μ, Continuous fun t => B t ω) → ∀ {θ : NNReal → Ω → ℝ} (hpred : IsStronglyPredictable (natFiltration hBmeas) θ) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |θ t ω| ≤ C) (T : NNReal), IsBrownianReal (BthetaPred T hBmeas hpred hbdd) (μ.withDensity fun ω => ENNReal.ofReal (ZTpred hB T hBmeas hpred hbdd ω))∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} {μ : Measure Ω} [IsProbabilityMeasure μ] (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)) {θ : NNReal → Ω → ℝ} (hpred : IsStronglyPredictable (natFiltration hBmeas) θ) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |θ t ω| ≤ C) (T : NNReal), IsBrownianOn (μ.withDensity fun ω => ENNReal.ofReal (ZTpred hB T hBmeas hpred hbdd ω)) T (BthetaPred T hBmeas hpred hbdd)Martingale representation
Every square-integrable F^B_T-measurable claim H is E[H] plus a stochastic integral ∫₀ᵀ φ dB for a unique φ, so it is replicated from initial wealth E[H] by a unique strategy.
Not proved. This proves that a hedge exists and is unique, but does not identify it; that needs the Clark–Ocone formula (open).
The Lean statement
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ (ω : Ω), Continuous fun s => B s ω) → ∀ (T : NNReal) (H : ↥(Lp ℝ 2 μ)), AEStronglyMeasurable (↑↑H) μ → ∃! φ, Replicates hB T hBmeas (∫ (ω : Ω), ↑↑H ω ∂μ) φ ↑↑HBuilds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
Stochastic differential equations
For Lipschitz b and σ and any horizon T, the Picard map of dX = b(X)dt + σ(X)dB has a unique fixed point in the L² space of predictable processes on [0,T]. The Picard map is itself a contraction only when T·L_b + √T·L_σ < 1; for any horizon some iterate is, since the energy of ΦⁿX − ΦⁿY decays like cⁿtⁿ/n!. The Black–Scholes path S₀exp((r−σ²/2)t + σB_t) solves dS = rS dt + σS dB.
Not proved. The solution is in the predictable L² space; path regularity and pathwise uniqueness are not claimed. The Black–Scholes path is shown to solve its SDE (pathAssets_solves_sde) but is not identified with the fixed point.
The Lean statement
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {b σ : ℝ → ℝ} {Lb Lσ : NNReal} (hb : LipschitzWith Lb b) (hσ : LipschitzWith Lσ σ) (η_E : ↥(Lp ℝ 2 (trimMeasure T hBmeas))), ∃! X, picardMap hB T hBmeas hBcont hb hσ η_E X = X∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {b σ : ℝ → ℝ} {Lb Lσ : NNReal} (hb : LipschitzWith Lb b) (hσ : LipschitzWith Lσ σ) (η_E : ↥(Lp ℝ 2 (trimMeasure T hBmeas))), ↑T * ↑Lb + √↑T * ↑Lσ < 1 → ∃! X, picardMap hB T hBmeas hBcont hb hσ η_E X = X∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) (T : NNReal) (S_0 r σ : ℝ), ∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T, pathAssets S_0 r σ B () t ω = S_0 + ∫ (s : NNReal) in Set.Ioc 0 t, r * pathAssets S_0 r σ B () s ω ∂timeMeasure + predItoIntegral T hBmeas ⋯ t ωFundamental theorem of asset pricing
A discrete-time, finite-horizon market with one discounted risky asset has no arbitrage if and only if it has an equivalent martingale measure, on a finite probability space of full support (Harrison–Pliska) and on any probability space (Dalang–Morton–Willinger, OneAsset.noArbitrage_iff_exists_isEMM); the one-period theorem holds on any probability space with finitely many assets.
Not proved. The multi-period theorem is proved for one asset only, on any probability space, with no integrability assumption. For several assets on a general space, multi-period no arbitrage is equivalent to conditional one-period no arbitrage (noArbitrage_iff_noArbitrageLocal) and unnormalised one-period densities paste backward to an equivalent martingale measure (exists_isEMM_of_onePeriodDensities), so the Dalang–Morton–Willinger theorem follows from a conditional one-period hypothesis (ConditionalOnePeriodFTAP of noArbitrage_iff_exists_isEMM: conditional no arbitrage yields such a density), the step proved for one asset (OneAsset.exists_onePeriodDensity) and open for several. In continuous time only the easy direction is proved: an equivalent martingale measure precludes arbitrage by simple strategies. The second theorem (completeness iff a unique measure) is proved in both directions only for one risky asset on a finite space of full support; in the Brownian market only completeness implies uniqueness.
The Lean statement
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} [MeasurableSingletonClass Ω] (𝓕 : Filtration ℕ mΩ) (P : Measure Ω) (S : ℕ → Ω → ℝ) (T : ℕ) [Finite Ω] [Nonempty Ω], StronglyAdapted 𝓕 S → (∀ (ω : Ω), 0 < P {ω}) → (NoArbitrage 𝓕 P S T ↔ ∃ Q, IsEMM 𝓕 P S T Q)∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} (P : Measure Ω) [IsProbabilityMeasure P] {F : Type u_2} [NormedAddCommGroup F] [InnerProductSpace ℝ F] [FiniteDimensional ℝ F] [MeasurableSpace F] [BorelSpace F] (Y : Ω → F), Measurable Y → (NoArbitrage P Y ↔ ∃ Q, IsEMM P Y Q)∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} [MeasurableSingletonClass Ω] (𝓕 : Filtration ℕ mΩ) (P : Measure Ω) (S : ℕ → Ω → ℝ) (T : ℕ) [Finite Ω] [Nonempty Ω], StronglyAdapted 𝓕 S → (∀ (ω : Ω), 0 < P {ω}) → ↑𝓕 T = mΩ → NoArbitrage 𝓕 P S T → (IsCompleteMarket 𝓕 P S T ↔ ∃! Q, IsEMM 𝓕 P S T Q)∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {F : Type u_2} [NormedAddCommGroup F] [InnerProductSpace ℝ F] {𝓕 : Filtration ℕ m0} {P : Measure Ω} {S : ℕ → Ω → F} {T : ℕ}, (∀ t ≤ T, StronglyMeasurable (S t)) → (NoArbitrage 𝓕 P S T ↔ NoArbitrageLocal 𝓕 P S T)∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {F : Type u_2} [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] {𝓕 : Filtration ℕ m0} {S : ℕ → Ω → F} {P : Measure Ω} {N : ℕ} [IsProbabilityMeasure P], (∀ t ≤ N, StronglyMeasurable (S t)) → (∀ t ≤ N, Integrable (S t) P) → (∀ t < N, ∀ (ν : Measure Ω), IsFiniteMeasure ν → ν ≤ P → P.AbsolutelyContinuous ν → ∃ Z, IsOnePeriodDensity 𝓕 ν S t Z) → ∃ Q, IsEMM 𝓕 P S N Q∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {d : ℕ} {𝓕 : Filtration ℕ m0} {P : Measure Ω} {S : ℕ → Ω → EuclideanSpace ℝ (Fin d)} [IsProbabilityMeasure P] {T : ℕ}, (∀ t ≤ T, StronglyMeasurable (S t)) → (∀ t ≤ T, Integrable (S t) P) → ConditionalOnePeriodFTAP 𝓕 P S T → (NoArbitrage 𝓕 P S T ↔ ∃ Q, IsEMM 𝓕 P S T Q)∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {𝓕 : Filtration ℕ m0} {S : ℕ → Ω → ℝ} {N : ℕ} {P : Measure Ω} [IsProbabilityMeasure P], (∀ t ≤ N, StronglyMeasurable (S t)) → (NoArbitrage 𝓕 P S N ↔ ∃ Q, IsEMM 𝓕 P S N Q)Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
Coherent risk measures
On a finite state space a coherent risk measure of losses is the supremum of E_q[L] over the probability vectors q that price every acceptable loss nonpositively.
Not proved. Finite probability spaces only. It rests on the same cone-separation lemmas as the finite FTAP (ConvexDuality).
The Lean statement
∀ {ι : Type u_1} [Fintype ι] [MeasurableSpace ι] [MeasurableSingletonClass ι] {P : Measure ι} [IsFiniteMeasure P] {ρ : (ι → ℝ) → ℝ}, IsCoherentRiskMeasure P ρ → ∀ (L : ι → ℝ), IsLUB ((fun q => ∑ i, q i * L i) '' representingSet ρ) (ρ L)Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
- Coherent risk measure uses Convex risk measure
- Separation theorem for closed convex cones
- Convex risk measure
The Black–Scholes PDE from Feynman–Kac
The call price is a heat-kernel (Gaussian) integral of the payoff, and the Black–Scholes PDE for the closed-form price follows from the heat equation for the kernel, without differentiating the closed form.
Not proved. This is the Gaussian-integral form of Feynman–Kac; no stochastic differential equation enters.
The Lean statement
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → ∃ Vτ VS VSS, HasDerivAt (fun τ' => bsV K r σ S τ') Vτ τ ∧ HasDerivAt (fun S' => bsV K r σ S' τ) VS S ∧ HasDerivAt (fun S' => deriv (fun S'' => bsV K r σ S'' τ) S') VSS S ∧ -Vτ + 1 / 2 * σ ^ 2 * S ^ 2 * VSS + r * S * VS - r * bsV K r σ S τ = 0 ∧ Vτ = σ * S * gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (2 * √τ) + r * K * Real.exp (-(r * τ)) * Phi (bsd2 S K r σ τ) ∧ VS = Phi (bsd1 S K r σ τ) ∧ VSS = gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (S * σ * √τ)Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
- Black–Scholes Greeks uses Standard normal distribution function Φ
- Feynman–Kac formula for the heat equation
- Standard normal distribution function Φ
Black–Scholes delta hedge
e^{−rt}·C(t,S_t) = C(0,S₀) + ∫₀ᵗ Δ σ e^{−rs} S_s dB_s almost surely, for all t ≤ T' < T.
Not proved. The identity is on [0,T'] for T' < T; convergence to the payoff at T is a separate theorem. The hedge is not packaged as an admissible self-financing strategy. The integral is against B, not against the discounted stock as a semimartingale. The self-financing identity (europeanCall_selfFinancing) is an integral identity, with the gain written as a drift integral plus a Brownian integral, not an integral against S.
The Lean statement
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {K r σ S₀ T : ℝ}, 0 < K → 0 < σ → 0 < S₀ → ∀ (T' : NNReal), ↑T' < T → ∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T', Real.exp (-(r * ↑t)) * bsV K r σ (gbmValue S₀ r σ (↑t) (B t ω)) (T - ↑t) = bsV K r σ S₀ T + predItoIntegral T' hBmeas ⋯ t ω∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {T : NNReal}, 0 < ↑T → ∀ {S_0 K r σ : ℝ}, 0 < S_0 → 0 < K → 0 < σ → ∀ T' < T, ∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T', Real.exp (-(r * ↑t)) * bsV K r σ (pathAssets S_0 r σ B () t ω) (↑T - ↑t) = Contract.value μ (fun u x => Real.exp (-r * ↑u)) (pathAssets S_0 r σ B) (europeanCall K T) + predItoIntegral T' hBmeas ⋯ t ω∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {T : NNReal}, 0 < ↑T → ∀ {S_0 K r σ : ℝ}, 0 < S_0 → 0 < K → 0 < σ → ∀ T' < T, ∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T', hedgeValue K r σ S_0 (↑T) B t ω = Contract.value μ (fun u x => Real.exp (-r * ↑u)) (pathAssets S_0 r σ B) (europeanCall K T) + (∫ (s : NNReal) in Set.Ioc 0 t, hedgeDelta K r σ S_0 (↑T) B s ω * (r * pathAssets S_0 r σ B () s ω) ∂timeMeasure + predItoIntegral T' hBmeas ⋯ t ω) + ∫ (s : NNReal) in Set.Ioc 0 t, r * hedgeBank K r σ S_0 (↑T) B s ω ∂timeMeasure∀ {K r σ S₀ : ℝ} (T : NNReal), 0 < K → 0 < σ → 0 < S₀ → ∀ {x : NNReal → ℝ}, ContinuousAt x T → Filter.Tendsto (fun t => bsV K r σ (gbmValue S₀ r σ (↑t) (x t)) (↑T - ↑t)) (nhdsWithin T (Set.Iio T)) (nhds (max (gbmValue S₀ r σ (↑T) (x T) - K) 0))Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
- Black–Scholes Greeks uses Standard normal distribution function Φ
- Feynman–Kac formula for the heat equation
- Itô's formula uses Itô integral and Itô isometry
- Itô integral and Itô isometry
- Standard normal distribution function Φ
Jump-diffusions and Merton's series
For a process with independent increments distributed as bτ + σ√τ Z + Σ_{i<N} J_i (Z standard normal, N Poisson(Λτ), i.i.d. jumps of law ν), the discounted price e^{−rt}S₀e^{X_t} is a martingale exactly when b = r − σ²/2 − Λ(∫eˣdν − 1). With Gaussian jumps, at that drift and reading P as the pricing measure, the conditional discounted call payoff is Merton's 1976 series.
Not proved. The results assume the properties bundled in JumpDiffusionProcess; a process with them is constructed only without jumps, as Brownian motion with drift. A change of measure that alters the jump rate or the jump law is not covered.
The Lean statement
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {ν : Measure ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ ν → ∀ [IsProbabilityMeasure ν], Integrable Real.exp ν → ∀ {S_0 : ℝ}, S_0 ≠ 0 → ∀ (r : ℝ), Martingale (fun t ω => Real.exp (-r * ↑t) * (S_0 * Real.exp (X t ω))) 𝓕 P ↔ b = r - σ ^ 2 / 2 - ↑Λ * (∫ (x : ℝ), Real.exp x ∂ν - 1)∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {𝓕 : Filtration NNReal mΩ} {X : NNReal → Ω → ℝ} {b σ : ℝ} {Λ : NNReal} {k δ : ℝ}, JumpDiffusionProcess P 𝓕 X b σ Λ (gaussianReal (Real.log (1 + k) - δ ^ 2 / 2) (δ ^ 2).toNNReal) → -1 < k → ∀ {r : ℝ}, b = r - σ ^ 2 / 2 - ↑Λ * k → ∀ {S_0 K : ℝ}, 0 < S_0 → 0 < K → 0 < σ → ∀ {t T : NNReal}, t < T → P[fun ω => Real.exp (-r * ↑(T - t)) * max (S_0 * Real.exp (X T ω) - K) 0 | ↑𝓕 t] =ᵐ[P] fun ω => mertonCallPrice (S_0 * Real.exp (X t ω)) K r σ (↑(T - t)) k δ (Λ * (T - t))Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
The American put
A bounded continuous supermartingale dominating the discounted reward bounds the value, and a stopping rule whose expected reward equals its initial value attains it.
Not proved. This is a verification principle: the supermartingale is a hypothesis, not constructed. Separately, convexity of the early-exercise boundary in the time to expiry is proved for the value defined over stopping times of the completed Brownian filtration, with r > 0 and dividend yield 0 ≤ q ≤ r (see the PhysicalBoundaryConvexity module).
The Lean statement
∀ {Ω : Type u_1} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P] {𝓕 : Filtration NNReal inst} {W U : NNReal → Ω → ℝ} {K r q σ S C : ℝ} {T : NNReal}, Measurable (Function.uncurry W) → 0 ≤ K → 0 ≤ r → 0 ≤ S → Supermartingale U 𝓕 P → (∀ (ω : Ω), Continuous fun t => U t ω) → (∀ (t : NNReal) (ω : Ω), ‖U t ω‖ ≤ C) → (∀ t ≤ T, ∀ (ω : Ω), putReward W K r q σ S (fun x => t) ω ≤ U t ω) → ∀ (θ : StoppingRule 𝓕 T), ∫ (ω : Ω), putReward W K r q σ S θ.time ω ∂P = ∫ (ω : Ω), U 0 ω ∂P → americanPutValue P 𝓕 W K r q σ S T = ∫ (ω : Ω), U 0 ω ∂PRaw SVI
A fixed Boolean combination of polynomial signs in (a,b,ρ,m,σ) holds exactly when σ, b ≥ 0, ρ² ≤ 1, the total variance is positive and the Black–Scholes call with the SVI volatility is convex in the strike. With one more sign, b(1+ρ) < 2, it holds exactly when that call is also nonincreasing, lies between (1−K)⁺ and 1, and has the limits of a call price.
Not proved. The certificate's formula is defined structurally, not written out as inequalities. Butterfly-freeness is proved as properties of the call price as a function of the strike; the risk-neutral law is not constructed from them. At σ = 0 convexity of the call is not tied to Durrleman's condition.
The Lean statement
∀ (p : Params), SignFormula.eval p extendedCertificateFormula = true ↔ 0 ≤ p.sigma ∧ 0 ≤ p.b ∧ 0 ≤ 1 - p.rho ^ 2 ∧ (∀ (k : ℝ), 0 < variance p k) ∧ ConvexOn ℝ (Set.Ioi 0) (bsSmile p)
∀ (p : Params), SignFormula.eval p butterflyFreeFormula = true ↔ 0 ≤ p.sigma ∧ 0 ≤ p.b ∧ 0 ≤ 1 - p.rho ^ 2 ∧ (∀ (k : ℝ), 0 < variance p k) ∧ IsNormalizedCallPrice (bsSmile p)
Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
Contracts, separate from models
Payoffs are terms of a contract language priced by interchangeable models. In any model whose discounted price is a martingale from S₀, a call less a put is worth the forward, S₀ − K·D(T); the n-step CRR values of a European call converge to the Black–Scholes value when |r|√T < σ. From the physical market S₀exp((m−σ²/2)u + σW_u), under the Girsanov measure of the constant market price of risk (m−r)/σ, every fixed-dated contract has its risk-neutral value at the rate r, so a European call is worth the Black–Scholes price; the chooser and the geometric Asian call likewise.
Not proved. The binomial limit is proved for call prices and for the law of the terminal log-return; convergence of the price process (Donsker) is not formalized. The exotic closed forms (power call, exchange option, geometric Asian call, chooser) hold when the pricing measure makes the log-price Gaussian; see the Contracts/Models modules. The physical-market prices hold for dates up to the Girsanov horizon H, for a constant market price of risk, and the identity of the physical asset with the risk-neutral one is almost sure at each date, not pathwise.
The Lean statement
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {S₀ K : ℝ} {T : NNReal} {𝓕 : Filtration NNReal mΩ} [IsProbabilityMeasure Q], Martingale (fun t ω => D t * X () t ω) 𝓕 Q → D 0 = 1 → (∀ (ω : Ω), X () 0 ω = S₀) → Contract.value Q (fun t x => D t) X (europeanCall K T) - Contract.value Q (fun t x => D t) X (europeanPut K T) = S₀ - K * D T∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {S₀ K r σ : ℝ} {T : NNReal} {Z : Ω → ℝ} (hbs : BSCallHyp Q S₀ K r σ (↑T) Z) (hrT : |r| * √↑T < σ), Filter.Tendsto (fun n => Contract.value (coinFlipMeasure (crrProb r σ (↑T) n).toNNReal ⋯) (fun t x => discount (crrPerStepRate r (↑T) n) (crrStep (↑T) n) t) (assets S₀ (crrUp σ (↑T) n) (crrDown σ (↑T) n) (crrStep (↑T) n)) (europeanCall K T)) Filter.atTop (nhds (Contract.value Q (fun x x_1 => Real.exp (-r * ↑T)) (assets S₀ r σ (↑T) Z) (europeanCall K T)))∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {W : NNReal → Ω → ℝ} {μ : Measure Ω} [IsProbabilityMeasure μ] (hW : IsPreBrownianReal W μ) (hWmeas : ∀ (t : NNReal), Measurable (W t)) {S_0 m r σ : ℝ}, σ ≠ 0 → ∀ (H : NNReal) {D : NNReal → Ω → ℝ} (c : Contract Unit), c.FixedDated → (∀ p ∈ c.obsList, p.2 ≤ H) → Contract.value (constGirsanovMeasure hW hWmeas ((m - r) / σ) H) D (pathAssets S_0 m σ W) c = Contract.value (constGirsanovMeasure hW hWmeas ((m - r) / σ) H) D (pathAssets S_0 r σ (constBtheta hWmeas ((m - r) / σ) H)) c∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {W : NNReal → Ω → ℝ} {μ : Measure Ω} [IsProbabilityMeasure μ] (hW : IsPreBrownianReal W μ) (hWmeas : ∀ (t : NNReal), Measurable (W t)) {S_0 K m r σ : ℝ} {T H : NNReal}, T ≤ H → 0 < S_0 → 0 < K → 0 < σ → 0 < ↑T → Contract.value (constGirsanovMeasure hW hWmeas ((m - r) / σ) H) (fun x x_1 => Real.exp (-r * ↑T)) (pathAssets S_0 m σ W) (europeanCall K T) = S_0 * Phi (bsd1 S_0 K r σ ↑T) - K * Real.exp (-r * ↑T) * Phi (bsd2 S_0 K r σ ↑T)Builds on
Blueprint results and other landmarks this declaration uses, transitively, from the nearest to the foundations.
- Value of a contract uses Contract
- Contract
Interest rates
In Hull–White with continuous forcing (and Vasicek), with the short rate in its Wiener-integral representation and the Brownian measure read as the pricing measure, the bond price at t is A_t(T−t)·e^{−B(T−t)r_t} almost surely; the bond put is a Black put on a bond that is lognormal under the forward measure (Jamshidian), and a caplet is 1+δK such puts. For any discount factor, a swap rate tied to the bonds by a model bundle gives the payer swaption as A(0)·E^A[(S−K)⁺] and the CMS swaplet as its forward value plus an exact covariance adjustment. In a Heath–Jarrow–Morton bundle, fixed cash flows are worth ΣP(0,tᵢ)cᵢ given a deterministic time-0 curve and the pricing hypothesis E[D(tᵢ)] = P(0,tᵢ).
Not proved. That the Wiener-integral representation solves the short-rate SDE, and the swap of time integrals behind the integrated rate, are cited, not proved. Outside these two models the observed bond is a hypothesis of the model bundle, and so is the lognormality behind the Black-76 caplet and Black's swaption formula. The CMS adjustment is exact for payment at the fixing date; its sign is proved only when every bond but the last is known at the fixing date. The HJM valuation is conditional on the bond-pricing hypothesis, which the HJM drift condition would deliver and which is not proved; the drift condition and the bond dynamics are not proved.
The Lean statement
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (hBm : ∀ (s : NNReal), Measurable (B s)) {θ : ℝ → ℝ}, Continuous θ → ∀ (κ σ r₀ : ℝ) (hκ : 0 < κ) {t T : NNReal}, t ≤ T → bondPrice μ (Filtration.natural B ⋯) (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) t T =ᵐ[μ] fun ω => bondA (fun s => θ (↑t + s)) σ κ ↑(T - t) * Real.exp (-(vasicekBondB κ ↑(T - t) * integratedRate hB θ κ σ r₀ hκ t ω))∀ {ι : Type u_1} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} {X : ι → NNReal → Ω → ℝ} {b : ι} {T₀ T₁ : NNReal} (hB : IsPreBrownianReal B μ) (hBm : ∀ (s : NNReal), Measurable (B s)) {θ : ℝ → ℝ}, Continuous θ → ∀ (κ σ r₀ : ℝ) (hκ : 0 < κ), 0 < T₀ → T₀ < T₁ → σ ≠ 0 → X b T₀ =ᵐ[μ] bondPrice μ (Filtration.natural B ⋯) (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₀ T₁ → ∀ {k : ℝ}, 0 < k → Contract.value μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) X (bondPut b T₀ k) = zeroCurve μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₀ * k * Phi (-bsd2 (zeroCurve μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₁ / zeroCurve μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₀) k 0 (vasicekBondB κ ↑(T₁ - T₀) * √(vasicekSDEVariance σ κ ↑T₀)) 1) - zeroCurve μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₁ * Phi (-bsd1 (zeroCurve μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₁ / zeroCurve μ (shortRateDiscount (bondRate hB θ κ σ r₀ hκ)) T₀) k 0 (vasicekBondB κ ↑(T₁ - T₀) * √(vasicekSDEVariance σ κ ↑T₀)) 1)∀ {ι : Type u_1} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {𝓕 : Filtration NNReal mΩ} {D : NNReal → Ω → ℝ} {X : ι → NNReal → Ω → ℝ} {b ℓ : ι} {T₀ T₁ : NNReal} {δ : ℝ}, BondModel Q 𝓕 D X b ℓ T₀ T₁ δ → ∀ {K : ℝ}, 0 < 1 + δ * K → Integrable (fun ω => D T₁ ω * (δ * max (X ℓ T₀ ω - K) 0)) Q → Contract.value Q D X (caplet ℓ T₀ T₁ δ K) = (1 + δ * K) * Contract.value Q D X (bondPut b T₀ (1 / (1 + δ * K)))∀ {ι : Type u_1} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {𝓕 : Filtration NNReal mΩ} {D : NNReal → Ω → ℝ} {X : ι → NNReal → Ω → ℝ} {σ : ι} {b : ℕ → ι} {T : ℕ → NNReal} {n : ℕ} {δ : ℝ}, SwapModel Q 𝓕 D X σ b T n δ → ∀ (K : ℝ), Contract.value Q D X (payerSwaption b (T 0) n δ K) = annuity δ (fun i => zeroCurve Q D (T i)) (Finset.Icc 1 n) * ∫ (ω : Ω), max (X σ (T 0) ω - K) 0 ∂swapAnnuityMeasure Q D X b T n δ∀ {ι : Type u_1} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {𝓕 : Filtration NNReal mΩ} {D : NNReal → Ω → ℝ} {X : ι → NNReal → Ω → ℝ} {σ : ι} {b : ℕ → ι} {T : ℕ → NNReal} {n : ℕ} {δ : ℝ}, SwapModel Q 𝓕 D X σ b T n δ → Contract.value Q D X (cmsSwaplet σ (T 0)) = zeroCurve Q D (T 0) * parSwapRate (zeroCurve Q D (T 0)) (zeroCurve Q D (T n)) (annuity δ (fun i => zeroCurve Q D (T i)) (Finset.Icc 1 n)) + annuity δ (fun i => zeroCurve Q D (T i)) (Finset.Icc 1 n) * (∫ (ω : Ω), X σ (T 0) ω / annuityRandom δ (swapCurve X b (T 0)) (Finset.Icc 1 n) ω ∂swapAnnuityMeasure Q D X b T n δ - (∫ (ω : Ω), X σ (T 0) ω ∂swapAnnuityMeasure Q D X b T n δ) * ∫ (ω : Ω), (annuityRandom δ (swapCurve X b (T 0)) (Finset.Icc 1 n) ω)⁻¹ ∂swapAnnuityMeasure Q D X b T n δ)∀ {ι : Type u_1} {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} {hB : IsPreBrownianReal B μ} {hBmeas : ∀ (t : NNReal), Measurable (B t)} {H : NNReal} (M : HJMModel μ hB hBmeas H) (X : ι → NNReal → Ω → ℝ) (t : ℕ → NNReal) (c : ℕ → ℝ) (n : ℕ) {P : NNReal → ℝ}, (∀ i < n, ∀ (ω : Ω), M.bond 0 (t i) ω = P (t i)) → (∀ i < n, ∫ (ω : Ω), M.discount (t i) ω ∂μ = P (t i)) → Contract.value μ M.discount X (fixedFlows t c n) = ∑ i ∈ Finset.range n, P (t i) * c i