-
Notifications
You must be signed in to change notification settings - Fork 21
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): sfc input design #393
Conversation
51d6bd1
to
0154593
Compare
3a2196a
to
ee00d0e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, the Input part looks good to me.
// CMain::Base or CSupport::Scalar (native for suppport_circuit) | ||
let support_circuit_instances: Vec<Vec<CMain::Base>> = support_circuit::InstanceInput { | ||
p0: CMain::identity(), | ||
l0: CMain::Base::ZERO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when we do folding, we only need one scalar mul at a time. so we can save one scalar mul.
i.e.
p0+p1*l1 -> pout
} | ||
|
||
/// Recursive trace of the circuit itself | ||
pub struct SelfTrace<F: PrimeField> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NBD (for naming): usually, when we say a trace to indicate it is witness+instance.
Here the trace is set of all the instances of accumulator and incoming
**Motivation** Part of #369 **Overview** This PR is intended to demonstrate the `Input` design for `cyclefold::StepFoldingCircuit` Note what types are used, what curves are presented and how this data is assumed to be reported inside the circuit
**Motivation** **Overview**
**Motivation** Within #369 and cyclfold in general we need to count consistency markers, for this we need to be able to absorb sfc::input **Overview** Just implementation of `AbsorbInRO` trait for all sfc::input types
ee00d0e
to
cf65144
Compare
Motivation
Part of #369
Overview
This PR is intended to demonstrate the
Input
design forcyclefold::StepFoldingCircuit
Note what types are used, what curves are presented and how this data is
assumed to be reported inside the circuit