-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: clean up Plonk widgets (#3305)
The "linearization trick" in Plonk required the splitting of the widget (relation) contributions into "linear" an "nonlinear" parts. The trick is no longer in use and there's no need for this structure to remain. This work 1. Cleans up and consolidates the quotient contribution logic in the widgets into a single `accumulate_contribution` method which more closely resembles the structure of the Honk relations. 2. Deletes entirely the fixed base and logic widgets which were no longer being used at all. This is good cleanup regardless but was done with an eye towards eventually utilizing the relations in Plonk. Below are the UltraPlonk Bench results. I didn't expect anything to change but they seem a bit noisy. After deleting the logic widget, case log_n = 17 seems to consistently show a minor increase but 18 does not. Not sure what to make of this. <img width="1206" alt="bench_new" src="https://github.com/AztecProtocol/aztec-packages/assets/98505400/7290f15a-4e07-4f1e-9f67-0c987406294c">
- Loading branch information
1 parent
13f1a1d
commit 4623d91
Showing
12 changed files
with
37 additions
and
733 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ enum PolynomialIndex { | |
Q_FIXED_BASE, | ||
Q_RANGE, | ||
Q_SORT, | ||
Q_LOGIC, | ||
TABLE_1, | ||
TABLE_2, | ||
TABLE_3, | ||
|
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.