Skip to content
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

Throw error for unsatisfiable transition constraint due to base vs ext field #47

Open
grjte opened this issue Oct 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@grjte
Copy link
Contributor

grjte commented Oct 28, 2022

This is an example of a problematic constraint:

enf b = a + $rand[0]

Context from Bobbin:
This probably should be invalid as this constraint should never be satisfied: the right hand side is an extension field element, while the left hand side is a base field element. If the value in $rand[0] is truly random, these will never be equal.

We'll need to think about a general rule which can describe this.

Originally posted by @bobbinth in #36 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant