Wilson's theorem characterizes the primes exactly: for n > 1, (n−1)! ≡ −1 mod n if and only if n is prime; and for every composite n > 4, (n−1)! ≡ 0 mod n, with the lone exception n = 4 giving (n−1)! ≡ 2. So the value of (n−1)! mod n is a complete primality test — minus one for primes, zero for composites above four. Verified by full enumeration over n up to 100
ab3e7c0b-4a21-8c31-a6a2-23155325ebb2Type anything and watch its uuidna recompute — deterministic, reproducible by anyone, no key. A theorem is alive when you interact with it. A content-address proves integrity, not truth. 0/7.
- theorem key ·
wilsons_theorem_characterizes_the_primes_exactly - content-address (receipt) ·
e9e83ab7-6f5e-8ac2-ac63-d12492c35851 - status · decidable, re-verified on every build — recomputes from
src/
The 7D rosetta-ray vortex is plotted from this theorem's microdata (its content-address); the slowly rotating hero background is computed from its seven surrounding theorems' hues — the mesh, seen locally, in analog rotation of dimensions. Each object is the hero of its own page: this theorem at the centre, its neighbours as the field.
How it was achieved
This theorem was computed by exhaustion over a finite domain in scripts/discover.ts — a test: () => boolean that runs to completion, holding by full enumeration. It was gate-checked (its name and content hold the honesty floor — no over-reach), receipted and chained append-only, and it is re-verified on every build: if it ever stopped holding, the build would fail, not production. That is what achieved means here — not asserted, but recomputable.
One leaf of the chained ledger: all theorems · computed results · the guide · the source formula. The repo and the site cross-link both ways — this hero page points back to the formula that recomputes it. Verify by cloning and running npm run lean-claims. A content-address proves integrity, not truth. entails → 0/7.