Eq. (8.3), corrected — Bellman's index rule for the gold-mining problem, with , in place of the misprinted ,
ProvedBellmanTheoryDP.GoldMining.gold_mining_decision_ruleIn Bellman's gold-mining problem, let and , let be the optimal return, and let
be the two branches of the functional equation (8.2) (use Anaconda first, resp. Bonanza first, then continue optimally). Then
- if , then (choose );
- if , then (choose );
- if , then (choose either).
The optimal decision is therefore determined by comparing, for each mine, the immediate expected gain (resp. ) with the immediate expected loss (resp. ), the probability of destroying the machine.
The paper prints , in the denominators; this is a misprint, and the statement uses , , which is the rule the paper describes in words ("immediate expected gain over immediate expected loss"). As printed the rule is false: for , , , , , the printed indices are , but .
Formalization Note The parameter ranges are left implicit in the paper; the statement takes (so the divisions by and are by positive numbers) and , amounts which may be zero. Parts 1 and 2 are strict preferences.
import Mathlib import Definitions.Def_BellmanTheoryDP_GoldMining_Model
namespace BellmanTheoryDP.GoldMining
/-- Bellman (1954), Eq. (8.3), with the printed denominators `(1 - r)`, `(1 - s)` corrected to
`(1 - p)`, `(1 - q)`: comparing the two branches of (8.2),
`V_A = p [r x + f((1-r) x, y)]` and `V_B = q [s y + f(x, (1-s) y)]`,
(a) if `p r x / (1 - p) > q s y / (1 - q)` then `V_A > V_B` (choose A);
(b) if `p r x / (1 - p) < q s y / (1 - q)` then `V_A < V_B` (choose B);
(c) if `p r x / (1 - p) = q s y / (1 - q)` then `V_A = V_B` (choose either). -/
theorem gold_mining_decision_rule (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) :
(q * s * y / (1 - q) < p * r * x / (1 - p) →
q * (s * y + optimalReturn p q r s x ((1 - s) * y)) <
p * (r * x + optimalReturn p q r s ((1 - r) * x) y)) ∧
(p * r * x / (1 - p) < q * s * y / (1 - q) →
p * (r * x + optimalReturn p q r s ((1 - r) * x) y) <
q * (s * y + optimalReturn p q r s x ((1 - s) * y))) ∧
(p * r * x / (1 - p) = q * s * y / (1 - q) →
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
Fix six real numbers that satisfy
The statement uses one function from an imported definitions file (optimalReturn in BellmanTheoryDP.GoldMining). This read-back writes it as . It is a real number that depends on the four parameters and on two real arguments . The declaration shown does not include the definition's body, so this read-back cannot say what computes. Every claim below holds only in whatever sense that definition gives it. For short, set
For all such , the statement claims that all three of these implications hold at once:
- (a) if , then ;
- (b) if , then ;
- (c) if , then .
These are only implications. The statement does not say which of the three cases holds for given data. All inequalities are strict in (a) and (b), and (c) asks for exact equality. The statement makes no claim about how and relate to itself.
Degenerate cases:
- Division. Because and , the denominators and are strictly positive. No division by zero happens, and and are ordinary nonnegative real numbers.
- Parameter ranges. all lie strictly inside , so none of them can be or . The hypotheses can clearly be satisfied, for example with and . The arguments passed to , namely , , and , are all nonnegative.
- One pile empty. If and , then and (b) asserts that
Symmetrically, if and , (a) asserts that
- Both piles empty. If , then and (c) asserts that
Nothing requires , so this can only hold for every admissible if the imported definition gives .
Whether any of these instances, or the general claim, is true depends entirely on the imported definition of , which this declaration does not show.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.