Skip to main content

debug_constraints

Function debug_constraints 

Source
pub fn debug_constraints<GC, A>(
    chip: &Chip<GC::F, A>,
    preprocessed: Option<&Mle<GC::F>>,
    main: &Mle<GC::F>,
    public_values: &[GC::F],
) -> Vec<(usize, Vec<usize>, Vec<GC::F>)>
where GC: IopCtx, A: MachineAir<GC::F> + for<'a> Air<DebugConstraintBuilder<'a, GC::F, GC::EF>>,
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.