You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if this assertion is actually needed. I quickly scanned through Groth16 and it does not seem to mention that the degree of H has to be exactly qap_wit.degree()-2 or that the input constraint systems need to satisfy some kind of property? Do you have an explanation of why this assertion is there or exactly for what kinds of constraint systems it occurs?
Thanks!
The text was updated successfully, but these errors were encountered:
I am using libsnark with the Groth16 proofs, and it seems to work fine, except that in some small examples, the assertion
assert(!qap_wit.coefficients_for_H[qap_wit.degree()-2].is_zero());
in r1cs_gg_ppzksnark_prover fires. This happens in particular with a constraint system like this:
x*x=y
x*y=z
0*0=z-a
I saw that some other users experienced the same error: pepper-project/pequin#55
I was wondering if this assertion is actually needed. I quickly scanned through Groth16 and it does not seem to mention that the degree of H has to be exactly qap_wit.degree()-2 or that the input constraint systems need to satisfy some kind of property? Do you have an explanation of why this assertion is there or exactly for what kinds of constraint systems it occurs?
Thanks!
The text was updated successfully, but these errors were encountered: