Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 10.3.6 — the Bayesian stopping problem in closed form

Proved
MDPFinance.OptimalStopping.theorem_10_3_6

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

bayesiandynamic-programmingoperations-researchoptimal-stoppingoptimizationprobability

Theorem 10.3.6 (p. 326), for the exponential-offer, Inverse-Gamma-prior instance of the Bayesian stopping problem (Example 10.3.5).

a) The functions cN−kc_{N-k}cN−k​ separate in the variables: cN−k(s,k)=(b+s)c^N−kc_{N-k}(s,k) = (b+s)\hat c_{N-k}cN−k​(s,k)=(b+s)c^N−k​, k=0,…,N−1k = 0,\dots,N-1k=0,…,N−1, and the c^k\hat c_kc^k​ satisfy the recursion

c^1=1N+a−2,c^N−k+1=1k+a−2[(k+a−1)c^N−k+((1−c^N−k)+)k+a−1].\hat c_1 = \frac{1}{N+a-2}, \qquad \hat c_{N-k+1} = \frac{1}{k+a-2}\Big[(k+a-1)\hat c_{N-k} + \big((1-\hat c_{N-k})^+\big)^{k+a-1}\Big].c^1​=N+a−21​,c^N−k+1​=k+a−21​[(k+a−1)c^N−k​+((1−c^N−k​)+)k+a−1].

Moreover the c^k\hat c_kc^k​ are increasing in kkk, and we define n∗=n∗(N):=max⁡{k∈{1,…,N}∣c^N−k+1≥1}n^* = n^*(N) := \max\{k \in \{1,\dots,N\} \mid \hat c_{N-k+1} \ge 1\}n∗=n∗(N):=max{k∈{1,…,N}∣c^N−k+1​≥1} with max⁡∅:=0\max\emptyset := 0max∅:=0. b) The c^k\hat c_kc^k​ are decreasing in the time horizon NNN and n∗n^*n∗ is increasing in NNN. c) The optimal policy (fN∗,…,f1∗)(f_N^*,\dots,f_1^*)(fN∗​,…,f1∗​) satisfies fN−k∗≡0f_{N-k}^* \equiv 0fN−k∗​≡0 for k=0,…,n∗−1k = 0,\dots,n^*-1k=0,…,n∗−1. d) The maximal expected reward of the Bayesian stopping problem is given by JN(0,(0,0))=b c^NJ_N(0,(0,0)) = b\,\hat c_NJN​(0,(0,0))=bc^N​.

The chapter's most concrete result: an infinite-dimensional Bayesian stopping problem collapses, for this conjugate family, to a one-dimensional recursion.

The last term of the recursion is a power, not a quotient. It is ((1−c^N−k)+)k+a−1\big((1-\hat c_{N-k})^+\big)^{k+a-1}((1−c^N−k​)+)k+a−1, raised to the exponent k+a−1k+a-1k+a−1. The text extraction of that line drops the exponent's braces, and the reading of it as a division (1−c^N−k)+/(k+a−1)(1-\hat c_{N-k})^+/(k+a-1)(1−c^N−k​)+/(k+a−1) is wrong; the form above is confirmed against a 400 dpi render of the page. The exponent is real, not natural, since a>1a > 1a>1 is a real shape parameter.

a)'s separation is the whole point and is what makes the rest computable: cN−k(s,k)c_{N-k}(s,k)cN−k​(s,k) depends on the accumulated offer total sss only through the factor (b+s)(b+s)(b+s).

b) compares across horizons, so c^\hat cc^ is indexed by the horizon NNN as well as by kkk; a statement about one fixed NNN could not express it.

c) says the first n∗n^*n∗ stages never stop. fN−k∗≡0f_{N-k}^* \equiv 0fN−k∗​≡0 means "continue in every state"; since the optimal rule stops exactly where x≥cN−k((s,k))x \ge c_{N-k}((s,k))x≥cN−k​((s,k)), that is the assertion that x<cN−k((s,k))x < c_{N-k}((s,k))x<cN−k​((s,k)) at every reachable state of stage kkk. Reachability is carried explicitly as 0≤x≤s0 \le x \le s0≤x≤s: sss is the accumulated total of the offers seen and xxx is the current one, so x≤sx \le sx≤s always, and it is exactly this that c^N−k≥1\hat c_{N-k} \ge 1c^N−k​≥1 turns into x<(b+s)c^N−kx < (b+s)\hat c_{N-k}x<(b+s)c^N−k​. Dropping it would make c) false, since xxx would be free to exceed any threshold.

Moderation note. Checked against pp. 326-328; unchanged (the recursion clauses are definitional for ĉ, the content is the separation, the monotonicity in k and N, c) on the reachable states 0 ≤ x ≤ s, and d)).

Preamble
import Mathlib
import Definitions.Def_MDPFinance_OptimalStopping_Applications

open MeasureTheory
Formal statement
namespace MDPFinance.OptimalStopping

/-- **Theorem 10.3.6** (p. 326), Example 10.3.5. a) `c_{N-k}(s,k) = (b+s) ĉ_{N-k}` for
`k = 0,…,N-1`, the `ĉ` satisfy the recursion `ĉ_1 = 1/(N+a-2)`, `ĉ_{N-k+1} = (1/(k+a-2))
[(k+a-1) ĉ_{N-k} + ((1-ĉ_{N-k})^+)^{k+a-1}]`, and are increasing in `k`; `n^*(N) := max{k ∈
{1,…,N} | ĉ_{N-k+1} ≥ 1}`. b) The `ĉ_k` are decreasing in `N` and `n^*` increasing in `N`.
c) `f^*_{N-k} ≡ 0` for `k = 0,…,n^*-1` (on the reachable states `0 ≤ x ≤ s`). d) `J_N(0,(0,0)) =
b ĉ_N`. -/
theorem theorem_10_3_6 (M : BayesStopping) (N : ℕ) (hN : 1 ≤ N) :
    ((∀ (k : ℕ) (s : ℝ), k ≤ N - 1 → 0 ≤ s →
        M.cfun (N - k) s k = (M.b + s) * M.chat N (N - k)) ∧
      (M.chat N 1 = 1 / ((N : ℝ) + M.a - 2)) ∧
      (∀ k : ℕ, 1 ≤ k → k ≤ N - 1 →
        M.chat N (N - k + 1)
          = (1 / ((k : ℝ) + M.a - 2)) *
              (((k : ℝ) + M.a - 1) * M.chat N (N - k)
                + Real.rpow (max (1 - M.chat N (N - k)) 0) ((k : ℝ) + M.a - 1))) ∧
      (∀ j k : ℕ, 1 ≤ j → j ≤ k → k ≤ N → M.chat N j ≤ M.chat N k)) ∧
    ((∀ (k N₁ N₂ : ℕ), 1 ≤ k → k ≤ N₁ → N₁ ≤ N₂ → M.chat N₂ k ≤ M.chat N₁ k) ∧
      (∀ N₁ N₂ : ℕ, N₁ ≤ N₂ → M.nStar N₁ ≤ M.nStar N₂)) ∧
    (∀ (k : ℕ) (x s : ℝ), k + 1 ≤ M.nStar N → 0 ≤ x → x ≤ s →
      x < M.cfun (N - k) s k) ∧
    (M.J N 0 0 0 = M.b * M.chat N N) := by sorry

end MDPFinance.OptimalStopping
Source
Bäuerle and Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer 2011, DOI 10.1007/978-3-642-18324-9, p. 326 (PDF 334), Theorem 10.3.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