Struct kimchi::oracles::OraclesResult
source · pub struct OraclesResult<G, EFqSponge>where
G: CommitmentCurve,
EFqSponge: Clone + FqSponge<G::BaseField, G, G::ScalarField>,{
pub fq_sponge: EFqSponge,
pub digest: G::ScalarField,
pub oracles: RandomOracles<G::ScalarField>,
pub all_alphas: Alphas<G::ScalarField>,
pub public_evals: [Vec<G::ScalarField>; 2],
pub powers_of_eval_points_for_chunks: PointEvaluations<G::ScalarField>,
pub polys: Vec<(PolyComm<G>, Vec<Vec<G::ScalarField>>)>,
pub zeta1: G::ScalarField,
pub ft_eval0: G::ScalarField,
pub combined_inner_product: G::ScalarField,
}
Expand description
The result of running the oracle protocol
Fields§
§fq_sponge: EFqSponge
A sponge that acts on the base field of a curve
digest: G::ScalarField
the last evaluation of the Fq-Sponge in this protocol
oracles: RandomOracles<G::ScalarField>
the challenges produced in the protocol
all_alphas: Alphas<G::ScalarField>
the computed powers of alpha
public_evals: [Vec<G::ScalarField>; 2]
public polynomial evaluations
powers_of_eval_points_for_chunks: PointEvaluations<G::ScalarField>
zeta^n and (zeta * omega)^n
polys: Vec<(PolyComm<G>, Vec<Vec<G::ScalarField>>)>
recursion data
zeta1: G::ScalarField
pre-computed zeta^n
ft_eval0: G::ScalarField
The evaluation f(zeta) - t(zeta) * Z_H(zeta)
combined_inner_product: G::ScalarField
Used by the OCaml side
Auto Trait Implementations§
impl<G, EFqSponge> RefUnwindSafe for OraclesResult<G, EFqSponge>where EFqSponge: RefUnwindSafe, G: RefUnwindSafe, <G as AffineRepr>::ScalarField: RefUnwindSafe,
impl<G, EFqSponge> Send for OraclesResult<G, EFqSponge>where EFqSponge: Send,
impl<G, EFqSponge> Sync for OraclesResult<G, EFqSponge>where EFqSponge: Sync,
impl<G, EFqSponge> Unpin for OraclesResult<G, EFqSponge>where EFqSponge: Unpin, G: Unpin, <G as AffineRepr>::ScalarField: Unpin,
impl<G, EFqSponge> UnwindSafe for OraclesResult<G, EFqSponge>where EFqSponge: UnwindSafe, G: UnwindSafe, <G as AffineRepr>::ScalarField: 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