On the correctness of monadic backward induction
Authors:
- Nuria BredeNBNuria Brede
- Nicola BottaNBNicola Botta
Preprint
Abstract
In control theory, to solve a finite-horizon sequential decision problem (SDP) commonly means to find a list of decision rules that result in an optimal expected total reward (or cost) when taking a given number of decision steps. SDPs are routinely solved using Bellman's backward induction. Textbook authors (e.g. Bertsekas or Puterman) typically give more or less formal proofs to show that the backward induction algorithm is correct as solution method for deterministic and stochastic SDPs. Botta, Jansson and Ionescu propose a generic framework for finite horizon, monadic SDPs together with a monadic version of backward induction for solving such SDPs. In monadic SDPs, the monad captures a generic notion of uncertainty, while a generic measure function aggregates rewards. In the present paper we define a notion of correctness for monadic SDPs and identify three conditions that allow us to prove a correctness result for monadic backward induction that is comparable to textbook correctness proofs for ordinary backward induction. The conditions that we impose are fairly general and can be cast in category-theoretical terms using the notion of Eilenberg-Moore-algebra. They hold in familiar settings like those of deterministic or stochastic SDPs but we also give examples in which they fail. Our results show that backward induction can safely be employed for a broader class of SDPs than usually treated in textbooks. However, they also rule out certain instances that were considered admissible in the context of Botta et al.'s generic framework. Our development is formalised in Idris as an extension of the Botta et al. framework and the sources are available as supplementary material.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- On the correctness of monadic backward inductionJournal of Functional Programming, 2021
- Extensional equality preservation and verified generic programmingJournal of Functional Programming, 2021
- Algorithm Design with HaskellJournal of Functional Programming, 2020
- Contributions to a computational theory of policy advice and avoidabilityJournal of Functional Programming, 2017
- Propositions as typesCommunications of the ACM, 2015
- Idris, a general-purpose dependently typed programming language: Design and implementationJournal of Functional Programming, 2013
- Probabilities, distribution monads, and convex categoriesTheoretical Computer Science, 2011
- Proofs of randomized algorithms in CoqScience of Computer Programming, 2009
- FUNCTIONAL PEARLS: Probabilistic functional programming in HaskellJournal of Functional Programming, 2005
- International emissions trading with endogenous allowance choicesJournal of Public Economics, 2003