POST-QUANTUM FIRST (FIPS 204 ML-DSA) · TEPHRA GOSSIP-ABOUT-GOSSIP FINALITY · GEODE KOALABEAR STARK PRIVACY
← SPR Registry · SPR-002 Academic / Custom PQ Research Offline Tooling

Aerie Lattice STARK Archive Compaction

Abstract — Hash-based STARK compaction over sealed historical FN-DSA-1024 block segments, reducing archived witness storage while preserving pinned historical authority.

Document / Authors
SPR-002 · Silica Protocol Engineering
Updated 2026-11-19 · Archive Compaction
Standards & Deployment
Academic / Custom PQ Research
Offline Tooling
Audit & Source Scope
External Audit Pending (Internal Tests & Review)
silica-aerie-falcon-shadow-pcs · bin/silica-archive

§1 · Cold Storage Overhead & Rejected Compaction Schemes

While FN-DSA-1024 shrinks per-signature size to 1,280 bytes compared to ML-DSA-87 (4,627 B), keeping raw lattice witnesses for every finalized transaction and checkpoint grows archival node storage linearly with chain history. Pairing-friendly BLS signature aggregation solves this classically, but relies on elliptic-curve pairings broken by Shor’s algorithm.

Aerie V2 achieves post-quantum historical compaction by running a hash-based Plonky3 Polynomial Commitment Scheme (PCS) proof over finalized FN-DSA-1024 witness batches below the hot-prune horizon. Critically, evaluating candidate designs eliminated naive ML-DSA compression shortcuts:

Aggregation / Compaction Approach Assessed Size / Trait Architectural Disposition & Rationale
Aerie V2 FN-DSA-1024 Shadow PCS
(Plonky3 STARKs over mod-q NTRU eq.)
105,294 B / 1,024 sigs
(102.8 B/record)
Selected & Active Offline. Linear NTRU verification (s_1 + h * s_2 = c mod q) arithmetizes cleanly inside Plonky3 over small finite fields, yielding a 91.94% logical payload reduction across 10,000 blocks.
Public-w1-Only ML-DSA Hash Compression
(FIPS 204 commitment trick)
800 / 816 / 1,088 B naive claim Rejected as Mathematically Unsound. Publishing w_1 = HighBits(A*y) alone proves nothing without zero-knowledge verification of the small-norm bound ||z||_inf < gamma_1 - beta; naive w_1 hashing would verify forged witnesses.
Full ML-DSA-87 Lattice Relation in STARK Unbuilt (high constraint width) Deferred. Proving full FIPS 204 SHAKE256 challenge expansion plus PolyVec norm checks requires heavy Keccak/Shake arithmetization compared to FN-DSA’s linear congruence.
BLS12-381 Pairing Multi-Signatures 96 B aggregate Rejected (Pre-Quantum Only). Directly exposed to Shor’s algorithm.

§2 · PCS Batch Scaling & Salt Overhead Analysis

In silica-aerie-falcon-shadow-pcs, proof compression amortization improves rapidly with batch size n as constant FRI opening overhead and domain commitments are shared across hundreds of verified FN-DSA records. Both 512-degree and 1024-degree parameters were benchmarked across n ∈ {4, 16, 64, 1,024} (note that Silica production binds strictly to Falcon-1024 / Draft FIPS 206).

Figure 1 — Aerie PCS Proof Compression Ratio & Size by Batch Count (Falcon-1024)
Amortizing fixed FRI & commitment overhead from 4 records up to 1,024 records (raw Falcon-1024 batch at n = 1,024 is 1.25 MiB)
n = 4 Falcon-1024 Records (15,113.8 B/record · 11.81× raw (overhead dominates)) 60,455 B (59.04 KiB)
n = 16 Falcon-1024 Records (4,373.8 B/record · 3.42× raw) 69,981 B (68.34 KiB)
n = 64 Falcon-1024 Records (1,366.0 B/record · 1.07× raw (break-even near 70 sigs)) 87,424 B (85.38 KiB)
n = 1,024 Falcon-1024 Records (102.8 B/record · 0.0803× raw · 264.8 ms prove / 6.86 ms verify) 105,294 B (102.83 KiB)
Measured in Aerie v0.2.0 PCS benchmarks. Break-even relative to raw 1,280 B signatures sits just above n = 64; at n = 1,024, proof cost drops to 102.8 B per signature.

