Field.Constanttype t = fieldThe finite field over which the R1CS operates.
include Core_kernel.Bin_prot.Binable.S with type t := tval bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : ( int -> t ) Bin_prot.Read.readerval bin_writer_t : t Bin_prot.Type_class.writerval bin_reader_t : t Bin_prot.Type_class.readerval bin_t : t Bin_prot.Type_class.tval hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
t ->
Ppx_hash_lib.Std.Hash.stateval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval gen : t Core_kernel.Quickcheck.Generator.tA generator for Quickcheck tests.
val gen_uniform : t Core_kernel.Quickcheck.Generator.tA uniform generator for Quickcheck tests.
include Snarky_intf.Field.Extended
with type t := t
with type Vector.t = Backend.Field.Vector.tinclude Snarky_intf.Field.S
with type t := t
with type Vector.t = Backend.Field.Vector.tinclude Bin_prot.Binable.S with type t := tval bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : ( int -> t ) Bin_prot.Read.readerval bin_writer_t : t Bin_prot.Type_class.writerval bin_reader_t : t Bin_prot.Type_class.readerval bin_t : t Bin_prot.Type_class.tval of_int : int -> tval one : tval zero : tval is_square : t -> boolval print : t -> unitval random : unit -> tmodule Mutable : sig ... endmodule Vector :
Snarky_intf.Vector.S with type elt = t with type t = Backend.Field.Vector.tval unpack : t -> bool listConvert a field element into its constituent bits.
val project : bool list -> tConvert a list of bits into a field element.
val parity : t -> boolGet the least significant bit of a field element.