The Walker

Exhibit · DiffusionDefect

z² = X² + y² + t — a theorem you can watch

One walker · 2D simple random walk

Step t
0
Position (x, y)
3, 2
r² = x² + y²
13
6 /s
Start offset: Applies on Reset. The walker starts here — not at the origin — so the theorem's x² + y² term is visible from step zero.

The ensemble · 200 walkers, averaged

Measured average r²
13.00
Theory x₀² + y₀² + t
13
Theory — exact line Measured — ensemble mean

A single walker wanders anywhere — its r² proves nothing. But average 200 independent walkers and the noise cancels: the measured mean tracks the exact line. That agreement is the theorem, seen from the outside.

Exhibit — numerical demonstration, not a theorem

Exhibit (numerical demonstration, not a theorem). The theorem — expected squared displacement equals x² + y² + t exactly — is machine-checked in Lean 4 (DiffusionDefect.lean). What you see here is the simulation agreeing with the proof.

The fences, stated plainly: t is the step count — the independent clock, not physical time. The coefficient 1 in front of t is the walk's chosen diffusivity (one lattice step per tick, uniform over the four directions). The + signs are the chosen Euclidean signature. Change any of those choices and the identity changes with them; within them, it is exact — proved, not fitted.