Skip to content

Lion Shor Witness Certifier

rg78803 edited this page Sep 19, 2026 · 3 revisions

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

  • A real verification capability: the cell certifies any Shor witness (N, halfPow, p, q) bit-exactly in milliseconds, at semiprime sizes up to 43 bits, with two independent gates (Lean + Swift) that must agree.
  • 35 actual factorizations at small scale (N ≀ 65,021), each performed end-to-end by the cell using classical period-finding without factor knowledge.
  • A certifier ready to grade any future Shor output β€” from quantum hardware, hybrid algorithm, or a future classical breakthrough β€” at scales the verifier handles.

What this is NOT

  • NOT a claim that the cell factored 43-bit semiprimes. The Tier 2/3 witnesses were constructed from already-known factors. The cell verifies them; it did not discover them.
  • NOT a quantum-computing capability claim. No quantum hardware is involved at any step.
  • NOT a claim against RSA or about cryptographic security at scale. Classical factoring records (RSA-250 = 829-bit, classical GNFS 2020) are far past anything here. The cell's seal is about verification, not factoring records.

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 <substrate checkout>
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

  • Sealed node: qc.qc-001.witness_certifier β€” finiteUniversalCertificate over the 48-row table
  • Base camp: qc.qc-001.n15.factored (the 2001 textbook factorization)
  • Licenses three things downstream:
    • qc.qc-001.tier1.factored:35-rows β€” the 35 actual factorizations
    • qc.qc-001.tier23.witness_verified:13-rows β€” the 13 period-provided verifications
    • summit.shor.order_finding_at_scale:certifier-ready β€” the certifier stands ready for that summit's closure

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.


What exists in this repo (2026-08-27)

Layer Path Status
Lean witness certifier proof/lean/FirstRoars/ShorWitnessCertifier.lean In tree
Lean textbook / large factor ShorFactor15.lean, ShorFactorLarge.lean In tree
Lean ECDLP ShorECDLP.lean Β· couplings QFTToShorCoupling.lean, QPEToShorCoupling.lean In tree
ECDLP substrate the ECDLP substrate module (private repo) Live 3D path: Secp256k1ECDLPVerificationDispatcher
Typed QC-001 shell AlgorithmCatalog.swift QC001Shor / QC001ECDLPShor Throws vmNotConnected until a VM is moored
Inventory Quantum algorithms inventory Maps Glama vs Lean vs stripped

What was stripped (cite the commits)

Commit Date Deleted
6f39e8b8950256e090d68a31657e086989663874 2026-07-09 Reversible-circuit cluster: ReversibleECDLPOracle*.swift, ReversibleFieldP, ReversiblePointAdd, ReversibleScalarMul, ShorECDLPProjection.swift, SymbolicShorECDLP.swift
9192c03626f91b12bff8166644f102431c8b6ef3 2026-07-09 ShorECDLPTemplate.swift, ShorECDLPReversibleOracleTemplate.swift, StaticTensorBuilder.swift
add9d197a70bb2b52ba6d98cf6f11e559e1b9341 2026-07-08 Boot bind GlobalContraction.dispatcher = ShorECDLPCPUContractor()
d1a00b7b / 068a548a 2026-07 GaiaCellMCPServer/main.swift (run_quantum_algorithm, distribute-shor were that surface)

ShorBoundaryMaskFactory.swift remains as a mooring provider. Comments in GaiaFTCLCLIEntry.swift record Strip 6: the live answer to (kG=Q) is the audited secp256k1 dispatcher, not the retired MPS contractor.

Glama / public MCP

Shor IS a public court tool β€” as a presented-witness verifier, never a period search. This paragraph read "Shor is not a public court tool; tools/list has 23 names" until 2026-09-02, which was true on 2026-08-27 and is stale: live tools/list is 49, measured per cell on all nine A records, and it carries verify_shor_witness (QC-001: N, halfPow, factor, cofactor β€” 15 = 3Γ—5 answers WIN/CALORIE), verify_period (a^r ≑ 1 mod N), project_shor_twin (post halfPow, receive the factors by gcd; post the factors, receive a by CRT β€” a bijection, not a search), plus verify_grover, verify_qft_phases, verify_vqe_energy and verify_qaoa_energy. None of them finds a period, a marked item or a variational minimum; each certifies what the caller presents. There is still no shor, prove_shor or period_find tool, and the Lean certifier below remains the textbook. See Math Court on Glama and the MCP user guide.

Leftover Python wrapper

a legacy Python shim (private repo) and the legacy CLI shim (private repo) still invoke gaiaftcl prove shor. The Swift prove dispatcher (GaiaFTCLCLIEntry.swift case "prove") lists language-games, poly-n, substrate-oo, conjecture-workload, qc020-verifier β€” not shor. Treat the Python verb as leftover, not a live compute path.

Honest bound

This page already forbids calling Tier 2/3 β€œfactorizations.” It also forbids calling the certifier a quantum-hardware result. Period-finding at scale remains the open summit named above. The public court verifies presented QMA fixtures; it does not run Shor.

🧬 CURES β€” read in this order

Each step is the reason the next one exists. Nothing here is medical advice, and no page calls any medicine safe or unsafe.

1 Β· Why an exact safety screen at all

2 Β· The three libraries, which grow rather than close

3 Β· The maps β€” every place a molecule could act, counted

4 Β· One medicine at a time

  • Zilganersen β€” the first treatment for Alexander disease, screened on the real approved sequence
  • A drug an AI designed β€” rentosertib for pulmonary fibrosis, and exactly what our instruments reach
  • CAR-T, halted β€” the verdict a regulator could re-derive
  • N-of-1 antisense β€” the only safety net at a population of one
  • VERVE-102 β€” the off-target lattice a stranger can re-derive
  • PM359 β€” prime editing, certified before anyone is dosed
  • Del-Zota β€” the one safety question that can be made exact

5 Β· What keeps a disease alive, and what moves it

βš–οΈ How to read any page here

πŸ”¬ The method β€” exact against float, domain by domain

The same move every time: take a domain where a floating-point model is the accepted instrument, compute the same quantity in exact integers, and seal the cases where the two render opposite verdicts. The subject under grading is always the instrument, never the phenomenon.

⚑ Fusion β€” the energy case

🌍 The planet, and the sky

πŸ› Markets, money and risk

βš›οΈ Run a court yourself

πŸ“’ Program ledger β€” every study by lifecycle

A study appears here under the state its evidence has earned, and above under the question it answers. The two are different filings of the same work, on purpose.

βœ… LAW FROZEN Β· DATA SEALED

πŸ”΄ LIVE CLAIM β€” standing, not sealed

🌊 CHARTER Β· OPEN β€” the findings, published either way

β˜€οΈπŸŒ‘ Eclipse 2026 β€” Study 01, DATA SEALED

πŸ”¬ Discoveries and flows

Clone this wiki locally