A Markov control chooses its action from the current time and state, , rather than the full past. It gives transition probabilities , hence a time-inhomogeneous Markov chain.
For any admissible control, the given inequality and conditional expectation imply
Take expectations and sum from zero to . The value terms telescope, and gives . For every inequality is equality, so its cost is exactly and it achieves the lower bound. Thus is optimal. Boundedness of and the usual integrability of the costs justify these expectations; the argument even compares it with history-dependent controls.
For the cards, let be the remaining red and black counts, . Betting now succeeds with probability . For , elementary simplification gives
with zero-probability transitions omitted when a colour count vanishes. Thus continuing one reveal has exactly the same conditional winning probability as betting now. The backward value function for maximal success probability is at , and induction makes it at every earlier state: the stop and continue values coincide. Equivalently the conditional success probabilities are a bounded martingale, and every permitted stopping time is bounded by the time at which two cards remain.
Therefore any adapted betting rule that makes exactly one bet while at least two cards remain is optimal; there is no strictly advantageous moment. Betting immediately is one simple optimal rule, with winning probability . The stake size only rescales a fixed payoff, and does not alter this comparison. This is unchanging betting probability under sampling without replacement; allowing the player never to bet would be a different problem.