Chapter I, Theorem 1 — existence and uniqueness for the allocation equation
ProvedBellmanDP.Allocation.allocation_equation_exists_uniqueLet and satisfy:
- and are continuous for , and ;
- with and , for all ;
- and .
Then the equation
has a solution that is continuous at with ; this solution is continuous for all ; and any other solution that is continuous at with value there coincides with on .
The equation describes the total return of an infinite-stage process in which a resource is split between two activities with returns and and depreciation factors and . The theorem is what makes "the solution" of this equation meaningful: without the side condition at uniqueness fails (for every constant, and the indicator of , are solutions).
Formalization Note Functions are ℝ → ℝ, and all hypotheses and conclusions concern only; continuity at is one-sided (within ) and uniqueness is equality on . The maximum in the equation is required to be attained for every .
import Mathlib import Definitions.Def_BellmanDP_Allocation_Model
namespace BellmanDP.Allocation
/-- Bellman, *Dynamic Programming*, Ch. I, Theorem 1, p. 12. Under (1a)–(1c) the equation (8.1)
`f(x) = Max_{0 ≤ y ≤ x} [g(y) + h(x − y) + f(ay + b(x − y))]` has a solution on `x ≥ 0` that is
continuous at `x = 0` with value `0` there; it is continuous for all `x ≥ 0`; and every solution
continuous at `0` with value `0` there coincides with it on `x ≥ 0`. -/
theorem allocation_equation_exists_unique (g h : ℝ → ℝ) (a b : ℝ)
(hyp : AllocationHyp g h a b) :
∃ f : ℝ → ℝ, IsAllocationSolution g h a b f ∧
ContinuousWithinAt f (Set.Ici 0) 0 ∧ f 0 = 0 ∧
ContinuousOn f (Set.Ici 0) ∧
∀ F : ℝ → ℝ, IsAllocationSolution g h a b F →
ContinuousWithinAt F (Set.Ici 0) 0 → F 0 = 0 →
∀ x : ℝ, 0 ≤ x → F x = f x := by sorry
end BellmanDP.Allocation
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.