Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Names for the structures of a proof system

A survey of what proof-system papers and libraries call the algebraic structures that play distinct roles in a proof, carried out to settle this study’s own terms. The study compares systems in which those roles are filled by different structures, so it needs a name for each role that does not depend on which system is being described. The survey follows the form of CompElliptic’s naming survey and agrees with it where the two overlap, on “native” and “non-native” in particular.

The roles

The roles are those of the model that the study works to:

  • A statement makes claims over whatever structures express it most naturally: fields, rings, the integers and ranges of them, bits, and vectors over any of these.

  • A proof system specifies one arithmetization, which implements a general relation. A circuit specializes that relation to express an intended statement. The expression is knowledge sound if and only if, for any instance, knowing a witness for the circuit implies knowing a witness for the statement.

  • The arithmetization’s polynomial constraints are over a particular ring. The circuit is defined over that ring, which is the native ring of the arithmetization.

  • The proof system commits the instance and the witness with a commitment scheme, which need not be based on the native ring. The scheme takes a message from its message space and gives a commitment in its commitment space, its output space: typically a ring, a curve group, or a code’s ambient space (the set of possible codewords).

  • When a message is a vector over a ring, that ring is the commitment ring. Only a subset of the ring’s elements may appear in a message. That subset is the commitment alphabet, and a member of it is a digit. For a lattice-based scheme the message space and the commitment space are both over the commitment ring: a message is a vector of its elements, and so is a commitment.

  • The polynomial identities that the proof system checks are checked in a field, the checking field. The native ring maps into it by a ring homomorphism. The checking field may be any field: prime or not, and of any characteristic. An argument by the Schwartz–Zippel lemma needs it to be large. Examples of the map are:

    • the identity, where the native ring is already a large field;
    • the inclusion of a small field into an extension of it, such as a 64-bit prime field into its quadratic extension, or the field of two elements into one of ;
    • the reduction of the integers, or of a ring over them, modulo a random prime, as in Zinc, BitZ, and Kishu’s fingerprint route. Zinc calls this a projection. A proof system takes several primes, with a checking field for each. The reduction has an error of its own, the chance that every one of the primes divides a nonzero value, beside the Schwartz–Zippel error;
    • a reduction followed by an inclusion, since ring homomorphisms are closed under composition.

    The checking field and the map are implementation details that a circuit’s writer does not see.

The survey asks what others call each of these, and whether any name is established for the last.

Sources surveyed

  • Small-field proof systems (code): Plonky3, Plonky2, Winterfell, stwo, RISC Zero, SP1, Binius, the WHIR reference implementation, Jolt.
  • Circuit frameworks (code and documentation): arkworks ark-r1cs-std, gnark, halo2 and its book, halo2wrong, halo2-lib, o1js, barretenberg, Noir, circom.
  • Lattice-based proof systems (papers): LaBRADOR, Greyhound, LatticeFold, LatticeFold+, Hachi, Akita, Neo and SuperNeo.
  • The two systems this study starts from (their books): Akita’s and Ragu’s.
  • Other papers: Diamond and Posen on binary towers; Bagad, Domb, and Thaler, and Dao and Thaler, on sum-check over small fields; WHIR; Zinc and Zinc+; BitZ; Dao, Kominers, and Thaler on proximity gaps.

Not verified, and so not relied on: SP1’s prose documentation, Kimchi’s, binius.xyz, circomlib, the reference code of LaBRADOR, Greyhound, and Hachi, and what Jolt calls its challenge field.

Consensus vocabulary

RoleDominant term or terms
Native ringnative field in the circuit frameworks; base field in the small-field proof systems
Arithmetic outside the native ringnon-native (nearly universal); also emulated, foreign field, wrong field
Checking fieldextension field, as a description; no shared name for the role
Commitment spacecommitment space in some definitions of a commitment scheme; no surveyed proof system names it in general; the ring and its modulus in the lattice papers, and commitment ring in Akita; a commitment curve in Ragu; a code’s ambient space in the hash-based systems
Commitment alphabetshort or low-norm vectors under a norm bound; digits from a gadget or base- decomposition; alphabet in Akita

