Skip to main content

Module pasta_fp_plonk_index

Module pasta_fp_plonk_index 

Source
Expand description

Indexes

Re-exportsΒ§

use crate::arkworks::CamlFp; πŸ”’
use crate::gate_vector::fp::CamlPastaFpPlonkGateVectorPtr; πŸ”’
use crate::srs::fp::CamlFpSrs; πŸ”’
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::Fp; πŸ”’
use mina_curves::pasta::Pallas; πŸ”’
use mina_curves::pasta::Vesta; πŸ”’
use mina_curves::pasta::VestaParameters; πŸ”’
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Β§

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

EnumsΒ§

IndexHandle
Holds a prover index behind one of two backing stores. The enum variants both [Deref] to the same &ProverIndex, so all existing .0.cs… / .0.srs… field-access patterns in this file continue to work via auto-deref. Concretely:

FunctionsΒ§

caml_pasta_fp_plonk_index_create
caml_pasta_fp_plonk_index_create_bytecode⚠
caml_pasta_fp_plonk_index_create_to_ocaml
caml_pasta_fp_plonk_index_domain_d1_size
caml_pasta_fp_plonk_index_domain_d1_size_to_ocaml
caml_pasta_fp_plonk_index_domain_d4_size
caml_pasta_fp_plonk_index_domain_d4_size_to_ocaml
caml_pasta_fp_plonk_index_domain_d8_size
caml_pasta_fp_plonk_index_domain_d8_size_to_ocaml
caml_pasta_fp_plonk_index_finalize πŸ”’
caml_pasta_fp_plonk_index_max_degree
caml_pasta_fp_plonk_index_max_degree_to_ocaml
caml_pasta_fp_plonk_index_public_inputs
caml_pasta_fp_plonk_index_public_inputs_to_ocaml
caml_pasta_fp_plonk_index_read
caml_pasta_fp_plonk_index_read_cached
Reads a proving index from path in the mmap-backed cache format, binding the supplied srs onto the reconstructed index.
caml_pasta_fp_plonk_index_read_cached_to_ocaml
caml_pasta_fp_plonk_index_read_to_ocaml
caml_pasta_fp_plonk_index_write
caml_pasta_fp_plonk_index_write_cached
Writes the proving index to path in the mmap-backed cache format.
caml_pasta_fp_plonk_index_write_cached_to_ocaml
caml_pasta_fp_plonk_index_write_to_ocaml

Type AliasesΒ§

CamlPastaFpPlonkIndexPtr
Srs πŸ”’