Abstract

Parano1d's production soundness profile is evaluated in the quantum random-oracle model against the NIST Category 1 resource reference for AES-128 key search. The proof begins with the exact wallet and HistoryStep relations, composes every represented root into one invalid-State event, converts typed parallel oracle access into logical gates and circuit depth, and includes finite extraction and collision terms. At the NIST gate-depth envelope, the complete ideal success bound is 0.053364140323608411. The dominant half-success floor is 173.273866314232 bits, 3.273866314232 bits above the 2^170 reference.

NIST Category 1 compares the resources required by an attack with exhaustive key search against AES-128. Its depth-aware model counts logical quantum gates, limits circuit depth and asks whether an attack can reach its target success probability inside that envelope.

For Parano1d, the target event is acceptance of a terminal State outside the set produced by valid executions from genesis. The production proof profile meets the NIST Post-Quantum Cryptography Category 1 resource target. At the complete NIST envelope, the ideal quantum-random-oracle bound is 0.0533641403236084110.053364140323608411. The dominant half-success gate-depth floor is 2173.2738663142322^{173.273866314232}, which is 3.2738663142323.273866314232 bits above the NIST 21702^{170} reference.

Security statementProduction result
Adversarial goalAcceptance of an invalid terminal State
Reference primitiveAES-128 exhaustive key search
NIST gate-depth referenceGD=2170GD=2^{170}
NIST MAXDEPTH values evaluated2402^{40}, 2642^{64} and 2962^{96}
Dominant half-success gate-depth floor2173.2738663142322^{173.273866314232}
Margin over the NIST reference3.273866314232 bits
Complete ideal success bound at the NIST envelope0.0533641403236084110.053364140323608411
Sufficient fixed-Poseidon2b conditionΔP2bCat1<0.446635859676391589\Delta_{\mathrm{P2b}}^{\mathrm{Cat1}} \lt 0.446635859676391589
NIST Post-Quantum Cryptography categoryCategory 1

The security game

Every accepted Parano1d block carries a recursive proof called HistoryStep. It proves the block relation, the exact transition from the authenticated parent State to the child State and verification of the preceding HistoryStep proof. Wallet authorization proofs and the sidecar relations consumed by the block are part of the same statement.

The public instance in the soundness game is the terminal HistoryStep State. One stateful quantum adversary wins when the production verifier accepts a State outside the set reached by valid executions from genesis. A failure in wallet authorization, the block relation, the parent link, the State transition, recursive verification or the claimed proof chain is therefore a win in the same game.

All oracle interactions used to build the terminal proof and every adversarial ancestor share one resource budget. After the compressed-oracle database is measured, extraction and traversal of the proof graph are deterministic and make no further oracle queries. The theorem covers the complete accepted State, including every FRI opening and recursive dependency.

Sequential queries and Category 1 resources

The production parameters support two complementary measurements. The sequential ideal-QROM theorem gives a boundary of 64.70740742857664.707407428576 query bits. It counts each oracle call as one query and covers the budgets for which the explicit upper bound remains below one half.

The Category 1 theorem adds the reversible circuit required to answer each query. A coherent query to the production Poseidon2b transcript contains many binary-field multiplications. Parallelism reduces elapsed depth while total gate work remains in the resource ledger. The calculation keeps both quantities and derives a gate-depth lower floor directly.

The production instance

The calculation is pinned to Parano1d revision afdce21b6125ae0487c71a9093ab089cb8e88d5a. The standalone production snapshot records every security input, and the provenance map points each value back to its Rust definition.

InputProduction value
Wallet query count65
History query count133
Algebraic challenge support22552^{255}
Digest width256 bits
History code rate1/4
Initial History codeword2202^{20} or 2212^{21}
Joint sidecar groups9
Poseidon2bt=4t=4, rate 2, x7x^7, 8 full rounds, 58 partial rounds

The two initial codeword lengths are the two production History geometries. B64 is used through 64 user-transaction pages and B255 from 65 through 255 pages. They prove the same HistoryStep relation with the same rate, query count, challenge distribution and local theorem. Only the trace length changes.

Algebraic challenges lie in a trace-one affine subset of GF(2256) with exactly 22552^{255} elements. The 256-bit digest width is a separate input. Keeping them separate is essential: algebraic exceptional sets use denominator 22552^{255}, while global binding collisions use 22562^{256}.

The local soundness theorem

