-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using substitution and the introduction of new variables, the degree of the AIR as specified in the respective tables is lowered to 4. The technique is straightforward and works as follows. For example, with a target degree of 2 and a constraint of the form `a = b²·c²·d`, the degree lowering step could (as one among multiple possibilities) - introduce new variables `e`, `f`, and `g`, - introduce new constraints `e = b²`, `f = c²`, and `g = e·f`, - replace the original constraint with `a = g·d`. The degree lowering happens in the constraint evaluation generator. It can be executed by running `cargo run --bin constraint-evaluation-generator`. Executing the constraint evaluator is a prerequisite for running both the Stark prover and the Stark verifier. The new variables introduced by the degree lowering step are called “derived columns.” They are added to the `DegreeLoweringTable`, whose sole purpose is to store the values of these derived columns.
- Loading branch information
Showing
32 changed files
with
5,535 additions
and
5,252 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.