-
Notifications
You must be signed in to change notification settings - Fork 73
feat: is_alloc for FieldArithmetic #105
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
Conversation
…also pad dummy traces in testing
jonathanpwang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some description what this PR does and why it's needed?
e.g., Is it hard to satisfy constraints with a dummy 0 row
jonathanpwang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you need to constrain is_alloc is a bit?
I think from the field arithmetic chip's perspective, as long as the arithmetic operations are correct then it's a valid trace, because we could view |
I agree |
* feat: 0-indexed is_allocated column for padding trace to power of 2, also pad dummy traces in testing * chore: rename `is_alloc` to `rcv_count` --------- Co-authored-by: Alex Zhao <[email protected]> Co-authored-by: Jonathan Wang <[email protected]>
* wip: mulh tracegen * feat: mulh tracegen + tests * chore: small fix * fix: minor import fixes from OpenVM * fix: pass in tuple size by value * fix: rangetuple * test: remove rangetuple * fix: initialize run to zero * fix: pass in range tuple by value
* wip: mulh tracegen * feat: mulh tracegen + tests * chore: small fix * fix: minor import fixes from OpenVM * fix: pass in tuple size by value * fix: rangetuple * test: remove rangetuple * fix: initialize run to zero * fix: pass in range tuple by value
* wip: mulh tracegen * feat: mulh tracegen + tests * chore: small fix * fix: minor import fixes from OpenVM * fix: pass in tuple size by value * fix: rangetuple * test: remove rangetuple * fix: initialize run to zero * fix: pass in range tuple by value
feat: 0-indexed is_allocated column for padding trace to power of 2, also pad dummy traces in testing, and adjust row indices where applicable