Two cautions stand out:

  1. No role name is established for the checking field(s). Every source whose native ring is a small field describes them as extension fields, which says how they are built and not what they are for. Four sources name the role, with four different names. The model’s own working name, “internal ring”, was a fifth.
  2. “Base field”, “scalar field”, “alphabet”, and “challenge” each mean two or more of these roles in widely read sources (see the cautions below).

Role by role

The native ring

  • arkworks: the type parameter ConstraintF, and “native field” in prose.
  • gnark: “native field is defined by the scalar field of the underlying curve”.
  • halo2wrong: “native field”. halo2-lib: “scalar field used in the proving system”, and “native”.
  • halo2’s book: “a finite field ”, with no word for the role.
  • o1js: “native Field”, and for its curves “pasta base field”. barretenberg: “modulus of the native field”. Noir: “native field type of the proving backend”.
  • Plonky2: F, the “main field”. Plonky3: Val. Winterfell, stwo, RISC Zero: BaseField, “the base field”. Jolt: “scalar field”.
  • Akita’s paper: “32-bit base field”, and “native field” for the field its inputs are sampled over. Akita’s book: “base field” throughout, defined as “the field that stores committed coefficients and supports the lattice relation”; also “commitment field” as a table’s heading.
  • Ragu’s book: “native field” and “circuit field” (C::CircuitField), with “nested field” for the other field of its curve cycle.
  • Diamond and Posen: “the scheme’s native field”.

“Native field” is the one term that the circuit frameworks share, and it is CompElliptic’s too. The small-field systems say “base field”, because for them the field’s defining feature is that something is built over it.

Arithmetic outside the native ring

  • arkworks: “non-native field”, in the type EmulatedFpVar (formerly NonNativeFieldVar).
  • gnark: “non-native arithmetic”, in the package emulated.
  • halo2wrong: “wrong field”, with wrong_modulus in its source. halo2-lib: “emulate a ‘non-native’ finite field”.
  • o1js: “foreign field”, and also “non-native field arithmetic”.
  • barretenberg: “non-native field”, in the type bigfield, with a “target modulus”.
  • Ragu’s book: “non-native field”, and “foreign field” for the same.
  • Zinc+: “non-native arithmetization”. BitZ: “foreign field statements”.

“Non-native” is used by every source that names the idea. “Emulated”, “foreign”, “wrong”, and “target” are each one or two libraries’ words for the same thing.

The checking field

  • Plonky3: type Challenge: ExtensionField<Val<Self>>, documented as “the ExtensionField from which most random challenges are drawn”.
  • stwo: SecureField, “the secure field used for Fiat-Shamir challenges”.
  • Binius: FExt, “the cryptographic extension field that the constraint system protocol is defined over”.
  • WHIR’s implementation: the Target of an Embedding, with the base field as its Source. WHIR’s paper: “a sufficiently large extension of the base field”.
  • Plonky2: FE, “field extension of degree D of the main field”. RISC Zero: ExtElem, “an element of the extension field”. SP1, Jolt: “extension field”.
  • Winterfell: an option, FieldExtension, with the rationale that “security offered by the base field itself may be inadequate or insufficient, and an extension of the base field may need to be used”.
  • Akita: a field that “plays one of two roles: the coefficient field of a committed polynomial, or only the challenge and evaluation field of sum-check”; also “challenge field” and “opening field”.
  • Akita’s book: four names for the one field. Its glossary has “extension field”, “a larger field used for opening points, claimed evaluations, and transcript challenges”. Elsewhere it says “the challenge field contains the random evaluation points used by the protocol”, “an opening field for evaluation points and claimed values”, and, twice, “claim field”.
  • Neo: “sum-check challenge fields”. Dao, Kominers, and Thaler: “challenge field”.
  • LatticeFold+, Hachi: “sumchecks are running over an extension field”.

Where challenges are drawn from is a different thing from where the constraints are checked, and several sources keep the two apart:

  • LatticeFold+: “the folding challenge set is of size …, and the sumchecks are running over an extension field . We can achieve the desired security by setting and appropriately”. Two structures and two parameters.
  • LaBRADOR, Greyhound, Hachi: the “challenge space” is a set of short ring elements whose differences are invertible, not a field.
  • Akita’s book: a “challenge field” for evaluation points, a “challenge subring”, and a “sparse challenge family” for the fold, of which “every accepted challenge set has at least elements”.
  • Neo: “the relation and sum-check challenge fields may differ”.
  • Ragu’s book: challenges are bit strings, 143 bits of a squeezed value, each lifted to a scalar in the circuit field. One set of challenges drives the checks in both fields of the cycle.
  • Plonky3: its Challenge is the field “from which most random challenges are drawn”; its challenger also samples bit strings.

