Technical Reference · Volume III
The Verification check the document
in which a revealed seed is tested against its seal and replayed tick by tick against the record, entirely in the reader’s own browser
Chapter I
Run the check
Paste a revealed seed and its commitment, or load the example order. Your browser recomputes everything by Procedure 5.1 of Volume I. Nothing leaves this page.
Execution records: none loaded.
Chapter II
Tick by tick
Every tick of the rebuilt schedule beside what was recorded during the order. A tick matches when the two agree and a fill exists exactly where a slice was due.
| Tick | Parity | Schedule | Recorded | Fill · size @ price | Match |
|---|
Run a check to fill this table.
Chapter III
What a match proves
Each of the three tests settles one question, and only that question. Together they leave nothing to trust.
Proposition 3.1 (commitment). If the revealed seed hashes to the published commitment, the seed was fixed before the first slice and not chosen afterwards.
Proposition 3.2 (sequence). The parities are rebuilt from the seed alone; change a single bit of it and the commitment no longer matches.
Proposition 3.3 (schedule against record). Every tick that should have traded did, and no other.
Remark 3.4. Only the third test shows that the engine actually followed the schedule. The first two show that the schedule was honest; the third, that it was kept.
Chapter IV
Without this page
You need not trust this page either. The whole check fits in a short script of standard Python, given below with a note on each of its parts.
- Lines 4–6Fill in the revealed seed, the commitment published before the order, its number of ticks and its longest wait L.
- Lines 8–10Hash the seed. If the hash differs from the commitment, the script stops: the seed was changed.
- Lines 12–21Replay the rule one tick at a time. Odd trades, even waits, and after L − 1 waits the next tick is forced.
- Line 23Print the schedule and compare it with the order’s recorded fills, tick by tick.
verify.py, the whole check in standard Python.# Arbor: verify a revealed orderimport hashlib seed = "…" # revealed seed, hexcommitment = "…" # published SHA-256, hexticks, L = 100, 6 h = seed.zfill(len(seed) + len(seed) % 2)digest = hashlib.sha256(bytes.fromhex(h)).hexdigest()assert digest == commitment, "seed does not match" n, run, plan = int(seed, 16), 0, []for tick in range(ticks): odd = n & 1 n = (3 * n + 1) // 2 if odd else n // 2 if odd: plan.append("trade"); run = 0 elif run == L - 1: plan.append("forced"); run = 0 else: plan.append("wait"); run += 1 print(plan)
