SimulatorSystems, agents and memory
A pendulum stepped two ways
A pendulum moves through its phase space: angle across, momentum up. Step it with a method that can be run backwards and with one that cannot, and drag its start.
- across: angle · up: momentum
- Energy at the start
- 0.368
- Energy at the end
- 0.368
- Change in energy
- 0.000
- Returns to its start run backwards
- Yes
Switch to Euler with the same step: the trajectory spirals off its curve and cannot be run back. Drag the ring, or tap the plane, to start elsewhere.
What the simulator does
- The curves are the pendulum's levels of energy: a true trajectory stays on one of them.
- The leapfrog step (half a kick, a drift, half a kick) keeps the trajectory on its curve, keeps areas of phase space, and returns to its start when run backwards.
- The Euler step advances angle and momentum from the old values: its energy grows at every step, and it cannot be run back.
In Verace Topos
Schematic: in Verace Topos a layer activation and its steering momentum are stepped by leapfrog transport toward a target basin. Each step preserves phase-space volume and can be reversed exactly.
- Layer activation
- Last-token activation, paired with a steering momentum
- Basin centre
- The harmonic potential pulls the activation here
- Leapfrog transport
- Half kick, drift, half kick, each step invertible
- Volume-preserving flow
- Checked at every step by the invariant checker
What this is not
This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.
Read the write-up