Chapter II, Theorem 4 — the index rule for mines
ProvedBellmanDP.GoldMining.index_rule_n_minesConsider mines holding amounts , , and possible outcomes for each use of the machine. Using mine produces outcome with probability , yields the gold and leaves in mine ; with the remaining probability the machine is destroyed. Assume
Then the functional equation
has a solution bounded on every box , any two such solutions coincide on the orthant, and the solution obeys the index rule: with the decision functions
at every state in the orthant, every index that maximizes over attains the maximum in (4). In case of equality among the , it is a matter of indifference which maximizing index is used.
This is the most general index rule of the chapter; Theorem 2 (, one outcome) and Theorem 3 () are special cases.
Formalization Note Mines are indexed by Fin n and outcomes by Fin K. The hypothesis is added: with no mine the maximum in (4) is over an empty set. "The solution" is the unique solution in the class of functions bounded on every box (the -mine form of Theorem 1's class, per the book's footnote 7), and its existence and uniqueness in that class are part of the statement. The conclusion is the book's: a maximizer of is an optimal choice; the statement does not assert that non-maximizers are suboptimal.
import Mathlib import Definitions.Def_BellmanDP_GoldMining_MultiOutcome
namespace BellmanDP.GoldMining
/-- Bellman, *Dynamic Programming*, Ch. II, Theorem 4, p. 70: `n ≥ 1` mines, `K` outcomes per use.
Under (5): `p_ik ≥ 0`, `Σ_k p_ik < 1` for each `i`, `0 ≤ c_ik ≤ 1`, `c_ik + c'_ik = 1`, the
equation (4) has a solution bounded on every box `0 ≤ x_i ≤ X̄_i`, unique there on the orthant,
and at every state `x ≥ 0` any index `i` maximizing the decision function
`D_i(x) = (Σ_k p_ik c_ik) x_i / (1 − Σ_k p_ik)` attains the maximum in (4) (in case of equality
among maximizers, any of them may be used). -/
theorem index_rule_n_mines (n K : ℕ) (hn : 0 < n) (p c c' : Fin n → Fin K → ℝ)
(hp : ∀ i k, 0 ≤ p i k) (hps : ∀ i, ∑ k, p i k < 1)
(hc0 : ∀ i k, 0 ≤ c i k) (hc1 : ∀ i k, c i k ≤ 1) (hc' : ∀ i k, c i k + c' i k = 1) :
∃ f : (Fin n → ℝ) → ℝ, IsNMineSolution p c c' f ∧ BoundedOnBoxes f ∧
(∀ g : (Fin n → ℝ) → ℝ, IsNMineSolution p c c' g → BoundedOnBoxes g →
∀ x : Fin n → ℝ, (∀ i, 0 ≤ x i) → g x = f x) ∧
∀ x : Fin n → ℝ, (∀ i, 0 ≤ x i) → ∀ i : Fin n,
(∀ j : Fin n, decisionFunction p c x j ≤ decisionFunction p c x i) →
f x = mineOption p c c' f x i := by sorry
end BellmanDP.GoldMining
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.