A systematic MDS erasure code with generator [I | Pᵀ] protects k data symbols with
r parity symbols such that any k of the k+r survive-and-decode. For XOR-engine encoders
(bit-matrix software, FPGA/ASIC), each GF(2ⁿ) entry of the parity block P expands into an
n×n binary matrix, and the encoder's true cost is the scheduled XOR count of that
(n·r)×(n·k) bit-matrix after common-subexpression elimination — not the matrix's one-bit count,
which earlier experiments showed is only a proxy. The question here: for each code shape (k, r),
which field, which polynomial, which matrix — and how cheap can the encoder get?
P must be superregular (every square submatrix nonsingular) for the code to be MDS. Generalized Cauchy matrices Pij = uivj/(xi⊕yj) guarantee this by construction at any size, which matters because exhaustive verification explodes combinatorially (≈10¹⁵ minors at (108,11)). Within the Cauchy family, three levers change the bit-level cost without touching the MDS guarantee: the field polynomial, the evaluation points, and per-row/column scalars. Two further facts drive the design: scheduling (Paar CSE + a row-MST hybrid) recovers 30–65% of naive XORs, and — the headline of the earlier session — optimizing the matrix through the scheduler beats optimizing it for sparseness. This benchmark adds the last free variable: the field size n itself.
The smallest field that fits is always the right field. In all 117 runs, the minimum-n field admitting the shape (k + r ≤ 2ⁿ) produced the cheapest encoder per data bit — usually by 10–25% over GF(2⁸). Mechanism: halving the symbol width halves the bit-matrix rows per parity symbol, which densifies input-pair co-occurrence, which is precisely what CSE converts into shared temporaries. The loss of point-selection freedom in a crowded small field never outweighed it.
r = 2 is solved. Every RAID-6-shaped code landed exactly on its no-sharing floor r(k−1)/k — e.g. (4,2) at 1.500 XORs/bit in every field from GF(2³) up.
Small fields dive below the no-sharing floor. (4,11) in GF(2⁴) costs 6.56 XORs/bit against a floor of 8.25 — cross-output sharing at work; per-row lower-bound arguments do not bind scheduled encoders.
Three prior champions retired. RS(108+4): GF(2⁷) at 3.824 XORs/bit beats both the GF(2⁸) co-design (4.089) and the certified permutation-power code (4.030). RS(108+5): 4.813 vs 4.873 from the earlier Python pipeline. RS(10+4): GF(2⁴) at 3.100 beats even the free-search GF(2⁸) champion (3.613) — the field-size lever outweighs the matrix-family lever.
./rs-codesign grid.cd rs-codesign-cpp
make # clang++ -O3, no dependencies
make test # field self-tests + exhaustive MDS checks
./rs-codesign grid # full matrix -> results.csv (this dataset)
./rs-codesign single 7 108 11 90 # one shape, 90 s budget