Schnorr certificate round 3: packed records and public XYZZ MSM
The 27 October campaign reduces complete 100-signature updates by 11.21% for distinct keys, 10.48% when ten signatures share one key, and 11.93% for ten groups of ten, relative to the matching R2 calls. The distinct-key update falls from 46,316,453 to 41,122,086 instructions; its complete certificate-producing query falls from 178,708,574 to 166,061,062.
These remain experimental Fiat–Shamir certificates requiring independent cryptographic review. The original assumptions and ordinary BIP340 statement are preserved. Query results carry no trust: each query independently verifies 105 signatures, rejects five well-formed false equations, and returns the accepted 100. The update independently checks the full statement and untrusted proof. See the evidence packet and runner.
Call totals below are FULL complete calls, including incoming bytes, decoding, fresh preparation, validation, cleanup, replies and page charges. Whole, body and page views overlap; nothing is subtracted. Primary rows have three identical instruction samples. Messages and nonces are distinct even when public keys repeat; all messages in this transport comparison are 32B. Challenges retain t=128. The b/W column gives digit width and update window.
| Public-key population | R2 update | R3 update | Reduction | b/W | Complete proof |
|---|---|---|---|---|---|
| 100 distinct keys | 46,316,453 | 41,122,086 | 11.21% | 16/6 | 1,924B |
| Ten share one key + 90 other keys | 45,689,908 | 40,901,160 | 10.48% | 16/7 | 1,924B |
| Ten keys, ten signatures each | 36,110,723 | 31,803,607 | 11.93% | 16/6 | 1,924B |
| Ten shared-key signatures interleaved | 45,439,398 | 40,724,750 | 10.38% | 16/7 | 1,924B |
The interleaved population places matching keys at indices 0,10,…90. Every primary population also passed a byte-identical, independently host-produced packet on a fresh second canister with zero prior queries, at exactly its table update cost; each direct-ingress check has one sample. No key table, prepared point or result cache contributes across calls.
Query W6 is fixed. These totals include producing the complete checkpoint proof used in the update table.
| Population | R2 query | R3 query | Reduction |
|---|---|---|---|
| Distinct | 178,708,574 | 166,061,062 | 7.08% |
| Ten share one key | 177,613,012 | 164,989,064 | 7.11% |
| Ten groups of ten | 153,424,082 | 141,471,847 | 7.79% |
| Shared signatures interleaved | 178,144,193 | 165,471,087 | 7.11% |
Queries now include 1,280,000 page instructions, 80,000 more than R2; updates retain 1,200,000. Those charges are already included above. Without checkpoints, R3 distinct-key query/update costs are 162,574,397 / 41,551,824 with a 1,026B proof. Checkpoints therefore still trade additional preparation work for a cheaper replicated check. Host wall times remain local PocketIC diagnostics.
The packed transport carries each
record as publicX32 || message32 || signature64 || publicY32 || nonceY32.
Borrowed descriptors reference the single received byte buffer. Length and
batch bounds are checked, and every original signature, point hint and ordered
transcript check still runs. Query filtering copies only accepted rows into
the reply buffer. The complete packed query request is 20,169B; selected update
requests are 21,133B at b16; the b20 experiment uses 20,749B. Proof bytes
supplement all original signatures and coordinate hints.
The first matched artifact comparison holds b16/t128 and each population's update window fixed, separating transport and backend changes. These screen rows have one sample each. The later b20 experiment is described separately.
| First matched update | Distinct | Ten share one key | Ten groups of ten |
|---|---|---|---|
| Jacobian, record objects | 44,528,253 | 44,673,798 | 35,036,883 |
| Jacobian, packed records | 41,309,772 | 41,455,317 | 31,818,402 |
| XYZZ, record objects | 44,340,567 | 44,119,096 | 35,022,088 |
| XYZZ, packed records | 41,122,086 | 40,901,160 | 31,803,607 |
Packing saves 3,218,481 complete update instructions in every matched row and 10,268,620 query instructions in each matched population/backend comparison. These full-call differences include decoding and surrounding allocation/reply work; they are not an estimate of all codec instructions.
The XYZZ backend caches squared and cubed projective denominators for public MSMs. It reduces squaring in mixed/general additions while adding storage and doubling work. Independent signature checks, checkpoint arithmetic and secret operations retain their existing types. Finished chain lanes retain bounded coordinates while inactive; masked additions preserve them and a refill replaces them before reactivation. No isolated instruction saving is claimed for that removal of unnecessary clearing.
Longest-first scheduling sorts the remaining bucket chains after the cheap affine-first pass. Its matched ablation raised selected update work by 834,787 / 266,611 / 361,451 instructions for the b16 distinct / ten-shared / ten-group populations when sorting was disabled. The b20 ten-group ablation lost 581,209. The comparison includes its counting, sorting and copying costs.
Digit widths 8 through 32 are now supported, including partial final columns and partial four-lane groups. On the retained ten-group corpus, b20 uses 13 columns: an 834B prefix plus 706B of exact checkpoints. Its 31,576,635 update beats b16's 31,803,607, while its 142,013,047 query costs more than b16's 141,471,847. Independent seeds expose that update advantage's instability: seed 2 gives b20/b16 32,830,559 / 31,706,812, a 1,123,747-instruction regression. Across three additional ten-group seeds, b20 averages 31,980,931 versus b16's 31,800,617.67. The selected configurations therefore retain b16/t128, with W6 for distinct/ten-group populations and W7 for lightly repeated keys. The smaller-proof b20 experiment remains explicit; parameters are fixed by population across seeds rather than chosen after seeing each batch.
The selected and previous-checkpoint profiles both reconcile their complete ledgers with zero unexplained instructions and zero observer delta. Attribution uses physical Wasm functions from the name section; neither artifact includes DWARF, so these are not source-line or complete inline-call measurements.
| Identified physical-function self charges | R2 | Selected R3 |
|---|---|---|
| SIMD field multiplication | 20,609,416 | 20,666,936 |
| SIMD field square | 7,411,182 | 5,230,344 |
| Named native-decoder functions | 2,609,408 | 21,738 |
Other decoding work can be inlined or attributed elsewhere. Explicit selected update vector backing is 80,797B at b16/W6 and 86,045B at b16/W7; the b20/W6 experiment uses 80,086B. These exclude decoded buffers, compiler frames and allocator overhead. These figures are not peak memory.
Final gates passed 178 native package tests per backend, four explicit XYZZ vendor tests, and 37 host tests. Live primary calls independently reproduce complete proof bytes with Noble/OpenSSL and reject seven altered-proof/statement cases per population, including a validly encoded wrong checkpoint, changed order, changed message, false signature and truncation. Independent review checked 1,178 raw traces and 18,530 Noble signature verifications across the full evidence set.
All 30 fresh installed-Wasm configurations passed across nine independently seeded 105-record corpora: three seeds for each main population. Each configuration checked base/checkpoint query and update calls, a fresh zero-query checkpoint update, and seven rejection cases. The table shows checkpoint-update means over the three seeds, using the fixed configurations above; each configuration has one measured sample. The alternative windows and b20 results remain in the evidence packet, including the b20 regression.
| Additional-seed population | R2 mean update | R3 mean update | Reduction |
|---|---|---|---|
| Distinct, b16/W6 | 46,183,660.67 | 41,014,990.00 | 11.19% |
| Ten share one key, b16/W7 | 45,399,289.00 | 40,597,052.00 | 10.58% |
| Ten groups, b16/W6 | 36,135,077.67 | 31,800,617.67 | 12.00% |
These checks support the selected configurations over the tested corpora; they do not establish a universal best window or digit width.
The selected Wasm64/SIMD128 artifact is source
8659f5d0c6066f0a2cf67965a007aa94df3bc22d, Wasm SHA256
3cae0da013c4d6638b16731ab1583a390a6709f02a18a7e98be93a8862918103.
The SDK remains 33f54b62b46a6693ff6e193a752e052eaa124884; PocketIC 16.1.0
remains pinned to SHA256
6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6.
No SDK runtime, RRT or RRts code changed, and Heavy16 was not rerun for this
crypto-only round. The evidence packet retains exact source/artifact receipts,
raw complete-call traces, matched controls, ablations and function profiles.