Where a commitment is opened is a third thing. In the field-based systems the evaluation points and the opened values are in the same extension as the checks (Plonky3, stwo, Binius, WHIR, and Akita at its interface). In the lattice systems an “opening” is the short ring preimage of a commitment, not an evaluation. LatticeFold has “an opening to an Ajtai commitment”, and Greyhound and Hachi have openings that are tuples of short vectors. Akita’s book has an “extension opening ring”, a ring over the extension and distinct from it. In the hash-based systems a Merkle opening reveals symbols of a code’s alphabet, which is another field again (Binius’s FEncode). So “opening field” does not name the checking field in general either.

So a name built on “challenge” describes the set that challenges come from, which may be a proper subset of the ring in which the Schwartz–Zippel argument is made, or not a subset of it at all.

The names that say what the field is for are “challenge field” (Plonky3, Akita, Neo, and Dao, Kominers, and Thaler), “secure field” (stwo), “cryptographic extension field” (Binius), and “opening field” and “claim field” (Akita). Akita’s book is the one source that uses several of them for one field within one document. “Challenge field” has the most support. It collides with the lattice papers’ “challenge space” and “challenge set”, which are a set of short ring elements for the fold’s challenges, and with Akita’s “challenge subring”.

The commitment scheme’s spaces, its ring, and its alphabet

  • LaBRADOR: an “arbitrary modulo ”, unrelated to the statement’s “R1CS mod ”; witnesses “decomposed into … parts” in a “small base”, with “centered representatives” and a “norm bound”.
  • Greyhound: a “PCS … over a ring ”; “gadget matrices”, a “gadget vector”, “short vectors”, a “norm bound ”.
  • LatticeFold and LatticeFold+: “norm bound ”, “low norm”, “writing every entry of in base ”, “bit-decomposition”.
  • Hachi: “cyclotomic rings ”, “norm bound ”.
  • Akita’s paper: “commitment ring”, “gadget decomposition”, a “balanced -element digit alphabet”, a “small-integer decomposition of the message”. Akita’s book: “commitment ring”, “cyclotomic ring”, “balanced signed digits”, and a “digit set” where the paper has an alphabet. It uses “native ring” for something else: a row’s own ring dimension.
  • Ragu’s book: a “host curve” for commitments, with table headings “Field of the Polynomials”, “Commitment Curve”, and “Field of the Coordinates”.
  • Neo: “the field underlying the Ajtai commitment”, and “pay-per-bit” for a cost that follows the committed values’ size.
  • Binius: FEncode, “the Reed–Solomon alphabet used for FRI encoding”. Diamond and Posen: “the alphabet of the Reed–Solomon code”, against “the coefficient field of the polynomials committed”. These are a code’s alphabet, the symbols of a codeword, which is on the side of the commitment space. It is not the commitment alphabet of the roles above, which restricts a message.

No source has a term that covers a ring, a curve group, and a code’s field together. “Commitment ring” is Akita’s own term for the first, in the sense wanted here. For the set of committed values the lattice papers describe a property (short, low norm) or a construction (gadget decomposition, digits), and only Akita names the set, as an alphabet.

The structure that a statement is about

No source has a general term. The nearest usages are:

  • BitZ: coefficients in a ring , and claims “over ” by “a ring homomorphism ”.
  • Neo: “the relation and sum-check challenge fields may differ and are embedded into a common ambient field”.
  • LaBRADOR: the statement’s modulus against the commitment’s.
  • barretenberg: “target modulus”, for the non-native field of a bigfield.

Cautions

