-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Range constraints from failing lookups. (#2444)
Identities of the kind `[ b * clock_0 + c * clock_1 ] in [ byte ];`, which are used in the arithmetic machine, are currently not process by auto-witjitgen. The idea is that this results on range constraints for different columns on different rows. The mechanism in place previously would only return range constraints in case a lookup can always be processed, but this is not the case here: We will never be able to determine a value just from the lookup, the only information we can get here are range constraints. TODO: - [x] it might be that we will never be able to process the lookup (i.e. emit a call), in that case we should still add the assertion, because that is what is supposed to be checked. Maybe we should also detect that it is just a range constraint after all? Oh I think we will need to make the call in the end, once we know the value by other means.
- Loading branch information
Showing
8 changed files
with
187 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.