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

Polynomial commitments and binding

A polynomial commitment lets a prover fix a polynomial now and prove an evaluation of it later. The verifier receives a short commitment and an opening proof instead of reading the complete polynomial.

Akita's main interface commits to multilinear tables. For example, over , the table

Value
1
3
2
4

defines the multilinear polynomial . An opening at claims the value . The point need not lie on the Boolean table domain.

The statement and its guarantees

Setup produces public parameters. Commitment maps an admissible table to a public value , together with prover state retained for opening. Opening takes the committed table and a point , and produces a proof for the claimed value . Verification checks

Here includes the public setup and the parameters that determine the table's interpretation. The instance descriptor binds those parameters before challenge generation.

Completeness means that honest commitment and opening computations produce an accepted claim. Akita also has bounded honest-prover searches for fold responses and transcript proof of work. A search can return an exhaustion error instead of a proof. Its probability is a completeness consideration, separate from whether a dishonest proof can be accepted.

Evaluation binding rules out efficiently producing two accepted openings of the same commitment at the same point with different values, except with the allowed failure probability. In the example, accepting both and at would violate binding. Opening the same polynomial at a different point is ordinary use.

Knowledge soundness asks for more. An extractor with the prescribed access to a successful prover should be able to recover a witness explaining its claim, except with a stated knowledge error. An extractor is an algorithm used in the security argument. It is not the ordinary verifier, and the verifier does not reconstruct the full table during each opening.

Hiding asks whether a commitment conceals its contents, and zero knowledge asks whether a proof reveals information beyond its public statement. Neither follows from binding. Akita's current commitment and opening path does not promise either property. See the current privacy boundary.

Why short vectors matter

An Ajtai commitment applies a public matrix to a short vector. In the ring case, let , let , and let have small integer coefficient representatives. Its image is .

If two distinct admitted vectors give the same image, subtract their equations:

If each input has coefficient norm at most , the triangle inequality gives

The analogous statement for Euclidean bounds is . Module-SIS asks for a short nonzero vector in such a matrix kernel. Ordinary linear algebra can find kernel vectors when the matrix has more columns than rows; the hardness requirement is finding one within the specified bound.

This is why an accepted digit range or response norm is part of the binding argument. An equation modulo the field does not by itself certify a small integer representative. The prover's storage type is not a substitute for a verifier-enforced bound either.

Equations (2) and (3) describe the elementary collision argument. A full folding extraction can introduce additional factors from challenges, decomposition, and ring arithmetic. The concrete SIS bounds must account for those factors rather than using as a universal Akita bound.

The two-tier Ajtai commitment

Akita first computes an inner image for each source block. It decomposes those images into short digits and computes the outer image . A standalone commitment then compresses through two more short-input matrix maps to a 256-byte payload.

This creates several binding obligations. If two different sources share a commitment, follow their images through the chain. Where distinct admitted inputs first acquire the same output, their difference gives a short kernel vector for that map. If inner images differ, the outer and compression maps must authenticate them; if an inner image is shared by distinct source digits, the A relation supplies the collision.

D enters during opening. It binds the opening partials through , with its own compression chain when the fold uses compressed payloads. The fold's consistency relation connects these partials to the same source used by A. The scalar opening relation then connects them to .

Later recursive folds can use raw B and D images. That removes their payload compression maps but preserves the A, B, D, consistency, and scalar-opening obligations. The terminal uses a direct A and consistency check instead of creating another outer commitment. The complete data path is described in setup and commitment and recursion.

Ring dimension, module rank, input width, and accepted norm therefore matter for each matrix actually used. Akita records these in the selected schedule and validates them when expanding it. The coefficient Linf and Euclidean L2 routes use different SIS tables because they certify different norms. Security model owns the concrete sizing policy.

Coordinate-wise special soundness

Folding compresses many source blocks into a response . One response alone cannot recover all the . Extraction instead considers accepting answers to related challenges while keeping the earlier messages fixed.

For intuition, suppose two answers differ only at coordinate . Honest responses satisfy

If the challenge difference is a unit, division recovers . In a ring, a nonzero difference need not be a unit. The full ring argument must establish the unit property and control the bounds needed for a matrix-collision reduction. Equation (4) illustrates the coordinate fork; it does not by itself establish those properties.

Coordinate-wise special soundness, or CWSS, describes the accepting transcripts needed for this extraction. At one fold, take the original selected accepting run as the central child. For each coordinate, obtain another accepting child that changes only that coordinate. All children share the prover messages sent before the challenge, and each has its own accepting proof for the later checks. Repeating this construction at every fold produces an accepting transcript tree.

At fold level , commitment group has pairs, the coordinates of CWSS. Each pair's challenge is one sparse ring element for a claim and source block. The transcript squeezes one message per group and splits it into fixed-width slots, one per pair in claim-major order, each decoded into a challenge. The group payload binds the method, dimension, challenge family, group index, and counts. In the ideal-oracle model the message is uniform, so the extractor can replace one slot while keeping the others fixed.

