Expand description
This module defines the core relation traits for generic witness-instance satisfaction checks and satisfying pair generation.
These traits are intentionally generic so that different arithmetizations (R1CS, CCS) and different forms (plain, relaxed) can all implement them.
Traitsยง
- Relation
Relationchecks whether a witnessWand an instanceUsatisfy the specified relation.- Relation
Gadget RelationGadgetis the in-circuit counterpart ofRelation.- Witness
Instance Sampler WitnessInstanceSamplerallows sampling a random witness-instance pair that satisfies the relation.