Skip to content
An Econ-ARK project

Appendix E — Catalogues

Summary

These catalogues summarize the calculus's fields, functions, operators, parameters and numerical choices. The method types that a methods file can name are listed with the language, each with the operation of these catalogues it realizes.

Relationship with other documents

Builds on — Fields, functions and types and Operators and builders define the mathematical objects. Formal account — Kinds and sorts defines the words these catalogues use: kinds, sorts, declared sets, the admissible sets of the parameters and of the settings, and the signatures of a stage. Used by — Method types and Expression forms: the language's catalogues, whose rows link to the operations of Operators; Methodization and The Bellman factory: the current numerical attachment forms and the binding of stage occurrences.

The catalogues of fields, functions and operators describe the objects and function spaces used in the mathematical interpretation Υ. Methods describes the numerical procedures of the construction Ρ. These maps distinguish meaning from numerical computation.

Part Catalogue What it lists
E.1 Fields Fields, each with its role, its declared set and its perch or, for a shock, its transition.
E.2 Functions Representing functions, laws of motion, aggregators and policies with their domains.
E.3 Operators Mathematical operations with their ranks, the input and output sorts of each.
E.4 Parameters and settings Parameters, which the stage file declares, and settings, which a methods file declares, with what each determines.

Related language references

Bellman-SYM's Methodization page, listed under Used by above, explains how to attach numerical choices to a declared stage.

These catalogues list the objects of the calculus. Kinds and sorts defines the words of the type system that they use, and the source grammar fixes the written forms.

1. Catalogue entries

Entry Meaning Reference
Operator A mathematical operation with a rank, its input sorts and its output sort (Kinds and sorts §3). Operators
Method A numerical procedure for a supported place. Methods
Settings Names that a methods file declares with a set, which the methods and the grids read (Kinds and sorts §4). Parameters and settings
Handler The implementation of a numerical procedure, including its input/output requirements. Handler

A method may require its own representation and equation inputs. Initial-algebra semantics states conditions for exact interpretation and refinement; Operator algebra §6 explains why numerical accuracy and stability require additional assumptions. No ordering between method tags and operator symbols is inferred merely from these inventory categories.

2. Types and equation inputs

Matching sorts allow composition. Two operators compose when the output sort of the first is the input sort of the second (Methods §3). Distinct operations can have the same rank without the same meaning. An approximate method can change the values received by subsequent operations even when its declared boundaries agree. Numerical representation compatibility and approximation error must therefore be checked separately.

The model supplies its equations. Stage equations and local definitions are authored in .bl. Method entries select supported places and supply numerical choices; they do not invent omitted economic relations or make an implicit equation optimal. The current source rules of Bellman-SYM's Methodization page determine permitted place and reference forms. A method's tag binds no equation.

The method's documented options, the keyword arguments of its method word, specify the numerical inputs it accepts, and the value of an option may name a declared setting. A handler must interpret those options as intended by its package. A discrete economic state or action space that the model declares is the declared set of a field and no grid. A grid approximates a continuous domain, and the grid word that names it takes settings among its arguments (Kinds and sorts §4). The same integer or real value can be a parameter or a setting: the file that declares it decides which, and the author chooses the file by what the value changes.

3. Authoring

Stage source is .bl. A methods file is a .bl file as well: it writes the methods and the grids and declares the settings with their sets. YAML files hold the calibration, the values of the settings and the specification recipes. Bellman-SYM's Methodization page gives the current syntax and distinguishes a declared place from an available method attachment, and its page on the Bellman factory explains how bindings are resolved for stage occurrences.

Before using a method, establish that the place exists, the handler supports the required operation and its assumptions hold for the model. The comparison with other toolkits, the coverage map of the Rosetta stone, which is being rebuilt, is a separate inventory, not a default handler-selection rule.