package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

module PP = PP
module Poly = PP.PC.Polynomial.Polynomial
module Scalar = PP.PC.Scalar
module Scalar_map = PP.PC.Scalar_map
module Fr_generation = PP.PC.Fr_generation
module Evaluations = PP.Evaluations
exception Entry_not_in_table of string
val q_label : string
val q_table : string
val f : string
val fg : string
val z : string
val t : string
val h1 : string
val h2 : string
val zg : string
val tg : string
val h1g : string
val h2g : string
val l1 : string
val ln_p_1 : string
val x_m_1 : string
val x : string
type public_parameters = (PP.prover_public_parameters * PP.verifier_public_parameters) * PP.PC.Scalar.t array list * PP.PC.Polynomial.Polynomial.t SMap.t
val zero : Scalar.t
val one : Scalar.t
val mone : Scalar.t
val gate_identity : prefix_common:(string -> string) -> prefix:(string -> SMap.key) -> wires_name:string array -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> ultra:bool -> PP.verifier_identities
val precomputed_poly_contribution : prefix_common:(string -> SMap.key) -> prefix:(string -> SMap.key) -> wires_name:string array -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> f_map:'a -> ultra:bool -> int -> PP.prover_identities
module Plookup_poly : sig ... end
val srs_size : length_table:int -> int
val polynomials_degree : unit -> int
val common_preprocessing : n:int -> domain:Evaluations.domain -> Evaluations.polynomial SMap.t
val preprocessing : ?prefix:string -> domain:Evaluations.domain -> tables:Scalar.t array list -> alpha:Fr_generation.scalar -> unit -> Evaluations.polynomial SMap.t
val format_tables : tables:Scalar.t array list List.t -> nb_columns:int -> length_not_padded:int -> length_padded:int -> Scalar.t array list
val setup : ?nb_pack:PP.PC.Public_parameters.setup_params -> nb_wires:int -> domain:Evaluations.domain -> size_domain:int -> tables:Scalar.t array list List.t -> table_size:int -> alpha:Fr_generation.scalar -> srs:(Bls12_381_polynomial.Srs.t * Bls12_381_polynomial.Srs.t) -> unit -> (PP.prover_public_parameters * PP.verifier_public_parameters) * Scalar.t array list * Evaluations.polynomial SMap.t
val prover_identities : ?circuit_name:string -> proof_idx:int -> nb_proofs:int -> f_map:'a -> wires_name:string array -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> ultra:bool -> n:int -> unit -> PP.prover_identities
val verifier_identities : ?circuit_name:string -> proof_idx:int -> nb_proofs:int -> wires_name:string array -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> ultra:bool -> unit -> PP.verifier_identities
val f_map_contribution : wires:Scalar.t array SMap.t -> gates:Scalar.t array SMap.t -> tables:Scalar.t array list -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> domain:Evaluations.domain -> size_domain:int -> circuit_size:'a -> Evaluations.polynomial SMap.t
OCaml

Innovation. Community. Security.