Skip to content

Julia institution tutorials

Slow-walk worked examples of substrate-hosted Julia institutions. Each one exercises the install flow described in platform §11 — Runtime substrate against a real Julia library, wires up the institution’s chain shapes, and runs at least one verdict end-to-end.

Read in order if this is your first substrate institution. The intervals tutorial covers the substrate plumbing (mirror generator, env image, worker container, AutoOnLoad gate) at a slow pace; the others assume that plumbing knowledge and focus on what’s domain-specific to each institution.

TutorialWrapsWhat’s distinctive
IntervalsIntervalArithmetic.jlThe simplest possible external-runtime institution — one class, one AutoOnLoad gate, one handler. The recommended first read.
SymbolicsSymbolics.jlThree dispatch roles in one institution (AutoOnLoad / OnDemand / Decidable); the FormulaTerm-as-EigenTT-fragment story end-to-end.
CatalystCatalyst.jlChemical reaction networks; companion to the DiffEq tutorial via the Catalyst → DiffEq comorphism.
DiffEqOrdinaryDiffEq.jlODE integration; the gate re-integrates the FormulaTerm RHS to verify a claimed solution.
JuMP-HiGHSJuMP + HiGHSLP/QP optimisation; the smart-pow walker rule that keeps quadratic objectives in QuadExpr rather than NonlinearExpr.

The end-to-end “everything together” demo notebook that exercises all five institutions plus three cross-institution comorphisms lives at notebooks/examples/kinase-institutions.json (setup script: notebooks/examples/kinase-institutions-setup.sh). See platform §8.4 for the demo overview.

Cross-references