Verifiable Randomness Systems
In real systems, verification rarely happens before an outcome.
It happens when:
At that moment, explanations are useless.
What matters is whether the outcome can be reproduced exactly.
This is where deterministic replay becomes essential.
Deterministic replay means:
Given the same inputs, the system will always produce the same output.
No matter:
If replay produces a different result, fairness is broken.
This sounds contradictory:
“How can randomness be deterministic?”
The answer:
Randomness is generated, but outcomes are derived deterministically from it.
Once inputs are fixed:
There must be exactly one possible result.
A provably fair system must answer:
“Could the operator have produced a different result using the same committed inputs?”
If the answer is yes, the system is not fair.
Deterministic replay ensures the answer is always no.
For verification to work, the following must be reproducible:
If even one step is opaque or stateful, replay fails.
Deterministic replay requires zero hidden state.
Bad examples of hidden state:
Hidden state creates alternate timelines.
Alternate timelines destroy verifiability.
A replayable system looks like this:
Inputs → Hash → Entropy → Algorithm → Result
Many operators say:
“We logged everything.”
Logs are not proofs.
Problems with logs:
Deterministic replay proves that no alternative outcome was possible.
Audits verify:
Replay verifies:
A system may pass an audit and still fail replay.
Replay is stronger.
A correct replay must produce identical results across:
This requires:
Floating point breaks replay.
Different platforms produce slightly different results.
Even tiny drift invalidates replay.
Sorting without explicit rules:
Using only part of a hash:
A verifier should be able to:
If verification requires contacting the operator:
The system is not provably fair.
Without replay:
With replay:
There is nothing to argue about.
Replay does not degrade gracefully.
Either:
or:
“Almost the same” is failure.
Most systems fail replay because:
Replay requires discipline.
If you cannot write a pure function that produces the result, your system is not replayable.
Pure in → pure out.
Deterministic replay is the backbone of provable fairness.
It transforms randomness from:
“Trust us, it was fair”
into:
“Here is the only result that could exist.”
If an outcome cannot be replayed exactly, it cannot be proven fair — no matter how good the RNG looks.