Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter VIII, § 15, Eq. (1) (corrected) — fC(∞)=r3x0/(q3+r3)+r4y0/(q3+r4)f_C(\infty) = r_3x_0/(q_3+r_3) + r_4y_0/(q_3+r_4)fC​(∞)=r3​x0​/(q3​+r3​)+r4​y0​/(q3​+r4​)

Proved
BellmanDP.ContGoldMining.constant_C_policy_value

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

dynamic-programminggold-miningoptimal-controlp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1

Consider the three-choice continuous gold-mining process with positive rates q1,q2,q3,r1,r2,r3,r4q_1, q_2, q_3, r_1, r_2, r_3, r_4q1​,q2​,q3​,r1​,r2​,r3​,r4​ and initial amounts x0,y0≥0x_0, y_0 \ge 0x0​,y0​≥0. If decision CCC is used for all t≥0t \ge 0t≥0 (φ3≡1\varphi_3 \equiv 1φ3​≡1), then x(t)=x0e−r3tx(t) = x_0 e^{-r_3 t}x(t)=x0​e−r3​t, y(t)=y0e−r4ty(t) = y_0 e^{-r_4 t}y(t)=y0​e−r4​t, p(t)=e−q3tp(t) = e^{-q_3 t}p(t)=e−q3​t, and the expected total gold is

fC(∞)=r3x0q3+r3+r4y0q3+r4.f_C(\infty) = \frac{r_3 x_0}{q_3 + r_3} + \frac{r_4 y_0}{q_3 + r_4}.fC​(∞)=q3​+r3​r3​x0​​+q3​+r4​r4​y0​​.

Bellman compares this value with fB(∞)=r2y0/(q2+r2)f_B(\infty) = r_2 y_0/(q_2 + r_2)fB​(∞)=r2​y0​/(q2​+r2​) to show that near the yyy-axis BBB is preferable to CCC.

Formalization Note The book prints the first denominator as q2+r3q_2 + r_3q2​+r3​. That is a misprint: under CCC the machine fails at rate q3q_3q3​, and the value above is the integral ∫0∞e−q3t(r3x0e−r3t+r4y0e−r4t) dt\int_0^\infty e^{-q_3 t}(r_3 x_0 e^{-r_3 t} + r_4 y_0 e^{-r_4 t})\,dt∫0∞​e−q3​t(r3​x0​e−r3​t+r4​y0​e−r4​t)dt. For x0=1x_0 = 1x0​=1, y0=0y_0 = 0y0​=0, q2=1q_2 = 1q2​=1, q3=2q_3 = 2q3​=2, r3=1r_3 = 1r3​=1 the process yields 1/31/31/3, while the printed formula gives 1/21/21/2. f(∞)f(\infty)f(∞) is an extended nonnegative real, so the identity is stated with ENNReal.ofReal.

Preamble
import Mathlib
import Definitions.Def_BellmanDP_ContGoldMining_Process
Formal statement
namespace BellmanDP.ContGoldMining

/-- Bellman, *Dynamic Programming*, Ch. VIII, § 15, proof of Lemma 6, Eq. (1), p. 237, corrected:
using `C` for all `t ≥ 0` yields `f_C(∞) = r₃ x₀/(q₃ + r₃) + r₄ y₀/(q₃ + r₄)`
(the print has `q₂ + r₃` in the first denominator). -/
theorem constant_C_policy_value (P : Params) (hP : P.Positive) (x₀ y₀ : ℝ) (hx₀ : 0 ≤ x₀)
    (hy₀ : 0 ≤ y₀) :
    goldInfty P x₀ y₀ (fun i _ => ![0, 0, 1] i) =
      ENNReal.ofReal (P.r₃ * x₀ / (P.q₃ + P.r₃) + P.r₄ * y₀ / (P.q₃ + P.r₄)) := by sorry

end BellmanDP.ContGoldMining
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter VIII, § 15, proof of Lemma 6, Eq. (1), p. 237
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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