For a Markov process with reward , the value starting at time in state is the supremum of expected rewards over admissible stopping times. In finite discrete time it obeys and for the transition operator , wherever expectations are well-defined. Statewise absolute integrability of every remaining-horizon reward makes these values finite.
For the intended random walk model, take to be deterministic, or independent of all the independent and identically distributed random variables . If is their common probability distribution, then is independent of . This supplies the Markov property that the backward dynamic programming argument needs. Define the transition operator
and the deterministic optimal stopping value function recursively by
At any state where the conditional law is evaluated, independence gives
Backward induction, starting with , proves the intended representation
Integrability along the actual random walk makes the recursion finite at the states used by that process, up to null sets. If finite real-valued value functions on all of are intended, a convenient sufficient convention is statewise integrability: for every and . Indeed each stopping value is bounded in absolute value by the expectation of the sum of the absolute rewards. This convention makes the displayed recursion finite and measurable everywhere; the source only assumes integrability from the given starting process.
The printed independence of the increments alone does not suffice if can reveal future increments. Here is a bounded finite-state counterexample, also with a convex reward. Let , let be independent fair signs, and set
The two increments are exactly , hence independent and identically distributed. But already knows both signs, so . On the two positive-probability histories with , its values are respectively and . Thus no deterministic can work. Adding independence of from the increments repairs this missing Markov property hypothesis.
Use the random walk interpretation and optimal stopping value function recursion specified in part (b). If is convex, translating and integrating its convexity inequality gives, for ,
Thus the transition operator preserves convex functions. Also the pointwise maximum of convex functions is convex: each of two convex functions at an intermediate point is bounded by the same convex combination of their pointwise maximum at the endpoints. Starting with , backward induction in
therefore proves the asserted convexity in the intended model:
The statewise integrability convention in part (b) gives finite convex functions on all real states. The same inequality holds for the canonical extended value function wherever the expectations are well-defined. Integrability only along one started process need not make that canonical function finite at unused states: for , , and increment density proportional to , , but for . This concerns the canonical recursion away from visited states, rather than the almost-sure identity for . Arbitrary off-state versions of need not be convex; the recursive version is the one meant here. No zero-mean assumption on the increments was used, and convexity alone does not make a submartingale for an arbitrary drift.