More Efficient SNARKs via Quasi-Abelian Codes: Faster, Smaller, and Field-Agnostic
Zhe LiHongqing LiuCXChaoping XingYYYizhou YaoCYChen Yuan
Zhe Li
Hongqing Liu
CXChaoping Xing
YYYizhou Yao
CYChen Yuan
+5
This work resolves the long-standing trade-off in SNARK-friendly linear codes by explicitly constructing a family of quasi-Abelian (QA) codes over arbitrarily large prime fields that combine a concretely high minimum distance with practically fast encoding. Through a fine-grained analysis of random rank-1, index-$c$ QA codes over $\mathbb{F}_p[\mathbb{Z}_2^n]$, the authors show their minimum distance reaches the Gilbert–Varshamov bound up to a small constant gap $n/(c\log_2 p)$; concretely, over a 128-bit prime field with $n=20$, relative distance is at least 0.4142, 0.6070, and 0.7040 at rates 1/2, 1/3, and 1/4 with probability $\ge1-2^{-127}$, far exceeding Spielman's code (0.1 at rate 1/2). Walsh–Hadamard-Transform-based encoding gives concrete speedups, and following the Brakedown framework yields a SNARK for ECDSA verification over Curve25519's scalar field that proves in 1.44 s, verifies in 0.08 s, and produces a 3.2 MB proof.

IACR ePrint · May 12, 2026