Skip to main content

Module pasta_fq_plonk_index

Module pasta_fq_plonk_index 

Source

Re-exportsΒ§

use crate::arkworks::CamlFq; πŸ”’
use crate::gate_vector::fq::CamlPastaFqPlonkGateVectorPtr; πŸ”’
use crate::srs::fq::CamlFqSrs; πŸ”’
use ark_poly::EvaluationDomain; πŸ”’
use kimchi::cached_prover_index::MmapProverIndex; πŸ”’
use kimchi::circuits::constraints::ConstraintSystem; πŸ”’
use kimchi::circuits::gate::CircuitGate; πŸ”’
use kimchi::circuits::lookup::runtime_tables::caml::CamlRuntimeTableCfg; πŸ”’
use kimchi::circuits::lookup::runtime_tables::RuntimeTableCfg; πŸ”’
use kimchi::circuits::lookup::tables::caml::CamlLookupTable; πŸ”’
use kimchi::circuits::lookup::tables::LookupTable; πŸ”’
use kimchi::linearization::expr_linearization; πŸ”’
use kimchi::prover_index::ProverIndex; πŸ”’
use mina_curves::pasta::Fq; πŸ”’
use mina_curves::pasta::Pallas; πŸ”’
use mina_curves::pasta::PallasParameters; πŸ”’
use mina_curves::pasta::Vesta; πŸ”’
use mina_poseidon::constants::PlonkSpongeConstantsKimchi; πŸ”’
use mina_poseidon::pasta::FULL_ROUNDS; πŸ”’
use mina_poseidon::sponge::DefaultFqSponge; πŸ”’
use poly_commitment::ipa::OpeningProof; πŸ”’
use poly_commitment::lagrange_basis::WithLagrangeBasis; πŸ”’
use poly_commitment::SRS as _; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Serialize; πŸ”’
use serde::Serialize; πŸ”’
use std::fs::File; πŸ”’
use std::fs::OpenOptions; πŸ”’
use std::io::BufReader; πŸ”’
use std::io::BufWriter; πŸ”’
use std::io::Seek; πŸ”’
use std::io::SeekFrom::Start; πŸ”’

StructsΒ§

CamlPastaFqPlonkIndex
Boxed so that we don’t store large proving indexes in the OCaml heap.

EnumsΒ§

IndexHandle
Fq companion of the Fp-side crate::pasta_fp_plonk_index::IndexHandle β€” selects between an owned ProverIndex and an MmapProverIndex whose bulk Vec<F> fields point into a mmap’d cache file. Both variants [Deref] to the same &ProverIndex so existing field-access patterns in this file continue to work via auto-deref.

FunctionsΒ§

caml_pasta_fq_plonk_index_create
caml_pasta_fq_plonk_index_create_bytecode⚠
caml_pasta_fq_plonk_index_create_to_ocaml
caml_pasta_fq_plonk_index_domain_d1_size
caml_pasta_fq_plonk_index_domain_d1_size_to_ocaml
caml_pasta_fq_plonk_index_domain_d4_size
caml_pasta_fq_plonk_index_domain_d4_size_to_ocaml
caml_pasta_fq_plonk_index_domain_d8_size
caml_pasta_fq_plonk_index_domain_d8_size_to_ocaml
caml_pasta_fq_plonk_index_finalize πŸ”’
caml_pasta_fq_plonk_index_max_degree
caml_pasta_fq_plonk_index_max_degree_to_ocaml
caml_pasta_fq_plonk_index_public_inputs
caml_pasta_fq_plonk_index_public_inputs_to_ocaml
caml_pasta_fq_plonk_index_read
caml_pasta_fq_plonk_index_read_cached
Reads a proving index from path in the mmap-backed cache format. See the Fp variant for full documentation.
caml_pasta_fq_plonk_index_read_cached_to_ocaml
caml_pasta_fq_plonk_index_read_to_ocaml
caml_pasta_fq_plonk_index_write
caml_pasta_fq_plonk_index_write_cached
Writes the proving index to path in the mmap-backed cache format. See the Fp variant for full documentation; this is the Pallas/Fq companion used by the Wrap side of pickles.
caml_pasta_fq_plonk_index_write_cached_to_ocaml
caml_pasta_fq_plonk_index_write_to_ocaml

Type AliasesΒ§

CamlPastaFqPlonkIndexPtr
Srs πŸ”’