pub struct RelaxedInstance {
pub core: CoreInstance,
pub u: ScalarField,
pub comm_e: Curve,
}
Expand description
Relaxed instance variant, attesting to d * q - a * u - e = 0
Fields§
§core: CoreInstance
Non-relaxed part
u: ScalarField
Homogeneization term for folding
comm_e: Curve
Commitment to the error term for folding
Implementations§
Source§impl RelaxedInstance
impl RelaxedInstance
Sourcepub fn check_in_language(
&self,
srs: &SRS<Curve>,
domain: R2D<ScalarField>,
wit: &RelaxedWitness,
) -> bool
pub fn check_in_language( &self, srs: &SRS<Curve>, domain: R2D<ScalarField>, wit: &RelaxedWitness, ) -> bool
This function checks if the provided instance is valid regarding the provided witness, by checking both the validity of the witness and its consistency with the instance’s commitments.
Trait Implementations§
Source§impl PartialEq for RelaxedInstance
impl PartialEq for RelaxedInstance
impl Eq for RelaxedInstance
impl StructuralPartialEq for RelaxedInstance
Auto Trait Implementations§
impl Freeze for RelaxedInstance
impl RefUnwindSafe for RelaxedInstance
impl Send for RelaxedInstance
impl Sync for RelaxedInstance
impl Unpin for RelaxedInstance
impl UnwindSafe for RelaxedInstance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more