Bellman-SYM¶
Bellman-SYM is the declarative language used to write a staged Bellman problem. A modeler states domains, information, choices, equations, and shock probability distributions in a .bl stage file. The expression syntax comes from dynspec, the host language for these declarations and equations. Outer YAML files assemble stage files into periods and a trellis, and supply methods, settings, and calibration.
Start with an economic model¶
The stage walkthrough introduces consumption after income is observed. It explains why beginning assets, resources at the consumption decision, and savings for continuation have different information contexts. The later field-equation example separates consumption into a reusable stage file before adding discounting and investment.
A stage identifier or block name supplies an address; it does not supply an equation. A solver choice likewise cannot fill in a missing budget constraint or objective. The modeler states these relationships explicitly.
Syntax, meaning, and computation¶
Syntax describes the written source and its parsed abstract syntax tree (AST). The meaning construction interprets that temporary AST as a semgraph (semantic graph) with retained equations and definitions. Methodization, calibration, and settings provide the numerical choices and values required for a particular calculation. Successful parsing alone establishes neither an economically admissible model nor a solved policy.
The language guide explains what to write and inspect. The Bellman calculus develops the mathematical interpretation and its assumptions in its chapters.