Skip to main content

Crate p3_air

Crate p3_air 

Source
Expand description

APIs for AIRs, and generalizations like PAIRs.

Re-exports§

pub use symbolic::*;

Modules§

symbolic
Symbolic expression types for AIR constraint representation.
utils
A collection of utility functions helpful in defining AIRs.

Structs§

ConstraintFailure
A single constraint violation captured during debug evaluation.
DebugConstraintBuilder
Debug-mode constraint builder that evaluates an AIR over concrete field values and collects every violation rather than panicking immediately.
FilteredAirBuilder
A wrapper around an AirBuilder that enforces constraints only when a specified condition is met.
RowWindow
A lightweight two-row window into a trace matrix.
VirtualPairCol
An affine linear combination of columns in a PAIR (Preprocessed AIR).

Enums§

PairCol
A reference to a column in a PAIR (Preprocessed AIR).

Traits§

Air
An algebraic intermediate representation (AIR) definition.
AirBuilder
A builder which contains both a trace on which AIR constraints can be evaluated as well as a method of accumulating the AIR constraint evaluations.
AirBuilderWithContext
Extension trait for builders that carry additional runtime context.
BaseAir
The underlying structure of an AIR.
ExtensionBuilder
Extension of AirBuilder for working over extension fields.
PeriodicAirBuilder
Extension of AirBuilder for builders that supply periodic column values.
PermutationAirBuilder
Trait for builders supporting permutation arguments (e.g., for lookup constraints).
WindowAccess
Read access to a pair of trace rows (typically current and next).

Functions§

check_constraints
Evaluate every AIR constraint against a concrete trace and panic on failure.