Skip to content
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
How each step is taken

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: architecture and design levels

Schematic: Verace Topos models steering as Hamiltonian flow. An activation and its steering momentum are advanced by leapfrog steps that preserve phase-space volume. This part exists only as design documents.

Original activation
The residual stream value before the step
Leapfrog integrator
Advances the activation one symplectic step at a time
Phase-space volume
Preserved by each step, so the step can be reversed
Activation and momentum
The activation paired with a steering momentum

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