Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ivc): impl protogalaxy::calculate_betas_stroke #378

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

cyphersnake
Copy link
Collaborator

Motivation
Part of protogalaxy protocol in #361

Overview
Implemented a separate function to get similar nifs::protogalaxy beta_stroke calculations

@cyphersnake cyphersnake requested a review from chaosma October 28, 2024 15:44
@cyphersnake cyphersnake self-assigned this Oct 28, 2024
src/ivc/protogalaxy/mod.rs Outdated Show resolved Hide resolved
.zip_eq(deltas)
.map(|(beta, delta)| {
let alpha_mul_delta = main_gate.mul(region, &cha.alpha, &delta)?;
main_gate.add(region, beta, &alpha_mul_delta)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar question here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we had: beta + alpha * delta, no other options

@cyphersnake cyphersnake force-pushed the 361-feat-protogalaxy-verify-circuit-2 branch from abcca31 to 19cc6e5 Compare November 4, 2024 11:11
Base automatically changed from 361-feat-protogalaxy-verify-circuit-2 to main November 4, 2024 11:12
**Motivation**
Part of protogalaxy protocol in #361

**Overview**
Implemented a separate function to get similar `nifs::protogalaxy`
beta_stroke calculations
@cyphersnake cyphersnake force-pushed the 361-feat-protogalaxy-verify-circuit-3 branch from ef81448 to cfa85ad Compare November 4, 2024 11:56
@cyphersnake cyphersnake requested a review from chaosma November 4, 2024 11:56
@cyphersnake cyphersnake enabled auto-merge (rebase) November 4, 2024 11:56
@cyphersnake cyphersnake merged commit adde967 into main Nov 5, 2024
1 check passed
@cyphersnake cyphersnake deleted the 361-feat-protogalaxy-verify-circuit-3 branch November 5, 2024 11:56
cyphersnake added a commit that referenced this pull request Nov 12, 2024
**Motivation**
Это попытка ускорить реализацию #378
If we remove the `FoldingScheme` trait, we can be more flexible in customizing Sangria & ProtoGalaxy types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

**Overview**
Just remove trait and use all methods directly. Structure of methods not changed
cyphersnake added a commit that referenced this pull request Nov 12, 2024
**Motivation**
This is an attempt to speed up the implementation of #378
If we remove the `FoldingScheme` trait, we can be more flexible in customizing Sangria & ProtoGalaxy types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

**Overview**
Just remove trait and use all methods directly. Structure of methods not changed
cyphersnake added a commit that referenced this pull request Nov 12, 2024
**Motivation**
This is an attempt to speed up the implementation of #378
If we remove the `FoldingScheme` trait, we can be more flexible in customizing Sangria & ProtoGalaxy types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

**Overview**
Just remove trait and use all methods directly. Structure of methods not changed
cyphersnake added a commit that referenced this pull request Nov 19, 2024
**Motivation**
This is an attempt to speed up the implementation of #378
If we remove the `FoldingScheme` trait, we can be more flexible in customizing Sangria & ProtoGalaxy types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

**Overview**
Just remove trait and use all methods directly. Structure of methods not changed
cyphersnake added a commit that referenced this pull request Nov 19, 2024
**Motivation**
This is an attempt to speed up the implementation of #378
If we remove the `FoldingScheme` trait, we can be more flexible in customizing Sangria & ProtoGalaxy types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

**Overview**
Just remove trait and use all methods directly. Structure of methods not changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants