Expand description
§p3-fri
An implementation of the FRI low-degree test (LDT) and a FRI-based polynomial commitment scheme.
Key items:
TwoAdicFriPcs— thep3_commit::Pcsinstantiation over two-adic multiplicative cosetsHidingFriPcs— a zero-knowledge variant that pads traces with caller-supplied randomnessFriParameters— blowup, query count, proof-of-work and arity configurationprover/verifier— the underlying FRI folding protocol with configurable per-round arities
Soundness depends on the chosen parameters; see FriParameters docs for
how blowup, query count and grinding bits combine into the security level.
Part of Plonky3, dual-licensed under MIT and Apache 2.0.
Modules§
Structs§
- Batch
Multi Opening - All queries’ openings of one input batch commitment, sharing one proof.
- Commit
Phase Multi Step - All queries’ openings of one commit-phase codeword, sharing one proof.
- FriParameters
- A set of parameters defining a specific instance of the FRI protocol.
- FriProof
- Hiding
FriPcs - A hiding FRI PCS. Both MMCSs must also be hiding; this is not enforced at compile time so it’s the user’s responsibility to configure.
- TwoAdic
FriFolding - TwoAdic
FriPcs - A polynomial commitment scheme using FRI to generate opening proofs.
- TwoAdic
Periodic Evaluator - Evaluates periodic polynomials for two-adic multiplicative cosets.
Traits§
- FriFolding
Strategy - Whereas
FriParametersencompasses parameters the end user can set,FriFoldingStrategyis set by the PCS calling FRI, and abstracts over implementation details of the PCS.
Functions§
- build_
periodic_ lde_ table_ two_ adic - Build the compact periodic LDE table using the two-adic evaluator.
- compute_
log_ arity_ for_ round - Computes the log_arity for the current round.
Type Aliases§
- Commitment
With Opening Points - A joint commitment to a collection of matrices and their opening at a collection of points.
- Prover
Data With Opening Points - The Prover Data associated to a commitment to a collection of matrices and a list of points to open each matrix at.
- TwoAdic
FriFolding ForMmcs