TermMeanings found
base fieldthe small field under an extension (Winterfell, stwo, RISC Zero, Jolt, Akita); a curve’s field of definition, which is the native field in o1js and the non-native one in halo2-lib
scalar fieldthe native field (gnark, halo2-lib); the non-native field of a cycle (Ragu’s C::ScalarField); any field of scalars (Jolt)
extension fieldthe checking field (the small-field systems); also a field that the statement itself is over (Hachi, Akita, SuperNeo)
challengethe checking field (Plonky3, Neo); a set or subring of short elements (the lattice papers, Akita)
alphabetthe set of committed digits (Akita); a code’s symbol field (Binius, Diamond and Posen); a transcript’s field (Plonky3); an oracle’s symbols (Zinc+)
nativethe circuit’s field (the circuit frameworks, Ragu); an out-of-circuit type (arkworks, barretenberg); a row’s own ring dimension, as “native ring” (Akita’s book)
hostthe field of whoever integrates the scheme, as “host field” (Akita’s book); the commitment curve, as “host curve” (Ragu)
targetthe checking field (WHIR’s implementation); the non-native modulus (barretenberg)
coefficient fieldthe field of a committed polynomial’s coefficients (Akita, Diamond and Posen), which is the native ring only when the commitment is to native values
circuitwhat expresses a statement in an arithmetization (the circuit frameworks, this study); each committed witness of a step, since each is a separately defined circuit there (Ragu)
stepone step of an accumulation scheme (this study); a node’s circuit (Ragu’s Step, Tachyon’s steps)
mergethe succinct verifier and the accumulation verifier in a step circuit (this study); the accumulation verifier alone, under that name (Ragu’s book, after Bünz et al.); the joining of two pieces of proof-carrying data by an application’s step, “merging” (Ragu’s code); an application step that joins transactions, TransactionMerge (Tachyon)
sliceone of the witnesses of a step’s size that a larger circuit is compiled into (this study); one of the parts in which the outer commitment’s matrix is applied, a “B slice” (Akita’s book); a machine’s part of one opening’s witness (Akita’s distributed prover)
splitsplit accumulation (Ragu, after Bünz et al.); the cut of a committed table into blocks, a “block split” (Akita’s book); dividing a circuit or a witness in general
claim fieldAkita’s book uses “claim field” twice for the checking field, after the evaluation claims that a proof system makes internally. Previous revisions of this book also used it that way. In the model above, a claim is what a statement makes, over whatever structure suits it. The term misled the model’s own author for some time.

