You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <schaeffer.thibaut@gmail.com>
0 commit comments