Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.6.6 — explicit solution of the mean-variance problem (MV) [GOAL]

Disproved
MDPFinance.MeanVariance.mean_variance_solution

by Shuze Chen · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programminglagrangian-dualitymarkov-decision-processmathematical-financemean-varianceportfolio-optimization

With (dn)(d_n)(dn​) as in Eq. (4.34): a) the value of (MV) is

Varx0π∗[XN]=d01−d0(Ex0π∗[XN]−x0SN0)2,Ex0π∗[XN]=μ;\mathrm{Var}_{x_0}^{\pi^*}[X_N] = \frac{d_0}{1-d_0}\big(\mathbb{E}_{x_0}^{\pi^*}[X_N] - x_0S^0_N\big)^2, \qquad \mathbb{E}_{x_0}^{\pi^*}[X_N] = \mu;Varx0​π∗​[XN​]=1−d0​d0​​(Ex0​π∗​[XN​]−x0​SN0​)2,Ex0​π∗​[XN​]=μ;

b) the optimal portfolio strategy π∗=(f0∗,…,fN−1∗)\pi^*=(f_0^*,\dots,f_{N-1}^*)π∗=(f0∗​,…,fN−1∗​) is

fn∗(x)=(μ−d0x0SN01−d0⋅Sn0SN0−x) Cn+1−1 E[Rn+1],x∈E.f_n^*(x) = \Big(\frac{\mu-d_0x_0S^0_N}{1-d_0}\cdot\frac{S^0_n}{S^0_N} - x\Big)\, C_{n+1}^{-1}\,\mathbb{E}[R_{n+1}], \qquad x\in E.fn∗​(x)=(1−d0​μ−d0​x0​SN0​​⋅SN0​Sn0​​−x)Cn+1−1​E[Rn+1​],x∈E.

This is the goal of the mission: the payoff of the Lagrangian-embedding technique built across Lemmas 4.6.1-4.6.4 and Theorem 4.6.5. Mean-variance portfolio selection is not a standard expected-utility Markov Decision Problem — the variance term is not linear in the underlying probability measure, so no Bellman equation for it exists directly. The book's route embeds (MV) into the tractable quadratic problem QP(b)QP(b)QP(b) via a Lagrange multiplier and a saddle-point argument, then specializes Theorem 4.6.5's closed form at the multiplier λ∗=(μ−x0SN0)d0/(1−d0)\lambda^* = (\mu-x_0S^0_N)d_0/(1-d_0)λ∗=(μ−x0​SN0​)d0​/(1−d0​), i.e. b∗=μ+λ∗b^*=\mu+\lambda^*b∗=μ+λ∗, to get this theorem's explicit frontier and feedback policy.

Formalization Note. A formalization that solved (MV) by applying chunk 02a's Structure Theorem directly to the variance objective — skipping the Lagrangian embedding entirely — would not prove what this theorem proves (and would not even typecheck as a faithful Bellman equation, since Varx0π[XN]\mathrm{Var}_{x_0}^\pi[X_N]Varx0​π​[XN​] has no such recursion); mean_variance_solution is stated purely in terms of IsOptimalMV, varXN and meanXN from MVMarket, deliberately independent of any intermediate Bellman value function, so that only the actual saddle-point route (via saddle_point_value, plambda_implies_qp, qp_solution) can discharge it.

Formalization Note (moderation). 0<d0<10<d_0<10<d0​<1 is Lemma 4.6.4 under the model's Assumption (FM), not an extra hypothesis.


Retired (2026-10-07). This statement was disproved: the accepted counterexample shows the formal statement does not faithfully state the cited source result, so it is deprecated and should not be built on.

Preamble
import Mathlib
import Definitions.Def_MDPFinance_MeanVariance_MVMarket
import Definitions.Def_MDPFinance_MeanVariance_MVAuxiliary

open MeasureTheory ProbabilityTheory
Formal statement
namespace MDPFinance.MeanVariance

/-- Theorem 4.6.6 (Bäuerle–Rieder, p. 123, PDF 137) — the goal of this mission. Let `(d_n)` be
as in Eq. (4.34). For the mean-variance problem `(MV)` (under the section's standing Assumption
(FM), carried by the model): a) the value is
`Var^{π^*}_{x_0}[X_N] = (d_0/(1-d_0))(𝔼^{π^*}_{x_0}[X_N] - x_0S⁰_N)^2`, and
`𝔼^{π^*}_{x_0}[X_N] = μ`; b) the optimal portfolio strategy `π^* = (f_0^*,…,f_{N-1}^*)` is
`f_n^*(x) = ((μ-d_0x_0S⁰_N)/(1-d_0) · S⁰_n/S⁰_N - x) C_{n+1}^{-1}𝔼[R_{n+1}]`. -/
theorem mean_variance_solution {Ω : Type*} [MeasurableSpace Ω] {d : ℕ} (M : MVMarket Ω d)
    (dseq : ℕ → ℝ) (hdN : dseq M.N = 1)
    (hdrec : ∀ n < M.N, dseq n = dseq (n + 1) * (1 - M.ell (n + 1))) :
    ∃ πstar : ℕ → ℝ → (Fin d → ℝ), M.IsOptimalMV πstar ∧
      M.varXN πstar = (dseq 0 / (1 - dseq 0)) * (M.meanXN πstar - M.x0 * M.S0 M.N) ^ 2 ∧
      M.meanXN πstar = M.μ ∧
      (∀ n < M.N, ∀ x : ℝ, πstar n x =
        fun k => ((M.μ - dseq 0 * M.x0 * M.S0 M.N) / (1 - dseq 0) * (M.S0 n / M.S0 M.N) - x) *
          ((M.Cmat (n + 1))⁻¹.mulVec (M.Evec (n + 1)) k)) := by sorry

end MDPFinance.MeanVariance
Source
Bäuerle and Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer 2011, DOI 10.1007/978-3-642-18324-9, p. 123, PDF 137, Theorem 4.6.6
Human review
  • Endorsed by Community (Bot) · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 1, 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