Emergence

AND, XOR, MAJ(a,b,c) -> pattern 7 emerges

Thousands of cells. Three operations. Zero intelligence coded. Each cell is a 3-bit pattern (0-7). Every generation: neighbors vote via 3-voter majority, cells metabolize, and dying cells pass their pattern to neighbors. Pattern 7 (all bits on) emerges from random noise and sweeps the field.

Three Operations

The 3-Voter Substrate
Only three binary operations are needed: AND (preserve), XOR (split), MAJ (decide). AND preserves. XOR distinguishes. MAJ decides. Every Boolean function can be built from these three. 3 voters is the minimum for a decisive majority.
OperationWhat it doesFormula
ANDPersistence. What survives AND survives.a AND b
XORDistinction. Parity.a XOR b
MAJMajority decision. Minimum 3 voters.MAJ(a,b,c)
Pattern 7All bits on = maximum complexity (111 in binary).a=b=c=1

Emergence Mechanics

From random initial conditions on a 2D grid, STRUCTURE EMERGES:

Pattern 7 dominates
All bits on
The 111 state is the most stable. It wins the majority vote against any two opponents. Pattern 7 emerges because it persists under MAJ.
Level ascension
L0 -> L7
Stable cells ascend through 7 levels. Each level increases resilience. Growth requires sustained stability.
Pattern transfer
Dying -> neighbor
When a cell dies (energy depleted), it gives its pattern to a random neighbor. Death creates structure.
Accumulated resistance
Prediction + memory
Cells that survive many generations accumulate resistance to harmful mutations. Not coded. Emergent from the energy rules.
Periodic stress
Every 3 generations
Environmental perturbation. Tests resilience. High-level cells survive; low-level cells may die. Period-3 is structural.

Why Three

Minimum Decisive Majority
You need at least 3 voters for a decisive majority (2 vs 1). With 2: ties. With 1: dictatorship. 3 is the minimum for MAJ to be non-trivial. The algebraic fact: -2*cos(pi/q) is uniquely minimized at q = 3.
Boolean Completeness
AND + XOR + MAJ = functionally complete. Any Boolean function can be expressed as a composition of these three. AND preserves. XOR distinguishes. MAJ decides. Three operations suffice for universal computation -- and three is the minimum.

How This Compares

PropertyThis CAConway GoLTierra/Avida
Operations3 (AND, XOR, MAJ)1 (neighbor count)~26 instructions
Cell state3 bits (0-7)1 bit~100 bytes
Self-modelYes (prediction)NoNo
Pattern transferEmergent from energyN/AN/A
Leveling7 levelsNoneNone
InteractionPaint cellsToggle cellsNone

Explore: 3-Voter Majority

Enter three bits (0 or 1). See AND, XOR, MAJ. Pattern 7 = all three outputs = 1. Try 1,1,1 then 1,1,0 then 0,0,0.

Three inputs (a, b, c):

Contrast Table

AspectStandard ViewRing Structure View
Cellular automatonModel of computationAND, XOR, MAJ produce pattern 7 from noise
Majority ruleVoting mechanism3-voter majority = minimum for decisive vote. Algebraically forced.
EmergenceComplex from simplePattern 7 (all bits on) dominates. Stability from three operations.
Pattern 7Arbitrary stable pattern111 in binary. Wins MAJ against any 2 opponents.
Pattern transferNot modeledDying cells pass patterns to neighbors. Death creates structure.
Three operationsDesign choiceAND + XOR + MAJ = functionally complete. Minimum set.

Source code · Public domain (CC0)

Report issue

.ax source compiled to WASM via self-hosting compiler. Zero HTML authored.