Eq. (8.2) — the gold-mining functional equation
ProvedBellmanTheoryDP.GoldMining.optimal_return_functional_equationIn Bellman's gold-mining problem, let be the success probabilities and mined fractions of Anaconda and Bonanza, and let be the optimal return from amounts in Anaconda and in Bonanza (the supremum of the expected gold mined over all choice sequences). Then
The first branch is the value of using Anaconda first and continuing optimally, the second that of using Bonanza first.
This is the principle of optimality applied to Problem 2, and the instance for this process of the paper's general stochastic functional equation (5.1). It reduces the optimization over infinite sequences to a one-step comparison.
Formalization Note The paper leaves the ranges of the parameters implicit; the statement takes and . The function is the supremum over all choice sequences (optimalReturn), not a solution of the equation, so the equation has content.
import Mathlib import Definitions.Def_BellmanTheoryDP_GoldMining_Model
namespace BellmanTheoryDP.GoldMining
/-- Bellman (1954), Eq. (8.2): the optimal return `f(x, y)` of the two-mine problem satisfies
`f(x, y) = max (p [r x + f((1-r) x, y)]) (q [s y + f(x, (1-s) y)])`. -/
theorem optimal_return_functional_equation (p q r s x y : ℝ)
(hp0 : 0 < p) (hp1 : p < 1) (hq0 : 0 < q) (hq1 : q < 1)
(hr0 : 0 < r) (hr1 : r < 1) (hs0 : 0 < s) (hs1 : s < 1)
(hx : 0 ≤ x) (hy : 0 ≤ y) :
optimalReturn p q r s x y =
max (p * (r * x + optimalReturn p q r s ((1 - r) * x) y))
(q * (s * y + optimalReturn p q r s x ((1 - s) * y))) := by sorry
end BellmanTheoryDP.GoldMining
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setup.
- Real numbers with (each separately), and .
- For a sequence and amounts , the expected return is
Here and . The gain is if , and if . The counts and are the numbers of with and . The sum is defined to be if not summable.
- The optimal return is , the real-number supremum. It is defined to be if the values are unbounded above.
The statement asserts:
Degenerate cases.
- The claim is only about the given point . The shifted points and again have nonnegative coordinates.
- With , the statement reads .
- The equation is between values as defined, including the convention that an unbounded supremum equals . This statement does not itself assert boundedness or that any supremum is attained.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.