arkworks-rs / snark

Interfaces for Relations and SNARKs for these relations
https://www.arkworks.rs
Apache License 2.0
769 stars 203 forks source link

Allow skipping of constraint generation during proving #328

Open Pratyush opened 3 years ago

Pratyush commented 3 years ago

The prover does not need to generate constraints as it can read these directly from the index. The issue comes in mapping witnesses between unoptimized and optimized versions. We can do the latter by storing a "linear combination" mapping in the index.