Expand description
High-level proof verification for Binius64 constraint systems.
This crate provides the main Verifier struct for verifying zero-knowledge proofs
that a witness satisfies a constraint system. It is the verifier-side counterpart to
binius_prover.
§When to use this crate
Use this crate when you have a constraint system and a proof, and need to verify that the proof is valid. The verifier does not need access to the witness.
§Key types
Verifier- Main verification interface; callVerifier::setupwith a constraint system, thenVerifier::verifywith a proof and public inputsIOPVerifier- Core IOP verification logic, independent of the compilation strategyError- Error type returned when proof verification fails
§Design philosophy
Verifier code is optimized for simplicity, security, and readability rather than performance. It uses only scalar fields (not packed fields), avoids parallelization, and prefers simple data structures.
§Related crates
binius_prover- Proving counterpartbinius_core- Constraint system definitionsbinius_spartan_verifier- Spartan-based verification (alternative backend)
Re-exports§
pub use binius_hash as hash;pub use binius_transcript as transcript;
Modules§
- config
- Specifies standard trait implementations and parameters.
- fri
- Implementation of the Fast Reed–Solomon IOPP (FRI) over binary fields.
- merkle_
tree - protocols
- reduction
- The constraint reduction shared by the single-instance and batched Binius64 verifiers.
- ring_
switch - signature
- Signature of knowledge support.
- zk_
config - Zero-knowledge verification configuration for Binius64 constraint systems.
Structs§
- IOPVerifier
- IOP verifier for a particular constraint system.
- Verifier
- Struct for verifying instances of a particular constraint system.
Enums§
Constants§
Functions§
- verify_
bitand_ reduction - Verifies the batched BitAnd check:
A & B == Con every row.