Implications for this study’s names

  • Native ring, or native field where it is one, for the ring that an arithmetization specifies a circuit’s polynomial constraints to be defined over. It is the circuit frameworks’ term, Ragu’s, and CompElliptic’s. Not “base field”, which is three things, nor “coefficient field”, which is about the commitment. One collision to watch: Akita’s book says “native ring” for a row’s own ring dimension, so a page that quotes Akita has to say which is meant.
  • Non-native for arithmetic outside the native ring, as CompElliptic has it. “Foreign field” is acceptable when quoting BitZ.
  • Commitment space for the output space of a commitment scheme: typically a ring, a curve group, or a code’s ambient space (set of possible codewords). Some recent papers and course notes define a commitment scheme by a message space, a randomness space, and a commitment space. The early papers, such as Brassard, Chaum, and Crépeau’s, do not have the term, and no surveyed proof system uses it. Commitment ring, with its modulus, for the ring that a lattice-based scheme’s messages and commitments are over. That is Akita’s term in this sense. Not “commitment group”: a code’s words are not group elements in any way that matters to the scheme.
  • Message space for what a commitment scheme commits to, as definitions of one have it.
  • Commitment alphabet for the set of ring elements that may appear in a message. Akita’s “alphabet” supports it, and the qualifier keeps it apart from a code’s alphabet in the hash-based families. A member of it is a digit.
  • Checking field for the field in which the proof system checks its polynomial identities, whatever field the native ring maps into. It says what happens there, and it sits beside prose that readers of Akita already know: Akita’s book has a chapter “Checking ring relations over a field”, and that field is the one meant. No surveyed source uses it as a name, so it carries no prior meaning, in the way of CompElliptic’s “depiction”. Every system in this study checks in a field, even where its native ring is not one, so the general form “checking ring” is not needed, and it is avoided: beside Akita’s “checking ring relations” it would not parse. The other candidates each fail:
    • “extension field” names no role, and is also used for a field that a statement is over;
    • “challenge field” names where challenges are drawn from, a separate role (below);
    • “opening field” and “evaluation field” name where a commitment is opened, which coincides with the checking field only in the field-based systems. Besides, “evaluation domain” already means the set of points that a polynomial is evaluated on;
    • “claim field” clashes with a statement’s claims;
    • “secure field” (stwo) claims more than it means, and “soundness field”, formed the same way, is free but says why the field exists and not what is done in it;
    • “internal ring”, the model’s first working term, is a ring object in a category to a category theorist. Akita’s and Ragu’s books both use “internal” for other things. “Inner” and “outer” name the layers of a commitment in the lattice papers.
  • Challenge space for what a challenge is drawn from, whatever its structure: a field, a subring, a set of short ring elements, or bit strings. It is the term of LaBRADOR, Greyhound, and Hachi. “Challenge set”, which LatticeFold+ and Akita use, can be confused with the set of challenges used in one run of the proof system, or with a set of bad challenges.
  • Statement, arithmetization, and circuit as in the model above. The pages’ “claim field” becomes the checking field, and an evaluation claim inside the proof system is called that, in full.
  • Node for a vertex of a proof-carrying-data graph. A node has a circuit, which takes the headers of the nodes that it depends on, checks whatever the application needs, and publishes a header of its own. The scheme attests that every node of the graph was satisfied.
  • Step for one step of an accumulation scheme. In a step the prover commits a witness, and the proofs that the step takes in are folded into one accumulator; a merge circuit, proved in the step, verifies that fold. The nodes’ circuits are compiled into steps.
  • Merge for the part of a step circuit that is not the application’s. It consists of two things: the succinct part of the verifier of each step that this one takes in, which checks that step’s PIOP transcript and derives its challenges; and the accumulation verifier of Bünz, Chiesa, Mishra, and Spooner, which checks that the accumulators and the steps’ claims were folded correctly into one accumulator. A merge takes in one step or two. One that takes in a single first step has nothing to fold, and is the first part alone.
  • Slice for a way of compiling a circuit that is larger than a step, in an accumulation scheme whose steps have a fixed size. The circuit becomes several committed witnesses of that size, the slices, each with its own evaluation claim. Kishu’s steps have a chosen length, and it has no slices. The pages keep “circuit” for what expresses a statement, and for Ragu’s own named circuits. For schemes other than Kishu and Ragu, they say that a circuit is “divided” over slices, as a merge circuit is for some of the schemes. Split is not used, to avoid confusion with split accumulation.
  • Family for one entry of the frontier page’s list of schemes. A family is a proof system with everything that names it fixed: its commitment scheme, its native field, its commitment ring where that is not the native one, and whether it accumulates by ARC, by a fold, or by its own recursion. Kishu under each hash that its merge may use is a family of its own.
  • Configuration for a family at one setting of what the family leaves open, such as its step rank or step length, its rate, its grinding, and whether it is zero-knowledge. A configuration is one point of the frontier’s plot, and one row of its table. The pages keep “row” for a row of a table or of a matrix.

Akita’s own presets are named for the native field (fp128, fp64, fp32), and its tables for the commitment ring’s modulus (q128, q64, q32). The cost model’s keys follow the same two conventions.

Terms specific to Akita

These are terms of Akita’s commitment scheme that the pages take from Akita’s book. They are below the level of the roles above, and a reader of the other schemes does not need them.

  • Digit plane for one digit position of a vector’s coordinates, taken across the whole vector: a coordinate of several digits is that many digit planes, each a vector of digits as long as the original. A masked accumulator’s coordinates are nine to eleven base-8 digit planes.
  • Block for one of the equal parts that a committed table is cut into for the fold, whose response is one block long. The book calls the cut a “block split”.
  • B slice for one of the one, two, four, or eight parts in which the outer commitment’s matrix is applied, which the book also calls “commitment slicing”. The pages do not use it, and it is not the slice of a step.

Sources

Small-field proof systems:

Circuit frameworks:

Papers:

A definition of a commitment scheme whose key “defines a message space, randomness space, and commitment space”:

  • Masayuki Tezuka and Keisuke Tanaka, 1-out-of-n Oblivious Signatures: Security Revisited and a Generic Construction with an Efficient Communication Cost — https://arxiv.org/abs/2404.00602

CompElliptic’s naming survey — https://github.com/daira/CompElliptic/blob/main/design/naming-survey.md