The analysis first replaces each Fiat–Shamir squeeze by its corresponding verifier coin and exposes authenticated arrays as ideal oracles. This gives the public-coin IOP on which local generalized round-by-round knowledge error is proved. The local theorem grants the prover the larger acceptance set obtained by omitting the proof-of-work nonce predicate, so mining difficulty contributes zero soundness credit.

Wallet authorization

The wallet has one query-position escape term and one union of algebraic bad coins:

κW,q=(1564)65,κW,f=291639188882255.\kappa_{W,q}=\left(\frac{15}{64}\right)^{65}, \qquad \kappa_{W,f}=\frac{29\,163\,918\,888}{2^{255}}.

These belong to different verifier moves. Generalized round-by-round error takes the largest conditional escape probability:

κW=max{κW,q,κW,f}.\kappa_W=\max\{\kappa_{W,q},\kappa_{W,f}\}.

HistoryStep

For an integer Johnson multiplicity m3m\ge3, define

h=m+12,γ=m12m,sN=N42N.h=m+\frac12, \qquad \gamma=\frac{m-1}{2m}, \qquad s_N=\frac{N-4}{2N}.

At a rate-one-quarter Reed–Solomon layer of length NN, the finite proximity envelope and strict initial-list bound are

AN(m)=N2h5+3hγsN23sN3+hsN,A_N(m)=\left\lfloor N\frac{2h^5+3h\gamma s_N^2}{3s_N^3}+\frac{h}{s_N} \right\rfloor,
LN(m)=hsN1,Lmax(m)=max{L220(m),L221(m)}.L_N(m)=\left\lceil\frac{h}{s_N}\right\rceil-1, \qquad L_{\max}(m)=\max\{L_{2^{20}}(m),L_{2^{21}}(m)\}.

The list-correlated Reed–Solomon theorem supplies AN(m)A_N(m). The BaseFold analysis carries it through the production fold schedule. With 133 independent query positions, the remaining escape term is

Eq(m)=(m+12m)133.E_q(m)=\left(\frac{m+1}{2m}\right)^{133}.

The 32 interleaved initial rows are packed into one extension-field Reed–Solomon word and share one finite initial list. Every nonexceptional fold restores a later candidate to correlated candidates in that same list. The later algebraic identities then take a union over the entire list, so candidate switching remains inside the bound.

The largest ordinary algebraic identity has 127 roots per candidate. The joint nine-group sidecar identity has 36. Combining query escape, every production fold layer and candidate switching gives

κH(m)=max{Eq(m),maxNAN(m)/2255,127Lmax(m)/2255,36Lmax(m)/2255}.\begin{aligned} \kappa_H(m)=\max\{&E_q(m), \max_N A_N(m)/2^{255},\\ &127L_{\max}(m)/2^{255}, 36L_{\max}(m)/2^{255}\}. \end{aligned}

The proximity maximum ranges over N{28,,220}{29,,221}N\in\{2^8,\ldots,2^{20}\}\cup\{2^9,\ldots,2^{21}\}, covering every folded layer of both production geometries.

A straight-line extractor list-decodes the packed word, recovers the 32 base-field rows, inverts the additive NTT and retains candidates satisfying the exact History relation. Backward induction over the verifier schedule shows that a witnessless accepting transcript must cross one of the four events in κH(m)\kappa_H(m). This is the local knowledge theorem used by both the sequential and resource-aware analyses.

The sequential optimum is m=861824m=861824. For Category 1, the exact resource-aware optimum is m=318983m=318983 because one History query requires twelve sequential Poseidon2b permutations.

From local proofs to one invalid-State event

Typed, statement-keyed oracle namespaces absorb every transcript family and adaptive statement into one event. After the single compressed-oracle database DD is measured, define BadAll(D)\mathsf{BadAll}(D) as the existence of any represented accepting wallet or History root for which deterministic extraction fails.

Two boundary events remain: a required child may be missing from the represented database, or a collision, ambiguous encoding or domain confusion may change the typed semantic graph. Therefore

BadStateBadAllMissRepBadTypedBind.\mathsf{BadState} \subseteq \mathsf{BadAll}\cup\mathsf{MissRep}\cup\mathsf{BadTypedBind}.

In the closed typed ideal compiler, canonical nested artifacts are represented in the same database, so MissRep\mathsf{MissRep} is false. Typed transcript and commitment binding are covered by the finite and collision terms below. Replacing the ideal interface with fixed Poseidon2b adds one production deviation term at the end.

