pub struct DeferredWiringClaim<E> {
pub inputs: Vec<E>,
pub claimed: E,
}Expand description
A wiring claim that was exported rather than discharged.
Holding one is owing a check.
Settling it needs only the WiringInfo the claim is about, which is public data.
So it can run far from the verifier that raised the claim.
verify -> claim -> export -> travels as public values -> settled natively at the rootFields§
§inputs: Vec<E>The point the wiring multilinear is claimed to be evaluated at.
claimed: EThe evaluation the prover claims.
Implementations§
Source§impl<F: BinaryField> DeferredWiringClaim<F>
impl<F: BinaryField> DeferredWiringClaim<F>
Sourcepub fn check(&self, wiring: &WiringInfo) -> Result<(), Error>
pub fn check(&self, wiring: &WiringInfo) -> Result<(), Error>
Settles the claim against the wiring matrix it is about.
The matrix must be the one the claim was raised over. A different one names a different polynomial. The check would then be meaningless rather than wrong, so the caller owes that pairing.
§Errors
Returns an error when the evaluation disagrees with the claim.
Trait Implementations§
Source§impl<E: Clone> Clone for DeferredWiringClaim<E>
impl<E: Clone> Clone for DeferredWiringClaim<E>
Source§fn clone(&self) -> DeferredWiringClaim<E>
fn clone(&self) -> DeferredWiringClaim<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: Debug> Debug for DeferredWiringClaim<E>
impl<E: Debug> Debug for DeferredWiringClaim<E>
impl<E: Eq> Eq for DeferredWiringClaim<E>
Source§impl<E: PartialEq> PartialEq for DeferredWiringClaim<E>
impl<E: PartialEq> PartialEq for DeferredWiringClaim<E>
Source§fn eq(&self, other: &DeferredWiringClaim<E>) -> bool
fn eq(&self, other: &DeferredWiringClaim<E>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<E: PartialEq> StructuralPartialEq for DeferredWiringClaim<E>
Auto Trait Implementations§
impl<E> Freeze for DeferredWiringClaim<E>where
E: Freeze,
impl<E> RefUnwindSafe for DeferredWiringClaim<E>where
E: RefUnwindSafe,
impl<E> Send for DeferredWiringClaim<E>where
E: Send,
impl<E> Sync for DeferredWiringClaim<E>where
E: Sync,
impl<E> Unpin for DeferredWiringClaim<E>where
E: Unpin,
impl<E> UnsafeUnpin for DeferredWiringClaim<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for DeferredWiringClaim<E>where
E: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more