MP.Verifier
type common_verifier_pp = {
n : int;
generator : Kzg.Bls.Scalar.t;
pp_public_parameters : PP.PC.Public_parameters.verifier;
cm_g : Commitment.t;
eval_points : Plonk.Identities.eval_point list list;
}
val common_verifier_pp_t : common_verifier_pp Repr.t
type circuit_verifier_pp = {
gates : unit Plonk.Main_protocol_intf.SMap.t;
alpha : Kzg.Bls.Scalar.t option;
ultra : bool;
input_com_sizes : int list;
range_checks : bool Plonk.Main_protocol_intf.SMap.t;
}
val circuit_verifier_pp_t : circuit_verifier_pp Repr.t
val circuit_verifier_pp_of_circuit_prover_pp :
Prover.circuit_prover_pp ->
circuit_verifier_pp
val build_identities :
circuit_verifier_pp Plonk.Main_protocol_intf.SMap.t ->
(int * Kzg.Bls.Scalar.t) ->
gate_randomness ->
circuit_verifier_input Plonk.Main_protocol_intf.SMap.t ->
Plonk.Identities.verifier_identities
val format_input_com : verifier_inputs -> Commitment.t list
val verify_parameters :
((common_verifier_pp * circuit_verifier_pp Plonk.Main_protocol_intf.SMap.t)
* Kzg.Utils.Transcript.t) ->
circuit_verifier_input Plonk.Main_protocol_intf.SMap.t ->
proof ->
Kzg.Utils.Transcript.t
* Plonk.Identities.verifier_identities
* gate_randomness
* Commitment.t list
* Plonk.Identities.eval_point list list