MYSIMULATOR / MATHEMATICAL GAMES / A-LEVEL

PARITY FORGE

THE BINARY SWITCHWORK LABORATORY

EXHIBIT 01 / GF(2)
Exact mathematics · no approximation
THE EXPERIMENT / 001

One switch. Many consequences.

Each touch flips a pattern of lamps. Weave the connections, uncover invisible switch combinations and solve an entire lightfield with nothing but binary arithmetic.

THE EQUATIONA · x = b(mod 2)
01 / THE LIGHTFIELD

Nine Lanterns

SWITCH MODE

Light on Gold rim = goal Highlight = linked to selected switch
Nº 09BINARY FIELD
SWITCH RAIL / CLICK TO PRESS OR SELECT · DRAG TO LAMP TO REWIRESelected: S1
02 / THE ANALYSIS ENGINE

Invisible structure, visible.

GF(2)
RANK(A)—independent columns
NULLITY(A)—invisible freedoms
REACHABLE—distinct lightfields
SOLUTIONS—for target b

Wiring matrix A

Rows = lamps · Columns = switches

1 linked 0 unlinked
In REWIRE mode, click any matrix cell, or select a switch and touch the lamp. This changes one physical connection.

Influence spectrum

lamps toggled / switch
GOAL / b
—
ACTUAL / A·x
—
Target ready
03 / ROW-REDUCTION MICROSCOPE

See Gaussian elimination, one XOR at a time.

STEP 0/0

Select Step forward to reveal the next exact row operation.

THE SCIENCE / WHY IT WORKS

Every press is an addition modulo two.

Each switch is a column of A. Pressing it adds that column to the lamp state using XOR: two toggles cancel. We solve A x = b by XOR row reduction.

rank(A) + nullity(A) = n

If a target is reachable, it has exactly 2nullity(A) distinct press vectors. A rank-deficient wiring design also creates patterns that no switch sequence can produce.

Model boundaries: ideal instantaneous binary switches; no electrical resistance, lamp brightness or timing effects. Every lamp is either on (1) or off (0). This is an abstract model of digital parity circuits, not an electrical circuit simulator.

04 / THE INVESTIGATOR'S NOTEBOOK

The ten-mission proof trail.

Fresh numbers, exact solutions and hands-on experiments every session.

YOUR SCORE0 / 1600 / 10 solved
NUMERICAL / BEGINNER+10 POINTS

—

—

Choose your answer, then check it.
YOU WILL LEARN TO

Think like a circuit mathematician.

  1. Represent switch effects and lamp states as binary vectors and matrices.
  2. Use XOR row reduction to solve A x = b and identify impossible targets.
  3. Explain rank, nullity, redundant controls and minimum-press solutions.
Beyond this benchError-correcting codes · Digital logic · Puzzle design · Network diagnostics
Made with 🤖 ChatGPT