There are two opening methods. Evaluation trace uses the scheduled challenge ring and permits coefficient-Linf or selective-L2 response security. Subring coefficient packing samples in the specified challenge subring and requires the Linf route. Selective L2 currently requires one scalar group; the terminal has one evaluation-trace group with one claim. Packing also has a separate consistency polynomial check of degree at most , where is the challenge-subring dimension. Its field error enters the relation-check ledger.

Let be the support after fixed sampler filters. For a shell in dimension with coefficients of magnitude one and of magnitude two, its unfiltered cardinality is . The production shell ladder has at least 128 support bits per coordinate. Selective L2 at D64 and D128 uses a fixed operator-norm predicate; its certified accepted subset also retains at least 128 support bits. The grinding specification records the exact families. The accepted-support bound is the denominator used below, including for filtered samplers.

Binary CWSS uses a common prechallenge prefix and, for each coordinate, a pair of accepting children that agree everywhere else. Each child has its own complete accepting subtree for the later ring, range, norm, relation, and recursive checks. Later challenges may differ. These strong checks recover exact native-ring identities and verifier-certified response bounds below each child. If the children open a common commitment path differently, the commitment maps give a scheduled matrix collision. Otherwise, subtraction cancels every unchanged fold term. The production LS18 check makes the remaining nonzero challenge difference a unit in both opening methods, so division recovers that coordinate's weak opening. The extractor accepts any source opening that satisfies the verified relations. To bound a collision, it cross-multiplies accepted responses and challenge differences before centering the resulting kernel vector.

The terminal's direct relations authenticate its incoming opening. Applying the preceding step backward through the folds extracts the root openings or a short collision in a scheduled matrix view. A fold with coordinates in group requires children. These factors multiply across folds and with the other challenge stages. The grinding specification gives the extraction and collision steps in more detail.

Fiat-Shamir queries and fold nonces

Fiat–Shamir derives each verifier challenge from the public statement and the proof prefix through a random oracle. A dishonest prover can try several proof prefixes, including different fold-response nonces, before submitting one proof. The security bound therefore counts the oracle queries that the prover actually makes.

The loss of one fold message

Fix a transcript prefix just before a fold's challenges. Let be the number of pairs at fold , and let be the size of the smallest challenge set among its groups. For one pair, hold every other challenge fixed and vary that pair's challenge. Two suitable accepted values give the fork the extractor needs, so the matching-input failure occupies at most one of the equally likely values. A union over the pairs gives

The fold's challenge messages come from one transcript state, so the whole fold is one priced query, like any other challenge site.

The fold proof of work

Each Akita challenge site is priced so that one hash call buys at most about chance of failure. At the first fold of a large proof is in the thousands, so (5) alone would miss that rate by several bits. The plan therefore puts a proof of work of bits in front of every fold's messages, with the least integer satisfying

A fresh fold message then costs about hash calls, and each call buys at most . The honest prover pays the same work once per fold-response attempt; the verifier checks it once. No design that draws a fold from one message can price lower: an attacker can always do what the honest prover does.

The operator-norm families are priced at , the size their certificates prove. The 12-bit fold-response nonce lets the prover try more prefixes; every such trial pays the fold proof of work again and is counted among the prover's queries.

From the fold bound to a security claim

With the adversary's hash calls and the fold messages the final verifier completes itself, the fold term is at most . For example, gives a fold term of at most . An aggregate 128-bit target requires enough margin to cover the declared query budget.

The full knowledge-soundness calculation also includes the other challenge checks, setup distance and scheduled matrix-collision advantages. Each field challenge must use the loss of its actual position in the complete extraction tree when pricing the full calculation. The current grinding plan prices its typed local field checks; a complete tree calculation supplies their combined extraction debits. The fold tree itself contributes to extractor cost. The complete tree, including its other challenge stages, must have polynomial size in the declared instance length and security parameter for an expected polynomial-time knowledge extractor.

This analysis is in the classical random-oracle model. The grinding specification gives the detailed reduction ledger and implementation evidence.

Honest search measures how often the response fits the scheduled cap. Under an independent-trial model with per-trial acceptance probability , the chance of exhausting attempts is . This is an honest-proving completeness measure. Any estimate of is tied to its measured source and schedule.

A concrete security claim combines matrix hardness estimates with the folding, ring-relation, sumcheck, and Fiat–Shamir bounds.

Implementation map

  • crates/akita-params/src/sis/ owns matrix and norm security parameters. Schedule validation checks the selected geometry against those parameters.
  • crates/akita-prover/src/protocol/fold_grind.rs performs bounded honest response search.
  • crates/akita-challenges/src/sampler/stream.rs decodes one group message into sparse challenges.
  • crates/akita-types/src/instance_descriptor/ binds schedule identity and the protocol-wide grinding contract.
  • crates/akita-verifier/src/terminal/direct.rs checks the final response norm and direct relations.
  • crates/akita-pcs/tests/fold_linf.rs and crates/akita-pcs/tests/transcript_hardening.rs provide regression checks for nonce replay, bounds, and transcript tampering. Such tests support the correspondence with the implementation; they do not prove extraction.