-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #351 from zkFold/hov-const-optim
Optimize Arithmetic Circuits
- Loading branch information
Showing
20 changed files
with
137 additions
and
51 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ByteString.Add.512 | ||
Number of constraints: 5639 | ||
Number of variables: 6150 | ||
Number of constraints: 5638 | ||
Number of variables: 6149 | ||
Number of range lookups: 522 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ByteString.Extend.1.512 | ||
Number of constraints: 6 | ||
Number of variables: 5 | ||
Number of constraints: 5 | ||
Number of variables: 4 | ||
Number of range lookups: 0 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Constant.5 | ||
Number of constraints: 1 | ||
Number of constraints: 0 | ||
Number of variables: 0 | ||
Number of range lookups: 0 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Eq | ||
Number of constraints: 7 | ||
Number of variables: 6 | ||
Number of constraints: 4 | ||
Number of variables: 4 | ||
Number of range lookups: 0 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Eq.Constant.5 | ||
Number of constraints: 6 | ||
Number of variables: 5 | ||
Number of constraints: 4 | ||
Number of variables: 4 | ||
Number of range lookups: 0 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FFA.Add.097 | ||
Number of constraints: 18873 | ||
Number of variables: 23899 | ||
Number of constraints: 18859 | ||
Number of variables: 23886 | ||
Number of range lookups: 11916 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FFA.Add.337 | ||
Number of constraints: 18873 | ||
Number of variables: 23899 | ||
Number of constraints: 18859 | ||
Number of variables: 23886 | ||
Number of range lookups: 11916 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FFA.Mul.097 | ||
Number of constraints: 18901 | ||
Number of variables: 23941 | ||
Number of constraints: 18887 | ||
Number of variables: 23928 | ||
Number of range lookups: 11944 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FFA.Mul.337 | ||
Number of constraints: 18901 | ||
Number of variables: 23941 | ||
Number of constraints: 18887 | ||
Number of variables: 23928 | ||
Number of range lookups: 11944 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Fibonacci.100 | ||
Number of constraints: 796 | ||
Number of variables: 795 | ||
Number of constraints: 696 | ||
Number of variables: 696 | ||
Number of range lookups: 0 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LEQ | ||
Number of constraints: 3065 | ||
Number of variables: 4082 | ||
Number of constraints: 3060 | ||
Number of variables: 4078 | ||
Number of range lookups: 2040 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
MiMCHash | ||
Number of constraints: 1763 | ||
Number of variables: 1762 | ||
Number of constraints: 1760 | ||
Number of variables: 1760 | ||
Number of range lookups: 0 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
SHA256.32 | ||
Number of constraints: 53761 | ||
Number of variables: 64018 | ||
Number of range lookups: 11156 | ||
Number of constraints: 50680 | ||
Number of variables: 60797 | ||
Number of range lookups: 10996 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
UInt.DivMod.32.Auto | ||
Number of constraints: 1430 | ||
Number of variables: 1780 | ||
Number of range lookups: 770 | ||
Number of constraints: 1422 | ||
Number of variables: 1770 | ||
Number of range lookups: 766 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
UInt.StrictAdd.256.Auto | ||
Number of constraints: 547 | ||
Number of variables: 1055 | ||
Number of constraints: 546 | ||
Number of variables: 1054 | ||
Number of range lookups: 518 |