package tezos-plonk

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

Parameters

Signature

module PP = PP
module MP = PP.MP
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
val zero : Scalar.t
val one : Scalar.t
val mone : Scalar.t
val gate_identity : prefix:string -> wires_name:string array -> alpha:Scalar.t -> beta:Scalar.t -> gamma:Scalar.t -> ultra:bool -> MP.Polynomial.t SMap.t
val v_map : prefix:string -> Poly.scalar -> bool -> (string * Poly.t) SMap.t
val precomputed_poly_contribution : wires_name:SMap.key array -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> f_map:Evaluations.polynomial SMap.t -> ultra:bool -> evaluations:Evaluations.t SMap.t -> int -> Evaluations.t SMap.t
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:int -> 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.Polynomial.Srs.t * Bls12_381_polynomial.Polynomial.Srs.t) -> unit -> (PP.prover_public_parameters * PP.verifier_public_parameters) * Scalar.t array list
val prover_query : ?prefix:string -> generator:Poly.scalar -> f_map:Evaluations.polynomial SMap.t -> wires_name:SMap.key array -> alpha:Fr_generation.scalar -> beta:Scalar.t -> gamma:Scalar.t -> ultra:bool -> evaluations:Evaluations.t SMap.t -> n:int -> unit -> PP.prover_query
type PP.not_committed +=
  1. | XmOne
val verifier_query : ?prefix:string -> generator:Poly.scalar -> wires_name:string array -> alpha:Scalar.t -> beta:Scalar.t -> gamma:Scalar.t -> ultra:bool -> unit -> PP.verifier_query
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.