-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add constraints #13
Comments
Partially implemented in d662c72. Currently we only support equality constraints over field elements. The grammar is
There is a problem, though. Consider
Here we check whether Or we can compile
(where |
In fact, we can probably handle constraints in local scopes actually. So consider
We can represent the constraint as
So whenever |
Range constraints (and any boolean expressions in general) were added in #28. |
We want to be able to impose various invariants like "an external variable
v
can't be zero". Perhaps the best way to do this is to have a grammar like this:The text was updated successfully, but these errors were encountered: