-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend stwo to Support Machines with Varying Degrees (#2280)
### Summary This PR introduces support for proving machines with differing degrees in the `stwo` prover. It enables handling proving columns of varying sizes. --- ### Details 1. **Support for Proving Columns of Different Sizes**: - Machines with different column sizes require their own distinct components. - All components are stored in a single vector, from which a slice is created and passed into the `prove` function to handle the proving process. - Constant columns are indexed globally across all components to ensure consistency and correctness. 2. **Verification**: - The verification function requires the sizes of all columns (including constant columns and witness columns) as input. --- ### Changes - Updated the logic for managing machine-specific components and assembling them for the proving process. - Implemented indexing of constant columns across components. --- ### Testing - Added tests to validate proving functionality with machines of differing degrees for stwo prover. --- --------- Co-authored-by: Thibaut Schaeffer <[email protected]>
- Loading branch information
1 parent
65a2fdd
commit 71eaf88
Showing
5 changed files
with
238 additions
and
135 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
Oops, something went wrong.