sp1_stark

Function debug_constraints

source
pub fn debug_constraints<SC, A>(
    chip: &MachineChip<SC, A>,
    preprocessed: Option<&RowMajorMatrix<Val<SC>>>,
    main: &RowMajorMatrix<Val<SC>>,
    perm: &RowMajorMatrix<SC::Challenge>,
    perm_challenges: &[SC::Challenge],
    public_values: &[Val<SC>],
    cumulative_sums: &[SC::Challenge],
)
where SC: StarkGenericConfig, Val<SC>: PrimeField32, A: MachineAir<Val<SC>> + for<'a> Air<DebugConstraintBuilder<'a, Val<SC>, SC::Challenge>>,
Expand description

Checks that the constraints of the given AIR are satisfied, including the permutation trace.

Note that this does not actually verify the proof.