Expand description
STARK-based primitives for proof generation and verification over AIRs.
Modules§
- Building blocks for defining AIRs.
Structs§
- The recursion config used for recursive reduce circuit.
- An Air that encodes lookups based on interactions.
- A prover implementation based on x86 and ARM CPUs.
- An error that occurs during the execution of the
CpuProver
. - A builder for debugging constraints.
- The hash of all the deferred proofs that have been witnessed in the VM.
- A folder for verifier constraints.
- An interaction for a lookup or a permutation argument.
- A builder for the lookup table interactions.
- The data for an interaction.
- A merged prover data item from the global and local prover data.
- An error that occurs when the openings do not match the expected shape.
- A folder for prover constraints.
- The hash of all the public values that a zkvm program has committed to.
- Options for the core prover.
- Options to configure the SP1 prover for core and recursive proofs.
- Options for splitting deferred events.
- A STARK for proving RISC-V execution.
- A proving key for a STARK.
- A verifying key for a STARK.
- A verifier for a collection of air chips.
- An array of four bytes to represent a 32-bit value.
Enums§
- The type of interaction for a lookup argument.
- Errors that can occur during machine verification.
- An error that occurs when the shape of the openings does not match the expected shape.
- An error that occurs during the verification.
Constants§
- The threshold for splitting deferred events.
- The maximum number of elements that can be stored in the public values vec. Both SP1 and recursive proofs need to pad their public values vec to this length. This is required since the recursion verification program expects the public values vec to be fixed length.
Traits§
- An algorithmic & hardware independent prover implementation for any
MachineAir
. - A proving key for any
MachineAir
that is agnostic to hardware. - A record that can be proven by a machine.
Functions§
- Checks that the constraints of the given AIR are satisfied, including the permutation trace.
- Checks that all the interactions between the chips has been satisfied.
- Debugs the interactions of a chip.
- Calculate the number of times we send and receive each event of the given interaction type, and print out the ones for which the set of sends and receives don’t match.
- Evaluates the permutation constraints for the given chip.
- Generates the permutation trace for the given chip and main trace based on a variant of
LogUp
. - Returns the sends, receives, and permutation trace width grouped by scope.
- The FRI config for inner recursion.
- The permutation for inner recursion.
- Computes the width of the permutation trace.
- Populates a permutation row.
- Computes the quotient values.
- The FRI config for sp1 proofs.
- Converts a vector of field elements to a string.
Type Aliases§
- A configuration for inner recursion.
- A chip in a machine.
- A folder for verifier constraints.