Bellman calculus¶
Summary
The Bellman calculus describes staged recursive decision problems through their states, information, equations and composed operators. These pages explain the mathematical interpretation, with one buffer-stock running example and explicitly unfinished chapters on composition.
Relationship with other documents
Used by — Bellman-SYM documents the .bl stage files and methods files and the supporting YAML whose meaning these pages state; Bellman-SYM's Appendix C states the interpretation rules and their assumptions.
See also — Concept wiki provides linked definitions.
1. Purpose¶
A recursive dynamic program specifies sequential choices, current rewards and continuation values. The calculus records which information is available at each stage and how its operations compose. It distinguishes random fields from representing functions, mathematical interpretation from numerical approximation, and fixed-policy evaluation from optimization.
The intended reader is an economist interpreting or constructing a model. The exposition uses mathematical prose and selected derivations; unfinished sections remain labeled. A typed graph does not by itself prove integrability, optimal selection or numerical convergence. The source rules and Python interfaces belong to Bellman-SYM, while these pages discuss their mathematical meaning.
2. Reading order¶
Start with Introduction and the buffer-stock example, then read stages, fields and operators. The branching notes contain further example outlines; they are not additional fully developed running examples.
| Page | Subject |
|---|---|
| Introduction | Source, mathematical interpretation and numerical computation. |
| Illustrative example | The buffer-stock Bellman equation and staged factorization. |
| Stages and perches | Information, sufficient states, conditional laws and stage operators. |
| Fields, functions and types | Random quantities, declared sets, representative functions and binding. |
| Operators and builders | Unfinished notes on transition expectation, evaluation, selection and implicit relations. |
| Methods | The signature of an operator with its method and grid components, composition over the field component, the grid as a retract, the handler, the two erasures and the two levels of a stage. |
| Stage composition | Unfinished notes on compatible joins within periods. |
| Periods and the trellis | A trellis as a diagram of connected periods; repeated maps on continuation fields and their stationary fixed points. |
| Branching | Unfinished notes on labeled choices and exogenous selection. |
| Semi-conjugacy | Unfinished notes on conditional relations between operator forms. |
| Abstract grammar | Mathematical composition notation and its distinction from concrete source grammar. |
| Ingredients | Symbol and terminology reference. |
3. Appendices and catalogues¶
| Reference | Subject |
|---|---|
| Appendix A — Semantics | Source interpretation, retained equations and numerical attachments. |
| Appendix B — Initial-algebra semantics | Ground/free terms, specified interpretations and exact refinement. |
| Appendix C — The stage term | Typed builder symbols and compatible stage compositions. |
| Appendix D — Kinds and sorts | The type system on one account: kinds and sorts, the sort a written type names, the admissible sets of the parameters and of the settings, and the signatures, models and versions of a stage. |
| Appendix F — Operator algebra | Composition, transition pairing, branching and numerical obligations. |
| Appendix G — Functional programming | Primitive objects, typed expressions, stages, the calibration, methodization and configuration functors, and numerical realization. |
| Appendix H — Modularity | Repeated declarations, shared calibration and equality of operator interpretations. |
| Catalogue index | Field, function, operator and parameter/settings inventories. |
| Fields | Field declarations, declared sets and representatives. |
| Functions | Typed functions and their mathematical roles. |
| Operators | Operations and their input and output sorts. |
| Parameters and settings | Economic model inputs and numerical choices. |