-
Notifications
You must be signed in to change notification settings - Fork 380
chore: print ACIR AssertZero as an equation #9970
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5884ff6
chore: print ACIR AssertZero as an equation
asterite 6fb656b
Omit zero coefficients
asterite 88c0859
Don't write coefficient 1
asterite f78b8a9
Use standalone minus when possible
asterite 8a2e7bb
Witness equality to constant
asterite e4e358c
Another witness equality to constant
asterite 8b0e22c
Handle `-1` in first term
asterite 91eed2c
Stop parsing the old way
asterite b06db65
Special case for `w0 = w1`
asterite 25cdb75
One more tiny change
asterite 62c1e33
Don't print zero coefficients
asterite 27fedc6
Try to show q_c on the right-hand side of the equation
asterite fb83a4a
Use new syntax in comments
asterite f86d431
Merge branch 'master' into ab/acir-print-assert-zero
asterite 3230415
Update acvm-repo/acir/src/circuit/opcodes.rs
asterite accc53d
Simpler and better parsing
asterite b22518e
One more special case
asterite 56c48f0
Don't simplify too much
asterite 257818b
Show AssertZero based on actual code
asterite 13f4812
Fix snapshot
asterite 4aec259
Extract `display_term`
asterite c86a544
More snapshots
asterite b08b770
Update acvm-repo/acir/src/circuit/opcodes.rs
asterite 959add0
Remove extra space in test
asterite 5e04384
Show expressions that equal zero as `0 = ...`
asterite ecfb272
Preserve original signs when it's a zero equality
asterite 6f07f9b
Merge branch 'ab/acir-print-assert-zero' of github.com:noir-lang/noir…
asterite 3329457
Merge branch 'master' into ab/acir-print-assert-zero
asterite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.