---

title: Shor Witness Certifier — what the cell actually sealed

audience: cryptographers_engineers_press

contract_version: 1.0.0

authority_kind: normative

release: v120

---

Shor Witness Certifier — what the cell actually sealed

This page corrects a category error. An earlier draft of this artifact was titled "Shor at Scale" and implied the cell had factored semiprimes up to 8 × 10¹². It had not. The cell factored 35 semiprimes from N = 15 to N = 65,021 by classical brute period-finding; for the larger 13 entries, the *witness was constructed from already-known factors* via the Chinese Remainder Theorem. The verification arithmetic is correct at every row; the framing that called all 48 "factorizations" was wrong. This page states what the seal earns.

The honest two-tier seal

Tier 1 — actual factorizations (35 rows, N = 15 → 65,021)

For each row in Tier 1, the cell discovered the multiplicative order r of a mod N by classical brute iteration:

v := a mod N
while v ≠ 1 and r < N:
    v := (v · a) mod N
    r := r + 1
halfPow := v at r/2 step

No knowledge of p or q is used. Once halfPow is in hand with halfPow² ≡ 1 (mod N) and halfPow ≠ 1, N − 1, Shor's classical reduction gcd(halfPow − 1, N) extracts a non-trivial factor of N. These rows ARE factorizations performed by the cell — classical, not quantum, but the period-finding (the hard step of Shor's reduction) was done.

The ceiling is N ≈ 65,000 because brute search is O(period), and orders for larger N grow past the cell's millisecond budget.

N factors provenance
15 3 × 5 Tier 1 — period found
21 7 × 3 Tier 1 — period found
143 11 × 13 Tier 1 — period found
1,517 37 × 41 Tier 1 — period found
10,403 101 × 103 Tier 1 — period found
65,021 253 × 257 Tier 1 — period found (largest)

35 rows total in Tier 1.

Tier 2 / Tier 3 — period-PROVIDED witness verifications (13 rows, N up to 8 × 10¹²)

For each row in Tier 2/3, the cell did NOT find the period. Instead, the witness halfPow was constructed from the already-known prime factorization (p, q) using the Chinese Remainder Theorem:

halfPow ≡ 1     (mod p)
halfPow ≡ N − 1 (mod q)

This construction assumes what factoring is supposed to discover. The Lean kernel + Swift recompute then verify that the constructed halfPow satisfies the four algebraic relations Shor's reduction operates on. This certifies the verification arithmetic at scale — it does NOT factor anything.

N factors provenance
999,919 991 × 1,009 Tier 2 — period PROVIDED (CRT)
9,999,399,973 99,991 × 100,003 Tier 2 — period PROVIDED (CRT)
2,000,009,000,009 1,000,003 × 2,000,003 Tier 3 — period PROVIDED (CRT)
8,000,321,000,351 1,000,039 × 8,000,009 Tier 3 — period PROVIDED (CRT)

13 rows total in Tier 2/3.

What this is and is NOT

What this IS

What this is NOT

What it does NOT close

summit.shor.order_finding_at_scale sits on the Rosetta open frontier with the licensing certificate written down. That summit's open obligation: *find the multiplicative order r of a mod N at scale where classical brute search is infeasible AND the cell does not have access to (p, q).* That is the actual hard step of Shor's algorithm. Quantum hardware addresses it via Shor's quantum subroutine in polynomial time; the cell does not run quantum hardware.

The cell does not claim to have closed this summit. It ships the certifier in advance so that *when* someone closes it — at whatever scale, by whatever means — the verifier is ready.

How to verify

git clone https://github.com/gaiaftcl-sudo/gaiaFTCL.git && cd gaiaFTCL

# 1. Lean kernel seals both tiers
cd proof/lean && lake build FirstRoars.ShorWitnessCertifier
# → ✔ Built FirstRoars.ShorWitnessCertifier (native_decide closes the seal)

# 2. Swift S4 recompute matches bit-for-bit
cd ../../cells/xcode
swift run M8ShorCertifierSmokeTest
# → Tier 1 PASS: 35 / 35  Wall: ~0.6 ms
# → Tier 2/3 PASS: 13 / 13  Wall: ~0.2 ms
# → ✓ SHOR-WITNESS-CERTIFIER SEALED — both tiers verified

Lattice position

Why this correction matters

The cell's whole architecture exists to expose category errors of this exact shape — claiming a hard step that was assumed rather than performed. The earlier "Shor at Scale" framing made the error the architecture refuses in others. A regulator or hostile cryptographer reading the original page would have caught the gap in 90 seconds. The honest seal is still valuable: the cell ships the only verified-end-to-end Shor witness certifier that handles 43-bit semiprimes with dual-gate certification. Stating that precisely is what makes it unassailable. Stating it as "Shor factoring at 533 billion× textbook" would have collapsed the brand on contact with the first careful reader.

This page exists so the seal's meaning equals what the kernel proved — no more, no less.

NATS subject

gaiaftcl.shor.witness.certifier.sealed — emitted on every successful smoke-test run.

Federation cosignature: pending operator signing host (v26). Witness (sha256 of rendered body): f2bf3a855d83528cf8fee244f2084343c18d798f1bca7591f02492366b3d518f. This page serves with a substrate-honest pending-signature notice until the operator's Franklin signer cosigns it.