Once the database is classical, a deterministic worklist begins at the accepted terminal, checks every local relation, follows the unique lower-height History parent and appends the required wallet and sidecar obligations. The rank decreases at every recursive edge and terminates at genesis. Valid extracted witnesses then imply the exact native State transitions in reverse topological order.

The all-root construction absorbs recursion into one probability event. Chain height changes deterministic extraction work, and a larger proof graph costs the adversary more resources, while every represented root remains inside one bad event and one total budget.

The sequential QROM cross-check

Let

κ=max{κW,κH(861824)}.\kappa_*=\max\{\kappa_W,\kappa_H(861824)\}.

Specializing the compressed-oracle lifting argument of Chiesa, Manohar and Spooner, together with the statement-keyed adaptive composition used by FRACTAL, gives the complete sequential ideal-QROM bound

εideal(T)=min{1,6T2(κ+2T+12255)+6T32256}.\varepsilon_{\mathrm{ideal}}(T)=\min\left\{1, 6T^2\left(\kappa_*+\frac{2T+1}{2^{255}}\right) +\frac{6T^3}{2^{256}} \right\}.

Exact integer search finds the last TT for which this expression is below one half:

Sequential boundaryExact value
Largest certified query budget30,121,082,641,781,720,121
First budget at the half-success boundary30,121,082,641,781,720,122
Descriptive logarithm64.707407428576 bits
Bound at T=264T=2^{64}0.1875289379384357420.187528937938435742

The first uncovered budget marks exactly where this upper bound reaches one half. Category 1 replaces the unit query counter with the logical resources needed to implement those coherent responses.

The NIST Category 1 reference

NIST Section 4.A.5 defines Category 1 by attacks requiring resources comparable to or greater than AES-128 key search. Its depth-aware guidance assigns the AES-128 reference

G=2170D,GD=2170,G=\frac{2^{170}}{D}, \qquad GD=2^{170},

where GG is logical gate count and DD is maximum circuit depth. NIST lists D=240D=2^{40}, 2642^{64} and 2962^{96}. The certificate evaluates all three.

Typed parallel-QROM resources

For each typed bad-response event jj, let κj\kappa_j be its local density, gjg_j the logical gates for one coherent response and djd_j its logical depth. The parallel compressed-oracle transition bound of Chung, Fehr, Huang and Liao, specialized to the all-root event, gives

Pr[BadState]main10GDmaxjκjgjdj.\Pr[\mathsf{BadState}]_{\mathrm{main}} \le 10GD\max_j\frac{\kappa_j}{g_jd_j}.

The resource step also covers a parallel round containing several response types. If ks,jk_{s,j} is the number of type-jj queries in round ss and δs=max{dj:ks,j>0}\delta_s=\max\{d_j:k_{s,j}\gt0\}, then

s,jgjks,jG,sδsD.\sum_{s,j}g_jk_{s,j}\le G, \qquad \sum_s\delta_s\le D.

Weighted Cauchy–Schwarz applied to the compressed-oracle transition amplitude yields

Pr[BadState]main10(sδs)(sjκjks,jδs)10Ds,jκjks,jdj10GDmaxjκjgjdj.\begin{aligned} \Pr[\mathsf{BadState}]_{\mathrm{main}} &\le10\left(\sum_s\delta_s\right) \left(\sum_s\frac{\sum_j\kappa_jk_{s,j}}{\delta_s}\right)\\ &\le10D\sum_{s,j}\frac{\kappa_jk_{s,j}}{d_j}\\ &\le10GD\max_j\frac{\kappa_j}{g_jd_j}. \end{aligned}

Adaptive statements and recursive roots share the same BadAll\mathsf{BadAll} event and its resource accounting.

The coherent Poseidon2b response

The resource calculation uses a reversible GF(2128) Karatsuba multiplier schedule with the following logical costs:

ResourceCount
CNOT29,340
One-qubit Clifford4,374
T15,309
Total logical gates49,023
Logical depth43

The production Poseidon2b permutation contains

48+58=904\cdot8+58=90

S-boxes. The x7x^7 S-box uses two sequential field multiplications; coherent computation and uncomputation use four. Full-round S-boxes run in parallel. One coherent permutation response therefore has

g0=90449023=17648280,g_0=90\cdot4\cdot49\,023=17\,648\,280,
d0=(8+58)443=11352,d_0=(8+58)\cdot4\cdot43=11\,352,
g0d0=200343274560.g_0d_0=200\,343\,274\,560.

