After playing with the compiler for a bit, we noticed there is no way to specify prover-only inputs. I think existential variables are the way to go, which the compiler seems to support in various places.
We are wondering if there is a way to specify existential variables in compile mode without inputs?
Here is a simple example (syntax is made up, I'm not implying this is the right interface):
void test(int x) {
int y = existential_assignment();
assert(x * y = 1);
}
Ideally, compiler would generate R1CS for the above without issue. In compile+solve mode, then the prover would do the assignment.
After playing with the compiler for a bit, we noticed there is no way to specify prover-only inputs. I think existential variables are the way to go, which the compiler seems to support in various places.
We are wondering if there is a way to specify existential variables in compile mode without inputs?
Here is a simple example (syntax is made up, I'm not implying this is the right interface):
Ideally, compiler would generate R1CS for the above without issue. In compile+solve mode, then the prover would do the assignment.
Any pointers would be helpful.