A loop
in a loop.

Both loops traverse the same list. Each crossing is one visit. Add a thread and count what changes.

5 threads

Pud / TypeScript nestedSum

Ordered pairs5 × 5 = 25 visits

The sidecar asks Lean to prove total = length × length for every dense bigint list in the model.