A wallet query squeezes seven 128-bit lanes through a rate-two duplex and needs four sequential permutations. A History query needs twelve. Scalar responses use one.

The Category 1 conclusion includes the explicit premise that an adversary obtaining the corresponding coherent production response pays at least these logical gate and depth costs. The schedule omits positive routing, linear and control work, which is conservative for this construction. The theorem states its use as a minimum-cost premise; a universal lower bound for every reversible circuit would require a separate result.

The Category 1 calculation

The resource theorem evaluates wallet query and field events together with History query, proximity, candidate-switching and joint-sidecar events. At the exact resource-aware optimum m=318983m=318983, the largest ratio κj/(gjdj)\kappa_j/(g_jd_j) is the wallet query event.

Solving the main term for success probability one half gives

GD1/2main=120maxj(κj/(gjdj)).GD_{1/2}^{\mathrm{main}} =\frac{1}{20\max_j(\kappa_j/(g_jd_j))}.

Its exact rational value has descriptive logarithm

log2GD1/2main=173.273866314232\log_2 GD_{1/2}^{\mathrm{main}} =173.273866314232\ldots

At the NIST envelope GD=2170GD=2^{170}, the main term is at most 0.0516937504509804170.051693750450980417. Two finite terms still have to be added.

For every NIST depth point, the calculator derives the maximum number of cheapest coherent responses and sequential rounds from

G=2170/D,N=Gg0,R=Dd0.G=2^{170}/D, \qquad N=\left\lfloor\frac{G}{g_0}\right\rfloor, \qquad R=\left\lfloor\frac{D}{d_0}\right\rfloor.

The typed finite term covers extraction and transcript instability. The global collision term uses the complete parallel compressed-oracle collision amplitude and squares the whole positive expression, including its cross term. The worst finite envelope occurs at D=240D=2^{40}.

Category 1 termUpper bound
Typed main term0.0516937504509804170.051693750450980417
Finite extraction and transcript term0.0001990227153178040.000199022715317804
Global 256-bit collision term0.0014713671573101910.001471367157310191
Complete ideal envelope0.0533641403236084110.053364140323608411
εidealCat10.053364140323608411<12.\boxed{ \varepsilon_{\mathrm{ideal}}^{\mathrm{Cat1}} \le0.053364140323608411\lt\frac12.}

The fixed Poseidon2b boundary

The ideal theorem models the typed transcript interface as quantum-accessible random oracles. Production uses the fixed public Poseidon2b permutation with exact framing and domain separation. Let ΔP2bCat1\Delta_{\mathrm{P2b}}^{\mathrm{Cat1}} bound the increase in the complete compiler bad event when the ideal interface is replaced by that production construction. Then

Pr[BadState]productionεidealCat1+ΔP2bCat1.\Pr[\mathsf{BadState}]_{\mathrm{production}} \le \varepsilon_{\mathrm{ideal}}^{\mathrm{Cat1}} +\Delta_{\mathrm{P2b}}^{\mathrm{Cat1}}.

The available half-success headroom gives the sufficient production condition

ΔP2bCat1<0.446635859676391589.\boxed{ \Delta_{\mathrm{P2b}}^{\mathrm{Cat1}} \lt0.446635859676391589.}

This is an event-specific compiler deviation for the exact public Poseidon2b permutation, transcript framing and domain separation. The Poseidon2b paper supplies the fixed permutation parameters and their cryptanalysis; the inequality above states the additional quantum-instantiation condition used by the end-to-end theorem.

An executable, source-pinned certificate

The complete derivation and calculator are published in the Parano1d soundness repository. The repository embeds its production snapshot and pins the source revision. Parameter loading rejects a mismatch between wallet geometry and its ledger, History and BaseFold query counts, challenge support, both History rates, digest width or the fixed Poseidon2b profile.

All normative probabilities and optimizer boundaries use arbitrary-size integers and reduced rational numbers. Upper bounds are rounded upward. Sufficient fixed-permutation headroom is rounded downward. Floating-point logarithms are descriptive and never decide the result.

Clone the certificate and reproduce the production report:

git clone https://github.com/ignotusnemo/parano1d-soundness.git
cd parano1d-soundness
cargo run --release --locked

Print every reduced rational value and optimizer boundary:

cargo run --release --locked -- --exact

Run the snapshot, arithmetic and threshold regression suite:

cargo test --release --locked

The proof document, source-symbol map, exact calculator and tests form one certificate. The terminal category is the final comparison performed by that chain of evidence.

Primary sources