Salt-Factorization Design Decision: Every FN-DSA signature carries a 40-byte non-deterministic nonce r used inside hash-to-point challenge synthesis (c = HashToPoint(r || msg)). Rather than stripping r, Aerie preserves the 40-byte salt inside segment metadata (costing 40 / 1280 = 3.1% of raw signature width) or hashes common block-bound salts while checking the exact polynomial verification equation against committed block digests.

§3 · Below-Prune Offline Compaction Boundary

Aerie compaction runs strictly offline via silica-archive compact and silica-archive verify against sealed block segments beneath the chain’s durable hot-prune horizon. Hot consensus and recent finality checkpoints continue verifying individual raw signatures directly.

Figure 2 — Hot-Prune Safety Guard & Sealed Segment Flow
SEALED SEGMENTS (BELOW FLOOR) Blocks 1 – 10,000 finalized Raw FN-DSA-1024 witnesses 164.82 MB logical / 218.18 MB SST AERIE STARK COMPACTOR silica-archive compact ~5.8 s prove / 1,000 blocks <3.1 s verify per segment FAIL-CLOSED ACTIVE TIP GUARD Segment 11,000 vs Tip 12,825: REJECTED (not below hot-prune) Prevents compacting live state
Signed transaction intent, historical state roots, and finalized authority anchors remain preserved inside each compacted segment bundle; witness polynomials collapse into a single Plonky3 FRI proof.

§4 · 10,000-Block Archive Soak & Negative Fault Corpus

Across 10 sealed segments (blocks 1–10,000, containing 1,481 native FN-DSA-1024 transactions), Aerie compaction delivered sustained logical and physical RocksDB reductions while verifying every compacted segment under ~3.1 s:

Figure 3 — 10,000-Block Archive Footprint Before vs. After Aerie V2
Recorded offline across 10 sealed 1,000-block segments (1,481 FN-DSA-1024 transactions)
Logical Witness Payload (Before) 164.82 MB
Logical Witness Payload (Aerie V2) 13.29 MB (-91.94%)
Physical RocksDB SST Disk (Before) 218.18 MB
Physical RocksDB SST Disk (Aerie V2) 64.17 MB (-70.59%)
Proving runs ~5.8 s per 1,000-block segment; strict verification completes in <3.1 s.
Fault / Safety Guard Checked Boundary Enforced Observed Behavior
Active-Tip Horizon Violation Attempted compaction of segment 11,000 vs. chain tip 12,825 Rejected fail-closed prior to RocksDB mutation
Partial Witness / Root Tampering Bit-flipped FN-DSA public key, digest, or FRI proof bytes silica-archive verify fails cryptographic validation cleanly
Preserved Intent Readback Transaction payload & finalized state anchors after pruning raw sigs Intent, timestamps, and anchors remain queryable across all 10,000 blocks

§5 · Security Disclosure & Statement of Work Scope

  • Audit Posture: silica-aerie-falcon-shadow-pcs is a custom Plonky3 polynomial commitment construction; it awaits independent third-party cryptographic soundness and FRI parameter audit certification.
  • Operational Scope: Compaction applies strictly offline below the durable prune floor and covers only FN-DSA-1024 segments. Hot consensus and recent finality state do not depend on historical Aerie proofs.
  • ML-DSA Status: Equivalent compaction for ML-DSA-44/87 transaction batches remains intentionally unimplemented until a full norm-bounded STARK verifier circuit is designed and audited.
Statement of Work Deliverable Status Verification Evidence
Aerie V2 Shadow PCS (Falcon-512 / Falcon-1024, n = 4..1,024) Delivered 105,294 B proof at n = 1,024; 264.8 ms prove / 6.86 ms verify
Offline silica-archive compact & verify + Hot-Prune Safety Guard Delivered 10,000-block soak (-91.94% logical / -70.59% SST); zero-warning cargo check --all-features --bins --tests
Third-Party Cryptographic Soundness Audit of Custom Shadow PCS Open / Gated Queued for external cryptographic audit

References: Ben-Sasson et al., Fast Reed–Solomon Interactive Oracle Proofs of Proximity (FRI); Laarhoven & de Weger / Aerie Polynomial Commitment Lattice-Folding Literature; Plonky3 Cryptographic Toolkit (Polygon Zero).

All SPR Specifications ↗