Stochastic Program IR¶
Stochastic Program IR is a small immutable random-variable algebra for readable, structurally verifiable forward-sampling programs.
Named plates replace positional shape reasoning, explicit reductions replace hidden contractions, and staged materialization replaces mutable RNG state. Operations whose semantics cannot be understood locally—especially arbitrary indexing—are intentionally excluded.
Project resources¶
License¶
Stochastic Program IR is distributed under the BSD 3-Clause License.