Research Institute · Programme

What rank-one constraints can express

Rank-one constraint system geometry, witness-width classifications, and impossibility proofs for helper-free zero-knowledge gadgets.

Published 2026-08-29 · updated 2026-09-04

16results
9machine-checked
2negative results
0open cells

The programme

Where things stand

What this programme is about

Zero-knowledge proof systems verify computation by compiling algorithms into systems of quadratic equations called rank-one constraint systems, or R1CS. Each equation has the shape A · B = C, where A, B, and C are linear sums of program variables and hidden witness wires. This programme asks what mathematical relations a set budget of quadratic rows and witness wires can enforce. Outside pure algebra, these bounds govern the size and running time of circuits for hash functions like SHA-256, integer range checks, and bitwise adders. A tight lower bound proves that a gadget implementation can't shrink further. An impossibility theorem tells circuit designers when an operation requires auxiliary witness wires or extra quadratic rows.

What has been settled

For prime fields, MF-158 proves a single R1CS row implements one of four geometric relations, an apparently new classification in R1CS expressiveness. Textbook gadgets are optimal: MF-160 proves IsZero, n-ary AND, n-ary OR, and XOR4 require two rows over F_p, where textbook circomlib lacked prior optimality proofs. For three inputs, MF-159 realizes XOR3 and MAJ3 in one row with zero allocations, halving standard library counts. Zero-testing without witnesses is impossible: ML-050 proves degree-at-most-two equations can't enforce z = [x = 0] without an inverse helper when |F| ≥ 4, while MF-091 fuses IsZero and a multiplexer into three rows, the exact minimum over |F| ≥ 5.

On F₂⁴, MF-059 classifies all 65,536 Boolean functions by minimum witness width, placing 32, 1,120, 63,872, and 512 functions at widths 0, 1, 2, and 3. Four-input AND requires width 3. For width 2, MF-003 delivers the first exact relational negative with phantom witnesses: two Boolean witnesses can't realize AND4 across any finite number of rows in the arbitrary-nonempty-fibre affine-C model. An initial over-broad scope was retracted before selector-closure restored the all-row theorem, and ML-020 confirms the two-witness route is unsatisfiable for all row counts. For width 3, MF-051 rules out three product rows with even fibres.

In linear graph systems over GF(2), MF-064 proves an exact conservation law for forests, where apparent vertex-row savings N - E match created gauge dimensions.

What is still open

Several core bounds and gadget classifications remain unresolved. The parity-degree conjecture MF-013 posits a degree bound of 2m - a + 1 in odd-multiplicity F₂ systems; only a constant nonzero fibre-trace subcase is verified. For modular addition over F_p, ML-085 conjectures an auxiliary-free bound of at least two quadratic rows from quadratic root counts, without an unconditional proof. In arithmetic gadgets, ML-080 catalogs rationality gaps for n-bit range checks with n ≥ 3 and notes the conic obstruction leaving 32-bit addition between 32 and 33 rows. In Boolean systems, MF-058 and ML-020 leave seven singular three-witness three-row orbits unknown for AND4, MF-061 leaves the identity-C sentinel unproved on SHA instances, and MF-012 leaves carry-system pinning conjectural.

How to read the evidence

Exhaustive computational checks and algebraic receipts dominate this register, alongside written paper proofs and certified solver runs. Exhaustive searches cover finite Boolean spaces completely, eliminating small counterexamples without manual calculation errors. Algebraic receipts supply concrete polynomial identities you can evaluate directly. Trust is high for bounded classifications. Uncertified arithmetic estimates remain rough templates awaiting compiler verification.

Showcase

The strongest results here

MF-059EXHAUSTIVE CHECK

Complete witness-width classification of Boolean functions on F₂⁴

Every Boolean function `f: F₂⁴ → F₂` has a well-defined minimum witness width `ω(f)` in the finite arbitrary-affine-C rank-one model with an affine decoder and arbitrary nonempty f

For every Boolean function on four input bits, the arbitrary-affine-C rank-one model has a classified minimum witness width, with AND4 requiring width 3 and the width classes containing 32, 1,120, 63,872, and 512 functions at widths 0, 1, 2, and 3.

exact determinationWhat rank-one constraints can expressfull paper

Published 2026-08-29

MF-091PAPER PROOF

A minimal three-row quadratic constraint system for the inverse-or-default gadget

xy=1-z, xz=0, z(y-d)=0 uniquely defines z=[x=0], y=x⁻¹ (x≠0), y=d (x=0); 3 rows is minimal without auxiliary allocations over |F| ≥ 5

For the fixed field interface exposing z=[x=0] and y=x^-1 when x is nonzero or d otherwise, fusion saves one allocation while retaining three rank-one rows, and three rows are minimal over fields with at least five elements.

exact determinationWhat rank-one constraints can expressfull paper

Published 2026-08-29

MF-158EXHAUSTIVE CHECK

Classification of relations implemented by single-row R1CS over F_p

A single row A·B = C over F_p with m witnesses implements one of 4 types: F^n, {q=0}, {L≠0}∪({L=0}∩{q=0}), or {x : Δ(x) is a square}.

A single R1CS constraint over a prime field with any number of witnesses implements exactly one of four geometric relation types, establishing sharp size gaps and impossibility results.

Prior art: This appears to be a new, partial result applying elementary algebraic geometry to a single quadratic equation. We have not found this specific case in prior literature on Rank-1 Constraint System (R1CS) expressiveness classifications.

structure theoremWhat rank-one constraints can expressfull paper

Published 2026-09-04

MF-160RECEIPTED

Exact R1CS Row Counts and Allocation-Independent Lower Bounds for Basic Gadgets

R1CS row counts: IsZero = 2, AND_n = OR_n = 2 for all n ≥ 3, XOR4 = 2 over F_p (p ≥ 7), with no 1-row systems possible.

Establishes the exact minimum number of R1CS constraint rows needed for standard zero-knowledge gadgets including IsZero, n-ary AND, n-ary OR, and 4-input XOR, proving textbook implementations are optimal.

Prior art: This result is partial: the gadgets rely on standard implementations from circomlib, but no proofs were found showing that these R1CS row counts are optimal.

exact determinationWhat rank-one constraints can expressfull paper

Published 2026-09-04

MF-162RECEIPTED

Witness power, degree collapse, and allocation walls over large prime fields

{x : x != 0} needs 1 witness, XOR3/MAJ3 degree collapse breaks MF-013 over F_p, and primitive walls hold against arbitrary allocations

Over large prime fields, witnesses enable non-zero testing impossible without them, degree collapse prevents parity-degree lower bounds from transferring, and tight constraint walls hold against arbitrary allocations.

Prior art: PARTIAL / INTERNAL.

structure theoremWhat rank-one constraints can expressfull paper

Published 2026-09-04

ML-050PAPER PROOF NEGATIVE RESULT

Impossibility of helper-free IsZero over finite fields with |F| ≥ 4

For |F| ≥ 4, no family of degree-at-most-two equations in (x,z) has solution relation Γ₀ = {(0,1)} ∪ {(x,0) : x ∈ F*}

Over every finite field with at least four elements, no degree-at-most-two equations in the exposed pair (x,z) can realize z=[x=0] without an inverse helper, while F3 is an explicit exception.

impossibility theoremWhat rank-one constraints can expressfull paper

Published 2026-08-29

Every entry

The rest of the programme

Every confirmed result in this programme. Each links to its full paper.

Snapshot 2026-09-06. Generated from the division's registers and curation records; never hand-edited.