Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.3, p. 6 — the solution of (13) is Ht=H0exp⁡(−∫0tms2/vs2 ds)H_t=H_0\exp(-\int_0^t m_s^2/v_s^2\,ds)Ht​=H0​exp(−∫0t​ms2​/vs2​ds)

Proved
DuffieHedge.Optimal.ode_13_solution

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

odep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1real-analysis

Let T≥0T\ge0T≥0, let m,vm,vm,v be measurable functions, bounded on [0,T][0,T][0,T], with ∣vt∣≥δ>0|v_t|\ge\delta>0∣vt​∣≥δ>0 on [0,T][0,T][0,T]. Let HHH be a real function on [0,T][0,T][0,T] such that s↦(ms2/vs2)Hss\mapsto(m_s^2/v_s^2)H_ss↦(ms2​/vs2​)Hs​ is integrable on [0,T][0,T][0,T] and

Ht=H0−∫0tms2vs2Hs ds(t∈[0,T]),H_t=H_0-\int_0^t\frac{m_s^2}{v_s^2}H_s\,ds\qquad(t\in[0,T]),Ht​=H0​−∫0t​vs2​ms2​​Hs​ds(t∈[0,T]),

the integral form of (13). Then

Ht=H0exp⁡(−∫0tms2vs2 ds)for every t∈[0,T].H_t=H_0\exp\Big(-\int_0^t\frac{m_s^2}{v_s^2}\,ds\Big)\qquad\text{for every }t\in[0,T].Ht​=H0​exp(−∫0t​vs2​ms2​​ds)for every t∈[0,T].

This is the uniqueness of solutions of the linear ODE (13); together with H0=0H_0=0H0​=0 it forces H≡0H\equiv0H≡0.

Formalization Note. Stated for an arbitrary real function satisfying (13) in integral form, independently of the stochastic model.

Preamble
import Mathlib
import Definitions.Def_DuffieHedge_Optimal_Basic

open MeasureTheory ProbabilityTheory
open scoped ENNReal NNReal
Formal statement
namespace DuffieHedge.Optimal

/-- §3.3, after Lemma 2 (p. 6): the solution of (13). If `m, v` are measurable and bounded on
`[0, T]`, `v` is bounded away from zero, and a real function `H` satisfies (13) in integral form,
`H_t = H_0 − ∫₀ᵗ (m_s²/v_s²) H_s ds` on `[0, T]`, then
`H_t = H_0 exp(−∫₀ᵗ m_s²/v_s² ds)` on `[0, T]`. -/
theorem ode_13_solution (T : ℝ≥0) (m v : ℝ≥0 → ℝ) (hm : Measurable m) (hv : Measurable v)
    (hbd : ∃ K : ℝ, ∀ t ≤ T, |m t| ≤ K ∧ |v t| ≤ K)
    (hv0 : ∃ δ : ℝ, 0 < δ ∧ ∀ t ≤ T, δ ≤ |v t|)
    (H : ℝ≥0 → ℝ)
    (hint : IntegrableOn (fun s : ℝ => m s.toNNReal ^ 2 / v s.toNNReal ^ 2 * H s.toNNReal)
      (Set.Icc (0 : ℝ) T))
    (hode : ∀ t ≤ T, H t = H 0 - ∫ s in Set.Icc (0 : ℝ) t,
      m s.toNNReal ^ 2 / v s.toNNReal ^ 2 * H s.toNNReal) :
    ∀ t ≤ T, H t = H 0 * Real.exp (-∫ s in Set.Icc (0 : ℝ) t,
      m s.toNNReal ^ 2 / v s.toNNReal ^ 2) := by sorry

end DuffieHedge.Optimal
Source
Duffie and Richardson, Mean-Variance Hedging in Continuous Time, Ann. Appl. Probab. 1(1) (1991), §3.3, after Lemma 2, p. 6
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me