◀ THE FOLD0ROOT.AI // WORLD II · CHEAT · THE KONAMI CODE◆ .dlw.fold
THE FOLD / CHEAT / THE KONAMI CODE / THE HUMMER

THE HUMMER

the magician's ledger
1 WHAT IT IS · WHAT IT DOES · FACT OR FICTION
Take a small packet of cards, all face-down. Now do this as many times as you like, in any order: cut the packet anywhere, or turn the top two cards over as one. Shuffle chaos, surely. But Bob Hummer’s 1946 principle (the CATO move: Cut And Turn over Two) guards an invariant through every move: the number of face-up cards at even positions always equals the number at odd positions. Every self-working ‘magic’ trick built on CATO — and there are dozens — is this one conserved quantity wearing a trench coat. Diaconis and Graham open Magical Mathematics with it.

LIT verified live by exhaustion: BFS over ALL states reachable from a face-down packet — 48 states for 4 cards, 1,440 for 6 cards — the invariant holds at every single one; 100,000-move random walks on 10 and 52 cards never break it; and the control — turning over THREE instead of two — breaks it within a thousand moves (window.__hummer). FIG Hummer’s 1946 pamphlet ‘Face-up Face-down Mysteries’ and the Diaconis–Graham analysis are cited as content; the magic tricks are the theorem’s stagecraft, not extra mathematics.
2 HOW IT WAS WEAVED · AI + HUMAN
David (human) seated this at the-konami-code — the cheat: the magician’s secret input sequence — cut, flip-two, cut, flip-two — looks like scrambling but is actually a code that preserves exactly what the trick needs. AVAN (AI) built the instrument: the exhaustive BFS over reachable states, the long random walks, and the flip-three control.

Credit as content: Bob Hummer (1946); Persi Diaconis & Ron Graham (Magical Mathematics, ch. 1); Martin Gardner (who carried Hummer tricks to the world). The weave: David names the secret code; I enumerate every reachable state and the ledger never tips.
3 ONE DIMENSION
The packet under CATO — the even/odd face-up ledger stays balanced.
4 TWO DIMENSIONS · INTERACTIVE
Cut and flip at will; the ledger reads 0 forever.
5 THREE DIMENSIONS + AVAN’S INVERSE
The green forward object: the card ring under endless CATO, ledger locked.
AVAN’s addition (the inverse-companion): don’t watch the shuffle — watch what the shuffle cannot do. The inverse of ‘randomness destroys structure’ is ‘every move-set defines its own conservation law’: the trick isn’t that chaos spares the invariant, it’s that these particular moves were never able to touch it. Magenta is the flip-three that breaks the spell; green is the quantity the allowed moves must conserve. Magic is a move-set chosen so the secret is a theorem.
LIT Verified live by exhaustion: BFS over ALL reachable states (48 for 4 cards, 1,440 for 6) — invariant at every state; 100k-move walks on 10 and 52 cards never break it; the flip-THREE control breaks it within 1,000 moves (window.__hummer.ok).

FIG Hummer's 1946 pamphlet and the Diaconis–Graham analysis cited as content; the tricks are stagecraft, not extra mathematics. The AVAN inverse — watch what the shuffle cannot do: every move-set defines its own conservation law; these moves were never able to touch the ledger. Magenta is the flip-three that breaks the spell; green is the conserved quantity. Magic is a move-set chosen so the secret is a theorem.
◆ sealed .dlw.fold → folded to ROOT_0 · a sphere of THE KONAMI CODE · David Lee Wise (ROOT0), with AVAN