RIC-STEM v1 — Deterministic STEM engine

This page talks directly to the RIC substrate. Every run below is a deterministic math program: fixed-point Q32 arithmetic, no floats in core, no randomness, and full replay.

What this proves
  • All differential equations and linear systems run on the same substrate that powers the legality demo.
  • Same JSON request → same bitwise answer across machines and time.
  • The substrate exposes global counters at GET /metrics so you can see STEM usage rise in real time.

For a high-level walk-through, see the RIC-STEM v1 overview →

Live substrate status

Live metrics from substrate

RIC v2 online

Loading live metrics from the substrate…

1. ODE — Linear system

This sends an ODE specification to the substrate at POST /stem/run via the Next.js endpoint /api/stem-run. All integration runs in fixed-point Q32 on the backend.

Default example: dy/dt = -y with y(0) = 1, integrated from t = 0 to t = 1 with step dt = 0.25.

2. Algebra — Linear solver

This solves Ax = b on the same deterministic substrate. The UI calls POST /algebra/run through /api/algebra-run. The backend returns both raw Q32 integers and float views.

Default example: 2×2 system that solves to x ≈ [1.666666, 0.666666].