Hamming Forensics
The distance between what happened and what should have happened.
Measured. Explained. Corrected.
The Trajectory
The Bit
1950Hamming invented error-correcting codes at Bell Labs. A (7,4) code protects 4 data bits with 3 parity bits. The syndrome tells you which bit flipped. We generalize from bits to agents.
The Trit
2024GF(3) — the field with three elements {-1, 0, +1} — captures ternary forensic findings: wrong (-1), unverifiable (0), confirmed (+1). Conservation law: the sum of trits across any balanced system is 0.
The Color
2025SplitMix64 maps every seed to a deterministic color via the golden angle spiral (137.508°). Same seed, same index, same color. Always. Identity, commitment, and fraud detection in a single function.
The Dispatch
2026565 entities produced by 26 agents. 96 distinct types. Trit sum: +41. The syndrome is non-zero — that's 41 units of unaccounted positive bias.
The Interleave
2026Post-hoc verification via knowledge interleaving. 76.6% of entities had no match in existing knowledge. That's the Hamming weight of the gap — the unknown unknowns.
The Adversary
202619.4% of seeds are balanced. Worst-case seed 1806 produces sum=+6. An adversary who controls the seed controls the conservation.
The Proof
2027Conservation is not a convention. It's a cryptographic commitment. Anyone with the seed can recompute the palette. Anyone with the palette can recheck the trits. The chain is publicly verifiable via drand.
Dispatch Census (A–Z)
26 subdroids, each assigned a letter. Trit sum should be 0.
Syndrome by Domain
Where does the bias come from?
Adversarial Seed Analysis
10,000 seeds scanned via SplitMix64 golden angle palette
Corollary Discharge Detection
#67AF32#67AF32#C378EA#67AF32The Math
GF(3) Syndrome
S = H * r S=0: conserved. S!=0: localizes error to specific agents.
Hamming Distance
d(A,B) = |A \ B| + |B \ A| Symmetric difference over database joins. The forensic signal.
Discharge Residue
rho = ||c_exp - c_obs||_2 rho < 0.1: self-caused. rho > 0.1: fraud.
Categorical Structure
Syndrome = cokernel(pullback) Interleave is a pullback in the topos of databases.
Colophon
Built with Gay.jl, DuckDB, SplitMix64. Seed: drand round 26855003.