Library MonadVM.Numeric
File generated by rocq-of-ocaml
Require Import RocqOfOCaml.RocqOfOCaml.
Require Import RocqOfOCaml.Settings.
Require Import MonadVM.Support.UintN.
Require MonadVM.Byte_string.
Require MonadVM.Comparable.
Require MonadVM.Map.
Require MonadVM.Option.
Require MonadVM.Rlp.
Require MonadVM.String.
Require MonadVM.Traits.
Require Import MonadVM.Support.Variants.
Require MonadVM.Support.CryptoBlake2.
Require Import RocqOfOCaml.Opaque.
Local Ltac _rocq_witness_type typ :=
let typ := eval hnf in typ in
lazymatch typ with
| list ?a ⇒ let a := _rocq_witness_type a in constr:(list a)
| option ?a ⇒ let a := _rocq_witness_type a in constr:(option a)
| prod ?a ?b ⇒ let a := _rocq_witness_type a in
let b := _rocq_witness_type b in constr:(prod a b)
| sum ?a ?b ⇒ let a := _rocq_witness_type a in
let b := _rocq_witness_type b in constr:(sum a b)
| ?a → ?b ⇒ let a := _rocq_witness_type a in
let b := _rocq_witness_type b in constr:(a → b)
| _ ⇒ typ
end.
Module Make.
Class FArgs := {
Byte_width : MonadVM.Traits.Byte_width.SIG;
Signedness : MonadVM.Traits.Signedness.SIG;
}.
Module Impl.
Definition t `{_fargs : FArgs} : Set := Z.t.
Definition signed `{_fargs : FArgs} : bool :=
match Signedness.(MonadVM.Traits.Signedness.SIG.signedness) with
| MonadVM.Support.Variants.Signedness.Signed ⇒ true
| MonadVM.Support.Variants.Signedness.Unsigned ⇒ false
end.
Definition bit_width `{_fargs : FArgs} : option int :=
match Byte_width.(MonadVM.Traits.Byte_width.SIG.byte_width) with
| MonadVM.Support.Variants.ByteWidth.Fixed n_value ⇒
Some (RocqOfOCaml.OCamlInt.mul 8 n_value)
| MonadVM.Support.Variants.ByteWidth.VariableWidth ⇒ None
end.
Definition pow2_for_bound `{_fargs : FArgs} (bits : int) : Z.t :=
if Z.ltb bits 0 then
Z.pow (RocqOfOCaml.OCamlZ.op_tildedollar 2) bits
else
Z.shiftl Z.one bits.
Definition max_t `{_fargs : FArgs} : option Z.t :=
match (bit_width, signed) with
| (None, _) ⇒ None
| (Some bits, true) ⇒
Some (Z.sub (pow2_for_bound (RocqOfOCaml.OCamlInt.sub bits 1)) Z.one)
| (Some bits, false) ⇒ Some (Z.sub (pow2_for_bound bits) Z.one)
end.
Definition min_t `{_fargs : FArgs} : option Z.t :=
match (bit_width, signed) with
| (_, false) ⇒ Some Z.zero
| (Some bits, true) ⇒
Some (Z.sub Z.zero (pow2_for_bound (RocqOfOCaml.OCamlInt.sub bits 1)))
| (None, true) ⇒ None
end.
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
let big_enough :=
match min_t with
| None ⇒ fun (_x : Z.t) ⇒ true
| Some min_t ⇒ fun (x_value : Z.t) ⇒ Z.geb x_value min_t
end in
let small_enough :=
match max_t with
| None ⇒ fun (_x : Z.t) ⇒ true
| Some max_t ⇒ fun (x_value : Z.t) ⇒ Z.leb x_value max_t
end in
fun (x_value : Z.t) ⇒ andb (big_enough x_value) (small_enough x_value).
Definition of_z_opt `{_fargs : FArgs} (x_value : Z.t) : option Z.t :=
if negb (in_range x_value) then
None
else
Some x_value.
Definition _rocq_fallback_of_z_truncating_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → Z.t) :=
match (bit_width, signed) with
| (None, _) ⇒ None
| (Some bits, true) ⇒
Some
(fun (x_value : Z.t) ⇒
(RocqOfOCaml.OCamlZ.signed_extract
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_z_truncating_0))
x_value 0 bits)
| (Some bits, false) ⇒
Some
(fun (x_value : Z.t) ⇒
(RocqOfOCaml.OCamlZ.extract
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_z_truncating_0))
x_value 0 bits)
end.
Definition to_z `{_fargs : FArgs} {A : Set} (x_value : A) : A := x_value.
Definition testbit `{_fargs : FArgs} (x_value : Z.t) (i_value : int)
: bool := Z.testbit x_value i_value.
Module Impl_signature.
Record signature `{_fargs : FArgs} {t : Set} : Type := {
t := t;
signed : bool;
max_t : option t;
min_t : option t;
in_range : Z.t → bool;
of_z_opt : Z.t → option t;
of_z_truncating : option (Z.t → t);
to_z : t → Z.t;
testbit : t → int → bool;
}.
End Impl_signature.
Definition Impl_signature `{_fargs : FArgs} := @Impl_signature.signature _.
Arguments Impl_signature {_ _}.
Definition module `{_fargs : FArgs} :Impl_signature (t := _) :=
{|
Impl_signature.signed := signed;
Impl_signature.max_t := max_t;
Impl_signature.min_t := min_t;
Impl_signature.in_range := in_range;
Impl_signature.of_z_opt := of_z_opt;
Impl_signature.of_z_truncating := of_z_truncating;
Impl_signature.to_z := to_z;
Impl_signature.testbit := testbit
|}.
End Impl.
Definition Impl `{_fargs : FArgs} := Impl.module.
Require Import RocqOfOCaml.Settings.
Require Import MonadVM.Support.UintN.
Require MonadVM.Byte_string.
Require MonadVM.Comparable.
Require MonadVM.Map.
Require MonadVM.Option.
Require MonadVM.Rlp.
Require MonadVM.String.
Require MonadVM.Traits.
Require Import MonadVM.Support.Variants.
Require MonadVM.Support.CryptoBlake2.
Require Import RocqOfOCaml.Opaque.
Local Ltac _rocq_witness_type typ :=
let typ := eval hnf in typ in
lazymatch typ with
| list ?a ⇒ let a := _rocq_witness_type a in constr:(list a)
| option ?a ⇒ let a := _rocq_witness_type a in constr:(option a)
| prod ?a ?b ⇒ let a := _rocq_witness_type a in
let b := _rocq_witness_type b in constr:(prod a b)
| sum ?a ?b ⇒ let a := _rocq_witness_type a in
let b := _rocq_witness_type b in constr:(sum a b)
| ?a → ?b ⇒ let a := _rocq_witness_type a in
let b := _rocq_witness_type b in constr:(a → b)
| _ ⇒ typ
end.
Module Make.
Class FArgs := {
Byte_width : MonadVM.Traits.Byte_width.SIG;
Signedness : MonadVM.Traits.Signedness.SIG;
}.
Module Impl.
Definition t `{_fargs : FArgs} : Set := Z.t.
Definition signed `{_fargs : FArgs} : bool :=
match Signedness.(MonadVM.Traits.Signedness.SIG.signedness) with
| MonadVM.Support.Variants.Signedness.Signed ⇒ true
| MonadVM.Support.Variants.Signedness.Unsigned ⇒ false
end.
Definition bit_width `{_fargs : FArgs} : option int :=
match Byte_width.(MonadVM.Traits.Byte_width.SIG.byte_width) with
| MonadVM.Support.Variants.ByteWidth.Fixed n_value ⇒
Some (RocqOfOCaml.OCamlInt.mul 8 n_value)
| MonadVM.Support.Variants.ByteWidth.VariableWidth ⇒ None
end.
Definition pow2_for_bound `{_fargs : FArgs} (bits : int) : Z.t :=
if Z.ltb bits 0 then
Z.pow (RocqOfOCaml.OCamlZ.op_tildedollar 2) bits
else
Z.shiftl Z.one bits.
Definition max_t `{_fargs : FArgs} : option Z.t :=
match (bit_width, signed) with
| (None, _) ⇒ None
| (Some bits, true) ⇒
Some (Z.sub (pow2_for_bound (RocqOfOCaml.OCamlInt.sub bits 1)) Z.one)
| (Some bits, false) ⇒ Some (Z.sub (pow2_for_bound bits) Z.one)
end.
Definition min_t `{_fargs : FArgs} : option Z.t :=
match (bit_width, signed) with
| (_, false) ⇒ Some Z.zero
| (Some bits, true) ⇒
Some (Z.sub Z.zero (pow2_for_bound (RocqOfOCaml.OCamlInt.sub bits 1)))
| (None, true) ⇒ None
end.
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
let big_enough :=
match min_t with
| None ⇒ fun (_x : Z.t) ⇒ true
| Some min_t ⇒ fun (x_value : Z.t) ⇒ Z.geb x_value min_t
end in
let small_enough :=
match max_t with
| None ⇒ fun (_x : Z.t) ⇒ true
| Some max_t ⇒ fun (x_value : Z.t) ⇒ Z.leb x_value max_t
end in
fun (x_value : Z.t) ⇒ andb (big_enough x_value) (small_enough x_value).
Definition of_z_opt `{_fargs : FArgs} (x_value : Z.t) : option Z.t :=
if negb (in_range x_value) then
None
else
Some x_value.
Definition _rocq_fallback_of_z_truncating_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → Z.t) :=
match (bit_width, signed) with
| (None, _) ⇒ None
| (Some bits, true) ⇒
Some
(fun (x_value : Z.t) ⇒
(RocqOfOCaml.OCamlZ.signed_extract
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_z_truncating_0))
x_value 0 bits)
| (Some bits, false) ⇒
Some
(fun (x_value : Z.t) ⇒
(RocqOfOCaml.OCamlZ.extract
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_z_truncating_0))
x_value 0 bits)
end.
Definition to_z `{_fargs : FArgs} {A : Set} (x_value : A) : A := x_value.
Definition testbit `{_fargs : FArgs} (x_value : Z.t) (i_value : int)
: bool := Z.testbit x_value i_value.
Module Impl_signature.
Record signature `{_fargs : FArgs} {t : Set} : Type := {
t := t;
signed : bool;
max_t : option t;
min_t : option t;
in_range : Z.t → bool;
of_z_opt : Z.t → option t;
of_z_truncating : option (Z.t → t);
to_z : t → Z.t;
testbit : t → int → bool;
}.
End Impl_signature.
Definition Impl_signature `{_fargs : FArgs} := @Impl_signature.signature _.
Arguments Impl_signature {_ _}.
Definition module `{_fargs : FArgs} :Impl_signature (t := _) :=
{|
Impl_signature.signed := signed;
Impl_signature.max_t := max_t;
Impl_signature.min_t := min_t;
Impl_signature.in_range := in_range;
Impl_signature.of_z_opt := of_z_opt;
Impl_signature.of_z_truncating := of_z_truncating;
Impl_signature.to_z := to_z;
Impl_signature.testbit := testbit
|}.
End Impl.
Definition Impl `{_fargs : FArgs} := Impl.module.
Inclusion of the module Impl
Definition t `{_fargs : FArgs} := Impl.(Impl.Impl_signature.t).
Definition signed `{_fargs : FArgs} : bool :=
Eval cbn in Impl.(Impl.Impl_signature.signed).
Definition max_t `{_fargs : FArgs} : option t :=
Eval cbn in Impl.(Impl.Impl_signature.max_t).
Definition min_t `{_fargs : FArgs} : option t :=
Eval cbn in Impl.(Impl.Impl_signature.min_t).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
Eval cbn in Impl.(Impl.Impl_signature.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
Eval cbn in Impl.(Impl.Impl_signature.of_z_opt).
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → t) :=
Eval cbn in Impl.(Impl.Impl_signature.of_z_truncating).
Definition to_z `{_fargs : FArgs} : t → Z.t :=
Eval cbn in Impl.(Impl.Impl_signature.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
Eval cbn in Impl.(Impl.Impl_signature.testbit).
Definition _rocq_fallback_of_z_exn_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_exn `{_fargs : FArgs} (x_value : Z.t)
: Impl.(Impl.Impl_signature.t) :=
match of_z_opt x_value with
| None ⇒
let '_ := Build_extensible "Domain_error" Z.t x_value in
_rocq_fallback_of_z_exn_0
| Some x_value ⇒ x_value
end.
Definition zero `{_fargs : FArgs} : Impl.(Impl.Impl_signature.t) :=
of_z_exn Z.zero.
Definition one `{_fargs : FArgs} : Impl.(Impl.Impl_signature.t) :=
of_z_exn Z.one.
Definition signed `{_fargs : FArgs} : bool :=
Eval cbn in Impl.(Impl.Impl_signature.signed).
Definition max_t `{_fargs : FArgs} : option t :=
Eval cbn in Impl.(Impl.Impl_signature.max_t).
Definition min_t `{_fargs : FArgs} : option t :=
Eval cbn in Impl.(Impl.Impl_signature.min_t).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
Eval cbn in Impl.(Impl.Impl_signature.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
Eval cbn in Impl.(Impl.Impl_signature.of_z_opt).
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → t) :=
Eval cbn in Impl.(Impl.Impl_signature.of_z_truncating).
Definition to_z `{_fargs : FArgs} : t → Z.t :=
Eval cbn in Impl.(Impl.Impl_signature.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
Eval cbn in Impl.(Impl.Impl_signature.testbit).
Definition _rocq_fallback_of_z_exn_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_exn `{_fargs : FArgs} (x_value : Z.t)
: Impl.(Impl.Impl_signature.t) :=
match of_z_opt x_value with
| None ⇒
let '_ := Build_extensible "Domain_error" Z.t x_value in
_rocq_fallback_of_z_exn_0
| Some x_value ⇒ x_value
end.
Definition zero `{_fargs : FArgs} : Impl.(Impl.Impl_signature.t) :=
of_z_exn Z.zero.
Definition one `{_fargs : FArgs} : Impl.(Impl.Impl_signature.t) :=
of_z_exn Z.one.
Definition _rocq_fallback_byte_0 `{_fargs : FArgs} :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((ascii)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition byte `{_fargs : FArgs}
(index_le : int) (x_value : Impl.(Impl.Impl_signature.t)) : ascii :=
let le_bytes := RocqOfOCaml.OCamlZ.to_bits (to_z x_value) in
if Z.geb index_le (MonadVM.String.length le_bytes) then
"000" % char
else
(MonadVM.String.get (_rocq_fallback_byte_0)) le_bytes index_le.
Definition significant_bits `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int :=
RocqOfOCaml.OCamlZ.numbits (to_z x_value).
Definition _rocq_fallback_significant_bytes_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition significant_bytes `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int :=
(RocqOfOCaml.OCamlInt.div
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_significant_bytes_0))
(RocqOfOCaml.OCamlInt.add (significant_bits x_value) 7) 8.
Definition of_bool `{_fargs : FArgs} (b_value : bool)
: Impl.(Impl.Impl_signature.t) :=
if b_value then
one
else
zero.
Definition of_byte `{_fargs : FArgs} (c_value : ascii)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int (RocqOfOCaml.OCamlChar.code c_value)).
Definition of_int `{_fargs : FArgs} (i_value : int)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int i_value).
Definition op_tildedollar `{_fargs : FArgs}
: int → Impl.(Impl.Impl_signature.t) := of_int.
Definition to_int `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int :=
(RocqOfOCaml.OCamlZ.to_int
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_significant_bytes_0))
(to_z x_value).
Definition to_int_opt `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : option int :=
let x_value := to_z x_value in
if RocqOfOCaml.OCamlZ.fits_int x_value then
Some
((RocqOfOCaml.OCamlZ.to_int
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_significant_bytes_0))
x_value)
else
None.
Definition of_uint64 `{_fargs : FArgs} (i_value : int64)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int64_unsigned i_value).
Definition of_int64 `{_fargs : FArgs} (i_value : int64)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int64 i_value).
Definition _rocq_fallback_to_uint64_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int64)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_uint64 `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int64 :=
(RocqOfOCaml.OCamlZ.to_int64_unsigned
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint64_0))
(to_z x_value).
Definition to_int64 `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int64 :=
(RocqOfOCaml.OCamlZ.to_int64
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint64_0))
(to_z x_value).
Definition of_uint32 `{_fargs : FArgs} (i_value : int32)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int32_unsigned i_value).
Definition of_int32 `{_fargs : FArgs} (i_value : int32)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int32 i_value).
Definition _rocq_fallback_to_uint32_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int32)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_uint32 `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int32 :=
(RocqOfOCaml.OCamlZ.to_int32_unsigned
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint32_0))
(to_z x_value).
Definition to_int32 `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int32 :=
(RocqOfOCaml.OCamlZ.to_int32
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint32_0))
(to_z x_value).
Definition hash `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int := RocqOfOCaml.OCamlZ.hash (to_z x_value).
Definition MonadVM_Comparable_Make_include_fargs `{_fargs : FArgs} :=
MonadVM.Comparable.Make.Build_FArgs
(let t : Set := Impl.(Impl.Impl_signature.t) in
let compare (x_value : t) (y_value : t) : int :=
RocqOfOCaml.OCamlZ.compare (to_z x_value) (to_z y_value) in
ltac:(refine (_ :
MonadVM.Map.OrderedType (t := t)); constructor; [refine (compare)]; shelve)).
Definition MonadVM_Comparable_Make_include `{_fargs : FArgs} :
MonadVM.Comparable.Make.Make_result
(_fargs := MonadVM_Comparable_Make_include_fargs) :=
(MonadVM.Comparable.Make.functor
(_fargs := (MonadVM_Comparable_Make_include_fargs ))).
ltac:(let typ := constr:(ltac:(first [unshelve refine ((ascii)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition byte `{_fargs : FArgs}
(index_le : int) (x_value : Impl.(Impl.Impl_signature.t)) : ascii :=
let le_bytes := RocqOfOCaml.OCamlZ.to_bits (to_z x_value) in
if Z.geb index_le (MonadVM.String.length le_bytes) then
"000" % char
else
(MonadVM.String.get (_rocq_fallback_byte_0)) le_bytes index_le.
Definition significant_bits `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int :=
RocqOfOCaml.OCamlZ.numbits (to_z x_value).
Definition _rocq_fallback_significant_bytes_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition significant_bytes `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int :=
(RocqOfOCaml.OCamlInt.div
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_significant_bytes_0))
(RocqOfOCaml.OCamlInt.add (significant_bits x_value) 7) 8.
Definition of_bool `{_fargs : FArgs} (b_value : bool)
: Impl.(Impl.Impl_signature.t) :=
if b_value then
one
else
zero.
Definition of_byte `{_fargs : FArgs} (c_value : ascii)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int (RocqOfOCaml.OCamlChar.code c_value)).
Definition of_int `{_fargs : FArgs} (i_value : int)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int i_value).
Definition op_tildedollar `{_fargs : FArgs}
: int → Impl.(Impl.Impl_signature.t) := of_int.
Definition to_int `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int :=
(RocqOfOCaml.OCamlZ.to_int
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_significant_bytes_0))
(to_z x_value).
Definition to_int_opt `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : option int :=
let x_value := to_z x_value in
if RocqOfOCaml.OCamlZ.fits_int x_value then
Some
((RocqOfOCaml.OCamlZ.to_int
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_significant_bytes_0))
x_value)
else
None.
Definition of_uint64 `{_fargs : FArgs} (i_value : int64)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int64_unsigned i_value).
Definition of_int64 `{_fargs : FArgs} (i_value : int64)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int64 i_value).
Definition _rocq_fallback_to_uint64_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int64)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_uint64 `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int64 :=
(RocqOfOCaml.OCamlZ.to_int64_unsigned
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint64_0))
(to_z x_value).
Definition to_int64 `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int64 :=
(RocqOfOCaml.OCamlZ.to_int64
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint64_0))
(to_z x_value).
Definition of_uint32 `{_fargs : FArgs} (i_value : int32)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int32_unsigned i_value).
Definition of_int32 `{_fargs : FArgs} (i_value : int32)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn (RocqOfOCaml.OCamlZ.of_int32 i_value).
Definition _rocq_fallback_to_uint32_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int32)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_uint32 `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : int32 :=
(RocqOfOCaml.OCamlZ.to_int32_unsigned
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint32_0))
(to_z x_value).
Definition to_int32 `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int32 :=
(RocqOfOCaml.OCamlZ.to_int32
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_to_uint32_0))
(to_z x_value).
Definition hash `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: int := RocqOfOCaml.OCamlZ.hash (to_z x_value).
Definition MonadVM_Comparable_Make_include_fargs `{_fargs : FArgs} :=
MonadVM.Comparable.Make.Build_FArgs
(let t : Set := Impl.(Impl.Impl_signature.t) in
let compare (x_value : t) (y_value : t) : int :=
RocqOfOCaml.OCamlZ.compare (to_z x_value) (to_z y_value) in
ltac:(refine (_ :
MonadVM.Map.OrderedType (t := t)); constructor; [refine (compare)]; shelve)).
Definition MonadVM_Comparable_Make_include `{_fargs : FArgs} :
MonadVM.Comparable.Make.Make_result
(_fargs := MonadVM_Comparable_Make_include_fargs) :=
(MonadVM.Comparable.Make.functor
(_fargs := (MonadVM_Comparable_Make_include_fargs ))).
Inclusion of the module MonadVM_Comparable_Make_include
Definition comparison_op `{_fargs : FArgs} :
(int → int → bool) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.comparison_op).
Definition op_lt `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_lt).
Definition op_lteq `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_lteq).
Definition op_eq `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_eq).
Definition op_gteq `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_gteq).
Definition op_gt `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_gt).
Definition op_ltgt `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_ltgt).
Definition equal `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.equal).
Definition compare `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → int :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.compare).
Definition max `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.max).
Definition min `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.min).
Module _Set.
Definition elt `{_fargs : FArgs} :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t `{_fargs : FArgs} :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty `{_fargs : FArgs} : t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add `{_fargs : FArgs} : elt → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton `{_fargs : FArgs} : elt → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove `{_fargs : FArgs} : elt → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union `{_fargs : FArgs} : t → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter `{_fargs : FArgs} : t → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint `{_fargs : FArgs} : t → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff `{_fargs : FArgs} : t → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal `{_fargs : FArgs} : t → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements `{_fargs : FArgs} : t → list elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt `{_fargs : FArgs} : t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt `{_fargs : FArgs} : t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt `{_fargs : FArgs} : t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: elt → t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt `{_fargs : FArgs} : elt → t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter `{_fargs : FArgs} : (elt → unit) → t → unit :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold `{_fargs : FArgs} {acc : Set} :
(elt → acc → acc) → t → acc → acc :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map `{_fargs : FArgs} : (elt → elt) → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter `{_fargs : FArgs} : (elt → bool) → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map `{_fargs : FArgs} : (elt → option elt) → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition `{_fargs : FArgs} : (elt → bool) → t → t × t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split `{_fargs : FArgs} : elt → t → t × bool × t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty `{_fargs : FArgs} : t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton `{_fargs : FArgs} : t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem `{_fargs : FArgs} : elt → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal `{_fargs : FArgs} : t → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset `{_fargs : FArgs} : t → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all `{_fargs : FArgs} : (elt → bool) → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists `{_fargs : FArgs} : (elt → bool) → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list `{_fargs : FArgs} : t → list elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list `{_fargs : FArgs} : list elt → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from `{_fargs : FArgs} :
elt → t → RocqOfOCaml.OCamlSeq.t elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t → t
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set `{_fargs : FArgs} :=
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result._Set).
Definition is_zero `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: bool := op_eq x_value zero.
Definition to_string `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : string :=
RocqOfOCaml.OCamlZ.to_string (to_z x_value).
Definition to_hex_string `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : string :=
RocqOfOCaml.OCamlZ.format "%#x" (to_z x_value).
Definition _rocq_fallback_of_string_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_string `{_fargs : FArgs} (s_value : string)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn
((RocqOfOCaml.OCamlZ.of_string
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_string_0))
s_value).
Definition op_tildeat `{_fargs : FArgs}
: string → Impl.(Impl.Impl_signature.t) := of_string.
Module Map.
(int → int → bool) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.comparison_op).
Definition op_lt `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_lt).
Definition op_lteq `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_lteq).
Definition op_eq `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_eq).
Definition op_gteq `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_gteq).
Definition op_gt `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_gt).
Definition op_ltgt `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.op_ltgt).
Definition equal `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → bool :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.equal).
Definition compare `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) → int :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.compare).
Definition max `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.max).
Definition min `{_fargs : FArgs} :
Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) :=
Eval cbn in
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result.min).
Module _Set.
Definition elt `{_fargs : FArgs} :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t `{_fargs : FArgs} :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty `{_fargs : FArgs} : t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add `{_fargs : FArgs} : elt → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton `{_fargs : FArgs} : elt → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove `{_fargs : FArgs} : elt → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union `{_fargs : FArgs} : t → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter `{_fargs : FArgs} : t → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint `{_fargs : FArgs} : t → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff `{_fargs : FArgs} : t → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal `{_fargs : FArgs} : t → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements `{_fargs : FArgs} : t → list elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt `{_fargs : FArgs} : t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt `{_fargs : FArgs} : t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt `{_fargs : FArgs} : t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: elt → t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt `{_fargs : FArgs} : elt → t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter `{_fargs : FArgs} : (elt → unit) → t → unit :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold `{_fargs : FArgs} {acc : Set} :
(elt → acc → acc) → t → acc → acc :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map `{_fargs : FArgs} : (elt → elt) → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter `{_fargs : FArgs} : (elt → bool) → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map `{_fargs : FArgs} : (elt → option elt) → t → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition `{_fargs : FArgs} : (elt → bool) → t → t × t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split `{_fargs : FArgs} : elt → t → t × bool × t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty `{_fargs : FArgs} : t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton `{_fargs : FArgs} : t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem `{_fargs : FArgs} : elt → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal `{_fargs : FArgs} : t → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset `{_fargs : FArgs} : t → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all `{_fargs : FArgs} : (elt → bool) → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists `{_fargs : FArgs} : (elt → bool) → t → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list `{_fargs : FArgs} : t → list elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list `{_fargs : FArgs} : list elt → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from `{_fargs : FArgs} :
elt → t → RocqOfOCaml.OCamlSeq.t elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t → t
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set `{_fargs : FArgs} :=
(MonadVM_Comparable_Make_include (_fargs := _fargs)).(MonadVM.Comparable.Make.Make_result._Set).
Definition is_zero `{_fargs : FArgs} (x_value : Impl.(Impl.Impl_signature.t))
: bool := op_eq x_value zero.
Definition to_string `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : string :=
RocqOfOCaml.OCamlZ.to_string (to_z x_value).
Definition to_hex_string `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : string :=
RocqOfOCaml.OCamlZ.format "%#x" (to_z x_value).
Definition _rocq_fallback_of_string_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_string `{_fargs : FArgs} (s_value : string)
: Impl.(Impl.Impl_signature.t) :=
of_z_exn
((RocqOfOCaml.OCamlZ.of_string
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_string_0))
s_value).
Definition op_tildeat `{_fargs : FArgs}
: string → Impl.(Impl.Impl_signature.t) := of_string.
Module Map.
Inclusion from a translated functor-result record
Definition key `{_fargs : FArgs} :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_key).
Definition t `{_fargs : FArgs} (a : Set) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_t)
a.
Definition empty `{_fargs : FArgs} {a : Set} : Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_empty).
Definition add `{_fargs : FArgs} {a : Set} : key → a → Map.t a → Map.t a
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_add).
Definition add_to_list `{_fargs : FArgs} {a : Set} :
key → a → Map.t (list a) → Map.t (list a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_add_to_list).
Definition update `{_fargs : FArgs} {a : Set} :
key → (option a → option a) → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_update).
Definition singleton `{_fargs : FArgs} {a : Set} : key → a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_singleton).
Definition remove `{_fargs : FArgs} {a : Set} : key → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_remove).
Definition merge `{_fargs : FArgs} {a b c : Set} :
(key → option a → option b → option c) → Map.t a → Map.t b → Map.t c
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_merge).
Definition union `{_fargs : FArgs} {a : Set} :
(key → a → a → option a) → Map.t a → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_union).
Definition cardinal `{_fargs : FArgs} {a : Set} : Map.t a → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_cardinal).
Definition bindings `{_fargs : FArgs} {a : Set} : Map.t a → list (key × a)
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_bindings).
Definition min_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt `{_fargs : FArgs} {a : Set} :
Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_min_binding_opt).
Definition max_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt `{_fargs : FArgs} {a : Set} :
Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_max_binding_opt).
Definition choose `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_choose)
(_rocq_fallback_arg_0).
Definition choose_opt `{_fargs : FArgs} {a : Set} :
Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_choose_opt).
Definition find `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → Map.t a → a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find)
(_rocq_fallback_arg_0).
Definition find_opt `{_fargs : FArgs} {a : Set} : key → Map.t a → option a
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_opt).
Definition find_first `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_first_opt).
Definition find_last `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_last_opt).
Definition iter `{_fargs : FArgs} {a : Set} :
(key → a → unit) → Map.t a → unit :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_iter).
Definition fold `{_fargs : FArgs} {a acc : Set} :
(key → a → acc → acc) → Map.t a → acc → acc :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_fold).
Definition map `{_fargs : FArgs} {a b : Set} :
(a → b) → Map.t a → Map.t b :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_map).
Definition mapi `{_fargs : FArgs} {a b : Set} :
(key → a → b) → Map.t a → Map.t b :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_mapi).
Definition filter `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_filter).
Definition filter_map `{_fargs : FArgs} {a b : Set} :
(key → a → option b) → Map.t a → Map.t b :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_filter_map).
Definition partition `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → Map.t a × Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_partition).
Definition split `{_fargs : FArgs} {a : Set} :
key → Map.t a → Map.t a × option a × Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_split).
Definition is_empty `{_fargs : FArgs} {a : Set} : Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_is_empty).
Definition is_singleton `{_fargs : FArgs} {a : Set} : Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_is_singleton).
Definition mem `{_fargs : FArgs} {a : Set} : key → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_mem).
Definition equal `{_fargs : FArgs} {a : Set} :
(a → a → bool) → Map.t a → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_equal).
Definition compare `{_fargs : FArgs} {a : Set} :
(a → a → int) → Map.t a → Map.t a → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_compare).
Definition for_all `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_for_all).
Definition _exists `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_exists).
Definition to_list `{_fargs : FArgs} {a : Set} : Map.t a → list (key × a)
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_list).
Definition of_list `{_fargs : FArgs} {a : Set} : list (key × a) → Map.t a
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_of_list).
Definition to_seq `{_fargs : FArgs} {a : Set} :
Map.t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_seq).
Definition to_rev_seq `{_fargs : FArgs} {a : Set} :
Map.t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_rev_seq).
Definition to_seq_from `{_fargs : FArgs} {a : Set} :
key → Map.t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_seq_from).
Definition add_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_add_seq).
Definition of_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_of_seq).
Definition _at `{_fargs : FArgs} {v : Set} :
key → Lens.t (Map.t v) (option v) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_at).
Definition keys `{_fargs : FArgs} {a : Set} :
Map.t a → _Set.(RocqOfOCaml.OCamlSet.S.t) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_keys).
Definition difference `{_fargs : FArgs} {a d : Set} :
(option a → option a → option d) → Map.t a → Map.t a → Map.t d :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_difference).
Module Map_signature.
Record signature `{_fargs : FArgs} {t : Set → Set} : Type := {
key := Impl.(Impl.Impl_signature.t);
t := t;
empty : ∀ {a : Set} , t a;
add : ∀ {a : Set} , key → a → t a → t a;
add_to_list : ∀ {a : Set} , key → a → t (list a) → t (list a);
update : ∀ {a : Set} , key → (option a → option a) → t a → t a;
singleton : ∀ {a : Set} , key → a → t a;
remove : ∀ {a : Set} , key → t a → t a;
merge :
∀ {a b c : Set} ,
(key → option a → option b → option c) → t a → t b → t c;
union :
∀ {a : Set} , (key → a → a → option a) → t a → t a → t a;
cardinal : ∀ {a : Set} , t a → int;
bindings : ∀ {a : Set} , t a → list (key × a);
min_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
t a → key × a;
min_binding_opt : ∀ {a : Set} , t a → option (key × a);
max_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
t a → key × a;
max_binding_opt : ∀ {a : Set} , t a → option (key × a);
choose :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
t a → key × a;
choose_opt : ∀ {a : Set} , t a → option (key × a);
find :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
key → t a → a;
find_opt : ∀ {a : Set} , key → t a → option a;
find_first :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(key → bool) → t a → key × a;
find_first_opt :
∀ {a : Set} , (key → bool) → t a → option (key × a);
find_last :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(key → bool) → t a → key × a;
find_last_opt :
∀ {a : Set} , (key → bool) → t a → option (key × a);
iter : ∀ {a : Set} , (key → a → unit) → t a → unit;
fold :
∀ {a acc : Set} , (key → a → acc → acc) → t a → acc → acc;
map : ∀ {a b : Set} , (a → b) → t a → t b;
mapi : ∀ {a b : Set} , (key → a → b) → t a → t b;
filter : ∀ {a : Set} , (key → a → bool) → t a → t a;
filter_map : ∀ {a b : Set} , (key → a → option b) → t a → t b;
partition : ∀ {a : Set} , (key → a → bool) → t a → t a × t a;
split : ∀ {a : Set} , key → t a → t a × option a × t a;
is_empty : ∀ {a : Set} , t a → bool;
is_singleton : ∀ {a : Set} , t a → bool;
mem : ∀ {a : Set} , key → t a → bool;
equal : ∀ {a : Set} , (a → a → bool) → t a → t a → bool;
compare : ∀ {a : Set} , (a → a → int) → t a → t a → int;
for_all : ∀ {a : Set} , (key → a → bool) → t a → bool;
_exists : ∀ {a : Set} , (key → a → bool) → t a → bool;
to_list : ∀ {a : Set} , t a → list (key × a);
of_list : ∀ {a : Set} , list (key × a) → t a;
to_seq : ∀ {a : Set} , t a → RocqOfOCaml.OCamlSeq.t (key × a);
to_rev_seq : ∀ {a : Set} , t a → RocqOfOCaml.OCamlSeq.t (key × a);
to_seq_from :
∀ {a : Set} , key → t a → RocqOfOCaml.OCamlSeq.t (key × a);
add_seq :
∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a;
of_seq : ∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (key × a) → t a;
_at : ∀ {v : Set} , key → Lens.t (t v) (option v);
keys : ∀ {a : Set} , t a → _Set.(RocqOfOCaml.OCamlSet.S.t);
difference :
∀ {a d : Set} ,
(option a → option a → option d) → t a → t a → t d;
}.
End Map_signature.
Definition Map_signature `{_fargs : FArgs} := @Map_signature.signature _.
Arguments Map_signature {_ _}.
Definition module `{_fargs : FArgs} :Map_signature (t := _) :=
{|
Map_signature.empty _rocq_argument_0 := ltac:(first [exact (empty
) | exact (empty _) | first [unshelve refine (empty
) | unshelve refine (empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.add _rocq_argument_0 := ltac:(first [exact (add
) | exact (add _) | first [unshelve refine (add
) | unshelve refine (add
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.add_to_list _rocq_argument_0 :=
ltac:(first [exact (add_to_list ) | exact (add_to_list
_) | first [unshelve refine (add_to_list
) | unshelve refine (add_to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.update _rocq_argument_0 := ltac:(first [exact (update
) | exact (update _) | first [unshelve refine (update
) | unshelve refine (update
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.singleton _rocq_argument_0 :=
ltac:(first [exact (singleton ) | exact (singleton
_) | first [unshelve refine (singleton ) | unshelve refine (singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.remove _rocq_argument_0 := ltac:(first [exact (remove
) | exact (remove _) | first [unshelve refine (remove
) | unshelve refine (remove
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.merge _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
:= ltac:(first [exact (merge ) | exact (merge _) | exact (merge _
_) | exact (merge _ _ _) | first [unshelve refine (merge
) | unshelve refine (merge _rocq_argument_0) | unshelve refine (merge
_rocq_argument_0 _rocq_argument_1) | unshelve refine (merge
_rocq_argument_0 _rocq_argument_1
_rocq_argument_2)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact _rocq_argument_1 | exact
_rocq_argument_2 | eassumption | typeclasses eauto]]);
Map_signature.union _rocq_argument_0 := ltac:(first [exact (union
) | exact (union _) | first [unshelve refine (union
) | unshelve refine (union
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.cardinal _rocq_argument_0 := ltac:(first [exact (cardinal
) | exact (cardinal _) | first [unshelve refine (cardinal
) | unshelve refine (cardinal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.bindings _rocq_argument_0 := ltac:(first [exact (bindings
) | exact (bindings _) | first [unshelve refine (bindings
) | unshelve refine (bindings
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.min_binding _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (min_binding
_rocq_witness_0) | unshelve refine (min_binding _rocq_argument_0
_rocq_witness_0) | unshelve refine (min_binding
) | unshelve refine (min_binding
_rocq_argument_0) | let value := uconstr:(min_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.min_binding_opt _rocq_argument_0 :=
ltac:(first [exact (min_binding_opt ) | exact (min_binding_opt
_) | first [unshelve refine (min_binding_opt
) | unshelve refine (min_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.max_binding _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (max_binding
_rocq_witness_0) | unshelve refine (max_binding _rocq_argument_0
_rocq_witness_0) | unshelve refine (max_binding
) | unshelve refine (max_binding
_rocq_argument_0) | let value := uconstr:(max_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.max_binding_opt _rocq_argument_0 :=
ltac:(first [exact (max_binding_opt ) | exact (max_binding_opt
_) | first [unshelve refine (max_binding_opt
) | unshelve refine (max_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.choose _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (choose
_rocq_witness_0) | unshelve refine (choose _rocq_argument_0
_rocq_witness_0) | unshelve refine (choose ) | unshelve refine (choose
_rocq_argument_0) | let value := uconstr:(choose) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.choose_opt _rocq_argument_0 :=
ltac:(first [exact (choose_opt ) | exact (choose_opt
_) | first [unshelve refine (choose_opt
) | unshelve refine (choose_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.find _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (find
_rocq_witness_0) | unshelve refine (find _rocq_argument_0
_rocq_witness_0) | unshelve refine (find ) | unshelve refine (find
_rocq_argument_0) | let value := uconstr:(find) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.find_opt _rocq_argument_0 := ltac:(first [exact (find_opt
) | exact (find_opt _) | first [unshelve refine (find_opt
) | unshelve refine (find_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.find_first _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (find_first
_rocq_witness_0) | unshelve refine (find_first _rocq_argument_0
_rocq_witness_0) | unshelve refine (find_first
) | unshelve refine (find_first
_rocq_argument_0) | let value := uconstr:(find_first) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.find_first_opt _rocq_argument_0 :=
ltac:(first [exact (find_first_opt ) | exact (find_first_opt
_) | first [unshelve refine (find_first_opt
) | unshelve refine (find_first_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.find_last _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (find_last
_rocq_witness_0) | unshelve refine (find_last _rocq_argument_0
_rocq_witness_0) | unshelve refine (find_last
) | unshelve refine (find_last
_rocq_argument_0) | let value := uconstr:(find_last) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.find_last_opt _rocq_argument_0 :=
ltac:(first [exact (find_last_opt ) | exact (find_last_opt
_) | first [unshelve refine (find_last_opt
) | unshelve refine (find_last_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.iter _rocq_argument_0 := ltac:(first [exact (iter
) | exact (iter _) | first [unshelve refine (iter
) | unshelve refine (iter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.fold _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (fold ) | exact (fold _) | exact (fold _
_) | first [unshelve refine (fold ) | unshelve refine (fold
_rocq_argument_0) | unshelve refine (fold _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.map _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (map ) | exact (map _) | exact (map _
_) | first [unshelve refine (map ) | unshelve refine (map
_rocq_argument_0) | unshelve refine (map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.mapi _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (mapi ) | exact (mapi _) | exact (mapi _
_) | first [unshelve refine (mapi ) | unshelve refine (mapi
_rocq_argument_0) | unshelve refine (mapi _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.filter _rocq_argument_0 := ltac:(first [exact (filter
) | exact (filter _) | first [unshelve refine (filter
) | unshelve refine (filter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.filter_map _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (filter_map ) | exact (filter_map
_) | exact (filter_map _ _) | first [unshelve refine (filter_map
) | unshelve refine (filter_map
_rocq_argument_0) | unshelve refine (filter_map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.partition _rocq_argument_0 :=
ltac:(first [exact (partition ) | exact (partition
_) | first [unshelve refine (partition ) | unshelve refine (partition
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.split _rocq_argument_0 := ltac:(first [exact (split
) | exact (split _) | first [unshelve refine (split
) | unshelve refine (split
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.is_empty _rocq_argument_0 := ltac:(first [exact (is_empty
) | exact (is_empty _) | first [unshelve refine (is_empty
) | unshelve refine (is_empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.is_singleton _rocq_argument_0 :=
ltac:(first [exact (is_singleton ) | exact (is_singleton
_) | first [unshelve refine (is_singleton
) | unshelve refine (is_singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.mem _rocq_argument_0 := ltac:(first [exact (mem
) | exact (mem _) | first [unshelve refine (mem
) | unshelve refine (mem
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.equal _rocq_argument_0 := ltac:(first [exact (equal
) | exact (equal _) | first [unshelve refine (equal
) | unshelve refine (equal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.compare _rocq_argument_0 := ltac:(first [exact (compare
) | exact (compare _) | first [unshelve refine (compare
) | unshelve refine (compare
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.for_all _rocq_argument_0 := ltac:(first [exact (for_all
) | exact (for_all _) | first [unshelve refine (for_all
) | unshelve refine (for_all
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature._exists _rocq_argument_0 := ltac:(first [exact (_exists
) | exact (_exists _) | first [unshelve refine (_exists
) | unshelve refine (_exists
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_list _rocq_argument_0 := ltac:(first [exact (to_list
) | exact (to_list _) | first [unshelve refine (to_list
) | unshelve refine (to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.of_list _rocq_argument_0 := ltac:(first [exact (of_list
) | exact (of_list _) | first [unshelve refine (of_list
) | unshelve refine (of_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_seq _rocq_argument_0 := ltac:(first [exact (to_seq
) | exact (to_seq _) | first [unshelve refine (to_seq
) | unshelve refine (to_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_rev_seq _rocq_argument_0 :=
ltac:(first [exact (to_rev_seq ) | exact (to_rev_seq
_) | first [unshelve refine (to_rev_seq
) | unshelve refine (to_rev_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_seq_from _rocq_argument_0 :=
ltac:(first [exact (to_seq_from ) | exact (to_seq_from
_) | first [unshelve refine (to_seq_from
) | unshelve refine (to_seq_from
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.add_seq _rocq_argument_0 := ltac:(first [exact (add_seq
) | exact (add_seq _) | first [unshelve refine (add_seq
) | unshelve refine (add_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.of_seq _rocq_argument_0 := ltac:(first [exact (of_seq
) | exact (of_seq _) | first [unshelve refine (of_seq
) | unshelve refine (of_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature._at _rocq_argument_0 := ltac:(first [exact (_at
) | exact (_at _) | first [unshelve refine (_at
) | unshelve refine (_at
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.keys _rocq_argument_0 := ltac:(first [exact (keys
) | exact (keys _) | first [unshelve refine (keys
) | unshelve refine (keys
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.difference _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (difference ) | exact (difference
_) | exact (difference _ _) | first [unshelve refine (difference
) | unshelve refine (difference
_rocq_argument_0) | unshelve refine (difference _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]])
|}.
End Map.
Definition Map `{_fargs : FArgs} := Map.module.
Definition of_z_after_op `{_fargs : FArgs}
: Z.t → Impl.(Impl.Impl_signature.t) :=
match of_z_truncating with
| Some of_z ⇒ of_z
| None ⇒ of_z_exn
end.
Definition lift_1 `{_fargs : FArgs}
(f_value : Z.t → Z.t) (x_value : Impl.(Impl.Impl_signature.t))
: Impl.(Impl.Impl_signature.t) := of_z_after_op (f_value (to_z x_value)).
Definition lift_2 `{_fargs : FArgs}
(f_value : Z.t → Z.t → Z.t) (x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op (f_value (to_z x_value) (to_z y_value)).
Definition logand `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.land.
Definition logor `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.lor.
Definition logxor `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.lxor.
Definition lognot `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) :=
lift_1 Z.lnot.
Definition op_plus `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.add.
Definition op_minus `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.sub.
Definition op_star `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.mul.
Definition op_div `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.quot.
Definition modulo `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) :=
lift_2 (RocqOfOCaml.OCamlZ.erem
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_string_0)).
Definition rem `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.rem.
Definition addmod `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t))
(m_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.rem (Z.add (to_z x_value) (to_z y_value)) (to_z m_value)).
Definition mulmod `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t))
(m_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.rem (Z.mul (to_z x_value) (to_z y_value)) (to_z m_value)).
Definition shift_left `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) (shift : int)
: Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.shiftl (to_z x_value) shift).
Definition shift_right `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) (shift : int)
: Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.shiftr (to_z x_value) shift).
Definition op_starstar `{_fargs : FArgs}
(base : Impl.(Impl.Impl_signature.t)) (exp : int)
: Impl.(Impl.Impl_signature.t) := of_z_after_op (Z.pow (to_z base) exp).
Definition exp_mod `{_fargs : FArgs}
(modulo : Impl.(Impl.Impl_signature.t))
(x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op
((RocqOfOCaml.OCamlZ.powm
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_string_0))
(to_z x_value) (to_z y_value) (to_z modulo)).
Definition minus_1_64th `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
op_minus x_value (op_div x_value (op_tildedollar 64)).
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_key).
Definition t `{_fargs : FArgs} (a : Set) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_t)
a.
Definition empty `{_fargs : FArgs} {a : Set} : Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_empty).
Definition add `{_fargs : FArgs} {a : Set} : key → a → Map.t a → Map.t a
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_add).
Definition add_to_list `{_fargs : FArgs} {a : Set} :
key → a → Map.t (list a) → Map.t (list a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_add_to_list).
Definition update `{_fargs : FArgs} {a : Set} :
key → (option a → option a) → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_update).
Definition singleton `{_fargs : FArgs} {a : Set} : key → a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_singleton).
Definition remove `{_fargs : FArgs} {a : Set} : key → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_remove).
Definition merge `{_fargs : FArgs} {a b c : Set} :
(key → option a → option b → option c) → Map.t a → Map.t b → Map.t c
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_merge).
Definition union `{_fargs : FArgs} {a : Set} :
(key → a → a → option a) → Map.t a → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_union).
Definition cardinal `{_fargs : FArgs} {a : Set} : Map.t a → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_cardinal).
Definition bindings `{_fargs : FArgs} {a : Set} : Map.t a → list (key × a)
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_bindings).
Definition min_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt `{_fargs : FArgs} {a : Set} :
Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_min_binding_opt).
Definition max_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt `{_fargs : FArgs} {a : Set} :
Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_max_binding_opt).
Definition choose `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_choose)
(_rocq_fallback_arg_0).
Definition choose_opt `{_fargs : FArgs} {a : Set} :
Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_choose_opt).
Definition find `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → Map.t a → a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find)
(_rocq_fallback_arg_0).
Definition find_opt `{_fargs : FArgs} {a : Set} : key → Map.t a → option a
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_opt).
Definition find_first `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_first_opt).
Definition find_last `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → Map.t a → key × a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → Map.t a → option (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_find_last_opt).
Definition iter `{_fargs : FArgs} {a : Set} :
(key → a → unit) → Map.t a → unit :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_iter).
Definition fold `{_fargs : FArgs} {a acc : Set} :
(key → a → acc → acc) → Map.t a → acc → acc :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_fold).
Definition map `{_fargs : FArgs} {a b : Set} :
(a → b) → Map.t a → Map.t b :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_map).
Definition mapi `{_fargs : FArgs} {a b : Set} :
(key → a → b) → Map.t a → Map.t b :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_mapi).
Definition filter `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_filter).
Definition filter_map `{_fargs : FArgs} {a b : Set} :
(key → a → option b) → Map.t a → Map.t b :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_filter_map).
Definition partition `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → Map.t a × Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_partition).
Definition split `{_fargs : FArgs} {a : Set} :
key → Map.t a → Map.t a × option a × Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_split).
Definition is_empty `{_fargs : FArgs} {a : Set} : Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_is_empty).
Definition is_singleton `{_fargs : FArgs} {a : Set} : Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_is_singleton).
Definition mem `{_fargs : FArgs} {a : Set} : key → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_mem).
Definition equal `{_fargs : FArgs} {a : Set} :
(a → a → bool) → Map.t a → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_equal).
Definition compare `{_fargs : FArgs} {a : Set} :
(a → a → int) → Map.t a → Map.t a → int :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_compare).
Definition for_all `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_for_all).
Definition _exists `{_fargs : FArgs} {a : Set} :
(key → a → bool) → Map.t a → bool :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_exists).
Definition to_list `{_fargs : FArgs} {a : Set} : Map.t a → list (key × a)
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_list).
Definition of_list `{_fargs : FArgs} {a : Set} : list (key × a) → Map.t a
:=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_of_list).
Definition to_seq `{_fargs : FArgs} {a : Set} :
Map.t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_seq).
Definition to_rev_seq `{_fargs : FArgs} {a : Set} :
Map.t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_rev_seq).
Definition to_seq_from `{_fargs : FArgs} {a : Set} :
key → Map.t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_to_seq_from).
Definition add_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → Map.t a → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_add_seq).
Definition of_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → Map.t a :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_of_seq).
Definition _at `{_fargs : FArgs} {v : Set} :
key → Lens.t (Map.t v) (option v) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_at).
Definition keys `{_fargs : FArgs} {a : Set} :
Map.t a → _Set.(RocqOfOCaml.OCamlSet.S.t) :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_keys).
Definition difference `{_fargs : FArgs} {a d : Set} :
(option a → option a → option d) → Map.t a → Map.t a → Map.t d :=
MonadVM_Comparable_Make_include.(MonadVM.Comparable.Make.Make_result.Map_difference).
Module Map_signature.
Record signature `{_fargs : FArgs} {t : Set → Set} : Type := {
key := Impl.(Impl.Impl_signature.t);
t := t;
empty : ∀ {a : Set} , t a;
add : ∀ {a : Set} , key → a → t a → t a;
add_to_list : ∀ {a : Set} , key → a → t (list a) → t (list a);
update : ∀ {a : Set} , key → (option a → option a) → t a → t a;
singleton : ∀ {a : Set} , key → a → t a;
remove : ∀ {a : Set} , key → t a → t a;
merge :
∀ {a b c : Set} ,
(key → option a → option b → option c) → t a → t b → t c;
union :
∀ {a : Set} , (key → a → a → option a) → t a → t a → t a;
cardinal : ∀ {a : Set} , t a → int;
bindings : ∀ {a : Set} , t a → list (key × a);
min_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
t a → key × a;
min_binding_opt : ∀ {a : Set} , t a → option (key × a);
max_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
t a → key × a;
max_binding_opt : ∀ {a : Set} , t a → option (key × a);
choose :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
t a → key × a;
choose_opt : ∀ {a : Set} , t a → option (key × a);
find :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
key → t a → a;
find_opt : ∀ {a : Set} , key → t a → option a;
find_first :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(key → bool) → t a → key × a;
find_first_opt :
∀ {a : Set} , (key → bool) → t a → option (key × a);
find_last :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Impl.(Impl.Impl_signature.t)
× a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(key → bool) → t a → key × a;
find_last_opt :
∀ {a : Set} , (key → bool) → t a → option (key × a);
iter : ∀ {a : Set} , (key → a → unit) → t a → unit;
fold :
∀ {a acc : Set} , (key → a → acc → acc) → t a → acc → acc;
map : ∀ {a b : Set} , (a → b) → t a → t b;
mapi : ∀ {a b : Set} , (key → a → b) → t a → t b;
filter : ∀ {a : Set} , (key → a → bool) → t a → t a;
filter_map : ∀ {a b : Set} , (key → a → option b) → t a → t b;
partition : ∀ {a : Set} , (key → a → bool) → t a → t a × t a;
split : ∀ {a : Set} , key → t a → t a × option a × t a;
is_empty : ∀ {a : Set} , t a → bool;
is_singleton : ∀ {a : Set} , t a → bool;
mem : ∀ {a : Set} , key → t a → bool;
equal : ∀ {a : Set} , (a → a → bool) → t a → t a → bool;
compare : ∀ {a : Set} , (a → a → int) → t a → t a → int;
for_all : ∀ {a : Set} , (key → a → bool) → t a → bool;
_exists : ∀ {a : Set} , (key → a → bool) → t a → bool;
to_list : ∀ {a : Set} , t a → list (key × a);
of_list : ∀ {a : Set} , list (key × a) → t a;
to_seq : ∀ {a : Set} , t a → RocqOfOCaml.OCamlSeq.t (key × a);
to_rev_seq : ∀ {a : Set} , t a → RocqOfOCaml.OCamlSeq.t (key × a);
to_seq_from :
∀ {a : Set} , key → t a → RocqOfOCaml.OCamlSeq.t (key × a);
add_seq :
∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a;
of_seq : ∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (key × a) → t a;
_at : ∀ {v : Set} , key → Lens.t (t v) (option v);
keys : ∀ {a : Set} , t a → _Set.(RocqOfOCaml.OCamlSet.S.t);
difference :
∀ {a d : Set} ,
(option a → option a → option d) → t a → t a → t d;
}.
End Map_signature.
Definition Map_signature `{_fargs : FArgs} := @Map_signature.signature _.
Arguments Map_signature {_ _}.
Definition module `{_fargs : FArgs} :Map_signature (t := _) :=
{|
Map_signature.empty _rocq_argument_0 := ltac:(first [exact (empty
) | exact (empty _) | first [unshelve refine (empty
) | unshelve refine (empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.add _rocq_argument_0 := ltac:(first [exact (add
) | exact (add _) | first [unshelve refine (add
) | unshelve refine (add
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.add_to_list _rocq_argument_0 :=
ltac:(first [exact (add_to_list ) | exact (add_to_list
_) | first [unshelve refine (add_to_list
) | unshelve refine (add_to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.update _rocq_argument_0 := ltac:(first [exact (update
) | exact (update _) | first [unshelve refine (update
) | unshelve refine (update
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.singleton _rocq_argument_0 :=
ltac:(first [exact (singleton ) | exact (singleton
_) | first [unshelve refine (singleton ) | unshelve refine (singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.remove _rocq_argument_0 := ltac:(first [exact (remove
) | exact (remove _) | first [unshelve refine (remove
) | unshelve refine (remove
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.merge _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
:= ltac:(first [exact (merge ) | exact (merge _) | exact (merge _
_) | exact (merge _ _ _) | first [unshelve refine (merge
) | unshelve refine (merge _rocq_argument_0) | unshelve refine (merge
_rocq_argument_0 _rocq_argument_1) | unshelve refine (merge
_rocq_argument_0 _rocq_argument_1
_rocq_argument_2)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact _rocq_argument_1 | exact
_rocq_argument_2 | eassumption | typeclasses eauto]]);
Map_signature.union _rocq_argument_0 := ltac:(first [exact (union
) | exact (union _) | first [unshelve refine (union
) | unshelve refine (union
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.cardinal _rocq_argument_0 := ltac:(first [exact (cardinal
) | exact (cardinal _) | first [unshelve refine (cardinal
) | unshelve refine (cardinal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.bindings _rocq_argument_0 := ltac:(first [exact (bindings
) | exact (bindings _) | first [unshelve refine (bindings
) | unshelve refine (bindings
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.min_binding _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (min_binding
_rocq_witness_0) | unshelve refine (min_binding _rocq_argument_0
_rocq_witness_0) | unshelve refine (min_binding
) | unshelve refine (min_binding
_rocq_argument_0) | let value := uconstr:(min_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.min_binding_opt _rocq_argument_0 :=
ltac:(first [exact (min_binding_opt ) | exact (min_binding_opt
_) | first [unshelve refine (min_binding_opt
) | unshelve refine (min_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.max_binding _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (max_binding
_rocq_witness_0) | unshelve refine (max_binding _rocq_argument_0
_rocq_witness_0) | unshelve refine (max_binding
) | unshelve refine (max_binding
_rocq_argument_0) | let value := uconstr:(max_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.max_binding_opt _rocq_argument_0 :=
ltac:(first [exact (max_binding_opt ) | exact (max_binding_opt
_) | first [unshelve refine (max_binding_opt
) | unshelve refine (max_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.choose _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (choose
_rocq_witness_0) | unshelve refine (choose _rocq_argument_0
_rocq_witness_0) | unshelve refine (choose ) | unshelve refine (choose
_rocq_argument_0) | let value := uconstr:(choose) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.choose_opt _rocq_argument_0 :=
ltac:(first [exact (choose_opt ) | exact (choose_opt
_) | first [unshelve refine (choose_opt
) | unshelve refine (choose_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.find _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (find
_rocq_witness_0) | unshelve refine (find _rocq_argument_0
_rocq_witness_0) | unshelve refine (find ) | unshelve refine (find
_rocq_argument_0) | let value := uconstr:(find) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.find_opt _rocq_argument_0 := ltac:(first [exact (find_opt
) | exact (find_opt _) | first [unshelve refine (find_opt
) | unshelve refine (find_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.find_first _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (find_first
_rocq_witness_0) | unshelve refine (find_first _rocq_argument_0
_rocq_witness_0) | unshelve refine (find_first
) | unshelve refine (find_first
_rocq_argument_0) | let value := uconstr:(find_first) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.find_first_opt _rocq_argument_0 :=
ltac:(first [exact (find_first_opt ) | exact (find_first_opt
_) | first [unshelve refine (find_first_opt
) | unshelve refine (find_first_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.find_last _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (find_last
_rocq_witness_0) | unshelve refine (find_last _rocq_argument_0
_rocq_witness_0) | unshelve refine (find_last
) | unshelve refine (find_last
_rocq_argument_0) | let value := uconstr:(find_last) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
Map_signature.find_last_opt _rocq_argument_0 :=
ltac:(first [exact (find_last_opt ) | exact (find_last_opt
_) | first [unshelve refine (find_last_opt
) | unshelve refine (find_last_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.iter _rocq_argument_0 := ltac:(first [exact (iter
) | exact (iter _) | first [unshelve refine (iter
) | unshelve refine (iter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.fold _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (fold ) | exact (fold _) | exact (fold _
_) | first [unshelve refine (fold ) | unshelve refine (fold
_rocq_argument_0) | unshelve refine (fold _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.map _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (map ) | exact (map _) | exact (map _
_) | first [unshelve refine (map ) | unshelve refine (map
_rocq_argument_0) | unshelve refine (map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.mapi _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (mapi ) | exact (mapi _) | exact (mapi _
_) | first [unshelve refine (mapi ) | unshelve refine (mapi
_rocq_argument_0) | unshelve refine (mapi _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.filter _rocq_argument_0 := ltac:(first [exact (filter
) | exact (filter _) | first [unshelve refine (filter
) | unshelve refine (filter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.filter_map _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (filter_map ) | exact (filter_map
_) | exact (filter_map _ _) | first [unshelve refine (filter_map
) | unshelve refine (filter_map
_rocq_argument_0) | unshelve refine (filter_map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
Map_signature.partition _rocq_argument_0 :=
ltac:(first [exact (partition ) | exact (partition
_) | first [unshelve refine (partition ) | unshelve refine (partition
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.split _rocq_argument_0 := ltac:(first [exact (split
) | exact (split _) | first [unshelve refine (split
) | unshelve refine (split
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.is_empty _rocq_argument_0 := ltac:(first [exact (is_empty
) | exact (is_empty _) | first [unshelve refine (is_empty
) | unshelve refine (is_empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.is_singleton _rocq_argument_0 :=
ltac:(first [exact (is_singleton ) | exact (is_singleton
_) | first [unshelve refine (is_singleton
) | unshelve refine (is_singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.mem _rocq_argument_0 := ltac:(first [exact (mem
) | exact (mem _) | first [unshelve refine (mem
) | unshelve refine (mem
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.equal _rocq_argument_0 := ltac:(first [exact (equal
) | exact (equal _) | first [unshelve refine (equal
) | unshelve refine (equal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.compare _rocq_argument_0 := ltac:(first [exact (compare
) | exact (compare _) | first [unshelve refine (compare
) | unshelve refine (compare
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.for_all _rocq_argument_0 := ltac:(first [exact (for_all
) | exact (for_all _) | first [unshelve refine (for_all
) | unshelve refine (for_all
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature._exists _rocq_argument_0 := ltac:(first [exact (_exists
) | exact (_exists _) | first [unshelve refine (_exists
) | unshelve refine (_exists
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_list _rocq_argument_0 := ltac:(first [exact (to_list
) | exact (to_list _) | first [unshelve refine (to_list
) | unshelve refine (to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.of_list _rocq_argument_0 := ltac:(first [exact (of_list
) | exact (of_list _) | first [unshelve refine (of_list
) | unshelve refine (of_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_seq _rocq_argument_0 := ltac:(first [exact (to_seq
) | exact (to_seq _) | first [unshelve refine (to_seq
) | unshelve refine (to_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_rev_seq _rocq_argument_0 :=
ltac:(first [exact (to_rev_seq ) | exact (to_rev_seq
_) | first [unshelve refine (to_rev_seq
) | unshelve refine (to_rev_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.to_seq_from _rocq_argument_0 :=
ltac:(first [exact (to_seq_from ) | exact (to_seq_from
_) | first [unshelve refine (to_seq_from
) | unshelve refine (to_seq_from
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.add_seq _rocq_argument_0 := ltac:(first [exact (add_seq
) | exact (add_seq _) | first [unshelve refine (add_seq
) | unshelve refine (add_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.of_seq _rocq_argument_0 := ltac:(first [exact (of_seq
) | exact (of_seq _) | first [unshelve refine (of_seq
) | unshelve refine (of_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature._at _rocq_argument_0 := ltac:(first [exact (_at
) | exact (_at _) | first [unshelve refine (_at
) | unshelve refine (_at
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.keys _rocq_argument_0 := ltac:(first [exact (keys
) | exact (keys _) | first [unshelve refine (keys
) | unshelve refine (keys
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
Map_signature.difference _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (difference ) | exact (difference
_) | exact (difference _ _) | first [unshelve refine (difference
) | unshelve refine (difference
_rocq_argument_0) | unshelve refine (difference _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]])
|}.
End Map.
Definition Map `{_fargs : FArgs} := Map.module.
Definition of_z_after_op `{_fargs : FArgs}
: Z.t → Impl.(Impl.Impl_signature.t) :=
match of_z_truncating with
| Some of_z ⇒ of_z
| None ⇒ of_z_exn
end.
Definition lift_1 `{_fargs : FArgs}
(f_value : Z.t → Z.t) (x_value : Impl.(Impl.Impl_signature.t))
: Impl.(Impl.Impl_signature.t) := of_z_after_op (f_value (to_z x_value)).
Definition lift_2 `{_fargs : FArgs}
(f_value : Z.t → Z.t → Z.t) (x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op (f_value (to_z x_value) (to_z y_value)).
Definition logand `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.land.
Definition logor `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.lor.
Definition logxor `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.lxor.
Definition lognot `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) :=
lift_1 Z.lnot.
Definition op_plus `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.add.
Definition op_minus `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.sub.
Definition op_star `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.mul.
Definition op_div `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.quot.
Definition modulo `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) :=
lift_2 (RocqOfOCaml.OCamlZ.erem
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_string_0)).
Definition rem `{_fargs : FArgs}
: Impl.(Impl.Impl_signature.t) → Impl.(Impl.Impl_signature.t) →
Impl.(Impl.Impl_signature.t) := lift_2 Z.rem.
Definition addmod `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t))
(m_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.rem (Z.add (to_z x_value) (to_z y_value)) (to_z m_value)).
Definition mulmod `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t))
(m_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.rem (Z.mul (to_z x_value) (to_z y_value)) (to_z m_value)).
Definition shift_left `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) (shift : int)
: Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.shiftl (to_z x_value) shift).
Definition shift_right `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) (shift : int)
: Impl.(Impl.Impl_signature.t) :=
of_z_after_op (Z.shiftr (to_z x_value) shift).
Definition op_starstar `{_fargs : FArgs}
(base : Impl.(Impl.Impl_signature.t)) (exp : int)
: Impl.(Impl.Impl_signature.t) := of_z_after_op (Z.pow (to_z base) exp).
Definition exp_mod `{_fargs : FArgs}
(modulo : Impl.(Impl.Impl_signature.t))
(x_value : Impl.(Impl.Impl_signature.t))
(y_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
of_z_after_op
((RocqOfOCaml.OCamlZ.powm
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_of_string_0))
(to_z x_value) (to_z y_value) (to_z modulo)).
Definition minus_1_64th `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
op_minus x_value (op_div x_value (op_tildedollar 64)).
bytes_to_whole_words x computes {m ceil(x / 32)}.
Definition bytes_to_whole_words `{_fargs : FArgs}
(x_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
let '(q_value, r_value) :=
Z.quotrem (to_z x_value) (RocqOfOCaml.OCamlZ.of_int 32) in
op_plus (of_z_exn q_value)
(if Z.eqb r_value Z.zero then
zero
else
one).
Module Make_result.
Record signature `{_fargs : FArgs} {Impl_t : Set} {Set_t : Set}
{Map_t : Set → Set} : Type := {
Impl : Make.Impl.Impl_signature (t := Impl_t);
t := Impl_t;
signed : bool;
max_t : option Impl_t;
min_t : option Impl_t;
in_range : Z.t → bool;
of_z_opt : Z.t → option Impl_t;
of_z_truncating : option (Z.t → Impl_t);
to_z : Impl_t → Z.t;
testbit : Impl_t → int → bool;
of_z_exn : Z.t → Impl_t;
zero : Impl_t;
one : Impl_t;
byte : int → Impl_t → ascii;
significant_bits : Impl_t → int;
significant_bytes : Impl_t → int;
of_bool : bool → Impl_t;
of_byte : ascii → Impl_t;
of_int : int → Impl_t;
op_tildedollar : int → Impl_t;
to_int : Impl_t → int;
to_int_opt : Impl_t → option int;
of_uint64 : int64 → Impl_t;
of_int64 : int64 → Impl_t;
to_uint64 : Impl_t → int64;
to_int64 : Impl_t → int64;
of_uint32 : int32 → Impl_t;
of_int32 : int32 → Impl_t;
to_uint32 : Impl_t → int32;
to_int32 : Impl_t → int32;
hash : Impl_t → int;
comparison_op : (int → int → bool) → Impl_t → Impl_t → bool;
op_lt : Impl_t → Impl_t → bool;
op_lteq : Impl_t → Impl_t → bool;
op_eq : Impl_t → Impl_t → bool;
op_gteq : Impl_t → Impl_t → bool;
op_gt : Impl_t → Impl_t → bool;
op_ltgt : Impl_t → Impl_t → bool;
equal : Impl_t → Impl_t → bool;
compare : Impl_t → Impl_t → int;
max : Impl_t → Impl_t → Impl_t;
min : Impl_t → Impl_t → Impl_t;
_Set : RocqOfOCaml.OCamlSet.S (elt := Impl_t) (t := Set_t);
is_zero : Impl_t → bool;
to_string : Impl_t → string;
to_hex_string : Impl_t → string;
of_string : string → Impl_t;
op_tildeat : string → Impl_t;
Map : Make.Map.Map_signature (t := Map_t);
of_z_after_op : Z.t → Impl_t;
lift_1 : (Z.t → Z.t) → Impl_t → Impl_t;
lift_2 : (Z.t → Z.t → Z.t) → Impl_t → Impl_t → Impl_t;
logand : Impl_t → Impl_t → Impl_t;
logor : Impl_t → Impl_t → Impl_t;
logxor : Impl_t → Impl_t → Impl_t;
lognot : Impl_t → Impl_t;
op_plus : Impl_t → Impl_t → Impl_t;
op_minus : Impl_t → Impl_t → Impl_t;
op_star : Impl_t → Impl_t → Impl_t;
op_div : Impl_t → Impl_t → Impl_t;
modulo : Impl_t → Impl_t → Impl_t;
rem : Impl_t → Impl_t → Impl_t;
addmod : Impl_t → Impl_t → Impl_t → Impl_t;
mulmod : Impl_t → Impl_t → Impl_t → Impl_t;
shift_left : Impl_t → int → Impl_t;
shift_right : Impl_t → int → Impl_t;
op_starstar : Impl_t → int → Impl_t;
exp_mod : Impl_t → Impl_t → Impl_t → Impl_t;
minus_1_64th : Impl_t → Impl_t;
bytes_to_whole_words : Impl_t → Impl_t;
Impl_t := Impl_t;
Set_t := Set_t;
Map_t := Map_t;
}.
End Make_result.
Definition Make_result `{_fargs : FArgs} := @Make_result.signature _.
Arguments Make_result {_ _ _ _}.
Definition functor `{_fargs : FArgs}
:Make_result (Impl_t := _) (Set_t := _) (Map_t := _) :=
{|
Make_result.Impl := Impl;
Make_result.signed := signed;
Make_result.max_t := max_t;
Make_result.min_t := min_t;
Make_result.in_range := in_range;
Make_result.of_z_opt := of_z_opt;
Make_result.of_z_truncating := of_z_truncating;
Make_result.to_z := to_z;
Make_result.testbit := testbit;
Make_result.of_z_exn := of_z_exn;
Make_result.zero := zero;
Make_result.one := one;
Make_result.byte := byte;
Make_result.significant_bits := significant_bits;
Make_result.significant_bytes := significant_bytes;
Make_result.of_bool := of_bool;
Make_result.of_byte := of_byte;
Make_result.of_int := of_int;
Make_result.op_tildedollar := op_tildedollar;
Make_result.to_int := to_int;
Make_result.to_int_opt := to_int_opt;
Make_result.of_uint64 := of_uint64;
Make_result.of_int64 := of_int64;
Make_result.to_uint64 := to_uint64;
Make_result.to_int64 := to_int64;
Make_result.of_uint32 := of_uint32;
Make_result.of_int32 := of_int32;
Make_result.to_uint32 := to_uint32;
Make_result.to_int32 := to_int32;
Make_result.hash := hash;
Make_result.comparison_op := comparison_op;
Make_result.op_lt := op_lt;
Make_result.op_lteq := op_lteq;
Make_result.op_eq := op_eq;
Make_result.op_gteq := op_gteq;
Make_result.op_gt := op_gt;
Make_result.op_ltgt := op_ltgt;
Make_result.equal := equal;
Make_result.compare := compare;
Make_result.max := max;
Make_result.min := min;
Make_result._Set := _Set;
Make_result.is_zero := is_zero;
Make_result.to_string := to_string;
Make_result.to_hex_string := to_hex_string;
Make_result.of_string := of_string;
Make_result.op_tildeat := op_tildeat;
Make_result.Map := Map;
Make_result.of_z_after_op := of_z_after_op;
Make_result.lift_1 := lift_1;
Make_result.lift_2 := lift_2;
Make_result.logand := logand;
Make_result.logor := logor;
Make_result.logxor := logxor;
Make_result.lognot := lognot;
Make_result.op_plus := op_plus;
Make_result.op_minus := op_minus;
Make_result.op_star := op_star;
Make_result.op_div := op_div;
Make_result.modulo := modulo;
Make_result.rem := rem;
Make_result.addmod := addmod;
Make_result.mulmod := mulmod;
Make_result.shift_left := shift_left;
Make_result.shift_right := shift_right;
Make_result.op_starstar := op_starstar;
Make_result.exp_mod := exp_mod;
Make_result.minus_1_64th := minus_1_64th;
Make_result.bytes_to_whole_words := bytes_to_whole_words
|}.
End Make.
Definition Make
(Byte_width : MonadVM.Traits.Byte_width.SIG)
(Signedness : MonadVM.Traits.Signedness.SIG) :=
@Make.functor (Make.Build_FArgs Byte_width Signedness).
Definition UintBase_fargs :=
Make.Build_FArgs MonadVM.Traits.Byte_width._Variable
MonadVM.Traits.Signedness.Unsigned.
Definition UintBase : Make.Make_result (_fargs := UintBase_fargs) :=
(Make.functor (_fargs := (UintBase_fargs ))).
Definition IntegerBase_fargs :=
Make.Build_FArgs MonadVM.Traits.Byte_width._Variable
MonadVM.Traits.Signedness.Signed.
Definition IntegerBase : Make.Make_result (_fargs := IntegerBase_fargs) :=
(Make.functor (_fargs := (IntegerBase_fargs ))).
Module Uint := MonadVM.Support.UintN.
Module Integer.
(x_value : Impl.(Impl.Impl_signature.t)) : Impl.(Impl.Impl_signature.t) :=
let '(q_value, r_value) :=
Z.quotrem (to_z x_value) (RocqOfOCaml.OCamlZ.of_int 32) in
op_plus (of_z_exn q_value)
(if Z.eqb r_value Z.zero then
zero
else
one).
Module Make_result.
Record signature `{_fargs : FArgs} {Impl_t : Set} {Set_t : Set}
{Map_t : Set → Set} : Type := {
Impl : Make.Impl.Impl_signature (t := Impl_t);
t := Impl_t;
signed : bool;
max_t : option Impl_t;
min_t : option Impl_t;
in_range : Z.t → bool;
of_z_opt : Z.t → option Impl_t;
of_z_truncating : option (Z.t → Impl_t);
to_z : Impl_t → Z.t;
testbit : Impl_t → int → bool;
of_z_exn : Z.t → Impl_t;
zero : Impl_t;
one : Impl_t;
byte : int → Impl_t → ascii;
significant_bits : Impl_t → int;
significant_bytes : Impl_t → int;
of_bool : bool → Impl_t;
of_byte : ascii → Impl_t;
of_int : int → Impl_t;
op_tildedollar : int → Impl_t;
to_int : Impl_t → int;
to_int_opt : Impl_t → option int;
of_uint64 : int64 → Impl_t;
of_int64 : int64 → Impl_t;
to_uint64 : Impl_t → int64;
to_int64 : Impl_t → int64;
of_uint32 : int32 → Impl_t;
of_int32 : int32 → Impl_t;
to_uint32 : Impl_t → int32;
to_int32 : Impl_t → int32;
hash : Impl_t → int;
comparison_op : (int → int → bool) → Impl_t → Impl_t → bool;
op_lt : Impl_t → Impl_t → bool;
op_lteq : Impl_t → Impl_t → bool;
op_eq : Impl_t → Impl_t → bool;
op_gteq : Impl_t → Impl_t → bool;
op_gt : Impl_t → Impl_t → bool;
op_ltgt : Impl_t → Impl_t → bool;
equal : Impl_t → Impl_t → bool;
compare : Impl_t → Impl_t → int;
max : Impl_t → Impl_t → Impl_t;
min : Impl_t → Impl_t → Impl_t;
_Set : RocqOfOCaml.OCamlSet.S (elt := Impl_t) (t := Set_t);
is_zero : Impl_t → bool;
to_string : Impl_t → string;
to_hex_string : Impl_t → string;
of_string : string → Impl_t;
op_tildeat : string → Impl_t;
Map : Make.Map.Map_signature (t := Map_t);
of_z_after_op : Z.t → Impl_t;
lift_1 : (Z.t → Z.t) → Impl_t → Impl_t;
lift_2 : (Z.t → Z.t → Z.t) → Impl_t → Impl_t → Impl_t;
logand : Impl_t → Impl_t → Impl_t;
logor : Impl_t → Impl_t → Impl_t;
logxor : Impl_t → Impl_t → Impl_t;
lognot : Impl_t → Impl_t;
op_plus : Impl_t → Impl_t → Impl_t;
op_minus : Impl_t → Impl_t → Impl_t;
op_star : Impl_t → Impl_t → Impl_t;
op_div : Impl_t → Impl_t → Impl_t;
modulo : Impl_t → Impl_t → Impl_t;
rem : Impl_t → Impl_t → Impl_t;
addmod : Impl_t → Impl_t → Impl_t → Impl_t;
mulmod : Impl_t → Impl_t → Impl_t → Impl_t;
shift_left : Impl_t → int → Impl_t;
shift_right : Impl_t → int → Impl_t;
op_starstar : Impl_t → int → Impl_t;
exp_mod : Impl_t → Impl_t → Impl_t → Impl_t;
minus_1_64th : Impl_t → Impl_t;
bytes_to_whole_words : Impl_t → Impl_t;
Impl_t := Impl_t;
Set_t := Set_t;
Map_t := Map_t;
}.
End Make_result.
Definition Make_result `{_fargs : FArgs} := @Make_result.signature _.
Arguments Make_result {_ _ _ _}.
Definition functor `{_fargs : FArgs}
:Make_result (Impl_t := _) (Set_t := _) (Map_t := _) :=
{|
Make_result.Impl := Impl;
Make_result.signed := signed;
Make_result.max_t := max_t;
Make_result.min_t := min_t;
Make_result.in_range := in_range;
Make_result.of_z_opt := of_z_opt;
Make_result.of_z_truncating := of_z_truncating;
Make_result.to_z := to_z;
Make_result.testbit := testbit;
Make_result.of_z_exn := of_z_exn;
Make_result.zero := zero;
Make_result.one := one;
Make_result.byte := byte;
Make_result.significant_bits := significant_bits;
Make_result.significant_bytes := significant_bytes;
Make_result.of_bool := of_bool;
Make_result.of_byte := of_byte;
Make_result.of_int := of_int;
Make_result.op_tildedollar := op_tildedollar;
Make_result.to_int := to_int;
Make_result.to_int_opt := to_int_opt;
Make_result.of_uint64 := of_uint64;
Make_result.of_int64 := of_int64;
Make_result.to_uint64 := to_uint64;
Make_result.to_int64 := to_int64;
Make_result.of_uint32 := of_uint32;
Make_result.of_int32 := of_int32;
Make_result.to_uint32 := to_uint32;
Make_result.to_int32 := to_int32;
Make_result.hash := hash;
Make_result.comparison_op := comparison_op;
Make_result.op_lt := op_lt;
Make_result.op_lteq := op_lteq;
Make_result.op_eq := op_eq;
Make_result.op_gteq := op_gteq;
Make_result.op_gt := op_gt;
Make_result.op_ltgt := op_ltgt;
Make_result.equal := equal;
Make_result.compare := compare;
Make_result.max := max;
Make_result.min := min;
Make_result._Set := _Set;
Make_result.is_zero := is_zero;
Make_result.to_string := to_string;
Make_result.to_hex_string := to_hex_string;
Make_result.of_string := of_string;
Make_result.op_tildeat := op_tildeat;
Make_result.Map := Map;
Make_result.of_z_after_op := of_z_after_op;
Make_result.lift_1 := lift_1;
Make_result.lift_2 := lift_2;
Make_result.logand := logand;
Make_result.logor := logor;
Make_result.logxor := logxor;
Make_result.lognot := lognot;
Make_result.op_plus := op_plus;
Make_result.op_minus := op_minus;
Make_result.op_star := op_star;
Make_result.op_div := op_div;
Make_result.modulo := modulo;
Make_result.rem := rem;
Make_result.addmod := addmod;
Make_result.mulmod := mulmod;
Make_result.shift_left := shift_left;
Make_result.shift_right := shift_right;
Make_result.op_starstar := op_starstar;
Make_result.exp_mod := exp_mod;
Make_result.minus_1_64th := minus_1_64th;
Make_result.bytes_to_whole_words := bytes_to_whole_words
|}.
End Make.
Definition Make
(Byte_width : MonadVM.Traits.Byte_width.SIG)
(Signedness : MonadVM.Traits.Signedness.SIG) :=
@Make.functor (Make.Build_FArgs Byte_width Signedness).
Definition UintBase_fargs :=
Make.Build_FArgs MonadVM.Traits.Byte_width._Variable
MonadVM.Traits.Signedness.Unsigned.
Definition UintBase : Make.Make_result (_fargs := UintBase_fargs) :=
(Make.functor (_fargs := (UintBase_fargs ))).
Definition IntegerBase_fargs :=
Make.Build_FArgs MonadVM.Traits.Byte_width._Variable
MonadVM.Traits.Signedness.Signed.
Definition IntegerBase : Make.Make_result (_fargs := IntegerBase_fargs) :=
(Make.functor (_fargs := (IntegerBase_fargs ))).
Module Uint := MonadVM.Support.UintN.
Module Integer.
Inclusion of the module IntegerBase
Module Impl.
Definition t :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl := IntegerBase.(Make.Make_result.Impl).
Definition t := IntegerBase.(Make.Make_result.t).
Definition signed := IntegerBase.(Make.Make_result.signed).
Definition max_t := IntegerBase.(Make.Make_result.max_t).
Definition min_t := IntegerBase.(Make.Make_result.min_t).
Definition in_range := IntegerBase.(Make.Make_result.in_range).
Definition of_z_opt := IntegerBase.(Make.Make_result.of_z_opt).
Definition of_z_truncating := IntegerBase.(Make.Make_result.of_z_truncating).
Definition to_z := IntegerBase.(Make.Make_result.to_z).
Definition testbit := IntegerBase.(Make.Make_result.testbit).
Definition of_z_exn := IntegerBase.(Make.Make_result.of_z_exn).
Definition zero := IntegerBase.(Make.Make_result.zero).
Definition one := IntegerBase.(Make.Make_result.one).
Definition byte := IntegerBase.(Make.Make_result.byte).
Definition significant_bits :=
IntegerBase.(Make.Make_result.significant_bits).
Definition significant_bytes :=
IntegerBase.(Make.Make_result.significant_bytes).
Definition of_bool := IntegerBase.(Make.Make_result.of_bool).
Definition of_byte := IntegerBase.(Make.Make_result.of_byte).
Definition of_int := IntegerBase.(Make.Make_result.of_int).
Definition op_tildedollar := IntegerBase.(Make.Make_result.op_tildedollar).
Definition to_int := IntegerBase.(Make.Make_result.to_int).
Definition to_int_opt := IntegerBase.(Make.Make_result.to_int_opt).
Definition of_uint64 := IntegerBase.(Make.Make_result.of_uint64).
Definition of_int64 := IntegerBase.(Make.Make_result.of_int64).
Definition to_uint64 := IntegerBase.(Make.Make_result.to_uint64).
Definition to_int64 := IntegerBase.(Make.Make_result.to_int64).
Definition of_uint32 := IntegerBase.(Make.Make_result.of_uint32).
Definition of_int32 := IntegerBase.(Make.Make_result.of_int32).
Definition to_uint32 := IntegerBase.(Make.Make_result.to_uint32).
Definition to_int32 := IntegerBase.(Make.Make_result.to_int32).
Definition hash := IntegerBase.(Make.Make_result.hash).
Definition comparison_op := IntegerBase.(Make.Make_result.comparison_op).
Definition op_lt := IntegerBase.(Make.Make_result.op_lt).
Definition op_lteq := IntegerBase.(Make.Make_result.op_lteq).
Definition op_eq := IntegerBase.(Make.Make_result.op_eq).
Definition op_gteq := IntegerBase.(Make.Make_result.op_gteq).
Definition op_gt := IntegerBase.(Make.Make_result.op_gt).
Definition op_ltgt := IntegerBase.(Make.Make_result.op_ltgt).
Definition equal := IntegerBase.(Make.Make_result.equal).
Definition compare := IntegerBase.(Make.Make_result.compare).
Definition max := IntegerBase.(Make.Make_result.max).
Definition min := IntegerBase.(Make.Make_result.min).
Module _Set.
Definition elt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} : (elt → acc → acc) → t → acc → acc :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := IntegerBase.(Make.Make_result._Set).
Definition is_zero := IntegerBase.(Make.Make_result.is_zero).
Definition to_string := IntegerBase.(Make.Make_result.to_string).
Definition to_hex_string := IntegerBase.(Make.Make_result.to_hex_string).
Definition of_string := IntegerBase.(Make.Make_result.of_string).
Definition op_tildeat := IntegerBase.(Make.Make_result.op_tildeat).
Module Map.
Definition key :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.t) a.
Definition empty {a : Set} : t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.empty).
Definition add {a : Set} : key → a → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.add).
Definition add_to_list {a : Set} : key → a → t (list a) → t (list a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list).
Definition update {a : Set} : key → (option a → option a) → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.update).
Definition singleton {a : Set} : key → a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.singleton).
Definition remove {a : Set} : key → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.remove).
Definition merge {a b c : Set} :
(key → option a → option b → option c) → t a → t b → t c :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.merge).
Definition union {a : Set} :
(key → a → a → option a) → t a → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.union).
Definition cardinal {a : Set} : t a → int :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.cardinal).
Definition bindings {a : Set} : t a → list (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.bindings).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt {a : Set} : t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt {a : Set} : t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0).
Definition choose_opt {a : Set} : t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → t a → a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0).
Definition find_opt {a : Set} : key → t a → option a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_opt).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt {a : Set} :
(key → bool) → t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt {a : Set} :
(key → bool) → t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt).
Definition iter {a : Set} : (key → a → unit) → t a → unit :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.iter).
Definition fold {a acc : Set} :
(key → a → acc → acc) → t a → acc → acc :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.fold).
Definition map {a b : Set} : (a → b) → t a → t b :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.map).
Definition mapi {a b : Set} : (key → a → b) → t a → t b :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.mapi).
Definition filter {a : Set} : (key → a → bool) → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.filter).
Definition filter_map {a b : Set} : (key → a → option b) → t a → t b :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.filter_map).
Definition partition {a : Set} : (key → a → bool) → t a → t a × t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.partition).
Definition split {a : Set} : key → t a → t a × option a × t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.split).
Definition is_empty {a : Set} : t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.is_empty).
Definition is_singleton {a : Set} : t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton).
Definition mem {a : Set} : key → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.mem).
Definition equal {a : Set} : (a → a → bool) → t a → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.equal).
Definition compare {a : Set} : (a → a → int) → t a → t a → int :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.compare).
Definition for_all {a : Set} : (key → a → bool) → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.for_all).
Definition _exists {a : Set} : (key → a → bool) → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature._exists).
Definition to_list {a : Set} : t a → list (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_list).
Definition of_list {a : Set} : list (key × a) → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.of_list).
Definition to_seq {a : Set} : t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq).
Definition to_rev_seq {a : Set} : t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq).
Definition to_seq_from {a : Set} :
key → t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from).
Definition add_seq {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.add_seq).
Definition of_seq {a : Set} : RocqOfOCaml.OCamlSeq.t (key × a) → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.of_seq).
Definition _at {v : Set} : key → Lens.t (t v) (option v) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature._at).
Definition keys {a : Set} :
t a → IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.keys).
Definition difference {a d : Set} :
(option a → option a → option d) → t a → t a → t d :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.difference).
End Map.
Definition Map := IntegerBase.(Make.Make_result.Map).
Definition of_z_after_op := IntegerBase.(Make.Make_result.of_z_after_op).
Definition lift_1 := IntegerBase.(Make.Make_result.lift_1).
Definition lift_2 := IntegerBase.(Make.Make_result.lift_2).
Definition logand := IntegerBase.(Make.Make_result.logand).
Definition logor := IntegerBase.(Make.Make_result.logor).
Definition logxor := IntegerBase.(Make.Make_result.logxor).
Definition lognot := IntegerBase.(Make.Make_result.lognot).
Definition op_plus := IntegerBase.(Make.Make_result.op_plus).
Definition op_minus := IntegerBase.(Make.Make_result.op_minus).
Definition op_star := IntegerBase.(Make.Make_result.op_star).
Definition op_div := IntegerBase.(Make.Make_result.op_div).
Definition modulo := IntegerBase.(Make.Make_result.modulo).
Definition rem := IntegerBase.(Make.Make_result.rem).
Definition addmod := IntegerBase.(Make.Make_result.addmod).
Definition mulmod := IntegerBase.(Make.Make_result.mulmod).
Definition shift_left := IntegerBase.(Make.Make_result.shift_left).
Definition shift_right := IntegerBase.(Make.Make_result.shift_right).
Definition op_starstar := IntegerBase.(Make.Make_result.op_starstar).
Definition exp_mod := IntegerBase.(Make.Make_result.exp_mod).
Definition minus_1_64th := IntegerBase.(Make.Make_result.minus_1_64th).
Definition bytes_to_whole_words :=
IntegerBase.(Make.Make_result.bytes_to_whole_words).
Definition as_unsigned_exn (x_value : IntegerBase.(Make.Make_result.t))
: MonadVM.Support.UintN.t := MonadVM.Support.UintN.of_z_exn (to_z x_value).
Definition legendre
(a_value : IntegerBase.(Make.Make_result.t))
(modulus : IntegerBase.(Make.Make_result.t)) : int :=
RocqOfOCaml.OCamlZ.legendre (to_z a_value) (to_z modulus).
End Integer.
Inductive arithmetic_error : Set :=
| Overflow : arithmetic_error
| Underflow : arithmetic_error
| Division_by_zero : arithmetic_error.
Definition t :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
IntegerBase.(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl := IntegerBase.(Make.Make_result.Impl).
Definition t := IntegerBase.(Make.Make_result.t).
Definition signed := IntegerBase.(Make.Make_result.signed).
Definition max_t := IntegerBase.(Make.Make_result.max_t).
Definition min_t := IntegerBase.(Make.Make_result.min_t).
Definition in_range := IntegerBase.(Make.Make_result.in_range).
Definition of_z_opt := IntegerBase.(Make.Make_result.of_z_opt).
Definition of_z_truncating := IntegerBase.(Make.Make_result.of_z_truncating).
Definition to_z := IntegerBase.(Make.Make_result.to_z).
Definition testbit := IntegerBase.(Make.Make_result.testbit).
Definition of_z_exn := IntegerBase.(Make.Make_result.of_z_exn).
Definition zero := IntegerBase.(Make.Make_result.zero).
Definition one := IntegerBase.(Make.Make_result.one).
Definition byte := IntegerBase.(Make.Make_result.byte).
Definition significant_bits :=
IntegerBase.(Make.Make_result.significant_bits).
Definition significant_bytes :=
IntegerBase.(Make.Make_result.significant_bytes).
Definition of_bool := IntegerBase.(Make.Make_result.of_bool).
Definition of_byte := IntegerBase.(Make.Make_result.of_byte).
Definition of_int := IntegerBase.(Make.Make_result.of_int).
Definition op_tildedollar := IntegerBase.(Make.Make_result.op_tildedollar).
Definition to_int := IntegerBase.(Make.Make_result.to_int).
Definition to_int_opt := IntegerBase.(Make.Make_result.to_int_opt).
Definition of_uint64 := IntegerBase.(Make.Make_result.of_uint64).
Definition of_int64 := IntegerBase.(Make.Make_result.of_int64).
Definition to_uint64 := IntegerBase.(Make.Make_result.to_uint64).
Definition to_int64 := IntegerBase.(Make.Make_result.to_int64).
Definition of_uint32 := IntegerBase.(Make.Make_result.of_uint32).
Definition of_int32 := IntegerBase.(Make.Make_result.of_int32).
Definition to_uint32 := IntegerBase.(Make.Make_result.to_uint32).
Definition to_int32 := IntegerBase.(Make.Make_result.to_int32).
Definition hash := IntegerBase.(Make.Make_result.hash).
Definition comparison_op := IntegerBase.(Make.Make_result.comparison_op).
Definition op_lt := IntegerBase.(Make.Make_result.op_lt).
Definition op_lteq := IntegerBase.(Make.Make_result.op_lteq).
Definition op_eq := IntegerBase.(Make.Make_result.op_eq).
Definition op_gteq := IntegerBase.(Make.Make_result.op_gteq).
Definition op_gt := IntegerBase.(Make.Make_result.op_gt).
Definition op_ltgt := IntegerBase.(Make.Make_result.op_ltgt).
Definition equal := IntegerBase.(Make.Make_result.equal).
Definition compare := IntegerBase.(Make.Make_result.compare).
Definition max := IntegerBase.(Make.Make_result.max).
Definition min := IntegerBase.(Make.Make_result.min).
Module _Set.
Definition elt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} : (elt → acc → acc) → t → acc → acc :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := IntegerBase.(Make.Make_result._Set).
Definition is_zero := IntegerBase.(Make.Make_result.is_zero).
Definition to_string := IntegerBase.(Make.Make_result.to_string).
Definition to_hex_string := IntegerBase.(Make.Make_result.to_hex_string).
Definition of_string := IntegerBase.(Make.Make_result.of_string).
Definition op_tildeat := IntegerBase.(Make.Make_result.op_tildeat).
Module Map.
Definition key :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.t) a.
Definition empty {a : Set} : t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.empty).
Definition add {a : Set} : key → a → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.add).
Definition add_to_list {a : Set} : key → a → t (list a) → t (list a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list).
Definition update {a : Set} : key → (option a → option a) → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.update).
Definition singleton {a : Set} : key → a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.singleton).
Definition remove {a : Set} : key → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.remove).
Definition merge {a b c : Set} :
(key → option a → option b → option c) → t a → t b → t c :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.merge).
Definition union {a : Set} :
(key → a → a → option a) → t a → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.union).
Definition cardinal {a : Set} : t a → int :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.cardinal).
Definition bindings {a : Set} : t a → list (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.bindings).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt {a : Set} : t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt {a : Set} : t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0).
Definition choose_opt {a : Set} : t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → t a → a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0).
Definition find_opt {a : Set} : key → t a → option a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_opt).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt {a : Set} :
(key → bool) → t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt {a : Set} :
(key → bool) → t a → option (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt).
Definition iter {a : Set} : (key → a → unit) → t a → unit :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.iter).
Definition fold {a acc : Set} :
(key → a → acc → acc) → t a → acc → acc :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.fold).
Definition map {a b : Set} : (a → b) → t a → t b :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.map).
Definition mapi {a b : Set} : (key → a → b) → t a → t b :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.mapi).
Definition filter {a : Set} : (key → a → bool) → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.filter).
Definition filter_map {a b : Set} : (key → a → option b) → t a → t b :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.filter_map).
Definition partition {a : Set} : (key → a → bool) → t a → t a × t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.partition).
Definition split {a : Set} : key → t a → t a × option a × t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.split).
Definition is_empty {a : Set} : t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.is_empty).
Definition is_singleton {a : Set} : t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton).
Definition mem {a : Set} : key → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.mem).
Definition equal {a : Set} : (a → a → bool) → t a → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.equal).
Definition compare {a : Set} : (a → a → int) → t a → t a → int :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.compare).
Definition for_all {a : Set} : (key → a → bool) → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.for_all).
Definition _exists {a : Set} : (key → a → bool) → t a → bool :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature._exists).
Definition to_list {a : Set} : t a → list (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_list).
Definition of_list {a : Set} : list (key × a) → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.of_list).
Definition to_seq {a : Set} : t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq).
Definition to_rev_seq {a : Set} : t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq).
Definition to_seq_from {a : Set} :
key → t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from).
Definition add_seq {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.add_seq).
Definition of_seq {a : Set} : RocqOfOCaml.OCamlSeq.t (key × a) → t a :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.of_seq).
Definition _at {v : Set} : key → Lens.t (t v) (option v) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature._at).
Definition keys {a : Set} :
t a → IntegerBase.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t) :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.keys).
Definition difference {a d : Set} :
(option a → option a → option d) → t a → t a → t d :=
IntegerBase.(Make.Make_result.Map).(Make.Map.Map_signature.difference).
End Map.
Definition Map := IntegerBase.(Make.Make_result.Map).
Definition of_z_after_op := IntegerBase.(Make.Make_result.of_z_after_op).
Definition lift_1 := IntegerBase.(Make.Make_result.lift_1).
Definition lift_2 := IntegerBase.(Make.Make_result.lift_2).
Definition logand := IntegerBase.(Make.Make_result.logand).
Definition logor := IntegerBase.(Make.Make_result.logor).
Definition logxor := IntegerBase.(Make.Make_result.logxor).
Definition lognot := IntegerBase.(Make.Make_result.lognot).
Definition op_plus := IntegerBase.(Make.Make_result.op_plus).
Definition op_minus := IntegerBase.(Make.Make_result.op_minus).
Definition op_star := IntegerBase.(Make.Make_result.op_star).
Definition op_div := IntegerBase.(Make.Make_result.op_div).
Definition modulo := IntegerBase.(Make.Make_result.modulo).
Definition rem := IntegerBase.(Make.Make_result.rem).
Definition addmod := IntegerBase.(Make.Make_result.addmod).
Definition mulmod := IntegerBase.(Make.Make_result.mulmod).
Definition shift_left := IntegerBase.(Make.Make_result.shift_left).
Definition shift_right := IntegerBase.(Make.Make_result.shift_right).
Definition op_starstar := IntegerBase.(Make.Make_result.op_starstar).
Definition exp_mod := IntegerBase.(Make.Make_result.exp_mod).
Definition minus_1_64th := IntegerBase.(Make.Make_result.minus_1_64th).
Definition bytes_to_whole_words :=
IntegerBase.(Make.Make_result.bytes_to_whole_words).
Definition as_unsigned_exn (x_value : IntegerBase.(Make.Make_result.t))
: MonadVM.Support.UintN.t := MonadVM.Support.UintN.of_z_exn (to_z x_value).
Definition legendre
(a_value : IntegerBase.(Make.Make_result.t))
(modulus : IntegerBase.(Make.Make_result.t)) : int :=
RocqOfOCaml.OCamlZ.legendre (to_z a_value) (to_z modulus).
End Integer.
Inductive arithmetic_error : Set :=
| Overflow : arithmetic_error
| Underflow : arithmetic_error
| Division_by_zero : arithmetic_error.
Helper functor to create pairs of signed and unsigned types for a given bit width, together with conversion
functions via two's complement.
Module TwosComplement.
Class FArgs := {
B : MonadVM.Traits.Byte_width.SIG;
}.
Definition S_fargs `{_fargs : FArgs} :=
Make.Build_FArgs B MonadVM.Traits.Signedness.Signed.
Definition S `{_fargs : FArgs} : Make.Make_result (_fargs := S_fargs) :=
(Make.functor (_fargs := (S_fargs ))).
Definition U_fargs `{_fargs : FArgs} :=
Make.Build_FArgs B MonadVM.Traits.Signedness.Unsigned.
Definition U `{_fargs : FArgs} : Make.Make_result (_fargs := U_fargs) :=
(Make.functor (_fargs := (U_fargs ))).
Definition max_unsigned `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((U (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (U (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(U (_fargs := _fargs)).(Make.Make_result.max_t).
Definition min_unsigned `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((U (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (U (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(U (_fargs := _fargs)).(Make.Make_result.min_t).
Definition max_signed `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((S (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (S (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(S (_fargs := _fargs)).(Make.Make_result.max_t).
Definition min_signed `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((S (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (S (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(S (_fargs := _fargs)).(Make.Make_result.min_t).
Definition _rocq_fallback_bit_width_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((unit)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition _rocq_fallback_bit_width_1 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int
× int)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact _rocq_fallback_bit_width_0 | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition bit_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) :=
match B.(MonadVM.Traits.Byte_width.SIG.byte_width) with
| MonadVM.Support.Variants.ByteWidth.Fixed n_value ⇒
let '_ := if Z.gtb n_value 0 then tt else _rocq_fallback_bit_width_0 in
((RocqOfOCaml.OCamlInt.mul n_value 8), n_value)
| _ ⇒ _rocq_fallback_bit_width_1
end in
bit_width.
Definition byte_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) :=
match B.(MonadVM.Traits.Byte_width.SIG.byte_width) with
| MonadVM.Support.Variants.ByteWidth.Fixed n_value ⇒
let '_ := if Z.gtb n_value 0 then tt else _rocq_fallback_bit_width_0 in
((RocqOfOCaml.OCamlInt.mul n_value 8), n_value)
| _ ⇒ _rocq_fallback_bit_width_1
end in
byte_width.
Module Signed.
Class FArgs := {
B : MonadVM.Traits.Byte_width.SIG;
}.
Definition S_fargs `{_fargs : FArgs} :=
Make.Build_FArgs B MonadVM.Traits.Signedness.Signed.
Definition S `{_fargs : FArgs} : Make.Make_result (_fargs := S_fargs) :=
(Make.functor (_fargs := (S_fargs ))).
Definition U_fargs `{_fargs : FArgs} :=
Make.Build_FArgs B MonadVM.Traits.Signedness.Unsigned.
Definition U `{_fargs : FArgs} : Make.Make_result (_fargs := U_fargs) :=
(Make.functor (_fargs := (U_fargs ))).
Definition max_unsigned `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((U (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (U (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(U (_fargs := _fargs)).(Make.Make_result.max_t).
Definition min_unsigned `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((U (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (U (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(U (_fargs := _fargs)).(Make.Make_result.min_t).
Definition max_signed `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((S (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (S (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(S (_fargs := _fargs)).(Make.Make_result.max_t).
Definition min_signed `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine (((S (_fargs := _fargs)).(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat)) : (S (_fargs := _fargs)).(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_arg_0))
(S (_fargs := _fargs)).(Make.Make_result.min_t).
Definition _rocq_fallback_bit_width_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((unit)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition _rocq_fallback_bit_width_1 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((int
× int)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact _rocq_fallback_bit_width_0 | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition bit_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) :=
match B.(MonadVM.Traits.Byte_width.SIG.byte_width) with
| MonadVM.Support.Variants.ByteWidth.Fixed n_value ⇒
let '_ := if Z.gtb n_value 0 then tt else _rocq_fallback_bit_width_0 in
((RocqOfOCaml.OCamlInt.mul n_value 8), n_value)
| _ ⇒ _rocq_fallback_bit_width_1
end in
bit_width.
Definition byte_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) :=
match B.(MonadVM.Traits.Byte_width.SIG.byte_width) with
| MonadVM.Support.Variants.ByteWidth.Fixed n_value ⇒
let '_ := if Z.gtb n_value 0 then tt else _rocq_fallback_bit_width_0 in
((RocqOfOCaml.OCamlInt.mul n_value 8), n_value)
| _ ⇒ _rocq_fallback_bit_width_1
end in
byte_width.
Module Signed.
Inclusion of the module S
Module Impl.
Definition t `{_fargs : FArgs} :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed `{_fargs : FArgs} : bool :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t `{_fargs : FArgs} : option t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t `{_fargs : FArgs} : option t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → t) :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z `{_fargs : FArgs} : t → Z.t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl `{_fargs : FArgs} := S.(Make.Make_result.Impl).
Definition t `{_fargs : FArgs} := S.(Make.Make_result.t).
Definition signed `{_fargs : FArgs} : bool := S.(Make.Make_result.signed).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
S.(Make.Make_result.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
S.(Make.Make_result.of_z_opt).
Definition to_z `{_fargs : FArgs} : t → Z.t := S.(Make.Make_result.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
S.(Make.Make_result.testbit).
Definition of_z_exn `{_fargs : FArgs} : Z.t → t :=
S.(Make.Make_result.of_z_exn).
Definition zero `{_fargs : FArgs} : t := S.(Make.Make_result.zero).
Definition one `{_fargs : FArgs} : t := S.(Make.Make_result.one).
Definition byte `{_fargs : FArgs} : int → t → ascii :=
S.(Make.Make_result.byte).
Definition significant_bits `{_fargs : FArgs} : t → int :=
S.(Make.Make_result.significant_bits).
Definition significant_bytes `{_fargs : FArgs} : t → int :=
S.(Make.Make_result.significant_bytes).
Definition of_bool `{_fargs : FArgs} : bool → t :=
S.(Make.Make_result.of_bool).
Definition of_byte `{_fargs : FArgs} : ascii → t :=
S.(Make.Make_result.of_byte).
Definition of_int `{_fargs : FArgs} : int → t :=
S.(Make.Make_result.of_int).
Definition op_tildedollar `{_fargs : FArgs} : int → t :=
S.(Make.Make_result.op_tildedollar).
Definition to_int `{_fargs : FArgs} : t → int :=
S.(Make.Make_result.to_int).
Definition to_int_opt `{_fargs : FArgs} : t → option int :=
S.(Make.Make_result.to_int_opt).
Definition of_uint64 `{_fargs : FArgs} : int64 → t :=
S.(Make.Make_result.of_uint64).
Definition of_int64 `{_fargs : FArgs} : int64 → t :=
S.(Make.Make_result.of_int64).
Definition to_uint64 `{_fargs : FArgs} : t → int64 :=
S.(Make.Make_result.to_uint64).
Definition to_int64 `{_fargs : FArgs} : t → int64 :=
S.(Make.Make_result.to_int64).
Definition of_uint32 `{_fargs : FArgs} : int32 → t :=
S.(Make.Make_result.of_uint32).
Definition of_int32 `{_fargs : FArgs} : int32 → t :=
S.(Make.Make_result.of_int32).
Definition to_uint32 `{_fargs : FArgs} : t → int32 :=
S.(Make.Make_result.to_uint32).
Definition to_int32 `{_fargs : FArgs} : t → int32 :=
S.(Make.Make_result.to_int32).
Definition hash `{_fargs : FArgs} : t → int := S.(Make.Make_result.hash).
Definition comparison_op `{_fargs : FArgs} :
(int → int → bool) → t → t → bool :=
S.(Make.Make_result.comparison_op).
Definition op_lt `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_lt).
Definition op_lteq `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_lteq).
Definition op_eq `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_eq).
Definition op_gteq `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_gteq).
Definition op_gt `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_gt).
Definition op_ltgt `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_ltgt).
Definition equal `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
S.(Make.Make_result.compare).
Definition max `{_fargs : FArgs} : t → t → t := S.(Make.Make_result.max).
Definition min `{_fargs : FArgs} : t → t → t := S.(Make.Make_result.min).
Module _Set.
Definition elt `{_fargs : FArgs} :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t `{_fargs : FArgs} :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty `{_fargs : FArgs} : t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add `{_fargs : FArgs} : elt → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton `{_fargs : FArgs} : elt → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove `{_fargs : FArgs} : elt → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal `{_fargs : FArgs} : t → int :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements `{_fargs : FArgs} : t → list elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt `{_fargs : FArgs} : t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt `{_fargs : FArgs} : t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt `{_fargs : FArgs} : t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: elt → t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt `{_fargs : FArgs} : elt → t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter `{_fargs : FArgs} : (elt → unit) → t → unit :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold `{_fargs : FArgs} {acc : Set} :
(elt → acc → acc) → t → acc → acc :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map `{_fargs : FArgs} : (elt → elt) → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter `{_fargs : FArgs} : (elt → bool) → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map `{_fargs : FArgs} : (elt → option elt) → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition `{_fargs : FArgs} : (elt → bool) → t → t × t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split `{_fargs : FArgs} : elt → t → t × bool × t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty `{_fargs : FArgs} : t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton `{_fargs : FArgs} : t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem `{_fargs : FArgs} : elt → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all `{_fargs : FArgs} : (elt → bool) → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists `{_fargs : FArgs} : (elt → bool) → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list `{_fargs : FArgs} : t → list elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list `{_fargs : FArgs} : list elt → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from `{_fargs : FArgs} :
elt → t → RocqOfOCaml.OCamlSeq.t elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt
:= S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq `{_fargs : FArgs} :
RocqOfOCaml.OCamlSeq.t elt → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set `{_fargs : FArgs} := S.(Make.Make_result._Set).
Definition is_zero `{_fargs : FArgs} : t → bool :=
S.(Make.Make_result.is_zero).
Definition to_string `{_fargs : FArgs} : t → string :=
S.(Make.Make_result.to_string).
Definition to_hex_string `{_fargs : FArgs} : t → string :=
S.(Make.Make_result.to_hex_string).
Definition of_string `{_fargs : FArgs} : string → t :=
S.(Make.Make_result.of_string).
Definition op_tildeat `{_fargs : FArgs} : string → t :=
S.(Make.Make_result.op_tildeat).
Module Map.
Definition key `{_fargs : FArgs} :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t `{_fargs : FArgs} (a : Set) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.t) a.
Definition empty `{_fargs : FArgs} {a : Set} : t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.empty).
Definition add `{_fargs : FArgs} {a : Set} : key → a → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.add).
Definition add_to_list `{_fargs : FArgs} {a : Set} :
key → a → t (list a) → t (list a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list).
Definition update `{_fargs : FArgs} {a : Set} :
key → (option a → option a) → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.update).
Definition singleton `{_fargs : FArgs} {a : Set} : key → a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.singleton).
Definition remove `{_fargs : FArgs} {a : Set} : key → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.remove).
Definition merge `{_fargs : FArgs} {a b c : Set} :
(key → option a → option b → option c) → t a → t b → t c :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.merge).
Definition union `{_fargs : FArgs} {a : Set} :
(key → a → a → option a) → t a → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.union).
Definition cardinal `{_fargs : FArgs} {a : Set} : t a → int :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.cardinal).
Definition bindings `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.bindings).
Definition min_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt).
Definition max_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt).
Definition choose `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0).
Definition choose_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt).
Definition find `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → t a → a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0).
Definition find_opt `{_fargs : FArgs} {a : Set} : key → t a → option a
:= S.(Make.Make_result.Map).(Make.Map.Map_signature.find_opt).
Definition find_first `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt).
Definition find_last `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt).
Definition iter `{_fargs : FArgs} {a : Set} :
(key → a → unit) → t a → unit :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.iter).
Definition fold `{_fargs : FArgs} {a acc : Set} :
(key → a → acc → acc) → t a → acc → acc :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.fold).
Definition map `{_fargs : FArgs} {a b : Set} : (a → b) → t a → t b :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.map).
Definition mapi `{_fargs : FArgs} {a b : Set} :
(key → a → b) → t a → t b :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.mapi).
Definition filter `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.filter).
Definition filter_map `{_fargs : FArgs} {a b : Set} :
(key → a → option b) → t a → t b :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.filter_map).
Definition partition `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a × t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.partition).
Definition split `{_fargs : FArgs} {a : Set} :
key → t a → t a × option a × t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.split).
Definition is_empty `{_fargs : FArgs} {a : Set} : t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.is_empty).
Definition is_singleton `{_fargs : FArgs} {a : Set} : t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton).
Definition mem `{_fargs : FArgs} {a : Set} : key → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.mem).
Definition equal `{_fargs : FArgs} {a : Set} :
(a → a → bool) → t a → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.equal).
Definition compare `{_fargs : FArgs} {a : Set} :
(a → a → int) → t a → t a → int :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.compare).
Definition for_all `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.for_all).
Definition _exists `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature._exists).
Definition to_list `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_list).
Definition of_list `{_fargs : FArgs} {a : Set} : list (key × a) → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.of_list).
Definition to_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq).
Definition to_rev_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq).
Definition to_seq_from `{_fargs : FArgs} {a : Set} :
key → t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from).
Definition add_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.add_seq).
Definition of_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.of_seq).
Definition _at `{_fargs : FArgs} {v : Set} :
key → Lens.t (t v) (option v) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature._at).
Definition keys `{_fargs : FArgs} {a : Set} :
t a → S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.keys).
Definition difference `{_fargs : FArgs} {a d : Set} :
(option a → option a → option d) → t a → t a → t d :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.difference).
End Map.
Definition Map `{_fargs : FArgs} := S.(Make.Make_result.Map).
Definition of_z_after_op `{_fargs : FArgs} : Z.t → t :=
S.(Make.Make_result.of_z_after_op).
Definition lift_1 `{_fargs : FArgs} : (Z.t → Z.t) → t → t :=
S.(Make.Make_result.lift_1).
Definition lift_2 `{_fargs : FArgs} : (Z.t → Z.t → Z.t) → t → t → t :=
S.(Make.Make_result.lift_2).
Definition logand `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.logand).
Definition logor `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.logor).
Definition logxor `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.logxor).
Definition lognot `{_fargs : FArgs} : t → t := S.(Make.Make_result.lognot).
Definition op_plus `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_plus).
Definition op_minus `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_minus).
Definition op_star `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_star).
Definition op_div `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_div).
Definition modulo `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.modulo).
Definition rem `{_fargs : FArgs} : t → t → t := S.(Make.Make_result.rem).
Definition addmod `{_fargs : FArgs} : t → t → t → t :=
S.(Make.Make_result.addmod).
Definition mulmod `{_fargs : FArgs} : t → t → t → t :=
S.(Make.Make_result.mulmod).
Definition shift_left `{_fargs : FArgs} : t → int → t :=
S.(Make.Make_result.shift_left).
Definition shift_right `{_fargs : FArgs} : t → int → t :=
S.(Make.Make_result.shift_right).
Definition op_starstar `{_fargs : FArgs} : t → int → t :=
S.(Make.Make_result.op_starstar).
Definition exp_mod `{_fargs : FArgs} : t → t → t → t :=
S.(Make.Make_result.exp_mod).
Definition minus_1_64th `{_fargs : FArgs} : t → t :=
S.(Make.Make_result.minus_1_64th).
Definition bytes_to_whole_words `{_fargs : FArgs} : t → t :=
S.(Make.Make_result.bytes_to_whole_words).
Definition Repr_fargs `{_fargs : FArgs} :=
MonadVM.Byte_string.Fixed.Build_FArgs B.
Definition Repr `{_fargs : FArgs} :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Repr_fargs) :=
(MonadVM.Byte_string.Fixed.functor (_fargs := (Repr_fargs ))).
Definition bit_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
bit_width.
Definition byte_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
byte_width.
Definition _rocq_fallback_max_t_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition max_t `{_fargs : FArgs} : S.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_signed (_rocq_fallback_max_t_0))),
((min_signed (_rocq_fallback_max_t_0)))) in
max_t.
Definition min_t `{_fargs : FArgs} : S.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_signed (_rocq_fallback_max_t_0))),
((min_signed (_rocq_fallback_max_t_0)))) in
min_t.
Definition _rocq_fallback_of_z_truncating_1 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t
→ t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact _rocq_fallback_max_t_0 | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_truncating `{_fargs : FArgs}
: Z.t → S.(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_of_z_truncating_1))
S.(Make.Make_result.of_z_truncating).
Definition of_repr `{_fargs : FArgs} (bs : string)
: S.(Make.Make_result.t) :=
let x_abs :=
RocqOfOCaml.OCamlZ.of_bits
((Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.reverse)
bs) in
let negative := Z.testbit x_abs (RocqOfOCaml.OCamlInt.sub bit_width 1) in
if negative then
of_z_exn (Z.sub Z.zero x_abs)
else
of_z_exn x_abs.
Definition _rocq_fallback_to_repr_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((ascii)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_repr `{_fargs : FArgs} (x_value : S.(Make.Make_result.t))
: string :=
let z_bytes := RocqOfOCaml.OCamlZ.to_bits (to_z x_value) in
let z_n_bytes := MonadVM.String.length z_bytes in
(Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.init)
(fun (i_value : int) ⇒
let le_i :=
RocqOfOCaml.OCamlInt.sub
(RocqOfOCaml.OCamlInt.sub byte_width i_value) 1 in
if Z.geb le_i z_n_bytes then
"000" % char
else
(MonadVM.String.get (_rocq_fallback_to_repr_0)) z_bytes le_i).
Definition t `{_fargs : FArgs} :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed `{_fargs : FArgs} : bool :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t `{_fargs : FArgs} : option t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t `{_fargs : FArgs} : option t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → t) :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z `{_fargs : FArgs} : t → Z.t :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
S.(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl `{_fargs : FArgs} := S.(Make.Make_result.Impl).
Definition t `{_fargs : FArgs} := S.(Make.Make_result.t).
Definition signed `{_fargs : FArgs} : bool := S.(Make.Make_result.signed).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
S.(Make.Make_result.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
S.(Make.Make_result.of_z_opt).
Definition to_z `{_fargs : FArgs} : t → Z.t := S.(Make.Make_result.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
S.(Make.Make_result.testbit).
Definition of_z_exn `{_fargs : FArgs} : Z.t → t :=
S.(Make.Make_result.of_z_exn).
Definition zero `{_fargs : FArgs} : t := S.(Make.Make_result.zero).
Definition one `{_fargs : FArgs} : t := S.(Make.Make_result.one).
Definition byte `{_fargs : FArgs} : int → t → ascii :=
S.(Make.Make_result.byte).
Definition significant_bits `{_fargs : FArgs} : t → int :=
S.(Make.Make_result.significant_bits).
Definition significant_bytes `{_fargs : FArgs} : t → int :=
S.(Make.Make_result.significant_bytes).
Definition of_bool `{_fargs : FArgs} : bool → t :=
S.(Make.Make_result.of_bool).
Definition of_byte `{_fargs : FArgs} : ascii → t :=
S.(Make.Make_result.of_byte).
Definition of_int `{_fargs : FArgs} : int → t :=
S.(Make.Make_result.of_int).
Definition op_tildedollar `{_fargs : FArgs} : int → t :=
S.(Make.Make_result.op_tildedollar).
Definition to_int `{_fargs : FArgs} : t → int :=
S.(Make.Make_result.to_int).
Definition to_int_opt `{_fargs : FArgs} : t → option int :=
S.(Make.Make_result.to_int_opt).
Definition of_uint64 `{_fargs : FArgs} : int64 → t :=
S.(Make.Make_result.of_uint64).
Definition of_int64 `{_fargs : FArgs} : int64 → t :=
S.(Make.Make_result.of_int64).
Definition to_uint64 `{_fargs : FArgs} : t → int64 :=
S.(Make.Make_result.to_uint64).
Definition to_int64 `{_fargs : FArgs} : t → int64 :=
S.(Make.Make_result.to_int64).
Definition of_uint32 `{_fargs : FArgs} : int32 → t :=
S.(Make.Make_result.of_uint32).
Definition of_int32 `{_fargs : FArgs} : int32 → t :=
S.(Make.Make_result.of_int32).
Definition to_uint32 `{_fargs : FArgs} : t → int32 :=
S.(Make.Make_result.to_uint32).
Definition to_int32 `{_fargs : FArgs} : t → int32 :=
S.(Make.Make_result.to_int32).
Definition hash `{_fargs : FArgs} : t → int := S.(Make.Make_result.hash).
Definition comparison_op `{_fargs : FArgs} :
(int → int → bool) → t → t → bool :=
S.(Make.Make_result.comparison_op).
Definition op_lt `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_lt).
Definition op_lteq `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_lteq).
Definition op_eq `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_eq).
Definition op_gteq `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_gteq).
Definition op_gt `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_gt).
Definition op_ltgt `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.op_ltgt).
Definition equal `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
S.(Make.Make_result.compare).
Definition max `{_fargs : FArgs} : t → t → t := S.(Make.Make_result.max).
Definition min `{_fargs : FArgs} : t → t → t := S.(Make.Make_result.min).
Module _Set.
Definition elt `{_fargs : FArgs} :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t `{_fargs : FArgs} :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty `{_fargs : FArgs} : t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add `{_fargs : FArgs} : elt → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton `{_fargs : FArgs} : elt → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove `{_fargs : FArgs} : elt → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal `{_fargs : FArgs} : t → int :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements `{_fargs : FArgs} : t → list elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt `{_fargs : FArgs} : t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt `{_fargs : FArgs} : t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt `{_fargs : FArgs} : t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: elt → t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt `{_fargs : FArgs} : elt → t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter `{_fargs : FArgs} : (elt → unit) → t → unit :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold `{_fargs : FArgs} {acc : Set} :
(elt → acc → acc) → t → acc → acc :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map `{_fargs : FArgs} : (elt → elt) → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter `{_fargs : FArgs} : (elt → bool) → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map `{_fargs : FArgs} : (elt → option elt) → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition `{_fargs : FArgs} : (elt → bool) → t → t × t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split `{_fargs : FArgs} : elt → t → t × bool × t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty `{_fargs : FArgs} : t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton `{_fargs : FArgs} : t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem `{_fargs : FArgs} : elt → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset `{_fargs : FArgs} : t → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all `{_fargs : FArgs} : (elt → bool) → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists `{_fargs : FArgs} : (elt → bool) → t → bool :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list `{_fargs : FArgs} : t → list elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list `{_fargs : FArgs} : list elt → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from `{_fargs : FArgs} :
elt → t → RocqOfOCaml.OCamlSeq.t elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt
:= S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq `{_fargs : FArgs} :
RocqOfOCaml.OCamlSeq.t elt → t → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t :=
S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set `{_fargs : FArgs} := S.(Make.Make_result._Set).
Definition is_zero `{_fargs : FArgs} : t → bool :=
S.(Make.Make_result.is_zero).
Definition to_string `{_fargs : FArgs} : t → string :=
S.(Make.Make_result.to_string).
Definition to_hex_string `{_fargs : FArgs} : t → string :=
S.(Make.Make_result.to_hex_string).
Definition of_string `{_fargs : FArgs} : string → t :=
S.(Make.Make_result.of_string).
Definition op_tildeat `{_fargs : FArgs} : string → t :=
S.(Make.Make_result.op_tildeat).
Module Map.
Definition key `{_fargs : FArgs} :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t `{_fargs : FArgs} (a : Set) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.t) a.
Definition empty `{_fargs : FArgs} {a : Set} : t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.empty).
Definition add `{_fargs : FArgs} {a : Set} : key → a → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.add).
Definition add_to_list `{_fargs : FArgs} {a : Set} :
key → a → t (list a) → t (list a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list).
Definition update `{_fargs : FArgs} {a : Set} :
key → (option a → option a) → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.update).
Definition singleton `{_fargs : FArgs} {a : Set} : key → a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.singleton).
Definition remove `{_fargs : FArgs} {a : Set} : key → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.remove).
Definition merge `{_fargs : FArgs} {a b c : Set} :
(key → option a → option b → option c) → t a → t b → t c :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.merge).
Definition union `{_fargs : FArgs} {a : Set} :
(key → a → a → option a) → t a → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.union).
Definition cardinal `{_fargs : FArgs} {a : Set} : t a → int :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.cardinal).
Definition bindings `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.bindings).
Definition min_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt).
Definition max_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt).
Definition choose `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0).
Definition choose_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt).
Definition find `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → t a → a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0).
Definition find_opt `{_fargs : FArgs} {a : Set} : key → t a → option a
:= S.(Make.Make_result.Map).(Make.Map.Map_signature.find_opt).
Definition find_first `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt).
Definition find_last `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt).
Definition iter `{_fargs : FArgs} {a : Set} :
(key → a → unit) → t a → unit :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.iter).
Definition fold `{_fargs : FArgs} {a acc : Set} :
(key → a → acc → acc) → t a → acc → acc :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.fold).
Definition map `{_fargs : FArgs} {a b : Set} : (a → b) → t a → t b :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.map).
Definition mapi `{_fargs : FArgs} {a b : Set} :
(key → a → b) → t a → t b :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.mapi).
Definition filter `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.filter).
Definition filter_map `{_fargs : FArgs} {a b : Set} :
(key → a → option b) → t a → t b :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.filter_map).
Definition partition `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a × t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.partition).
Definition split `{_fargs : FArgs} {a : Set} :
key → t a → t a × option a × t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.split).
Definition is_empty `{_fargs : FArgs} {a : Set} : t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.is_empty).
Definition is_singleton `{_fargs : FArgs} {a : Set} : t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton).
Definition mem `{_fargs : FArgs} {a : Set} : key → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.mem).
Definition equal `{_fargs : FArgs} {a : Set} :
(a → a → bool) → t a → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.equal).
Definition compare `{_fargs : FArgs} {a : Set} :
(a → a → int) → t a → t a → int :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.compare).
Definition for_all `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.for_all).
Definition _exists `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
S.(Make.Make_result.Map).(Make.Map.Map_signature._exists).
Definition to_list `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_list).
Definition of_list `{_fargs : FArgs} {a : Set} : list (key × a) → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.of_list).
Definition to_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq).
Definition to_rev_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq).
Definition to_seq_from `{_fargs : FArgs} {a : Set} :
key → t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from).
Definition add_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.add_seq).
Definition of_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.of_seq).
Definition _at `{_fargs : FArgs} {v : Set} :
key → Lens.t (t v) (option v) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature._at).
Definition keys `{_fargs : FArgs} {a : Set} :
t a → S.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t) :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.keys).
Definition difference `{_fargs : FArgs} {a d : Set} :
(option a → option a → option d) → t a → t a → t d :=
S.(Make.Make_result.Map).(Make.Map.Map_signature.difference).
End Map.
Definition Map `{_fargs : FArgs} := S.(Make.Make_result.Map).
Definition of_z_after_op `{_fargs : FArgs} : Z.t → t :=
S.(Make.Make_result.of_z_after_op).
Definition lift_1 `{_fargs : FArgs} : (Z.t → Z.t) → t → t :=
S.(Make.Make_result.lift_1).
Definition lift_2 `{_fargs : FArgs} : (Z.t → Z.t → Z.t) → t → t → t :=
S.(Make.Make_result.lift_2).
Definition logand `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.logand).
Definition logor `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.logor).
Definition logxor `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.logxor).
Definition lognot `{_fargs : FArgs} : t → t := S.(Make.Make_result.lognot).
Definition op_plus `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_plus).
Definition op_minus `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_minus).
Definition op_star `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_star).
Definition op_div `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.op_div).
Definition modulo `{_fargs : FArgs} : t → t → t :=
S.(Make.Make_result.modulo).
Definition rem `{_fargs : FArgs} : t → t → t := S.(Make.Make_result.rem).
Definition addmod `{_fargs : FArgs} : t → t → t → t :=
S.(Make.Make_result.addmod).
Definition mulmod `{_fargs : FArgs} : t → t → t → t :=
S.(Make.Make_result.mulmod).
Definition shift_left `{_fargs : FArgs} : t → int → t :=
S.(Make.Make_result.shift_left).
Definition shift_right `{_fargs : FArgs} : t → int → t :=
S.(Make.Make_result.shift_right).
Definition op_starstar `{_fargs : FArgs} : t → int → t :=
S.(Make.Make_result.op_starstar).
Definition exp_mod `{_fargs : FArgs} : t → t → t → t :=
S.(Make.Make_result.exp_mod).
Definition minus_1_64th `{_fargs : FArgs} : t → t :=
S.(Make.Make_result.minus_1_64th).
Definition bytes_to_whole_words `{_fargs : FArgs} : t → t :=
S.(Make.Make_result.bytes_to_whole_words).
Definition Repr_fargs `{_fargs : FArgs} :=
MonadVM.Byte_string.Fixed.Build_FArgs B.
Definition Repr `{_fargs : FArgs} :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Repr_fargs) :=
(MonadVM.Byte_string.Fixed.functor (_fargs := (Repr_fargs ))).
Definition bit_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
bit_width.
Definition byte_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
byte_width.
Definition _rocq_fallback_max_t_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition max_t `{_fargs : FArgs} : S.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_signed (_rocq_fallback_max_t_0))),
((min_signed (_rocq_fallback_max_t_0)))) in
max_t.
Definition min_t `{_fargs : FArgs} : S.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_signed (_rocq_fallback_max_t_0))),
((min_signed (_rocq_fallback_max_t_0)))) in
min_t.
Definition _rocq_fallback_of_z_truncating_1 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t
→ t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact _rocq_fallback_max_t_0 | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_truncating `{_fargs : FArgs}
: Z.t → S.(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_of_z_truncating_1))
S.(Make.Make_result.of_z_truncating).
Definition of_repr `{_fargs : FArgs} (bs : string)
: S.(Make.Make_result.t) :=
let x_abs :=
RocqOfOCaml.OCamlZ.of_bits
((Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.reverse)
bs) in
let negative := Z.testbit x_abs (RocqOfOCaml.OCamlInt.sub bit_width 1) in
if negative then
of_z_exn (Z.sub Z.zero x_abs)
else
of_z_exn x_abs.
Definition _rocq_fallback_to_repr_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((ascii)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_repr `{_fargs : FArgs} (x_value : S.(Make.Make_result.t))
: string :=
let z_bytes := RocqOfOCaml.OCamlZ.to_bits (to_z x_value) in
let z_n_bytes := MonadVM.String.length z_bytes in
(Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.init)
(fun (i_value : int) ⇒
let le_i :=
RocqOfOCaml.OCamlInt.sub
(RocqOfOCaml.OCamlInt.sub byte_width i_value) 1 in
if Z.geb le_i z_n_bytes then
"000" % char
else
(MonadVM.String.get (_rocq_fallback_to_repr_0)) z_bytes le_i).
as_unsigned x reinterprets the binary representation of x (in two's complement) as an unsigned
integer of the same bit-width.
Definition as_unsigned `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine ((U.(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat))
(x_value : S.(Make.Make_result.t)) : U.(Make.Make_result.t) :=
let x_value := to_z x_value in
U.(Make.Make_result.of_z_exn)
(if Z.geb x_value Z.zero then
x_value
else
Z.add
(Z.add
(U.(Make.Make_result.to_z) ((max_unsigned (_rocq_fallback_arg_0))))
x_value) Z.one).
End Signed.
Module Unsigned.
(_rocq_fallback_arg_0 :
ltac:(unshelve refine ((U.(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat))
(x_value : S.(Make.Make_result.t)) : U.(Make.Make_result.t) :=
let x_value := to_z x_value in
U.(Make.Make_result.of_z_exn)
(if Z.geb x_value Z.zero then
x_value
else
Z.add
(Z.add
(U.(Make.Make_result.to_z) ((max_unsigned (_rocq_fallback_arg_0))))
x_value) Z.one).
End Signed.
Module Unsigned.
Inclusion of the module U
Module Impl.
Definition t `{_fargs : FArgs} :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed `{_fargs : FArgs} : bool :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t `{_fargs : FArgs} : option t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t `{_fargs : FArgs} : option t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → t) :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z `{_fargs : FArgs} : t → Z.t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl `{_fargs : FArgs} := U.(Make.Make_result.Impl).
Definition t `{_fargs : FArgs} := U.(Make.Make_result.t).
Definition signed `{_fargs : FArgs} : bool := U.(Make.Make_result.signed).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
U.(Make.Make_result.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
U.(Make.Make_result.of_z_opt).
Definition to_z `{_fargs : FArgs} : t → Z.t := U.(Make.Make_result.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
U.(Make.Make_result.testbit).
Definition of_z_exn `{_fargs : FArgs} : Z.t → t :=
U.(Make.Make_result.of_z_exn).
Definition zero `{_fargs : FArgs} : t := U.(Make.Make_result.zero).
Definition one `{_fargs : FArgs} : t := U.(Make.Make_result.one).
Definition byte `{_fargs : FArgs} : int → t → ascii :=
U.(Make.Make_result.byte).
Definition significant_bits `{_fargs : FArgs} : t → int :=
U.(Make.Make_result.significant_bits).
Definition significant_bytes `{_fargs : FArgs} : t → int :=
U.(Make.Make_result.significant_bytes).
Definition of_bool `{_fargs : FArgs} : bool → t :=
U.(Make.Make_result.of_bool).
Definition of_byte `{_fargs : FArgs} : ascii → t :=
U.(Make.Make_result.of_byte).
Definition of_int `{_fargs : FArgs} : int → t :=
U.(Make.Make_result.of_int).
Definition op_tildedollar `{_fargs : FArgs} : int → t :=
U.(Make.Make_result.op_tildedollar).
Definition to_int `{_fargs : FArgs} : t → int :=
U.(Make.Make_result.to_int).
Definition to_int_opt `{_fargs : FArgs} : t → option int :=
U.(Make.Make_result.to_int_opt).
Definition of_uint64 `{_fargs : FArgs} : int64 → t :=
U.(Make.Make_result.of_uint64).
Definition of_int64 `{_fargs : FArgs} : int64 → t :=
U.(Make.Make_result.of_int64).
Definition to_uint64 `{_fargs : FArgs} : t → int64 :=
U.(Make.Make_result.to_uint64).
Definition to_int64 `{_fargs : FArgs} : t → int64 :=
U.(Make.Make_result.to_int64).
Definition of_uint32 `{_fargs : FArgs} : int32 → t :=
U.(Make.Make_result.of_uint32).
Definition of_int32 `{_fargs : FArgs} : int32 → t :=
U.(Make.Make_result.of_int32).
Definition to_uint32 `{_fargs : FArgs} : t → int32 :=
U.(Make.Make_result.to_uint32).
Definition to_int32 `{_fargs : FArgs} : t → int32 :=
U.(Make.Make_result.to_int32).
Definition hash `{_fargs : FArgs} : t → int := U.(Make.Make_result.hash).
Definition comparison_op `{_fargs : FArgs} :
(int → int → bool) → t → t → bool :=
U.(Make.Make_result.comparison_op).
Definition op_lt `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_lt).
Definition op_lteq `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_lteq).
Definition op_eq `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_eq).
Definition op_gteq `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_gteq).
Definition op_gt `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_gt).
Definition op_ltgt `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_ltgt).
Definition equal `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
U.(Make.Make_result.compare).
Definition max `{_fargs : FArgs} : t → t → t := U.(Make.Make_result.max).
Definition min `{_fargs : FArgs} : t → t → t := U.(Make.Make_result.min).
Module _Set.
Definition elt `{_fargs : FArgs} :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t `{_fargs : FArgs} :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty `{_fargs : FArgs} : t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add `{_fargs : FArgs} : elt → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton `{_fargs : FArgs} : elt → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove `{_fargs : FArgs} : elt → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal `{_fargs : FArgs} : t → int :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements `{_fargs : FArgs} : t → list elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt `{_fargs : FArgs} : t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt `{_fargs : FArgs} : t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt `{_fargs : FArgs} : t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: elt → t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt `{_fargs : FArgs} : elt → t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter `{_fargs : FArgs} : (elt → unit) → t → unit :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold `{_fargs : FArgs} {acc : Set} :
(elt → acc → acc) → t → acc → acc :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map `{_fargs : FArgs} : (elt → elt) → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter `{_fargs : FArgs} : (elt → bool) → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map `{_fargs : FArgs} : (elt → option elt) → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition `{_fargs : FArgs} : (elt → bool) → t → t × t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split `{_fargs : FArgs} : elt → t → t × bool × t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty `{_fargs : FArgs} : t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton `{_fargs : FArgs} : t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem `{_fargs : FArgs} : elt → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all `{_fargs : FArgs} : (elt → bool) → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists `{_fargs : FArgs} : (elt → bool) → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list `{_fargs : FArgs} : t → list elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list `{_fargs : FArgs} : list elt → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from `{_fargs : FArgs} :
elt → t → RocqOfOCaml.OCamlSeq.t elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt
:= U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq `{_fargs : FArgs} :
RocqOfOCaml.OCamlSeq.t elt → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set `{_fargs : FArgs} := U.(Make.Make_result._Set).
Definition is_zero `{_fargs : FArgs} : t → bool :=
U.(Make.Make_result.is_zero).
Definition to_string `{_fargs : FArgs} : t → string :=
U.(Make.Make_result.to_string).
Definition to_hex_string `{_fargs : FArgs} : t → string :=
U.(Make.Make_result.to_hex_string).
Definition of_string `{_fargs : FArgs} : string → t :=
U.(Make.Make_result.of_string).
Definition op_tildeat `{_fargs : FArgs} : string → t :=
U.(Make.Make_result.op_tildeat).
Module Map.
Definition key `{_fargs : FArgs} :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t `{_fargs : FArgs} (a : Set) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.t) a.
Definition empty `{_fargs : FArgs} {a : Set} : t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.empty).
Definition add `{_fargs : FArgs} {a : Set} : key → a → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.add).
Definition add_to_list `{_fargs : FArgs} {a : Set} :
key → a → t (list a) → t (list a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list).
Definition update `{_fargs : FArgs} {a : Set} :
key → (option a → option a) → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.update).
Definition singleton `{_fargs : FArgs} {a : Set} : key → a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.singleton).
Definition remove `{_fargs : FArgs} {a : Set} : key → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.remove).
Definition merge `{_fargs : FArgs} {a b c : Set} :
(key → option a → option b → option c) → t a → t b → t c :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.merge).
Definition union `{_fargs : FArgs} {a : Set} :
(key → a → a → option a) → t a → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.union).
Definition cardinal `{_fargs : FArgs} {a : Set} : t a → int :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.cardinal).
Definition bindings `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.bindings).
Definition min_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt).
Definition max_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt).
Definition choose `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0).
Definition choose_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt).
Definition find `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → t a → a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0).
Definition find_opt `{_fargs : FArgs} {a : Set} : key → t a → option a
:= U.(Make.Make_result.Map).(Make.Map.Map_signature.find_opt).
Definition find_first `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt).
Definition find_last `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt).
Definition iter `{_fargs : FArgs} {a : Set} :
(key → a → unit) → t a → unit :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.iter).
Definition fold `{_fargs : FArgs} {a acc : Set} :
(key → a → acc → acc) → t a → acc → acc :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.fold).
Definition map `{_fargs : FArgs} {a b : Set} : (a → b) → t a → t b :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.map).
Definition mapi `{_fargs : FArgs} {a b : Set} :
(key → a → b) → t a → t b :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.mapi).
Definition filter `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.filter).
Definition filter_map `{_fargs : FArgs} {a b : Set} :
(key → a → option b) → t a → t b :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.filter_map).
Definition partition `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a × t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.partition).
Definition split `{_fargs : FArgs} {a : Set} :
key → t a → t a × option a × t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.split).
Definition is_empty `{_fargs : FArgs} {a : Set} : t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.is_empty).
Definition is_singleton `{_fargs : FArgs} {a : Set} : t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton).
Definition mem `{_fargs : FArgs} {a : Set} : key → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.mem).
Definition equal `{_fargs : FArgs} {a : Set} :
(a → a → bool) → t a → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.equal).
Definition compare `{_fargs : FArgs} {a : Set} :
(a → a → int) → t a → t a → int :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.compare).
Definition for_all `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.for_all).
Definition _exists `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature._exists).
Definition to_list `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_list).
Definition of_list `{_fargs : FArgs} {a : Set} : list (key × a) → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.of_list).
Definition to_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq).
Definition to_rev_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq).
Definition to_seq_from `{_fargs : FArgs} {a : Set} :
key → t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from).
Definition add_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.add_seq).
Definition of_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.of_seq).
Definition _at `{_fargs : FArgs} {v : Set} :
key → Lens.t (t v) (option v) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature._at).
Definition keys `{_fargs : FArgs} {a : Set} :
t a → U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.keys).
Definition difference `{_fargs : FArgs} {a d : Set} :
(option a → option a → option d) → t a → t a → t d :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.difference).
End Map.
Definition Map `{_fargs : FArgs} := U.(Make.Make_result.Map).
Definition of_z_after_op `{_fargs : FArgs} : Z.t → t :=
U.(Make.Make_result.of_z_after_op).
Definition lift_1 `{_fargs : FArgs} : (Z.t → Z.t) → t → t :=
U.(Make.Make_result.lift_1).
Definition lift_2 `{_fargs : FArgs} : (Z.t → Z.t → Z.t) → t → t → t :=
U.(Make.Make_result.lift_2).
Definition logand `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.logand).
Definition logor `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.logor).
Definition logxor `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.logxor).
Definition lognot `{_fargs : FArgs} : t → t := U.(Make.Make_result.lognot).
Definition op_plus `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_plus).
Definition op_minus `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_minus).
Definition op_star `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_star).
Definition op_div `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_div).
Definition modulo `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.modulo).
Definition rem `{_fargs : FArgs} : t → t → t := U.(Make.Make_result.rem).
Definition addmod `{_fargs : FArgs} : t → t → t → t :=
U.(Make.Make_result.addmod).
Definition mulmod `{_fargs : FArgs} : t → t → t → t :=
U.(Make.Make_result.mulmod).
Definition shift_left `{_fargs : FArgs} : t → int → t :=
U.(Make.Make_result.shift_left).
Definition shift_right `{_fargs : FArgs} : t → int → t :=
U.(Make.Make_result.shift_right).
Definition op_starstar `{_fargs : FArgs} : t → int → t :=
U.(Make.Make_result.op_starstar).
Definition exp_mod `{_fargs : FArgs} : t → t → t → t :=
U.(Make.Make_result.exp_mod).
Definition minus_1_64th `{_fargs : FArgs} : t → t :=
U.(Make.Make_result.minus_1_64th).
Definition bytes_to_whole_words `{_fargs : FArgs} : t → t :=
U.(Make.Make_result.bytes_to_whole_words).
Definition Repr_fargs `{_fargs : FArgs} :=
MonadVM.Byte_string.Fixed.Build_FArgs B.
Definition Repr `{_fargs : FArgs} :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Repr_fargs) :=
(MonadVM.Byte_string.Fixed.functor (_fargs := (Repr_fargs ))).
Definition bit_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
bit_width.
Definition byte_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
byte_width.
Definition _rocq_fallback_max_t_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition max_t `{_fargs : FArgs} : U.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_unsigned (_rocq_fallback_max_t_0))),
((min_unsigned (_rocq_fallback_max_t_0)))) in
max_t.
Definition min_t `{_fargs : FArgs} : U.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_unsigned (_rocq_fallback_max_t_0))),
((min_unsigned (_rocq_fallback_max_t_0)))) in
min_t.
Definition _rocq_fallback_of_z_truncating_1 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t
→ t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact _rocq_fallback_max_t_0 | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_truncating `{_fargs : FArgs}
: Z.t → U.(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_of_z_truncating_1))
U.(Make.Make_result.of_z_truncating).
Definition of_repr `{_fargs : FArgs} (bs : string)
: U.(Make.Make_result.t) :=
of_z_exn
(RocqOfOCaml.OCamlZ.of_bits (MonadVM.Byte_string.Bytes.reverse bs)).
Definition _rocq_fallback_to_repr_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((ascii)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_repr `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: string :=
let z_bytes := RocqOfOCaml.OCamlZ.to_bits (to_z x_value) in
let z_n_bytes := MonadVM.String.length z_bytes in
(Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.init)
(fun (i_value : int) ⇒
let le_i :=
RocqOfOCaml.OCamlInt.sub
(RocqOfOCaml.OCamlInt.sub byte_width i_value) 1 in
if Z.geb le_i z_n_bytes then
"000" % char
else
(MonadVM.String.get (_rocq_fallback_to_repr_0)) z_bytes le_i).
Definition to_repr_bytes `{_fargs : FArgs}
(x_value : U.(Make.Make_result.t)) : MonadVM.Byte_string.Bytes.t :=
(Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes)
(to_repr x_value).
Definition t `{_fargs : FArgs} :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed `{_fargs : FArgs} : bool :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t `{_fargs : FArgs} : option t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t `{_fargs : FArgs} : option t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating `{_fargs : FArgs} : option (Z.t → t) :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z `{_fargs : FArgs} : t → Z.t :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
U.(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl `{_fargs : FArgs} := U.(Make.Make_result.Impl).
Definition t `{_fargs : FArgs} := U.(Make.Make_result.t).
Definition signed `{_fargs : FArgs} : bool := U.(Make.Make_result.signed).
Definition in_range `{_fargs : FArgs} : Z.t → bool :=
U.(Make.Make_result.in_range).
Definition of_z_opt `{_fargs : FArgs} : Z.t → option t :=
U.(Make.Make_result.of_z_opt).
Definition to_z `{_fargs : FArgs} : t → Z.t := U.(Make.Make_result.to_z).
Definition testbit `{_fargs : FArgs} : t → int → bool :=
U.(Make.Make_result.testbit).
Definition of_z_exn `{_fargs : FArgs} : Z.t → t :=
U.(Make.Make_result.of_z_exn).
Definition zero `{_fargs : FArgs} : t := U.(Make.Make_result.zero).
Definition one `{_fargs : FArgs} : t := U.(Make.Make_result.one).
Definition byte `{_fargs : FArgs} : int → t → ascii :=
U.(Make.Make_result.byte).
Definition significant_bits `{_fargs : FArgs} : t → int :=
U.(Make.Make_result.significant_bits).
Definition significant_bytes `{_fargs : FArgs} : t → int :=
U.(Make.Make_result.significant_bytes).
Definition of_bool `{_fargs : FArgs} : bool → t :=
U.(Make.Make_result.of_bool).
Definition of_byte `{_fargs : FArgs} : ascii → t :=
U.(Make.Make_result.of_byte).
Definition of_int `{_fargs : FArgs} : int → t :=
U.(Make.Make_result.of_int).
Definition op_tildedollar `{_fargs : FArgs} : int → t :=
U.(Make.Make_result.op_tildedollar).
Definition to_int `{_fargs : FArgs} : t → int :=
U.(Make.Make_result.to_int).
Definition to_int_opt `{_fargs : FArgs} : t → option int :=
U.(Make.Make_result.to_int_opt).
Definition of_uint64 `{_fargs : FArgs} : int64 → t :=
U.(Make.Make_result.of_uint64).
Definition of_int64 `{_fargs : FArgs} : int64 → t :=
U.(Make.Make_result.of_int64).
Definition to_uint64 `{_fargs : FArgs} : t → int64 :=
U.(Make.Make_result.to_uint64).
Definition to_int64 `{_fargs : FArgs} : t → int64 :=
U.(Make.Make_result.to_int64).
Definition of_uint32 `{_fargs : FArgs} : int32 → t :=
U.(Make.Make_result.of_uint32).
Definition of_int32 `{_fargs : FArgs} : int32 → t :=
U.(Make.Make_result.of_int32).
Definition to_uint32 `{_fargs : FArgs} : t → int32 :=
U.(Make.Make_result.to_uint32).
Definition to_int32 `{_fargs : FArgs} : t → int32 :=
U.(Make.Make_result.to_int32).
Definition hash `{_fargs : FArgs} : t → int := U.(Make.Make_result.hash).
Definition comparison_op `{_fargs : FArgs} :
(int → int → bool) → t → t → bool :=
U.(Make.Make_result.comparison_op).
Definition op_lt `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_lt).
Definition op_lteq `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_lteq).
Definition op_eq `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_eq).
Definition op_gteq `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_gteq).
Definition op_gt `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_gt).
Definition op_ltgt `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.op_ltgt).
Definition equal `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
U.(Make.Make_result.compare).
Definition max `{_fargs : FArgs} : t → t → t := U.(Make.Make_result.max).
Definition min `{_fargs : FArgs} : t → t → t := U.(Make.Make_result.min).
Module _Set.
Definition elt `{_fargs : FArgs} :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t `{_fargs : FArgs} :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty `{_fargs : FArgs} : t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add `{_fargs : FArgs} : elt → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton `{_fargs : FArgs} : elt → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove `{_fargs : FArgs} : elt → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal `{_fargs : FArgs} : t → int :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements `{_fargs : FArgs} : t → list elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt `{_fargs : FArgs} : t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt `{_fargs : FArgs} : t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt `{_fargs : FArgs} : t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: elt → t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt `{_fargs : FArgs} : elt → t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (elt → bool) → t → elt :=
(U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt `{_fargs : FArgs} :
(elt → bool) → t → option elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter `{_fargs : FArgs} : (elt → unit) → t → unit :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold `{_fargs : FArgs} {acc : Set} :
(elt → acc → acc) → t → acc → acc :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.fold).
Definition map `{_fargs : FArgs} : (elt → elt) → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter `{_fargs : FArgs} : (elt → bool) → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map `{_fargs : FArgs} : (elt → option elt) → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition `{_fargs : FArgs} : (elt → bool) → t → t × t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split `{_fargs : FArgs} : elt → t → t × bool × t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty `{_fargs : FArgs} : t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton `{_fargs : FArgs} : t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem `{_fargs : FArgs} : elt → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare `{_fargs : FArgs} : t → t → int :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset `{_fargs : FArgs} : t → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all `{_fargs : FArgs} : (elt → bool) → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists `{_fargs : FArgs} : (elt → bool) → t → bool :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list `{_fargs : FArgs} : t → list elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list `{_fargs : FArgs} : list elt → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from `{_fargs : FArgs} :
elt → t → RocqOfOCaml.OCamlSeq.t elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq `{_fargs : FArgs} : t → RocqOfOCaml.OCamlSeq.t elt
:= U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq `{_fargs : FArgs} :
RocqOfOCaml.OCamlSeq.t elt → t → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq `{_fargs : FArgs} : RocqOfOCaml.OCamlSeq.t elt → t :=
U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set `{_fargs : FArgs} := U.(Make.Make_result._Set).
Definition is_zero `{_fargs : FArgs} : t → bool :=
U.(Make.Make_result.is_zero).
Definition to_string `{_fargs : FArgs} : t → string :=
U.(Make.Make_result.to_string).
Definition to_hex_string `{_fargs : FArgs} : t → string :=
U.(Make.Make_result.to_hex_string).
Definition of_string `{_fargs : FArgs} : string → t :=
U.(Make.Make_result.of_string).
Definition op_tildeat `{_fargs : FArgs} : string → t :=
U.(Make.Make_result.op_tildeat).
Module Map.
Definition key `{_fargs : FArgs} :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t `{_fargs : FArgs} (a : Set) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.t) a.
Definition empty `{_fargs : FArgs} {a : Set} : t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.empty).
Definition add `{_fargs : FArgs} {a : Set} : key → a → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.add).
Definition add_to_list `{_fargs : FArgs} {a : Set} :
key → a → t (list a) → t (list a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list).
Definition update `{_fargs : FArgs} {a : Set} :
key → (option a → option a) → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.update).
Definition singleton `{_fargs : FArgs} {a : Set} : key → a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.singleton).
Definition remove `{_fargs : FArgs} {a : Set} : key → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.remove).
Definition merge `{_fargs : FArgs} {a b c : Set} :
(key → option a → option b → option c) → t a → t b → t c :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.merge).
Definition union `{_fargs : FArgs} {a : Set} :
(key → a → a → option a) → t a → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.union).
Definition cardinal `{_fargs : FArgs} {a : Set} : t a → int :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.cardinal).
Definition bindings `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.bindings).
Definition min_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0).
Definition min_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt).
Definition max_binding `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0).
Definition max_binding_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt).
Definition choose `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0).
Definition choose_opt `{_fargs : FArgs} {a : Set} :
t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt).
Definition find `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: key → t a → a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0).
Definition find_opt `{_fargs : FArgs} {a : Set} : key → t a → option a
:= U.(Make.Make_result.Map).(Make.Map.Map_signature.find_opt).
Definition find_first `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0).
Definition find_first_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt).
Definition find_last `{_fargs : FArgs} {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
: (key → bool) → t a → key × a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0).
Definition find_last_opt `{_fargs : FArgs} {a : Set} :
(key → bool) → t a → option (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt).
Definition iter `{_fargs : FArgs} {a : Set} :
(key → a → unit) → t a → unit :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.iter).
Definition fold `{_fargs : FArgs} {a acc : Set} :
(key → a → acc → acc) → t a → acc → acc :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.fold).
Definition map `{_fargs : FArgs} {a b : Set} : (a → b) → t a → t b :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.map).
Definition mapi `{_fargs : FArgs} {a b : Set} :
(key → a → b) → t a → t b :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.mapi).
Definition filter `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.filter).
Definition filter_map `{_fargs : FArgs} {a b : Set} :
(key → a → option b) → t a → t b :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.filter_map).
Definition partition `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → t a × t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.partition).
Definition split `{_fargs : FArgs} {a : Set} :
key → t a → t a × option a × t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.split).
Definition is_empty `{_fargs : FArgs} {a : Set} : t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.is_empty).
Definition is_singleton `{_fargs : FArgs} {a : Set} : t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton).
Definition mem `{_fargs : FArgs} {a : Set} : key → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.mem).
Definition equal `{_fargs : FArgs} {a : Set} :
(a → a → bool) → t a → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.equal).
Definition compare `{_fargs : FArgs} {a : Set} :
(a → a → int) → t a → t a → int :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.compare).
Definition for_all `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.for_all).
Definition _exists `{_fargs : FArgs} {a : Set} :
(key → a → bool) → t a → bool :=
U.(Make.Make_result.Map).(Make.Map.Map_signature._exists).
Definition to_list `{_fargs : FArgs} {a : Set} : t a → list (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_list).
Definition of_list `{_fargs : FArgs} {a : Set} : list (key × a) → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.of_list).
Definition to_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq).
Definition to_rev_seq `{_fargs : FArgs} {a : Set} :
t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq).
Definition to_seq_from `{_fargs : FArgs} {a : Set} :
key → t a → RocqOfOCaml.OCamlSeq.t (key × a) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from).
Definition add_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.add_seq).
Definition of_seq `{_fargs : FArgs} {a : Set} :
RocqOfOCaml.OCamlSeq.t (key × a) → t a :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.of_seq).
Definition _at `{_fargs : FArgs} {v : Set} :
key → Lens.t (t v) (option v) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature._at).
Definition keys `{_fargs : FArgs} {a : Set} :
t a → U.(Make.Make_result._Set).(RocqOfOCaml.OCamlSet.S.t) :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.keys).
Definition difference `{_fargs : FArgs} {a d : Set} :
(option a → option a → option d) → t a → t a → t d :=
U.(Make.Make_result.Map).(Make.Map.Map_signature.difference).
End Map.
Definition Map `{_fargs : FArgs} := U.(Make.Make_result.Map).
Definition of_z_after_op `{_fargs : FArgs} : Z.t → t :=
U.(Make.Make_result.of_z_after_op).
Definition lift_1 `{_fargs : FArgs} : (Z.t → Z.t) → t → t :=
U.(Make.Make_result.lift_1).
Definition lift_2 `{_fargs : FArgs} : (Z.t → Z.t → Z.t) → t → t → t :=
U.(Make.Make_result.lift_2).
Definition logand `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.logand).
Definition logor `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.logor).
Definition logxor `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.logxor).
Definition lognot `{_fargs : FArgs} : t → t := U.(Make.Make_result.lognot).
Definition op_plus `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_plus).
Definition op_minus `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_minus).
Definition op_star `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_star).
Definition op_div `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.op_div).
Definition modulo `{_fargs : FArgs} : t → t → t :=
U.(Make.Make_result.modulo).
Definition rem `{_fargs : FArgs} : t → t → t := U.(Make.Make_result.rem).
Definition addmod `{_fargs : FArgs} : t → t → t → t :=
U.(Make.Make_result.addmod).
Definition mulmod `{_fargs : FArgs} : t → t → t → t :=
U.(Make.Make_result.mulmod).
Definition shift_left `{_fargs : FArgs} : t → int → t :=
U.(Make.Make_result.shift_left).
Definition shift_right `{_fargs : FArgs} : t → int → t :=
U.(Make.Make_result.shift_right).
Definition op_starstar `{_fargs : FArgs} : t → int → t :=
U.(Make.Make_result.op_starstar).
Definition exp_mod `{_fargs : FArgs} : t → t → t → t :=
U.(Make.Make_result.exp_mod).
Definition minus_1_64th `{_fargs : FArgs} : t → t :=
U.(Make.Make_result.minus_1_64th).
Definition bytes_to_whole_words `{_fargs : FArgs} : t → t :=
U.(Make.Make_result.bytes_to_whole_words).
Definition Repr_fargs `{_fargs : FArgs} :=
MonadVM.Byte_string.Fixed.Build_FArgs B.
Definition Repr `{_fargs : FArgs} :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Repr_fargs) :=
(MonadVM.Byte_string.Fixed.functor (_fargs := (Repr_fargs ))).
Definition bit_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
bit_width.
Definition byte_width `{_fargs : FArgs} : int :=
let '(bit_width, byte_width) := (bit_width, byte_width) in
byte_width.
Definition _rocq_fallback_max_t_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition max_t `{_fargs : FArgs} : U.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_unsigned (_rocq_fallback_max_t_0))),
((min_unsigned (_rocq_fallback_max_t_0)))) in
max_t.
Definition min_t `{_fargs : FArgs} : U.(Make.Make_result.t) :=
let '(max_t, min_t) :=
(((max_unsigned (_rocq_fallback_max_t_0))),
((min_unsigned (_rocq_fallback_max_t_0)))) in
min_t.
Definition _rocq_fallback_of_z_truncating_1 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t
→ t)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact _rocq_fallback_max_t_0 | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition of_z_truncating `{_fargs : FArgs}
: Z.t → U.(Make.Make_result.t) :=
(MonadVM.Option.get (_rocq_fallback_of_z_truncating_1))
U.(Make.Make_result.of_z_truncating).
Definition of_repr `{_fargs : FArgs} (bs : string)
: U.(Make.Make_result.t) :=
of_z_exn
(RocqOfOCaml.OCamlZ.of_bits (MonadVM.Byte_string.Bytes.reverse bs)).
Definition _rocq_fallback_to_repr_0 `{_fargs : FArgs} : ltac:(let typ := constr:(ltac:(first [unshelve refine ((ascii)%type )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition to_repr `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: string :=
let z_bytes := RocqOfOCaml.OCamlZ.to_bits (to_z x_value) in
let z_n_bytes := MonadVM.String.length z_bytes in
(Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.init)
(fun (i_value : int) ⇒
let le_i :=
RocqOfOCaml.OCamlInt.sub
(RocqOfOCaml.OCamlInt.sub byte_width i_value) 1 in
if Z.geb le_i z_n_bytes then
"000" % char
else
(MonadVM.String.get (_rocq_fallback_to_repr_0)) z_bytes le_i).
Definition to_repr_bytes `{_fargs : FArgs}
(x_value : U.(Make.Make_result.t)) : MonadVM.Byte_string.Bytes.t :=
(Repr (_fargs := _fargs)).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes)
(to_repr x_value).
as_signed x reinterprets the binary representation of x as a two's complement signed integer
of the same bit-width.
Definition as_signed `{_fargs : FArgs}
(_rocq_fallback_arg_0 :
ltac:(unshelve refine ((S.(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat))
(x_value : U.(Make.Make_result.t)) : Signed.t :=
let x_value := to_z x_value in
Signed.of_z_exn
(if
Z.leb x_value
(S.(Make.Make_result.to_z)
((max_signed (_rocq_fallback_arg_0))))
then
x_value
else
Z.sub
(Z.sub x_value
(U.(Make.Make_result.to_z)
((max_unsigned (_rocq_fallback_max_t_0))))) Z.one).
(_rocq_fallback_arg_0 :
ltac:(unshelve refine ((S.(Make.Make_result.t))%type); RocqOfOCaml.Opaque.opaque_inhabit 64%nat))
(x_value : U.(Make.Make_result.t)) : Signed.t :=
let x_value := to_z x_value in
Signed.of_z_exn
(if
Z.leb x_value
(S.(Make.Make_result.to_z)
((max_signed (_rocq_fallback_arg_0))))
then
x_value
else
Z.sub
(Z.sub x_value
(U.(Make.Make_result.to_z)
((max_unsigned (_rocq_fallback_max_t_0))))) Z.one).
Definition _rocq_fallback_sign_extend_0 `{_fargs : FArgs} :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition sign_extend `{_fargs : FArgs}
(byte_i : int) (x_value : U.(Make.Make_result.t)) : Signed.t :=
let bit_i :=
RocqOfOCaml.OCamlInt.add 7 (RocqOfOCaml.OCamlInt.mul 8 byte_i) in
Signed.of_z_exn
((RocqOfOCaml.OCamlZ.signed_extract
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_sign_extend_0))
(to_z x_value) 0 (RocqOfOCaml.OCamlInt.add 1 bit_i)).
Definition exp `{_fargs : FArgs}
(x_value : U.(Make.Make_result.t)) (y_value : U.(Make.Make_result.t))
: U.(Make.Make_result.t) :=
of_z_after_op
((RocqOfOCaml.OCamlZ.powm
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_sign_extend_0))
(to_z x_value) (to_z y_value) (Z.shiftl Z.one bit_width)).
Definition to_uint `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: MonadVM.Support.UintN.t :=
MonadVM.Support.UintN.of_z_exn (to_z x_value).
Definition of_uint_opt `{_fargs : FArgs} (x_value : MonadVM.Support.UintN.t)
: option U.(Make.Make_result.t) :=
of_z_opt (MonadVM.Support.UintN.to_z x_value).
Definition of_uint_exn `{_fargs : FArgs} (x_value : MonadVM.Support.UintN.t)
: U.(Make.Make_result.t) := of_z_exn (MonadVM.Support.UintN.to_z x_value).
Definition of_uint_truncating `{_fargs : FArgs}
(x_value : MonadVM.Support.UintN.t) : U.(Make.Make_result.t) :=
of_z_truncating (MonadVM.Support.UintN.to_z x_value).
Definition to_integer `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: Integer.t := Integer.of_z_exn (to_z x_value).
Definition of_integer_opt `{_fargs : FArgs} (x_value : Integer.t)
: option U.(Make.Make_result.t) := of_z_opt (Integer.to_z x_value).
Definition of_integer_exn `{_fargs : FArgs} (x_value : Integer.t)
: U.(Make.Make_result.t) := of_z_exn (Integer.to_z x_value).
Definition of_bytes_be_exn `{_fargs : FArgs}
(bs : MonadVM.Byte_string.Bytes.t) : U.(Make.Make_result.t) :=
of_uint_exn (MonadVM.Support.UintN.of_bytes_be bs).
Definition to_bytes_be `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: string := MonadVM.Support.UintN.to_bytes_be (to_uint x_value).
Definition of_signed_int `{_fargs : FArgs} (x_value : int)
: U.(Make.Make_result.t) :=
(Signed.as_unsigned (_rocq_fallback_max_t_0))
(Signed.op_tildedollar x_value).
Definition to_rlp `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: MonadVM.Rlp.t := MonadVM.Support.UintN.to_rlp (to_uint x_value).
Definition of_rlp `{_fargs : FArgs} (rlp : MonadVM.Rlp.t)
: option U.(Make.Make_result.t) :=
MonadVM.Option.op_letdollar (MonadVM.Support.UintN.of_rlp rlp)
(fun uint ⇒ of_uint_opt uint).
Module Checked.
Definition lift_2_or `{_fargs : FArgs} {A : Set}
(_error : A) (op : Z.t → Z.t → Z.t) (x_value : U.(Make.Make_result.t))
(y_value : U.(Make.Make_result.t)) : sum U.(Make.Make_result.t) A :=
match of_z_opt (op (to_z x_value) (to_z y_value)) with
| Some r_value ⇒ ((inl r_value) : sum U.(Make.Make_result.t) A)
| None ⇒ ((inr _error) : sum U.(Make.Make_result.t) A)
end.
Definition op_plus `{_fargs : FArgs}
: U.(Make.Make_result.t) → U.(Make.Make_result.t) →
sum U.(Make.Make_result.t) arithmetic_error :=
lift_2_or MonadVM.Numeric.Overflow Z.add.
Definition op_minus `{_fargs : FArgs}
: U.(Make.Make_result.t) → U.(Make.Make_result.t) →
sum U.(Make.Make_result.t) arithmetic_error :=
lift_2_or MonadVM.Numeric.Underflow Z.sub.
Definition op_star `{_fargs : FArgs}
: U.(Make.Make_result.t) → U.(Make.Make_result.t) →
sum U.(Make.Make_result.t) arithmetic_error :=
lift_2_or MonadVM.Numeric.Overflow Z.mul.
Definition op_div `{_fargs : FArgs}
(x_value : U.(Make.Make_result.t)) (y_value : Impl.t)
: sum U.(Make.Make_result.t) arithmetic_error :=
if op_eq y_value zero then
((inr MonadVM.Numeric.Division_by_zero) :
sum U.(Make.Make_result.t) arithmetic_error)
else
((inl (op_div x_value y_value)) :
sum U.(Make.Make_result.t) arithmetic_error).
End Checked.
End Unsigned.
Module TwosComplement_result.
Record signature `{_fargs : FArgs} {S_Impl_t : Set} {S_Set_t : Set}
{S_Map_t : Set → Set} {U_Impl_t : Set} {U_Set_t : Set}
{U_Map_t : Set → Set} {Signed_Repr_Set_t : Set}
{Signed_Repr_Map_t : Set → Set} {Unsigned_Repr_Set_t : Set}
{Unsigned_Repr_Map_t : Set → Set} : Type := {
S :
Make.Make_result (_fargs := S_fargs) (Impl_t := S_Impl_t)
(Set_t := S_Set_t) (Map_t := S_Map_t);
U :
Make.Make_result (_fargs := U_fargs) (Impl_t := U_Impl_t)
(Set_t := U_Set_t) (Map_t := U_Map_t);
max_unsigned :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t;
min_unsigned :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t;
max_signed :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t;
min_signed :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t;
bit_width : int;
byte_width : int;
Signed_Impl_t := S_Impl_t;
Signed_Impl_signed : bool;
Signed_Impl_max_t : option S_Impl_t;
Signed_Impl_min_t : option S_Impl_t;
Signed_Impl_in_range : Z.t → bool;
Signed_Impl_of_z_opt : Z.t → option S_Impl_t;
Signed_Impl_of_z_truncating : option (Z.t → S_Impl_t);
Signed_Impl_to_z : S_Impl_t → Z.t;
Signed_Impl_testbit : S_Impl_t → int → bool;
Signed_t := S_Impl_t;
Signed_signed : bool;
Signed_in_range : Z.t → bool;
Signed_of_z_opt : Z.t → option S_Impl_t;
Signed_to_z : S_Impl_t → Z.t;
Signed_testbit : S_Impl_t → int → bool;
Signed_of_z_exn : Z.t → S_Impl_t;
Signed_zero : S_Impl_t;
Signed_one : S_Impl_t;
Signed_byte : int → S_Impl_t → ascii;
Signed_significant_bits : S_Impl_t → int;
Signed_significant_bytes : S_Impl_t → int;
Signed_of_bool : bool → S_Impl_t;
Signed_of_byte : ascii → S_Impl_t;
Signed_of_int : int → S_Impl_t;
op_Signed_tildedollar : int → S_Impl_t;
Signed_to_int : S_Impl_t → int;
Signed_to_int_opt : S_Impl_t → option int;
Signed_of_uint64 : int64 → S_Impl_t;
Signed_of_int64 : int64 → S_Impl_t;
Signed_to_uint64 : S_Impl_t → int64;
Signed_to_int64 : S_Impl_t → int64;
Signed_of_uint32 : int32 → S_Impl_t;
Signed_of_int32 : int32 → S_Impl_t;
Signed_to_uint32 : S_Impl_t → int32;
Signed_to_int32 : S_Impl_t → int32;
Signed_hash : S_Impl_t → int;
Signed_comparison_op :
(int → int → bool) → S_Impl_t → S_Impl_t → bool;
op_Signed_lt : S_Impl_t → S_Impl_t → bool;
op_Signed_lteq : S_Impl_t → S_Impl_t → bool;
op_Signed_eq : S_Impl_t → S_Impl_t → bool;
op_Signed_gteq : S_Impl_t → S_Impl_t → bool;
op_Signed_gt : S_Impl_t → S_Impl_t → bool;
op_Signed_ltgt : S_Impl_t → S_Impl_t → bool;
Signed_equal : S_Impl_t → S_Impl_t → bool;
Signed_compare : S_Impl_t → S_Impl_t → int;
Signed_max : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_min : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_Set_t := S_Set_t;
Signed_Set : RocqOfOCaml.OCamlSet.S (elt := S_Impl_t) (t := S_Set_t);
Signed_is_zero : S_Impl_t → bool;
Signed_to_string : S_Impl_t → string;
Signed_to_hex_string : S_Impl_t → string;
Signed_of_string : string → S_Impl_t;
op_Signed_tildeat : string → S_Impl_t;
Signed_Map_key := S_Impl_t;
Signed_Map_t := S_Map_t;
Signed_Map_empty : ∀ {a : Set} , S_Map_t a;
Signed_Map_add :
∀ {a : Set} , S_Impl_t → a → S_Map_t a → S_Map_t a;
Signed_Map_add_to_list :
∀ {a : Set} , S_Impl_t → a → S_Map_t (list a) → S_Map_t (list a);
Signed_Map_update :
∀ {a : Set} ,
S_Impl_t → (option a → option a) → S_Map_t a → S_Map_t a;
Signed_Map_singleton : ∀ {a : Set} , S_Impl_t → a → S_Map_t a;
Signed_Map_remove : ∀ {a : Set} , S_Impl_t → S_Map_t a → S_Map_t a;
Signed_Map_merge :
∀ {a b c : Set} ,
(S_Impl_t → option a → option b → option c) → S_Map_t a →
S_Map_t b → S_Map_t c;
Signed_Map_union :
∀ {a : Set} ,
(S_Impl_t → a → a → option a) → S_Map_t a → S_Map_t a →
S_Map_t a;
Signed_Map_cardinal : ∀ {a : Set} , S_Map_t a → int;
Signed_Map_bindings : ∀ {a : Set} , S_Map_t a → list (S_Impl_t × a);
Signed_Map_min_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Map_t a → S_Impl_t × a;
Signed_Map_min_binding_opt :
∀ {a : Set} , S_Map_t a → option (S_Impl_t × a);
Signed_Map_max_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Map_t a → S_Impl_t × a;
Signed_Map_max_binding_opt :
∀ {a : Set} , S_Map_t a → option (S_Impl_t × a);
Signed_Map_choose :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Map_t a → S_Impl_t × a;
Signed_Map_choose_opt :
∀ {a : Set} , S_Map_t a → option (S_Impl_t × a);
Signed_Map_find :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t → S_Map_t a → a;
Signed_Map_find_opt :
∀ {a : Set} , S_Impl_t → S_Map_t a → option a;
Signed_Map_find_first :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(S_Impl_t → bool) → S_Map_t a → S_Impl_t × a;
Signed_Map_find_first_opt :
∀ {a : Set} ,
(S_Impl_t → bool) → S_Map_t a → option (S_Impl_t × a);
Signed_Map_find_last :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(S_Impl_t → bool) → S_Map_t a → S_Impl_t × a;
Signed_Map_find_last_opt :
∀ {a : Set} ,
(S_Impl_t → bool) → S_Map_t a → option (S_Impl_t × a);
Signed_Map_iter :
∀ {a : Set} , (S_Impl_t → a → unit) → S_Map_t a → unit;
Signed_Map_fold :
∀ {a acc : Set} ,
(S_Impl_t → a → acc → acc) → S_Map_t a → acc → acc;
Signed_Map_map : ∀ {a b : Set} , (a → b) → S_Map_t a → S_Map_t b;
Signed_Map_mapi :
∀ {a b : Set} , (S_Impl_t → a → b) → S_Map_t a → S_Map_t b;
Signed_Map_filter :
∀ {a : Set} , (S_Impl_t → a → bool) → S_Map_t a → S_Map_t a;
Signed_Map_filter_map :
∀ {a b : Set} ,
(S_Impl_t → a → option b) → S_Map_t a → S_Map_t b;
Signed_Map_partition :
∀ {a : Set} ,
(S_Impl_t → a → bool) → S_Map_t a → S_Map_t a × S_Map_t a;
Signed_Map_split :
∀ {a : Set} ,
S_Impl_t → S_Map_t a → S_Map_t a × option a × S_Map_t a;
Signed_Map_is_empty : ∀ {a : Set} , S_Map_t a → bool;
Signed_Map_is_singleton : ∀ {a : Set} , S_Map_t a → bool;
Signed_Map_mem : ∀ {a : Set} , S_Impl_t → S_Map_t a → bool;
Signed_Map_equal :
∀ {a : Set} , (a → a → bool) → S_Map_t a → S_Map_t a → bool;
Signed_Map_compare :
∀ {a : Set} , (a → a → int) → S_Map_t a → S_Map_t a → int;
Signed_Map_for_all :
∀ {a : Set} , (S_Impl_t → a → bool) → S_Map_t a → bool;
Signed_Map_exists :
∀ {a : Set} , (S_Impl_t → a → bool) → S_Map_t a → bool;
Signed_Map_to_list : ∀ {a : Set} , S_Map_t a → list (S_Impl_t × a);
Signed_Map_of_list : ∀ {a : Set} , list (S_Impl_t × a) → S_Map_t a;
Signed_Map_to_seq :
∀ {a : Set} , S_Map_t a → RocqOfOCaml.OCamlSeq.t (S_Impl_t × a);
Signed_Map_to_rev_seq :
∀ {a : Set} , S_Map_t a → RocqOfOCaml.OCamlSeq.t (S_Impl_t × a);
Signed_Map_to_seq_from :
∀ {a : Set} ,
S_Impl_t → S_Map_t a → RocqOfOCaml.OCamlSeq.t (S_Impl_t × a);
Signed_Map_add_seq :
∀ {a : Set} ,
RocqOfOCaml.OCamlSeq.t (S_Impl_t × a) → S_Map_t a → S_Map_t a;
Signed_Map_of_seq :
∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (S_Impl_t × a) → S_Map_t a;
Signed_Map_at :
∀ {v : Set} , S_Impl_t → Lens.t (S_Map_t v) (option v);
Signed_Map_keys : ∀ {a : Set} , S_Map_t a → S_Set_t;
Signed_Map_difference :
∀ {a d : Set} ,
(option a → option a → option d) → S_Map_t a → S_Map_t a →
S_Map_t d;
Signed_of_z_after_op : Z.t → S_Impl_t;
Signed_lift_1 : (Z.t → Z.t) → S_Impl_t → S_Impl_t;
Signed_lift_2 : (Z.t → Z.t → Z.t) → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_logand : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_logor : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_logxor : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_lognot : S_Impl_t → S_Impl_t;
op_Signed_plus : S_Impl_t → S_Impl_t → S_Impl_t;
op_Signed_minus : S_Impl_t → S_Impl_t → S_Impl_t;
op_Signed_star : S_Impl_t → S_Impl_t → S_Impl_t;
op_Signed_div : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_modulo : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_rem : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_addmod : S_Impl_t → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_mulmod : S_Impl_t → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_shift_left : S_Impl_t → int → S_Impl_t;
Signed_shift_right : S_Impl_t → int → S_Impl_t;
op_Signed_starstar : S_Impl_t → int → S_Impl_t;
Signed_exp_mod : S_Impl_t → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_minus_1_64th : S_Impl_t → S_Impl_t;
Signed_bytes_to_whole_words : S_Impl_t → S_Impl_t;
Signed_Repr :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Signed.Repr_fargs)
(Set_t := Signed_Repr_Set_t) (Map_t := Signed_Repr_Map_t);
Signed_bit_width : int;
Signed_byte_width : int;
Signed_max_t : S_Impl_t;
Signed_min_t : S_Impl_t;
Signed_of_z_truncating : Z.t → S_Impl_t;
Signed_of_repr : string → S_Impl_t;
Signed_to_repr : S_Impl_t → string;
Signed_as_unsigned :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t → U_Impl_t;
Unsigned_Impl_t := U_Impl_t;
Unsigned_Impl_signed : bool;
Unsigned_Impl_max_t : option U_Impl_t;
Unsigned_Impl_min_t : option U_Impl_t;
Unsigned_Impl_in_range : Z.t → bool;
Unsigned_Impl_of_z_opt : Z.t → option U_Impl_t;
Unsigned_Impl_of_z_truncating : option (Z.t → U_Impl_t);
Unsigned_Impl_to_z : U_Impl_t → Z.t;
Unsigned_Impl_testbit : U_Impl_t → int → bool;
Unsigned_t := U_Impl_t;
Unsigned_signed : bool;
Unsigned_in_range : Z.t → bool;
Unsigned_of_z_opt : Z.t → option U_Impl_t;
Unsigned_to_z : U_Impl_t → Z.t;
Unsigned_testbit : U_Impl_t → int → bool;
Unsigned_of_z_exn : Z.t → U_Impl_t;
Unsigned_zero : U_Impl_t;
Unsigned_one : U_Impl_t;
Unsigned_byte : int → U_Impl_t → ascii;
Unsigned_significant_bits : U_Impl_t → int;
Unsigned_significant_bytes : U_Impl_t → int;
Unsigned_of_bool : bool → U_Impl_t;
Unsigned_of_byte : ascii → U_Impl_t;
Unsigned_of_int : int → U_Impl_t;
op_Unsigned_tildedollar : int → U_Impl_t;
Unsigned_to_int : U_Impl_t → int;
Unsigned_to_int_opt : U_Impl_t → option int;
Unsigned_of_uint64 : int64 → U_Impl_t;
Unsigned_of_int64 : int64 → U_Impl_t;
Unsigned_to_uint64 : U_Impl_t → int64;
Unsigned_to_int64 : U_Impl_t → int64;
Unsigned_of_uint32 : int32 → U_Impl_t;
Unsigned_of_int32 : int32 → U_Impl_t;
Unsigned_to_uint32 : U_Impl_t → int32;
Unsigned_to_int32 : U_Impl_t → int32;
Unsigned_hash : U_Impl_t → int;
Unsigned_comparison_op :
(int → int → bool) → U_Impl_t → U_Impl_t → bool;
op_Unsigned_lt : U_Impl_t → U_Impl_t → bool;
op_Unsigned_lteq : U_Impl_t → U_Impl_t → bool;
op_Unsigned_eq : U_Impl_t → U_Impl_t → bool;
op_Unsigned_gteq : U_Impl_t → U_Impl_t → bool;
op_Unsigned_gt : U_Impl_t → U_Impl_t → bool;
op_Unsigned_ltgt : U_Impl_t → U_Impl_t → bool;
Unsigned_equal : U_Impl_t → U_Impl_t → bool;
Unsigned_compare : U_Impl_t → U_Impl_t → int;
Unsigned_max : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_min : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_Set_t := U_Set_t;
Unsigned_Set : RocqOfOCaml.OCamlSet.S (elt := U_Impl_t) (t := U_Set_t);
Unsigned_is_zero : U_Impl_t → bool;
Unsigned_to_string : U_Impl_t → string;
Unsigned_to_hex_string : U_Impl_t → string;
Unsigned_of_string : string → U_Impl_t;
op_Unsigned_tildeat : string → U_Impl_t;
Unsigned_Map_key := U_Impl_t;
Unsigned_Map_t := U_Map_t;
Unsigned_Map_empty : ∀ {a : Set} , U_Map_t a;
Unsigned_Map_add :
∀ {a : Set} , U_Impl_t → a → U_Map_t a → U_Map_t a;
Unsigned_Map_add_to_list :
∀ {a : Set} , U_Impl_t → a → U_Map_t (list a) → U_Map_t (list a);
Unsigned_Map_update :
∀ {a : Set} ,
U_Impl_t → (option a → option a) → U_Map_t a → U_Map_t a;
Unsigned_Map_singleton : ∀ {a : Set} , U_Impl_t → a → U_Map_t a;
Unsigned_Map_remove :
∀ {a : Set} , U_Impl_t → U_Map_t a → U_Map_t a;
Unsigned_Map_merge :
∀ {a b c : Set} ,
(U_Impl_t → option a → option b → option c) → U_Map_t a →
U_Map_t b → U_Map_t c;
Unsigned_Map_union :
∀ {a : Set} ,
(U_Impl_t → a → a → option a) → U_Map_t a → U_Map_t a →
U_Map_t a;
Unsigned_Map_cardinal : ∀ {a : Set} , U_Map_t a → int;
Unsigned_Map_bindings :
∀ {a : Set} , U_Map_t a → list (U_Impl_t × a);
Unsigned_Map_min_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Map_t a → U_Impl_t × a;
Unsigned_Map_min_binding_opt :
∀ {a : Set} , U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_max_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Map_t a → U_Impl_t × a;
Unsigned_Map_max_binding_opt :
∀ {a : Set} , U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_choose :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Map_t a → U_Impl_t × a;
Unsigned_Map_choose_opt :
∀ {a : Set} , U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_find :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t → U_Map_t a → a;
Unsigned_Map_find_opt :
∀ {a : Set} , U_Impl_t → U_Map_t a → option a;
Unsigned_Map_find_first :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(U_Impl_t → bool) → U_Map_t a → U_Impl_t × a;
Unsigned_Map_find_first_opt :
∀ {a : Set} ,
(U_Impl_t → bool) → U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_find_last :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(U_Impl_t → bool) → U_Map_t a → U_Impl_t × a;
Unsigned_Map_find_last_opt :
∀ {a : Set} ,
(U_Impl_t → bool) → U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_iter :
∀ {a : Set} , (U_Impl_t → a → unit) → U_Map_t a → unit;
Unsigned_Map_fold :
∀ {a acc : Set} ,
(U_Impl_t → a → acc → acc) → U_Map_t a → acc → acc;
Unsigned_Map_map :
∀ {a b : Set} , (a → b) → U_Map_t a → U_Map_t b;
Unsigned_Map_mapi :
∀ {a b : Set} , (U_Impl_t → a → b) → U_Map_t a → U_Map_t b;
Unsigned_Map_filter :
∀ {a : Set} , (U_Impl_t → a → bool) → U_Map_t a → U_Map_t a;
Unsigned_Map_filter_map :
∀ {a b : Set} ,
(U_Impl_t → a → option b) → U_Map_t a → U_Map_t b;
Unsigned_Map_partition :
∀ {a : Set} ,
(U_Impl_t → a → bool) → U_Map_t a → U_Map_t a × U_Map_t a;
Unsigned_Map_split :
∀ {a : Set} ,
U_Impl_t → U_Map_t a → U_Map_t a × option a × U_Map_t a;
Unsigned_Map_is_empty : ∀ {a : Set} , U_Map_t a → bool;
Unsigned_Map_is_singleton : ∀ {a : Set} , U_Map_t a → bool;
Unsigned_Map_mem : ∀ {a : Set} , U_Impl_t → U_Map_t a → bool;
Unsigned_Map_equal :
∀ {a : Set} , (a → a → bool) → U_Map_t a → U_Map_t a → bool;
Unsigned_Map_compare :
∀ {a : Set} , (a → a → int) → U_Map_t a → U_Map_t a → int;
Unsigned_Map_for_all :
∀ {a : Set} , (U_Impl_t → a → bool) → U_Map_t a → bool;
Unsigned_Map_exists :
∀ {a : Set} , (U_Impl_t → a → bool) → U_Map_t a → bool;
Unsigned_Map_to_list :
∀ {a : Set} , U_Map_t a → list (U_Impl_t × a);
Unsigned_Map_of_list :
∀ {a : Set} , list (U_Impl_t × a) → U_Map_t a;
Unsigned_Map_to_seq :
∀ {a : Set} , U_Map_t a → RocqOfOCaml.OCamlSeq.t (U_Impl_t × a);
Unsigned_Map_to_rev_seq :
∀ {a : Set} , U_Map_t a → RocqOfOCaml.OCamlSeq.t (U_Impl_t × a);
Unsigned_Map_to_seq_from :
∀ {a : Set} ,
U_Impl_t → U_Map_t a → RocqOfOCaml.OCamlSeq.t (U_Impl_t × a);
Unsigned_Map_add_seq :
∀ {a : Set} ,
RocqOfOCaml.OCamlSeq.t (U_Impl_t × a) → U_Map_t a → U_Map_t a;
Unsigned_Map_of_seq :
∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (U_Impl_t × a) → U_Map_t a;
Unsigned_Map_at :
∀ {v : Set} , U_Impl_t → Lens.t (U_Map_t v) (option v);
Unsigned_Map_keys : ∀ {a : Set} , U_Map_t a → U_Set_t;
Unsigned_Map_difference :
∀ {a d : Set} ,
(option a → option a → option d) → U_Map_t a → U_Map_t a →
U_Map_t d;
Unsigned_of_z_after_op : Z.t → U_Impl_t;
Unsigned_lift_1 : (Z.t → Z.t) → U_Impl_t → U_Impl_t;
Unsigned_lift_2 : (Z.t → Z.t → Z.t) → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_logand : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_logor : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_logxor : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_lognot : U_Impl_t → U_Impl_t;
op_Unsigned_plus : U_Impl_t → U_Impl_t → U_Impl_t;
op_Unsigned_minus : U_Impl_t → U_Impl_t → U_Impl_t;
op_Unsigned_star : U_Impl_t → U_Impl_t → U_Impl_t;
op_Unsigned_div : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_modulo : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_rem : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_addmod : U_Impl_t → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_mulmod : U_Impl_t → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_shift_left : U_Impl_t → int → U_Impl_t;
Unsigned_shift_right : U_Impl_t → int → U_Impl_t;
op_Unsigned_starstar : U_Impl_t → int → U_Impl_t;
Unsigned_exp_mod : U_Impl_t → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_minus_1_64th : U_Impl_t → U_Impl_t;
Unsigned_bytes_to_whole_words : U_Impl_t → U_Impl_t;
Unsigned_Repr :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Unsigned.Repr_fargs)
(Set_t := Unsigned_Repr_Set_t) (Map_t := Unsigned_Repr_Map_t);
Unsigned_bit_width : int;
Unsigned_byte_width : int;
Unsigned_max_t : U_Impl_t;
Unsigned_min_t : U_Impl_t;
Unsigned_of_z_truncating : Z.t → U_Impl_t;
Unsigned_of_repr : string → U_Impl_t;
Unsigned_to_repr : U_Impl_t → string;
Unsigned_to_repr_bytes : U_Impl_t → MonadVM.Byte_string.Bytes.t;
Unsigned_as_signed :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t → Signed_t;
Unsigned_sign_extend : int → U_Impl_t → Signed_t;
Unsigned_exp : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_to_uint : U_Impl_t → MonadVM.Support.UintN.t;
Unsigned_of_uint_opt : MonadVM.Support.UintN.t → option U_Impl_t;
Unsigned_of_uint_exn : MonadVM.Support.UintN.t → U_Impl_t;
Unsigned_of_uint_truncating : MonadVM.Support.UintN.t → U_Impl_t;
Unsigned_to_integer : U_Impl_t → Integer.t;
Unsigned_of_integer_opt : Integer.t → option U_Impl_t;
Unsigned_of_integer_exn : Integer.t → U_Impl_t;
Unsigned_of_bytes_be_exn : MonadVM.Byte_string.Bytes.t → U_Impl_t;
Unsigned_to_bytes_be : U_Impl_t → string;
Unsigned_of_signed_int : int → U_Impl_t;
Unsigned_to_rlp : U_Impl_t → MonadVM.Rlp.t;
Unsigned_of_rlp : MonadVM.Rlp.t → option U_Impl_t;
Unsigned_Checked_lift_2_or :
∀ {A : Set} ,
A → (Z.t → Z.t → Z.t) → U_Impl_t → U_Impl_t → sum U_Impl_t A;
op_Unsigned_Checked_plus :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
op_Unsigned_Checked_minus :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
op_Unsigned_Checked_star :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
op_Unsigned_Checked_div :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
S_Impl_t := S_Impl_t;
S_Set_t := S_Set_t;
S_Map_t := S_Map_t;
U_Impl_t := U_Impl_t;
U_Set_t := U_Set_t;
U_Map_t := U_Map_t;
Signed_Repr_Set_t := Signed_Repr_Set_t;
Signed_Repr_Map_t := Signed_Repr_Map_t;
Unsigned_Repr_Set_t := Unsigned_Repr_Set_t;
Unsigned_Repr_Map_t := Unsigned_Repr_Map_t;
}.
End TwosComplement_result.
Definition TwosComplement_result `{_fargs : FArgs} :=
@TwosComplement_result.signature _.
Arguments TwosComplement_result {_ _ _ _ _ _ _ _ _ _ _}.
Definition functor `{_fargs : FArgs}
:TwosComplement_result (S_Impl_t := _) (S_Set_t := _) (S_Map_t := _)
(U_Impl_t := _) (U_Set_t := _) (U_Map_t := _) (Signed_Repr_Set_t := _)
(Signed_Repr_Map_t := _) (Unsigned_Repr_Set_t := _)
(Unsigned_Repr_Map_t := _) :=
{|
TwosComplement_result.S := S;
TwosComplement_result.U := U;
TwosComplement_result.max_unsigned := @max_unsigned _;
TwosComplement_result.min_unsigned := @min_unsigned _;
TwosComplement_result.max_signed := @max_signed _;
TwosComplement_result.min_signed := @min_signed _;
TwosComplement_result.bit_width := bit_width;
TwosComplement_result.byte_width := byte_width;
TwosComplement_result.Signed_Impl_signed := Signed.Impl.signed;
TwosComplement_result.Signed_Impl_max_t := Signed.Impl.max_t;
TwosComplement_result.Signed_Impl_min_t := Signed.Impl.min_t;
TwosComplement_result.Signed_Impl_in_range := Signed.Impl.in_range;
TwosComplement_result.Signed_Impl_of_z_opt := Signed.Impl.of_z_opt;
TwosComplement_result.Signed_Impl_of_z_truncating :=
Signed.Impl.of_z_truncating;
TwosComplement_result.Signed_Impl_to_z := Signed.Impl.to_z;
TwosComplement_result.Signed_Impl_testbit := Signed.Impl.testbit;
TwosComplement_result.Signed_signed := Signed.signed;
TwosComplement_result.Signed_in_range := Signed.in_range;
TwosComplement_result.Signed_of_z_opt := Signed.of_z_opt;
TwosComplement_result.Signed_to_z := Signed.to_z;
TwosComplement_result.Signed_testbit := Signed.testbit;
TwosComplement_result.Signed_of_z_exn := Signed.of_z_exn;
TwosComplement_result.Signed_zero := Signed.zero;
TwosComplement_result.Signed_one := Signed.one;
TwosComplement_result.Signed_byte := Signed.byte;
TwosComplement_result.Signed_significant_bits := Signed.significant_bits;
TwosComplement_result.Signed_significant_bytes := Signed.significant_bytes;
TwosComplement_result.Signed_of_bool := Signed.of_bool;
TwosComplement_result.Signed_of_byte := Signed.of_byte;
TwosComplement_result.Signed_of_int := Signed.of_int;
TwosComplement_result.op_Signed_tildedollar := Signed.op_tildedollar;
TwosComplement_result.Signed_to_int := Signed.to_int;
TwosComplement_result.Signed_to_int_opt := Signed.to_int_opt;
TwosComplement_result.Signed_of_uint64 := Signed.of_uint64;
TwosComplement_result.Signed_of_int64 := Signed.of_int64;
TwosComplement_result.Signed_to_uint64 := Signed.to_uint64;
TwosComplement_result.Signed_to_int64 := Signed.to_int64;
TwosComplement_result.Signed_of_uint32 := Signed.of_uint32;
TwosComplement_result.Signed_of_int32 := Signed.of_int32;
TwosComplement_result.Signed_to_uint32 := Signed.to_uint32;
TwosComplement_result.Signed_to_int32 := Signed.to_int32;
TwosComplement_result.Signed_hash := Signed.hash;
TwosComplement_result.Signed_comparison_op := Signed.comparison_op;
TwosComplement_result.op_Signed_lt := Signed.op_lt;
TwosComplement_result.op_Signed_lteq := Signed.op_lteq;
TwosComplement_result.op_Signed_eq := Signed.op_eq;
TwosComplement_result.op_Signed_gteq := Signed.op_gteq;
TwosComplement_result.op_Signed_gt := Signed.op_gt;
TwosComplement_result.op_Signed_ltgt := Signed.op_ltgt;
TwosComplement_result.Signed_equal := Signed.equal;
TwosComplement_result.Signed_compare := Signed.compare;
TwosComplement_result.Signed_max := Signed.max;
TwosComplement_result.Signed_min := Signed.min;
TwosComplement_result.Signed_Set := Signed._Set;
TwosComplement_result.Signed_is_zero := Signed.is_zero;
TwosComplement_result.Signed_to_string := Signed.to_string;
TwosComplement_result.Signed_to_hex_string := Signed.to_hex_string;
TwosComplement_result.Signed_of_string := Signed.of_string;
TwosComplement_result.op_Signed_tildeat := Signed.op_tildeat;
TwosComplement_result.Signed_Map_empty _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.empty ) | exact (Signed.Map.empty
_) | first [unshelve refine (Signed.Map.empty
) | unshelve refine (Signed.Map.empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_add _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.add ) | exact (Signed.Map.add
_) | first [unshelve refine (Signed.Map.add
) | unshelve refine (Signed.Map.add
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_add_to_list _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.add_to_list
) | exact (Signed.Map.add_to_list
_) | first [unshelve refine (Signed.Map.add_to_list
) | unshelve refine (Signed.Map.add_to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_update _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.update ) | exact (Signed.Map.update
_) | first [unshelve refine (Signed.Map.update
) | unshelve refine (Signed.Map.update
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_singleton _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.singleton ) | exact (Signed.Map.singleton
_) | first [unshelve refine (Signed.Map.singleton
) | unshelve refine (Signed.Map.singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_remove _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.remove ) | exact (Signed.Map.remove
_) | first [unshelve refine (Signed.Map.remove
) | unshelve refine (Signed.Map.remove
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_merge _rocq_argument_0 _rocq_argument_1
_rocq_argument_2 := ltac:(first [exact (Signed.Map.merge
) | exact (Signed.Map.merge _) | exact (Signed.Map.merge _
_) | exact (Signed.Map.merge _ _
_) | first [unshelve refine (Signed.Map.merge
) | unshelve refine (Signed.Map.merge
_rocq_argument_0) | unshelve refine (Signed.Map.merge _rocq_argument_0
_rocq_argument_1) | unshelve refine (Signed.Map.merge _rocq_argument_0
_rocq_argument_1
_rocq_argument_2)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact _rocq_argument_1 | exact
_rocq_argument_2 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_union _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.union ) | exact (Signed.Map.union
_) | first [unshelve refine (Signed.Map.union
) | unshelve refine (Signed.Map.union
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_cardinal _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.cardinal ) | exact (Signed.Map.cardinal
_) | first [unshelve refine (Signed.Map.cardinal
) | unshelve refine (Signed.Map.cardinal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_bindings _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.bindings ) | exact (Signed.Map.bindings
_) | first [unshelve refine (Signed.Map.bindings
) | unshelve refine (Signed.Map.bindings
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_min_binding _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.min_binding
_rocq_witness_0) | unshelve refine (Signed.Map.min_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.min_binding
) | unshelve refine (Signed.Map.min_binding
_rocq_argument_0) | let value := uconstr:(Signed.Map.min_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_min_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.min_binding_opt
) | exact (Signed.Map.min_binding_opt
_) | first [unshelve refine (Signed.Map.min_binding_opt
) | unshelve refine (Signed.Map.min_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_max_binding _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.max_binding
_rocq_witness_0) | unshelve refine (Signed.Map.max_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.max_binding
) | unshelve refine (Signed.Map.max_binding
_rocq_argument_0) | let value := uconstr:(Signed.Map.max_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_max_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.max_binding_opt
) | exact (Signed.Map.max_binding_opt
_) | first [unshelve refine (Signed.Map.max_binding_opt
) | unshelve refine (Signed.Map.max_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_choose _rocq_argument_0 _rocq_witness_0
:= ltac:(first [unshelve refine (Signed.Map.choose
_rocq_witness_0) | unshelve refine (Signed.Map.choose _rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.choose
) | unshelve refine (Signed.Map.choose
_rocq_argument_0) | let value := uconstr:(Signed.Map.choose) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_choose_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.choose_opt
) | exact (Signed.Map.choose_opt
_) | first [unshelve refine (Signed.Map.choose_opt
) | unshelve refine (Signed.Map.choose_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_find _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (Signed.Map.find
_rocq_witness_0) | unshelve refine (Signed.Map.find _rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.find
) | unshelve refine (Signed.Map.find
_rocq_argument_0) | let value := uconstr:(Signed.Map.find) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_find_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.find_opt ) | exact (Signed.Map.find_opt
_) | first [unshelve refine (Signed.Map.find_opt
) | unshelve refine (Signed.Map.find_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_find_first _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.find_first
_rocq_witness_0) | unshelve refine (Signed.Map.find_first
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.find_first
) | unshelve refine (Signed.Map.find_first
_rocq_argument_0) | let value := uconstr:(Signed.Map.find_first) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_find_first_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.find_first_opt
) | exact (Signed.Map.find_first_opt
_) | first [unshelve refine (Signed.Map.find_first_opt
) | unshelve refine (Signed.Map.find_first_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_find_last _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.find_last
_rocq_witness_0) | unshelve refine (Signed.Map.find_last
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.find_last
) | unshelve refine (Signed.Map.find_last
_rocq_argument_0) | let value := uconstr:(Signed.Map.find_last) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_find_last_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.find_last_opt
) | exact (Signed.Map.find_last_opt
_) | first [unshelve refine (Signed.Map.find_last_opt
) | unshelve refine (Signed.Map.find_last_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_iter _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.iter ) | exact (Signed.Map.iter
_) | first [unshelve refine (Signed.Map.iter
) | unshelve refine (Signed.Map.iter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_fold _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (Signed.Map.fold ) | exact (Signed.Map.fold
_) | exact (Signed.Map.fold _
_) | first [unshelve refine (Signed.Map.fold
) | unshelve refine (Signed.Map.fold
_rocq_argument_0) | unshelve refine (Signed.Map.fold _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_map _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (Signed.Map.map ) | exact (Signed.Map.map
_) | exact (Signed.Map.map _ _) | first [unshelve refine (Signed.Map.map
) | unshelve refine (Signed.Map.map
_rocq_argument_0) | unshelve refine (Signed.Map.map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_mapi _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (Signed.Map.mapi ) | exact (Signed.Map.mapi
_) | exact (Signed.Map.mapi _
_) | first [unshelve refine (Signed.Map.mapi
) | unshelve refine (Signed.Map.mapi
_rocq_argument_0) | unshelve refine (Signed.Map.mapi _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_filter _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.filter ) | exact (Signed.Map.filter
_) | first [unshelve refine (Signed.Map.filter
) | unshelve refine (Signed.Map.filter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_filter_map _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Signed.Map.filter_map
) | exact (Signed.Map.filter_map _) | exact (Signed.Map.filter_map _
_) | first [unshelve refine (Signed.Map.filter_map
) | unshelve refine (Signed.Map.filter_map
_rocq_argument_0) | unshelve refine (Signed.Map.filter_map
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_partition _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.partition ) | exact (Signed.Map.partition
_) | first [unshelve refine (Signed.Map.partition
) | unshelve refine (Signed.Map.partition
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_split _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.split ) | exact (Signed.Map.split
_) | first [unshelve refine (Signed.Map.split
) | unshelve refine (Signed.Map.split
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_is_empty _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.is_empty ) | exact (Signed.Map.is_empty
_) | first [unshelve refine (Signed.Map.is_empty
) | unshelve refine (Signed.Map.is_empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_is_singleton _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.is_singleton
) | exact (Signed.Map.is_singleton
_) | first [unshelve refine (Signed.Map.is_singleton
) | unshelve refine (Signed.Map.is_singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_mem _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.mem ) | exact (Signed.Map.mem
_) | first [unshelve refine (Signed.Map.mem
) | unshelve refine (Signed.Map.mem
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_equal _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.equal ) | exact (Signed.Map.equal
_) | first [unshelve refine (Signed.Map.equal
) | unshelve refine (Signed.Map.equal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_compare _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.compare ) | exact (Signed.Map.compare
_) | first [unshelve refine (Signed.Map.compare
) | unshelve refine (Signed.Map.compare
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_for_all _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.for_all ) | exact (Signed.Map.for_all
_) | first [unshelve refine (Signed.Map.for_all
) | unshelve refine (Signed.Map.for_all
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_exists _rocq_argument_0 :=
ltac:(first [exact (Signed.Map._exists ) | exact (Signed.Map._exists
_) | first [unshelve refine (Signed.Map._exists
) | unshelve refine (Signed.Map._exists
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_list _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_list ) | exact (Signed.Map.to_list
_) | first [unshelve refine (Signed.Map.to_list
) | unshelve refine (Signed.Map.to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_of_list _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.of_list ) | exact (Signed.Map.of_list
_) | first [unshelve refine (Signed.Map.of_list
) | unshelve refine (Signed.Map.of_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_seq ) | exact (Signed.Map.to_seq
_) | first [unshelve refine (Signed.Map.to_seq
) | unshelve refine (Signed.Map.to_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_rev_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_rev_seq
) | exact (Signed.Map.to_rev_seq
_) | first [unshelve refine (Signed.Map.to_rev_seq
) | unshelve refine (Signed.Map.to_rev_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_seq_from _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_seq_from
) | exact (Signed.Map.to_seq_from
_) | first [unshelve refine (Signed.Map.to_seq_from
) | unshelve refine (Signed.Map.to_seq_from
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_add_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.add_seq ) | exact (Signed.Map.add_seq
_) | first [unshelve refine (Signed.Map.add_seq
) | unshelve refine (Signed.Map.add_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_of_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.of_seq ) | exact (Signed.Map.of_seq
_) | first [unshelve refine (Signed.Map.of_seq
) | unshelve refine (Signed.Map.of_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_at _rocq_argument_0 :=
ltac:(first [exact (Signed.Map._at ) | exact (Signed.Map._at
_) | first [unshelve refine (Signed.Map._at
) | unshelve refine (Signed.Map._at
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_keys _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.keys ) | exact (Signed.Map.keys
_) | first [unshelve refine (Signed.Map.keys
) | unshelve refine (Signed.Map.keys
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_difference _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Signed.Map.difference
) | exact (Signed.Map.difference _) | exact (Signed.Map.difference _
_) | first [unshelve refine (Signed.Map.difference
) | unshelve refine (Signed.Map.difference
_rocq_argument_0) | unshelve refine (Signed.Map.difference
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_of_z_after_op := Signed.of_z_after_op;
TwosComplement_result.Signed_lift_1 := Signed.lift_1;
TwosComplement_result.Signed_lift_2 := Signed.lift_2;
TwosComplement_result.Signed_logand := Signed.logand;
TwosComplement_result.Signed_logor := Signed.logor;
TwosComplement_result.Signed_logxor := Signed.logxor;
TwosComplement_result.Signed_lognot := Signed.lognot;
TwosComplement_result.op_Signed_plus := Signed.op_plus;
TwosComplement_result.op_Signed_minus := Signed.op_minus;
TwosComplement_result.op_Signed_star := Signed.op_star;
TwosComplement_result.op_Signed_div := Signed.op_div;
TwosComplement_result.Signed_modulo := Signed.modulo;
TwosComplement_result.Signed_rem := Signed.rem;
TwosComplement_result.Signed_addmod := Signed.addmod;
TwosComplement_result.Signed_mulmod := Signed.mulmod;
TwosComplement_result.Signed_shift_left := Signed.shift_left;
TwosComplement_result.Signed_shift_right := Signed.shift_right;
TwosComplement_result.op_Signed_starstar := Signed.op_starstar;
TwosComplement_result.Signed_exp_mod := Signed.exp_mod;
TwosComplement_result.Signed_minus_1_64th := Signed.minus_1_64th;
TwosComplement_result.Signed_bytes_to_whole_words :=
Signed.bytes_to_whole_words;
TwosComplement_result.Signed_Repr := Signed.Repr;
TwosComplement_result.Signed_bit_width := Signed.bit_width;
TwosComplement_result.Signed_byte_width := Signed.byte_width;
TwosComplement_result.Signed_max_t := Signed.max_t;
TwosComplement_result.Signed_min_t := Signed.min_t;
TwosComplement_result.Signed_of_z_truncating := Signed.of_z_truncating;
TwosComplement_result.Signed_of_repr := Signed.of_repr;
TwosComplement_result.Signed_to_repr := Signed.to_repr;
TwosComplement_result.Signed_as_unsigned _rocq_witness_0 :=
ltac:(first [unshelve refine (Signed.as_unsigned
_rocq_witness_0) | unshelve refine (Signed.as_unsigned
) | let value := uconstr:(Signed.as_unsigned) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Impl_signed := Unsigned.Impl.signed;
TwosComplement_result.Unsigned_Impl_max_t := Unsigned.Impl.max_t;
TwosComplement_result.Unsigned_Impl_min_t := Unsigned.Impl.min_t;
TwosComplement_result.Unsigned_Impl_in_range := Unsigned.Impl.in_range;
TwosComplement_result.Unsigned_Impl_of_z_opt := Unsigned.Impl.of_z_opt;
TwosComplement_result.Unsigned_Impl_of_z_truncating :=
Unsigned.Impl.of_z_truncating;
TwosComplement_result.Unsigned_Impl_to_z := Unsigned.Impl.to_z;
TwosComplement_result.Unsigned_Impl_testbit := Unsigned.Impl.testbit;
TwosComplement_result.Unsigned_signed := Unsigned.signed;
TwosComplement_result.Unsigned_in_range := Unsigned.in_range;
TwosComplement_result.Unsigned_of_z_opt := Unsigned.of_z_opt;
TwosComplement_result.Unsigned_to_z := Unsigned.to_z;
TwosComplement_result.Unsigned_testbit := Unsigned.testbit;
TwosComplement_result.Unsigned_of_z_exn := Unsigned.of_z_exn;
TwosComplement_result.Unsigned_zero := Unsigned.zero;
TwosComplement_result.Unsigned_one := Unsigned.one;
TwosComplement_result.Unsigned_byte := Unsigned.byte;
TwosComplement_result.Unsigned_significant_bits :=
Unsigned.significant_bits;
TwosComplement_result.Unsigned_significant_bytes :=
Unsigned.significant_bytes;
TwosComplement_result.Unsigned_of_bool := Unsigned.of_bool;
TwosComplement_result.Unsigned_of_byte := Unsigned.of_byte;
TwosComplement_result.Unsigned_of_int := Unsigned.of_int;
TwosComplement_result.op_Unsigned_tildedollar := Unsigned.op_tildedollar;
TwosComplement_result.Unsigned_to_int := Unsigned.to_int;
TwosComplement_result.Unsigned_to_int_opt := Unsigned.to_int_opt;
TwosComplement_result.Unsigned_of_uint64 := Unsigned.of_uint64;
TwosComplement_result.Unsigned_of_int64 := Unsigned.of_int64;
TwosComplement_result.Unsigned_to_uint64 := Unsigned.to_uint64;
TwosComplement_result.Unsigned_to_int64 := Unsigned.to_int64;
TwosComplement_result.Unsigned_of_uint32 := Unsigned.of_uint32;
TwosComplement_result.Unsigned_of_int32 := Unsigned.of_int32;
TwosComplement_result.Unsigned_to_uint32 := Unsigned.to_uint32;
TwosComplement_result.Unsigned_to_int32 := Unsigned.to_int32;
TwosComplement_result.Unsigned_hash := Unsigned.hash;
TwosComplement_result.Unsigned_comparison_op := Unsigned.comparison_op;
TwosComplement_result.op_Unsigned_lt := Unsigned.op_lt;
TwosComplement_result.op_Unsigned_lteq := Unsigned.op_lteq;
TwosComplement_result.op_Unsigned_eq := Unsigned.op_eq;
TwosComplement_result.op_Unsigned_gteq := Unsigned.op_gteq;
TwosComplement_result.op_Unsigned_gt := Unsigned.op_gt;
TwosComplement_result.op_Unsigned_ltgt := Unsigned.op_ltgt;
TwosComplement_result.Unsigned_equal := Unsigned.equal;
TwosComplement_result.Unsigned_compare := Unsigned.compare;
TwosComplement_result.Unsigned_max := Unsigned.max;
TwosComplement_result.Unsigned_min := Unsigned.min;
TwosComplement_result.Unsigned_Set := Unsigned._Set;
TwosComplement_result.Unsigned_is_zero := Unsigned.is_zero;
TwosComplement_result.Unsigned_to_string := Unsigned.to_string;
TwosComplement_result.Unsigned_to_hex_string := Unsigned.to_hex_string;
TwosComplement_result.Unsigned_of_string := Unsigned.of_string;
TwosComplement_result.op_Unsigned_tildeat := Unsigned.op_tildeat;
TwosComplement_result.Unsigned_Map_empty _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.empty ) | exact (Unsigned.Map.empty
_) | first [unshelve refine (Unsigned.Map.empty
) | unshelve refine (Unsigned.Map.empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_add _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.add ) | exact (Unsigned.Map.add
_) | first [unshelve refine (Unsigned.Map.add
) | unshelve refine (Unsigned.Map.add
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_add_to_list _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.add_to_list
) | exact (Unsigned.Map.add_to_list
_) | first [unshelve refine (Unsigned.Map.add_to_list
) | unshelve refine (Unsigned.Map.add_to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_update _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.update ) | exact (Unsigned.Map.update
_) | first [unshelve refine (Unsigned.Map.update
) | unshelve refine (Unsigned.Map.update
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_singleton _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.singleton
) | exact (Unsigned.Map.singleton
_) | first [unshelve refine (Unsigned.Map.singleton
) | unshelve refine (Unsigned.Map.singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_remove _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.remove ) | exact (Unsigned.Map.remove
_) | first [unshelve refine (Unsigned.Map.remove
) | unshelve refine (Unsigned.Map.remove
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_merge _rocq_argument_0 _rocq_argument_1
_rocq_argument_2 := ltac:(first [exact (Unsigned.Map.merge
) | exact (Unsigned.Map.merge _) | exact (Unsigned.Map.merge _
_) | exact (Unsigned.Map.merge _ _
_) | first [unshelve refine (Unsigned.Map.merge
) | unshelve refine (Unsigned.Map.merge
_rocq_argument_0) | unshelve refine (Unsigned.Map.merge _rocq_argument_0
_rocq_argument_1) | unshelve refine (Unsigned.Map.merge _rocq_argument_0
_rocq_argument_1
_rocq_argument_2)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact _rocq_argument_1 | exact
_rocq_argument_2 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_union _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.union ) | exact (Unsigned.Map.union
_) | first [unshelve refine (Unsigned.Map.union
) | unshelve refine (Unsigned.Map.union
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_cardinal _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.cardinal
) | exact (Unsigned.Map.cardinal
_) | first [unshelve refine (Unsigned.Map.cardinal
) | unshelve refine (Unsigned.Map.cardinal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_bindings _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.bindings
) | exact (Unsigned.Map.bindings
_) | first [unshelve refine (Unsigned.Map.bindings
) | unshelve refine (Unsigned.Map.bindings
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_min_binding _rocq_argument_0
_rocq_witness_0 :=
ltac:(first [unshelve refine (Unsigned.Map.min_binding
_rocq_witness_0) | unshelve refine (Unsigned.Map.min_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.min_binding
) | unshelve refine (Unsigned.Map.min_binding
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.min_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_min_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.min_binding_opt
) | exact (Unsigned.Map.min_binding_opt
_) | first [unshelve refine (Unsigned.Map.min_binding_opt
) | unshelve refine (Unsigned.Map.min_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_max_binding _rocq_argument_0
_rocq_witness_0 :=
ltac:(first [unshelve refine (Unsigned.Map.max_binding
_rocq_witness_0) | unshelve refine (Unsigned.Map.max_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.max_binding
) | unshelve refine (Unsigned.Map.max_binding
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.max_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_max_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.max_binding_opt
) | exact (Unsigned.Map.max_binding_opt
_) | first [unshelve refine (Unsigned.Map.max_binding_opt
) | unshelve refine (Unsigned.Map.max_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_choose _rocq_argument_0 _rocq_witness_0
:= ltac:(first [unshelve refine (Unsigned.Map.choose
_rocq_witness_0) | unshelve refine (Unsigned.Map.choose _rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.choose
) | unshelve refine (Unsigned.Map.choose
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.choose) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_choose_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.choose_opt
) | exact (Unsigned.Map.choose_opt
_) | first [unshelve refine (Unsigned.Map.choose_opt
) | unshelve refine (Unsigned.Map.choose_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_find _rocq_argument_0 _rocq_witness_0
:= ltac:(first [unshelve refine (Unsigned.Map.find
_rocq_witness_0) | unshelve refine (Unsigned.Map.find _rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.find
) | unshelve refine (Unsigned.Map.find
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.find) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_find_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.find_opt
) | exact (Unsigned.Map.find_opt
_) | first [unshelve refine (Unsigned.Map.find_opt
) | unshelve refine (Unsigned.Map.find_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_find_first _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Unsigned.Map.find_first
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_first
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_first
) | unshelve refine (Unsigned.Map.find_first
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.find_first) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_find_first_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.find_first_opt
) | exact (Unsigned.Map.find_first_opt
_) | first [unshelve refine (Unsigned.Map.find_first_opt
) | unshelve refine (Unsigned.Map.find_first_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_find_last _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Unsigned.Map.find_last
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_last
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_last
) | unshelve refine (Unsigned.Map.find_last
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.find_last) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_find_last_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.find_last_opt
) | exact (Unsigned.Map.find_last_opt
_) | first [unshelve refine (Unsigned.Map.find_last_opt
) | unshelve refine (Unsigned.Map.find_last_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_iter _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.iter ) | exact (Unsigned.Map.iter
_) | first [unshelve refine (Unsigned.Map.iter
) | unshelve refine (Unsigned.Map.iter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_fold _rocq_argument_0 _rocq_argument_1
:= ltac:(first [exact (Unsigned.Map.fold ) | exact (Unsigned.Map.fold
_) | exact (Unsigned.Map.fold _
_) | first [unshelve refine (Unsigned.Map.fold
) | unshelve refine (Unsigned.Map.fold
_rocq_argument_0) | unshelve refine (Unsigned.Map.fold _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_map _rocq_argument_0 _rocq_argument_1
:= ltac:(first [exact (Unsigned.Map.map ) | exact (Unsigned.Map.map
_) | exact (Unsigned.Map.map _
_) | first [unshelve refine (Unsigned.Map.map
) | unshelve refine (Unsigned.Map.map
_rocq_argument_0) | unshelve refine (Unsigned.Map.map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_mapi _rocq_argument_0 _rocq_argument_1
:= ltac:(first [exact (Unsigned.Map.mapi ) | exact (Unsigned.Map.mapi
_) | exact (Unsigned.Map.mapi _
_) | first [unshelve refine (Unsigned.Map.mapi
) | unshelve refine (Unsigned.Map.mapi
_rocq_argument_0) | unshelve refine (Unsigned.Map.mapi _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_filter _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.filter ) | exact (Unsigned.Map.filter
_) | first [unshelve refine (Unsigned.Map.filter
) | unshelve refine (Unsigned.Map.filter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_filter_map _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Unsigned.Map.filter_map
) | exact (Unsigned.Map.filter_map _) | exact (Unsigned.Map.filter_map _
_) | first [unshelve refine (Unsigned.Map.filter_map
) | unshelve refine (Unsigned.Map.filter_map
_rocq_argument_0) | unshelve refine (Unsigned.Map.filter_map
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_partition _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.partition
) | exact (Unsigned.Map.partition
_) | first [unshelve refine (Unsigned.Map.partition
) | unshelve refine (Unsigned.Map.partition
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_split _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.split ) | exact (Unsigned.Map.split
_) | first [unshelve refine (Unsigned.Map.split
) | unshelve refine (Unsigned.Map.split
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_is_empty _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.is_empty
) | exact (Unsigned.Map.is_empty
_) | first [unshelve refine (Unsigned.Map.is_empty
) | unshelve refine (Unsigned.Map.is_empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_is_singleton _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.is_singleton
) | exact (Unsigned.Map.is_singleton
_) | first [unshelve refine (Unsigned.Map.is_singleton
) | unshelve refine (Unsigned.Map.is_singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_mem _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.mem ) | exact (Unsigned.Map.mem
_) | first [unshelve refine (Unsigned.Map.mem
) | unshelve refine (Unsigned.Map.mem
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_equal _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.equal ) | exact (Unsigned.Map.equal
_) | first [unshelve refine (Unsigned.Map.equal
) | unshelve refine (Unsigned.Map.equal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_compare _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.compare ) | exact (Unsigned.Map.compare
_) | first [unshelve refine (Unsigned.Map.compare
) | unshelve refine (Unsigned.Map.compare
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_for_all _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.for_all ) | exact (Unsigned.Map.for_all
_) | first [unshelve refine (Unsigned.Map.for_all
) | unshelve refine (Unsigned.Map.for_all
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_exists _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map._exists ) | exact (Unsigned.Map._exists
_) | first [unshelve refine (Unsigned.Map._exists
) | unshelve refine (Unsigned.Map._exists
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_list _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_list ) | exact (Unsigned.Map.to_list
_) | first [unshelve refine (Unsigned.Map.to_list
) | unshelve refine (Unsigned.Map.to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_of_list _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.of_list ) | exact (Unsigned.Map.of_list
_) | first [unshelve refine (Unsigned.Map.of_list
) | unshelve refine (Unsigned.Map.of_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_seq ) | exact (Unsigned.Map.to_seq
_) | first [unshelve refine (Unsigned.Map.to_seq
) | unshelve refine (Unsigned.Map.to_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_rev_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_rev_seq
) | exact (Unsigned.Map.to_rev_seq
_) | first [unshelve refine (Unsigned.Map.to_rev_seq
) | unshelve refine (Unsigned.Map.to_rev_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_seq_from _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_seq_from
) | exact (Unsigned.Map.to_seq_from
_) | first [unshelve refine (Unsigned.Map.to_seq_from
) | unshelve refine (Unsigned.Map.to_seq_from
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_add_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.add_seq ) | exact (Unsigned.Map.add_seq
_) | first [unshelve refine (Unsigned.Map.add_seq
) | unshelve refine (Unsigned.Map.add_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_of_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.of_seq ) | exact (Unsigned.Map.of_seq
_) | first [unshelve refine (Unsigned.Map.of_seq
) | unshelve refine (Unsigned.Map.of_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_at _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map._at ) | exact (Unsigned.Map._at
_) | first [unshelve refine (Unsigned.Map._at
) | unshelve refine (Unsigned.Map._at
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_keys _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.keys ) | exact (Unsigned.Map.keys
_) | first [unshelve refine (Unsigned.Map.keys
) | unshelve refine (Unsigned.Map.keys
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_difference _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Unsigned.Map.difference
) | exact (Unsigned.Map.difference _) | exact (Unsigned.Map.difference _
_) | first [unshelve refine (Unsigned.Map.difference
) | unshelve refine (Unsigned.Map.difference
_rocq_argument_0) | unshelve refine (Unsigned.Map.difference
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_of_z_after_op := Unsigned.of_z_after_op;
TwosComplement_result.Unsigned_lift_1 := Unsigned.lift_1;
TwosComplement_result.Unsigned_lift_2 := Unsigned.lift_2;
TwosComplement_result.Unsigned_logand := Unsigned.logand;
TwosComplement_result.Unsigned_logor := Unsigned.logor;
TwosComplement_result.Unsigned_logxor := Unsigned.logxor;
TwosComplement_result.Unsigned_lognot := Unsigned.lognot;
TwosComplement_result.op_Unsigned_plus := Unsigned.op_plus;
TwosComplement_result.op_Unsigned_minus := Unsigned.op_minus;
TwosComplement_result.op_Unsigned_star := Unsigned.op_star;
TwosComplement_result.op_Unsigned_div := Unsigned.op_div;
TwosComplement_result.Unsigned_modulo := Unsigned.modulo;
TwosComplement_result.Unsigned_rem := Unsigned.rem;
TwosComplement_result.Unsigned_addmod := Unsigned.addmod;
TwosComplement_result.Unsigned_mulmod := Unsigned.mulmod;
TwosComplement_result.Unsigned_shift_left := Unsigned.shift_left;
TwosComplement_result.Unsigned_shift_right := Unsigned.shift_right;
TwosComplement_result.op_Unsigned_starstar := Unsigned.op_starstar;
TwosComplement_result.Unsigned_exp_mod := Unsigned.exp_mod;
TwosComplement_result.Unsigned_minus_1_64th := Unsigned.minus_1_64th;
TwosComplement_result.Unsigned_bytes_to_whole_words :=
Unsigned.bytes_to_whole_words;
TwosComplement_result.Unsigned_Repr := Unsigned.Repr;
TwosComplement_result.Unsigned_bit_width := Unsigned.bit_width;
TwosComplement_result.Unsigned_byte_width := Unsigned.byte_width;
TwosComplement_result.Unsigned_max_t := Unsigned.max_t;
TwosComplement_result.Unsigned_min_t := Unsigned.min_t;
TwosComplement_result.Unsigned_of_z_truncating := Unsigned.of_z_truncating;
TwosComplement_result.Unsigned_of_repr := Unsigned.of_repr;
TwosComplement_result.Unsigned_to_repr := Unsigned.to_repr;
TwosComplement_result.Unsigned_to_repr_bytes := Unsigned.to_repr_bytes;
TwosComplement_result.Unsigned_as_signed _rocq_witness_0 :=
ltac:(first [unshelve refine (Unsigned.as_signed
_rocq_witness_0) | unshelve refine (Unsigned.as_signed
) | let value := uconstr:(Unsigned.as_signed) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_sign_extend := Unsigned.sign_extend;
TwosComplement_result.Unsigned_exp := Unsigned.exp;
TwosComplement_result.Unsigned_to_uint := Unsigned.to_uint;
TwosComplement_result.Unsigned_of_uint_opt := Unsigned.of_uint_opt;
TwosComplement_result.Unsigned_of_uint_exn := Unsigned.of_uint_exn;
TwosComplement_result.Unsigned_of_uint_truncating :=
Unsigned.of_uint_truncating;
TwosComplement_result.Unsigned_to_integer := Unsigned.to_integer;
TwosComplement_result.Unsigned_of_integer_opt := Unsigned.of_integer_opt;
TwosComplement_result.Unsigned_of_integer_exn := Unsigned.of_integer_exn;
TwosComplement_result.Unsigned_of_bytes_be_exn := Unsigned.of_bytes_be_exn;
TwosComplement_result.Unsigned_to_bytes_be := Unsigned.to_bytes_be;
TwosComplement_result.Unsigned_of_signed_int := Unsigned.of_signed_int;
TwosComplement_result.Unsigned_to_rlp := Unsigned.to_rlp;
TwosComplement_result.Unsigned_of_rlp := Unsigned.of_rlp;
TwosComplement_result.Unsigned_Checked_lift_2_or _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Checked.lift_2_or
) | exact (Unsigned.Checked.lift_2_or
_) | first [unshelve refine (Unsigned.Checked.lift_2_or
) | unshelve refine (Unsigned.Checked.lift_2_or
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.op_Unsigned_Checked_plus := Unsigned.Checked.op_plus;
TwosComplement_result.op_Unsigned_Checked_minus :=
Unsigned.Checked.op_minus;
TwosComplement_result.op_Unsigned_Checked_star := Unsigned.Checked.op_star;
TwosComplement_result.op_Unsigned_Checked_div := Unsigned.Checked.op_div
|}.
End TwosComplement.
Definition TwosComplement (B : MonadVM.Traits.Byte_width.SIG) :=
@TwosComplement.functor (TwosComplement.Build_FArgs B).
Definition Bits256_fargs :=
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes32.
Definition Bits256 :
TwosComplement.TwosComplement_result (_fargs := Bits256_fargs) :=
(TwosComplement.functor (_fargs := (Bits256_fargs ))).
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Z.t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ).
Proof. unshelve (RocqOfOCaml.Opaque.opaque_inhabit 64%nat). all: RocqOfOCaml.Opaque.opaque_inhabit 64%nat. Qed.
Definition sign_extend `{_fargs : FArgs}
(byte_i : int) (x_value : U.(Make.Make_result.t)) : Signed.t :=
let bit_i :=
RocqOfOCaml.OCamlInt.add 7 (RocqOfOCaml.OCamlInt.mul 8 byte_i) in
Signed.of_z_exn
((RocqOfOCaml.OCamlZ.signed_extract
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_sign_extend_0))
(to_z x_value) 0 (RocqOfOCaml.OCamlInt.add 1 bit_i)).
Definition exp `{_fargs : FArgs}
(x_value : U.(Make.Make_result.t)) (y_value : U.(Make.Make_result.t))
: U.(Make.Make_result.t) :=
of_z_after_op
((RocqOfOCaml.OCamlZ.powm
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_sign_extend_0))
(to_z x_value) (to_z y_value) (Z.shiftl Z.one bit_width)).
Definition to_uint `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: MonadVM.Support.UintN.t :=
MonadVM.Support.UintN.of_z_exn (to_z x_value).
Definition of_uint_opt `{_fargs : FArgs} (x_value : MonadVM.Support.UintN.t)
: option U.(Make.Make_result.t) :=
of_z_opt (MonadVM.Support.UintN.to_z x_value).
Definition of_uint_exn `{_fargs : FArgs} (x_value : MonadVM.Support.UintN.t)
: U.(Make.Make_result.t) := of_z_exn (MonadVM.Support.UintN.to_z x_value).
Definition of_uint_truncating `{_fargs : FArgs}
(x_value : MonadVM.Support.UintN.t) : U.(Make.Make_result.t) :=
of_z_truncating (MonadVM.Support.UintN.to_z x_value).
Definition to_integer `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: Integer.t := Integer.of_z_exn (to_z x_value).
Definition of_integer_opt `{_fargs : FArgs} (x_value : Integer.t)
: option U.(Make.Make_result.t) := of_z_opt (Integer.to_z x_value).
Definition of_integer_exn `{_fargs : FArgs} (x_value : Integer.t)
: U.(Make.Make_result.t) := of_z_exn (Integer.to_z x_value).
Definition of_bytes_be_exn `{_fargs : FArgs}
(bs : MonadVM.Byte_string.Bytes.t) : U.(Make.Make_result.t) :=
of_uint_exn (MonadVM.Support.UintN.of_bytes_be bs).
Definition to_bytes_be `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: string := MonadVM.Support.UintN.to_bytes_be (to_uint x_value).
Definition of_signed_int `{_fargs : FArgs} (x_value : int)
: U.(Make.Make_result.t) :=
(Signed.as_unsigned (_rocq_fallback_max_t_0))
(Signed.op_tildedollar x_value).
Definition to_rlp `{_fargs : FArgs} (x_value : U.(Make.Make_result.t))
: MonadVM.Rlp.t := MonadVM.Support.UintN.to_rlp (to_uint x_value).
Definition of_rlp `{_fargs : FArgs} (rlp : MonadVM.Rlp.t)
: option U.(Make.Make_result.t) :=
MonadVM.Option.op_letdollar (MonadVM.Support.UintN.of_rlp rlp)
(fun uint ⇒ of_uint_opt uint).
Module Checked.
Definition lift_2_or `{_fargs : FArgs} {A : Set}
(_error : A) (op : Z.t → Z.t → Z.t) (x_value : U.(Make.Make_result.t))
(y_value : U.(Make.Make_result.t)) : sum U.(Make.Make_result.t) A :=
match of_z_opt (op (to_z x_value) (to_z y_value)) with
| Some r_value ⇒ ((inl r_value) : sum U.(Make.Make_result.t) A)
| None ⇒ ((inr _error) : sum U.(Make.Make_result.t) A)
end.
Definition op_plus `{_fargs : FArgs}
: U.(Make.Make_result.t) → U.(Make.Make_result.t) →
sum U.(Make.Make_result.t) arithmetic_error :=
lift_2_or MonadVM.Numeric.Overflow Z.add.
Definition op_minus `{_fargs : FArgs}
: U.(Make.Make_result.t) → U.(Make.Make_result.t) →
sum U.(Make.Make_result.t) arithmetic_error :=
lift_2_or MonadVM.Numeric.Underflow Z.sub.
Definition op_star `{_fargs : FArgs}
: U.(Make.Make_result.t) → U.(Make.Make_result.t) →
sum U.(Make.Make_result.t) arithmetic_error :=
lift_2_or MonadVM.Numeric.Overflow Z.mul.
Definition op_div `{_fargs : FArgs}
(x_value : U.(Make.Make_result.t)) (y_value : Impl.t)
: sum U.(Make.Make_result.t) arithmetic_error :=
if op_eq y_value zero then
((inr MonadVM.Numeric.Division_by_zero) :
sum U.(Make.Make_result.t) arithmetic_error)
else
((inl (op_div x_value y_value)) :
sum U.(Make.Make_result.t) arithmetic_error).
End Checked.
End Unsigned.
Module TwosComplement_result.
Record signature `{_fargs : FArgs} {S_Impl_t : Set} {S_Set_t : Set}
{S_Map_t : Set → Set} {U_Impl_t : Set} {U_Set_t : Set}
{U_Map_t : Set → Set} {Signed_Repr_Set_t : Set}
{Signed_Repr_Map_t : Set → Set} {Unsigned_Repr_Set_t : Set}
{Unsigned_Repr_Map_t : Set → Set} : Type := {
S :
Make.Make_result (_fargs := S_fargs) (Impl_t := S_Impl_t)
(Set_t := S_Set_t) (Map_t := S_Map_t);
U :
Make.Make_result (_fargs := U_fargs) (Impl_t := U_Impl_t)
(Set_t := U_Set_t) (Map_t := U_Map_t);
max_unsigned :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t;
min_unsigned :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t;
max_signed :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t;
min_signed :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t;
bit_width : int;
byte_width : int;
Signed_Impl_t := S_Impl_t;
Signed_Impl_signed : bool;
Signed_Impl_max_t : option S_Impl_t;
Signed_Impl_min_t : option S_Impl_t;
Signed_Impl_in_range : Z.t → bool;
Signed_Impl_of_z_opt : Z.t → option S_Impl_t;
Signed_Impl_of_z_truncating : option (Z.t → S_Impl_t);
Signed_Impl_to_z : S_Impl_t → Z.t;
Signed_Impl_testbit : S_Impl_t → int → bool;
Signed_t := S_Impl_t;
Signed_signed : bool;
Signed_in_range : Z.t → bool;
Signed_of_z_opt : Z.t → option S_Impl_t;
Signed_to_z : S_Impl_t → Z.t;
Signed_testbit : S_Impl_t → int → bool;
Signed_of_z_exn : Z.t → S_Impl_t;
Signed_zero : S_Impl_t;
Signed_one : S_Impl_t;
Signed_byte : int → S_Impl_t → ascii;
Signed_significant_bits : S_Impl_t → int;
Signed_significant_bytes : S_Impl_t → int;
Signed_of_bool : bool → S_Impl_t;
Signed_of_byte : ascii → S_Impl_t;
Signed_of_int : int → S_Impl_t;
op_Signed_tildedollar : int → S_Impl_t;
Signed_to_int : S_Impl_t → int;
Signed_to_int_opt : S_Impl_t → option int;
Signed_of_uint64 : int64 → S_Impl_t;
Signed_of_int64 : int64 → S_Impl_t;
Signed_to_uint64 : S_Impl_t → int64;
Signed_to_int64 : S_Impl_t → int64;
Signed_of_uint32 : int32 → S_Impl_t;
Signed_of_int32 : int32 → S_Impl_t;
Signed_to_uint32 : S_Impl_t → int32;
Signed_to_int32 : S_Impl_t → int32;
Signed_hash : S_Impl_t → int;
Signed_comparison_op :
(int → int → bool) → S_Impl_t → S_Impl_t → bool;
op_Signed_lt : S_Impl_t → S_Impl_t → bool;
op_Signed_lteq : S_Impl_t → S_Impl_t → bool;
op_Signed_eq : S_Impl_t → S_Impl_t → bool;
op_Signed_gteq : S_Impl_t → S_Impl_t → bool;
op_Signed_gt : S_Impl_t → S_Impl_t → bool;
op_Signed_ltgt : S_Impl_t → S_Impl_t → bool;
Signed_equal : S_Impl_t → S_Impl_t → bool;
Signed_compare : S_Impl_t → S_Impl_t → int;
Signed_max : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_min : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_Set_t := S_Set_t;
Signed_Set : RocqOfOCaml.OCamlSet.S (elt := S_Impl_t) (t := S_Set_t);
Signed_is_zero : S_Impl_t → bool;
Signed_to_string : S_Impl_t → string;
Signed_to_hex_string : S_Impl_t → string;
Signed_of_string : string → S_Impl_t;
op_Signed_tildeat : string → S_Impl_t;
Signed_Map_key := S_Impl_t;
Signed_Map_t := S_Map_t;
Signed_Map_empty : ∀ {a : Set} , S_Map_t a;
Signed_Map_add :
∀ {a : Set} , S_Impl_t → a → S_Map_t a → S_Map_t a;
Signed_Map_add_to_list :
∀ {a : Set} , S_Impl_t → a → S_Map_t (list a) → S_Map_t (list a);
Signed_Map_update :
∀ {a : Set} ,
S_Impl_t → (option a → option a) → S_Map_t a → S_Map_t a;
Signed_Map_singleton : ∀ {a : Set} , S_Impl_t → a → S_Map_t a;
Signed_Map_remove : ∀ {a : Set} , S_Impl_t → S_Map_t a → S_Map_t a;
Signed_Map_merge :
∀ {a b c : Set} ,
(S_Impl_t → option a → option b → option c) → S_Map_t a →
S_Map_t b → S_Map_t c;
Signed_Map_union :
∀ {a : Set} ,
(S_Impl_t → a → a → option a) → S_Map_t a → S_Map_t a →
S_Map_t a;
Signed_Map_cardinal : ∀ {a : Set} , S_Map_t a → int;
Signed_Map_bindings : ∀ {a : Set} , S_Map_t a → list (S_Impl_t × a);
Signed_Map_min_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Map_t a → S_Impl_t × a;
Signed_Map_min_binding_opt :
∀ {a : Set} , S_Map_t a → option (S_Impl_t × a);
Signed_Map_max_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Map_t a → S_Impl_t × a;
Signed_Map_max_binding_opt :
∀ {a : Set} , S_Map_t a → option (S_Impl_t × a);
Signed_Map_choose :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Map_t a → S_Impl_t × a;
Signed_Map_choose_opt :
∀ {a : Set} , S_Map_t a → option (S_Impl_t × a);
Signed_Map_find :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t → S_Map_t a → a;
Signed_Map_find_opt :
∀ {a : Set} , S_Impl_t → S_Map_t a → option a;
Signed_Map_find_first :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(S_Impl_t → bool) → S_Map_t a → S_Impl_t × a;
Signed_Map_find_first_opt :
∀ {a : Set} ,
(S_Impl_t → bool) → S_Map_t a → option (S_Impl_t × a);
Signed_Map_find_last :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(S_Impl_t → bool) → S_Map_t a → S_Impl_t × a;
Signed_Map_find_last_opt :
∀ {a : Set} ,
(S_Impl_t → bool) → S_Map_t a → option (S_Impl_t × a);
Signed_Map_iter :
∀ {a : Set} , (S_Impl_t → a → unit) → S_Map_t a → unit;
Signed_Map_fold :
∀ {a acc : Set} ,
(S_Impl_t → a → acc → acc) → S_Map_t a → acc → acc;
Signed_Map_map : ∀ {a b : Set} , (a → b) → S_Map_t a → S_Map_t b;
Signed_Map_mapi :
∀ {a b : Set} , (S_Impl_t → a → b) → S_Map_t a → S_Map_t b;
Signed_Map_filter :
∀ {a : Set} , (S_Impl_t → a → bool) → S_Map_t a → S_Map_t a;
Signed_Map_filter_map :
∀ {a b : Set} ,
(S_Impl_t → a → option b) → S_Map_t a → S_Map_t b;
Signed_Map_partition :
∀ {a : Set} ,
(S_Impl_t → a → bool) → S_Map_t a → S_Map_t a × S_Map_t a;
Signed_Map_split :
∀ {a : Set} ,
S_Impl_t → S_Map_t a → S_Map_t a × option a × S_Map_t a;
Signed_Map_is_empty : ∀ {a : Set} , S_Map_t a → bool;
Signed_Map_is_singleton : ∀ {a : Set} , S_Map_t a → bool;
Signed_Map_mem : ∀ {a : Set} , S_Impl_t → S_Map_t a → bool;
Signed_Map_equal :
∀ {a : Set} , (a → a → bool) → S_Map_t a → S_Map_t a → bool;
Signed_Map_compare :
∀ {a : Set} , (a → a → int) → S_Map_t a → S_Map_t a → int;
Signed_Map_for_all :
∀ {a : Set} , (S_Impl_t → a → bool) → S_Map_t a → bool;
Signed_Map_exists :
∀ {a : Set} , (S_Impl_t → a → bool) → S_Map_t a → bool;
Signed_Map_to_list : ∀ {a : Set} , S_Map_t a → list (S_Impl_t × a);
Signed_Map_of_list : ∀ {a : Set} , list (S_Impl_t × a) → S_Map_t a;
Signed_Map_to_seq :
∀ {a : Set} , S_Map_t a → RocqOfOCaml.OCamlSeq.t (S_Impl_t × a);
Signed_Map_to_rev_seq :
∀ {a : Set} , S_Map_t a → RocqOfOCaml.OCamlSeq.t (S_Impl_t × a);
Signed_Map_to_seq_from :
∀ {a : Set} ,
S_Impl_t → S_Map_t a → RocqOfOCaml.OCamlSeq.t (S_Impl_t × a);
Signed_Map_add_seq :
∀ {a : Set} ,
RocqOfOCaml.OCamlSeq.t (S_Impl_t × a) → S_Map_t a → S_Map_t a;
Signed_Map_of_seq :
∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (S_Impl_t × a) → S_Map_t a;
Signed_Map_at :
∀ {v : Set} , S_Impl_t → Lens.t (S_Map_t v) (option v);
Signed_Map_keys : ∀ {a : Set} , S_Map_t a → S_Set_t;
Signed_Map_difference :
∀ {a d : Set} ,
(option a → option a → option d) → S_Map_t a → S_Map_t a →
S_Map_t d;
Signed_of_z_after_op : Z.t → S_Impl_t;
Signed_lift_1 : (Z.t → Z.t) → S_Impl_t → S_Impl_t;
Signed_lift_2 : (Z.t → Z.t → Z.t) → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_logand : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_logor : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_logxor : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_lognot : S_Impl_t → S_Impl_t;
op_Signed_plus : S_Impl_t → S_Impl_t → S_Impl_t;
op_Signed_minus : S_Impl_t → S_Impl_t → S_Impl_t;
op_Signed_star : S_Impl_t → S_Impl_t → S_Impl_t;
op_Signed_div : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_modulo : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_rem : S_Impl_t → S_Impl_t → S_Impl_t;
Signed_addmod : S_Impl_t → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_mulmod : S_Impl_t → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_shift_left : S_Impl_t → int → S_Impl_t;
Signed_shift_right : S_Impl_t → int → S_Impl_t;
op_Signed_starstar : S_Impl_t → int → S_Impl_t;
Signed_exp_mod : S_Impl_t → S_Impl_t → S_Impl_t → S_Impl_t;
Signed_minus_1_64th : S_Impl_t → S_Impl_t;
Signed_bytes_to_whole_words : S_Impl_t → S_Impl_t;
Signed_Repr :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Signed.Repr_fargs)
(Set_t := Signed_Repr_Set_t) (Map_t := Signed_Repr_Map_t);
Signed_bit_width : int;
Signed_byte_width : int;
Signed_max_t : S_Impl_t;
Signed_min_t : S_Impl_t;
Signed_of_z_truncating : Z.t → S_Impl_t;
Signed_of_repr : string → S_Impl_t;
Signed_to_repr : S_Impl_t → string;
Signed_as_unsigned :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
S_Impl_t → U_Impl_t;
Unsigned_Impl_t := U_Impl_t;
Unsigned_Impl_signed : bool;
Unsigned_Impl_max_t : option U_Impl_t;
Unsigned_Impl_min_t : option U_Impl_t;
Unsigned_Impl_in_range : Z.t → bool;
Unsigned_Impl_of_z_opt : Z.t → option U_Impl_t;
Unsigned_Impl_of_z_truncating : option (Z.t → U_Impl_t);
Unsigned_Impl_to_z : U_Impl_t → Z.t;
Unsigned_Impl_testbit : U_Impl_t → int → bool;
Unsigned_t := U_Impl_t;
Unsigned_signed : bool;
Unsigned_in_range : Z.t → bool;
Unsigned_of_z_opt : Z.t → option U_Impl_t;
Unsigned_to_z : U_Impl_t → Z.t;
Unsigned_testbit : U_Impl_t → int → bool;
Unsigned_of_z_exn : Z.t → U_Impl_t;
Unsigned_zero : U_Impl_t;
Unsigned_one : U_Impl_t;
Unsigned_byte : int → U_Impl_t → ascii;
Unsigned_significant_bits : U_Impl_t → int;
Unsigned_significant_bytes : U_Impl_t → int;
Unsigned_of_bool : bool → U_Impl_t;
Unsigned_of_byte : ascii → U_Impl_t;
Unsigned_of_int : int → U_Impl_t;
op_Unsigned_tildedollar : int → U_Impl_t;
Unsigned_to_int : U_Impl_t → int;
Unsigned_to_int_opt : U_Impl_t → option int;
Unsigned_of_uint64 : int64 → U_Impl_t;
Unsigned_of_int64 : int64 → U_Impl_t;
Unsigned_to_uint64 : U_Impl_t → int64;
Unsigned_to_int64 : U_Impl_t → int64;
Unsigned_of_uint32 : int32 → U_Impl_t;
Unsigned_of_int32 : int32 → U_Impl_t;
Unsigned_to_uint32 : U_Impl_t → int32;
Unsigned_to_int32 : U_Impl_t → int32;
Unsigned_hash : U_Impl_t → int;
Unsigned_comparison_op :
(int → int → bool) → U_Impl_t → U_Impl_t → bool;
op_Unsigned_lt : U_Impl_t → U_Impl_t → bool;
op_Unsigned_lteq : U_Impl_t → U_Impl_t → bool;
op_Unsigned_eq : U_Impl_t → U_Impl_t → bool;
op_Unsigned_gteq : U_Impl_t → U_Impl_t → bool;
op_Unsigned_gt : U_Impl_t → U_Impl_t → bool;
op_Unsigned_ltgt : U_Impl_t → U_Impl_t → bool;
Unsigned_equal : U_Impl_t → U_Impl_t → bool;
Unsigned_compare : U_Impl_t → U_Impl_t → int;
Unsigned_max : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_min : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_Set_t := U_Set_t;
Unsigned_Set : RocqOfOCaml.OCamlSet.S (elt := U_Impl_t) (t := U_Set_t);
Unsigned_is_zero : U_Impl_t → bool;
Unsigned_to_string : U_Impl_t → string;
Unsigned_to_hex_string : U_Impl_t → string;
Unsigned_of_string : string → U_Impl_t;
op_Unsigned_tildeat : string → U_Impl_t;
Unsigned_Map_key := U_Impl_t;
Unsigned_Map_t := U_Map_t;
Unsigned_Map_empty : ∀ {a : Set} , U_Map_t a;
Unsigned_Map_add :
∀ {a : Set} , U_Impl_t → a → U_Map_t a → U_Map_t a;
Unsigned_Map_add_to_list :
∀ {a : Set} , U_Impl_t → a → U_Map_t (list a) → U_Map_t (list a);
Unsigned_Map_update :
∀ {a : Set} ,
U_Impl_t → (option a → option a) → U_Map_t a → U_Map_t a;
Unsigned_Map_singleton : ∀ {a : Set} , U_Impl_t → a → U_Map_t a;
Unsigned_Map_remove :
∀ {a : Set} , U_Impl_t → U_Map_t a → U_Map_t a;
Unsigned_Map_merge :
∀ {a b c : Set} ,
(U_Impl_t → option a → option b → option c) → U_Map_t a →
U_Map_t b → U_Map_t c;
Unsigned_Map_union :
∀ {a : Set} ,
(U_Impl_t → a → a → option a) → U_Map_t a → U_Map_t a →
U_Map_t a;
Unsigned_Map_cardinal : ∀ {a : Set} , U_Map_t a → int;
Unsigned_Map_bindings :
∀ {a : Set} , U_Map_t a → list (U_Impl_t × a);
Unsigned_Map_min_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Map_t a → U_Impl_t × a;
Unsigned_Map_min_binding_opt :
∀ {a : Set} , U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_max_binding :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Map_t a → U_Impl_t × a;
Unsigned_Map_max_binding_opt :
∀ {a : Set} , U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_choose :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Map_t a → U_Impl_t × a;
Unsigned_Map_choose_opt :
∀ {a : Set} , U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_find :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t → U_Map_t a → a;
Unsigned_Map_find_opt :
∀ {a : Set} , U_Impl_t → U_Map_t a → option a;
Unsigned_Map_find_first :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(U_Impl_t → bool) → U_Map_t a → U_Impl_t × a;
Unsigned_Map_find_first_opt :
∀ {a : Set} ,
(U_Impl_t → bool) → U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_find_last :
∀ {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((U_Impl_t × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
(U_Impl_t → bool) → U_Map_t a → U_Impl_t × a;
Unsigned_Map_find_last_opt :
∀ {a : Set} ,
(U_Impl_t → bool) → U_Map_t a → option (U_Impl_t × a);
Unsigned_Map_iter :
∀ {a : Set} , (U_Impl_t → a → unit) → U_Map_t a → unit;
Unsigned_Map_fold :
∀ {a acc : Set} ,
(U_Impl_t → a → acc → acc) → U_Map_t a → acc → acc;
Unsigned_Map_map :
∀ {a b : Set} , (a → b) → U_Map_t a → U_Map_t b;
Unsigned_Map_mapi :
∀ {a b : Set} , (U_Impl_t → a → b) → U_Map_t a → U_Map_t b;
Unsigned_Map_filter :
∀ {a : Set} , (U_Impl_t → a → bool) → U_Map_t a → U_Map_t a;
Unsigned_Map_filter_map :
∀ {a b : Set} ,
(U_Impl_t → a → option b) → U_Map_t a → U_Map_t b;
Unsigned_Map_partition :
∀ {a : Set} ,
(U_Impl_t → a → bool) → U_Map_t a → U_Map_t a × U_Map_t a;
Unsigned_Map_split :
∀ {a : Set} ,
U_Impl_t → U_Map_t a → U_Map_t a × option a × U_Map_t a;
Unsigned_Map_is_empty : ∀ {a : Set} , U_Map_t a → bool;
Unsigned_Map_is_singleton : ∀ {a : Set} , U_Map_t a → bool;
Unsigned_Map_mem : ∀ {a : Set} , U_Impl_t → U_Map_t a → bool;
Unsigned_Map_equal :
∀ {a : Set} , (a → a → bool) → U_Map_t a → U_Map_t a → bool;
Unsigned_Map_compare :
∀ {a : Set} , (a → a → int) → U_Map_t a → U_Map_t a → int;
Unsigned_Map_for_all :
∀ {a : Set} , (U_Impl_t → a → bool) → U_Map_t a → bool;
Unsigned_Map_exists :
∀ {a : Set} , (U_Impl_t → a → bool) → U_Map_t a → bool;
Unsigned_Map_to_list :
∀ {a : Set} , U_Map_t a → list (U_Impl_t × a);
Unsigned_Map_of_list :
∀ {a : Set} , list (U_Impl_t × a) → U_Map_t a;
Unsigned_Map_to_seq :
∀ {a : Set} , U_Map_t a → RocqOfOCaml.OCamlSeq.t (U_Impl_t × a);
Unsigned_Map_to_rev_seq :
∀ {a : Set} , U_Map_t a → RocqOfOCaml.OCamlSeq.t (U_Impl_t × a);
Unsigned_Map_to_seq_from :
∀ {a : Set} ,
U_Impl_t → U_Map_t a → RocqOfOCaml.OCamlSeq.t (U_Impl_t × a);
Unsigned_Map_add_seq :
∀ {a : Set} ,
RocqOfOCaml.OCamlSeq.t (U_Impl_t × a) → U_Map_t a → U_Map_t a;
Unsigned_Map_of_seq :
∀ {a : Set} , RocqOfOCaml.OCamlSeq.t (U_Impl_t × a) → U_Map_t a;
Unsigned_Map_at :
∀ {v : Set} , U_Impl_t → Lens.t (U_Map_t v) (option v);
Unsigned_Map_keys : ∀ {a : Set} , U_Map_t a → U_Set_t;
Unsigned_Map_difference :
∀ {a d : Set} ,
(option a → option a → option d) → U_Map_t a → U_Map_t a →
U_Map_t d;
Unsigned_of_z_after_op : Z.t → U_Impl_t;
Unsigned_lift_1 : (Z.t → Z.t) → U_Impl_t → U_Impl_t;
Unsigned_lift_2 : (Z.t → Z.t → Z.t) → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_logand : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_logor : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_logxor : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_lognot : U_Impl_t → U_Impl_t;
op_Unsigned_plus : U_Impl_t → U_Impl_t → U_Impl_t;
op_Unsigned_minus : U_Impl_t → U_Impl_t → U_Impl_t;
op_Unsigned_star : U_Impl_t → U_Impl_t → U_Impl_t;
op_Unsigned_div : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_modulo : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_rem : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_addmod : U_Impl_t → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_mulmod : U_Impl_t → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_shift_left : U_Impl_t → int → U_Impl_t;
Unsigned_shift_right : U_Impl_t → int → U_Impl_t;
op_Unsigned_starstar : U_Impl_t → int → U_Impl_t;
Unsigned_exp_mod : U_Impl_t → U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_minus_1_64th : U_Impl_t → U_Impl_t;
Unsigned_bytes_to_whole_words : U_Impl_t → U_Impl_t;
Unsigned_Repr :
MonadVM.Byte_string.Fixed.Fixed_result (_fargs := Unsigned.Repr_fargs)
(Set_t := Unsigned_Repr_Set_t) (Map_t := Unsigned_Repr_Map_t);
Unsigned_bit_width : int;
Unsigned_byte_width : int;
Unsigned_max_t : U_Impl_t;
Unsigned_min_t : U_Impl_t;
Unsigned_of_z_truncating : Z.t → U_Impl_t;
Unsigned_of_repr : string → U_Impl_t;
Unsigned_to_repr : U_Impl_t → string;
Unsigned_to_repr_bytes : U_Impl_t → MonadVM.Byte_string.Bytes.t;
Unsigned_as_signed :
∀
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((S_Impl_t)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
U_Impl_t → Signed_t;
Unsigned_sign_extend : int → U_Impl_t → Signed_t;
Unsigned_exp : U_Impl_t → U_Impl_t → U_Impl_t;
Unsigned_to_uint : U_Impl_t → MonadVM.Support.UintN.t;
Unsigned_of_uint_opt : MonadVM.Support.UintN.t → option U_Impl_t;
Unsigned_of_uint_exn : MonadVM.Support.UintN.t → U_Impl_t;
Unsigned_of_uint_truncating : MonadVM.Support.UintN.t → U_Impl_t;
Unsigned_to_integer : U_Impl_t → Integer.t;
Unsigned_of_integer_opt : Integer.t → option U_Impl_t;
Unsigned_of_integer_exn : Integer.t → U_Impl_t;
Unsigned_of_bytes_be_exn : MonadVM.Byte_string.Bytes.t → U_Impl_t;
Unsigned_to_bytes_be : U_Impl_t → string;
Unsigned_of_signed_int : int → U_Impl_t;
Unsigned_to_rlp : U_Impl_t → MonadVM.Rlp.t;
Unsigned_of_rlp : MonadVM.Rlp.t → option U_Impl_t;
Unsigned_Checked_lift_2_or :
∀ {A : Set} ,
A → (Z.t → Z.t → Z.t) → U_Impl_t → U_Impl_t → sum U_Impl_t A;
op_Unsigned_Checked_plus :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
op_Unsigned_Checked_minus :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
op_Unsigned_Checked_star :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
op_Unsigned_Checked_div :
U_Impl_t → U_Impl_t → sum U_Impl_t arithmetic_error;
S_Impl_t := S_Impl_t;
S_Set_t := S_Set_t;
S_Map_t := S_Map_t;
U_Impl_t := U_Impl_t;
U_Set_t := U_Set_t;
U_Map_t := U_Map_t;
Signed_Repr_Set_t := Signed_Repr_Set_t;
Signed_Repr_Map_t := Signed_Repr_Map_t;
Unsigned_Repr_Set_t := Unsigned_Repr_Set_t;
Unsigned_Repr_Map_t := Unsigned_Repr_Map_t;
}.
End TwosComplement_result.
Definition TwosComplement_result `{_fargs : FArgs} :=
@TwosComplement_result.signature _.
Arguments TwosComplement_result {_ _ _ _ _ _ _ _ _ _ _}.
Definition functor `{_fargs : FArgs}
:TwosComplement_result (S_Impl_t := _) (S_Set_t := _) (S_Map_t := _)
(U_Impl_t := _) (U_Set_t := _) (U_Map_t := _) (Signed_Repr_Set_t := _)
(Signed_Repr_Map_t := _) (Unsigned_Repr_Set_t := _)
(Unsigned_Repr_Map_t := _) :=
{|
TwosComplement_result.S := S;
TwosComplement_result.U := U;
TwosComplement_result.max_unsigned := @max_unsigned _;
TwosComplement_result.min_unsigned := @min_unsigned _;
TwosComplement_result.max_signed := @max_signed _;
TwosComplement_result.min_signed := @min_signed _;
TwosComplement_result.bit_width := bit_width;
TwosComplement_result.byte_width := byte_width;
TwosComplement_result.Signed_Impl_signed := Signed.Impl.signed;
TwosComplement_result.Signed_Impl_max_t := Signed.Impl.max_t;
TwosComplement_result.Signed_Impl_min_t := Signed.Impl.min_t;
TwosComplement_result.Signed_Impl_in_range := Signed.Impl.in_range;
TwosComplement_result.Signed_Impl_of_z_opt := Signed.Impl.of_z_opt;
TwosComplement_result.Signed_Impl_of_z_truncating :=
Signed.Impl.of_z_truncating;
TwosComplement_result.Signed_Impl_to_z := Signed.Impl.to_z;
TwosComplement_result.Signed_Impl_testbit := Signed.Impl.testbit;
TwosComplement_result.Signed_signed := Signed.signed;
TwosComplement_result.Signed_in_range := Signed.in_range;
TwosComplement_result.Signed_of_z_opt := Signed.of_z_opt;
TwosComplement_result.Signed_to_z := Signed.to_z;
TwosComplement_result.Signed_testbit := Signed.testbit;
TwosComplement_result.Signed_of_z_exn := Signed.of_z_exn;
TwosComplement_result.Signed_zero := Signed.zero;
TwosComplement_result.Signed_one := Signed.one;
TwosComplement_result.Signed_byte := Signed.byte;
TwosComplement_result.Signed_significant_bits := Signed.significant_bits;
TwosComplement_result.Signed_significant_bytes := Signed.significant_bytes;
TwosComplement_result.Signed_of_bool := Signed.of_bool;
TwosComplement_result.Signed_of_byte := Signed.of_byte;
TwosComplement_result.Signed_of_int := Signed.of_int;
TwosComplement_result.op_Signed_tildedollar := Signed.op_tildedollar;
TwosComplement_result.Signed_to_int := Signed.to_int;
TwosComplement_result.Signed_to_int_opt := Signed.to_int_opt;
TwosComplement_result.Signed_of_uint64 := Signed.of_uint64;
TwosComplement_result.Signed_of_int64 := Signed.of_int64;
TwosComplement_result.Signed_to_uint64 := Signed.to_uint64;
TwosComplement_result.Signed_to_int64 := Signed.to_int64;
TwosComplement_result.Signed_of_uint32 := Signed.of_uint32;
TwosComplement_result.Signed_of_int32 := Signed.of_int32;
TwosComplement_result.Signed_to_uint32 := Signed.to_uint32;
TwosComplement_result.Signed_to_int32 := Signed.to_int32;
TwosComplement_result.Signed_hash := Signed.hash;
TwosComplement_result.Signed_comparison_op := Signed.comparison_op;
TwosComplement_result.op_Signed_lt := Signed.op_lt;
TwosComplement_result.op_Signed_lteq := Signed.op_lteq;
TwosComplement_result.op_Signed_eq := Signed.op_eq;
TwosComplement_result.op_Signed_gteq := Signed.op_gteq;
TwosComplement_result.op_Signed_gt := Signed.op_gt;
TwosComplement_result.op_Signed_ltgt := Signed.op_ltgt;
TwosComplement_result.Signed_equal := Signed.equal;
TwosComplement_result.Signed_compare := Signed.compare;
TwosComplement_result.Signed_max := Signed.max;
TwosComplement_result.Signed_min := Signed.min;
TwosComplement_result.Signed_Set := Signed._Set;
TwosComplement_result.Signed_is_zero := Signed.is_zero;
TwosComplement_result.Signed_to_string := Signed.to_string;
TwosComplement_result.Signed_to_hex_string := Signed.to_hex_string;
TwosComplement_result.Signed_of_string := Signed.of_string;
TwosComplement_result.op_Signed_tildeat := Signed.op_tildeat;
TwosComplement_result.Signed_Map_empty _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.empty ) | exact (Signed.Map.empty
_) | first [unshelve refine (Signed.Map.empty
) | unshelve refine (Signed.Map.empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_add _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.add ) | exact (Signed.Map.add
_) | first [unshelve refine (Signed.Map.add
) | unshelve refine (Signed.Map.add
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_add_to_list _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.add_to_list
) | exact (Signed.Map.add_to_list
_) | first [unshelve refine (Signed.Map.add_to_list
) | unshelve refine (Signed.Map.add_to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_update _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.update ) | exact (Signed.Map.update
_) | first [unshelve refine (Signed.Map.update
) | unshelve refine (Signed.Map.update
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_singleton _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.singleton ) | exact (Signed.Map.singleton
_) | first [unshelve refine (Signed.Map.singleton
) | unshelve refine (Signed.Map.singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_remove _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.remove ) | exact (Signed.Map.remove
_) | first [unshelve refine (Signed.Map.remove
) | unshelve refine (Signed.Map.remove
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_merge _rocq_argument_0 _rocq_argument_1
_rocq_argument_2 := ltac:(first [exact (Signed.Map.merge
) | exact (Signed.Map.merge _) | exact (Signed.Map.merge _
_) | exact (Signed.Map.merge _ _
_) | first [unshelve refine (Signed.Map.merge
) | unshelve refine (Signed.Map.merge
_rocq_argument_0) | unshelve refine (Signed.Map.merge _rocq_argument_0
_rocq_argument_1) | unshelve refine (Signed.Map.merge _rocq_argument_0
_rocq_argument_1
_rocq_argument_2)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact _rocq_argument_1 | exact
_rocq_argument_2 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_union _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.union ) | exact (Signed.Map.union
_) | first [unshelve refine (Signed.Map.union
) | unshelve refine (Signed.Map.union
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_cardinal _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.cardinal ) | exact (Signed.Map.cardinal
_) | first [unshelve refine (Signed.Map.cardinal
) | unshelve refine (Signed.Map.cardinal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_bindings _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.bindings ) | exact (Signed.Map.bindings
_) | first [unshelve refine (Signed.Map.bindings
) | unshelve refine (Signed.Map.bindings
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_min_binding _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.min_binding
_rocq_witness_0) | unshelve refine (Signed.Map.min_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.min_binding
) | unshelve refine (Signed.Map.min_binding
_rocq_argument_0) | let value := uconstr:(Signed.Map.min_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_min_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.min_binding_opt
) | exact (Signed.Map.min_binding_opt
_) | first [unshelve refine (Signed.Map.min_binding_opt
) | unshelve refine (Signed.Map.min_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_max_binding _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.max_binding
_rocq_witness_0) | unshelve refine (Signed.Map.max_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.max_binding
) | unshelve refine (Signed.Map.max_binding
_rocq_argument_0) | let value := uconstr:(Signed.Map.max_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_max_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.max_binding_opt
) | exact (Signed.Map.max_binding_opt
_) | first [unshelve refine (Signed.Map.max_binding_opt
) | unshelve refine (Signed.Map.max_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_choose _rocq_argument_0 _rocq_witness_0
:= ltac:(first [unshelve refine (Signed.Map.choose
_rocq_witness_0) | unshelve refine (Signed.Map.choose _rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.choose
) | unshelve refine (Signed.Map.choose
_rocq_argument_0) | let value := uconstr:(Signed.Map.choose) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_choose_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.choose_opt
) | exact (Signed.Map.choose_opt
_) | first [unshelve refine (Signed.Map.choose_opt
) | unshelve refine (Signed.Map.choose_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_find _rocq_argument_0 _rocq_witness_0 :=
ltac:(first [unshelve refine (Signed.Map.find
_rocq_witness_0) | unshelve refine (Signed.Map.find _rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.find
) | unshelve refine (Signed.Map.find
_rocq_argument_0) | let value := uconstr:(Signed.Map.find) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_find_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.find_opt ) | exact (Signed.Map.find_opt
_) | first [unshelve refine (Signed.Map.find_opt
) | unshelve refine (Signed.Map.find_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_find_first _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.find_first
_rocq_witness_0) | unshelve refine (Signed.Map.find_first
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.find_first
) | unshelve refine (Signed.Map.find_first
_rocq_argument_0) | let value := uconstr:(Signed.Map.find_first) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_find_first_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.find_first_opt
) | exact (Signed.Map.find_first_opt
_) | first [unshelve refine (Signed.Map.find_first_opt
) | unshelve refine (Signed.Map.find_first_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_find_last _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Signed.Map.find_last
_rocq_witness_0) | unshelve refine (Signed.Map.find_last
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Signed.Map.find_last
) | unshelve refine (Signed.Map.find_last
_rocq_argument_0) | let value := uconstr:(Signed.Map.find_last) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Signed_Map_find_last_opt _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.find_last_opt
) | exact (Signed.Map.find_last_opt
_) | first [unshelve refine (Signed.Map.find_last_opt
) | unshelve refine (Signed.Map.find_last_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_iter _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.iter ) | exact (Signed.Map.iter
_) | first [unshelve refine (Signed.Map.iter
) | unshelve refine (Signed.Map.iter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_fold _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (Signed.Map.fold ) | exact (Signed.Map.fold
_) | exact (Signed.Map.fold _
_) | first [unshelve refine (Signed.Map.fold
) | unshelve refine (Signed.Map.fold
_rocq_argument_0) | unshelve refine (Signed.Map.fold _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_map _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (Signed.Map.map ) | exact (Signed.Map.map
_) | exact (Signed.Map.map _ _) | first [unshelve refine (Signed.Map.map
) | unshelve refine (Signed.Map.map
_rocq_argument_0) | unshelve refine (Signed.Map.map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_mapi _rocq_argument_0 _rocq_argument_1 :=
ltac:(first [exact (Signed.Map.mapi ) | exact (Signed.Map.mapi
_) | exact (Signed.Map.mapi _
_) | first [unshelve refine (Signed.Map.mapi
) | unshelve refine (Signed.Map.mapi
_rocq_argument_0) | unshelve refine (Signed.Map.mapi _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_filter _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.filter ) | exact (Signed.Map.filter
_) | first [unshelve refine (Signed.Map.filter
) | unshelve refine (Signed.Map.filter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_filter_map _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Signed.Map.filter_map
) | exact (Signed.Map.filter_map _) | exact (Signed.Map.filter_map _
_) | first [unshelve refine (Signed.Map.filter_map
) | unshelve refine (Signed.Map.filter_map
_rocq_argument_0) | unshelve refine (Signed.Map.filter_map
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_partition _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.partition ) | exact (Signed.Map.partition
_) | first [unshelve refine (Signed.Map.partition
) | unshelve refine (Signed.Map.partition
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_split _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.split ) | exact (Signed.Map.split
_) | first [unshelve refine (Signed.Map.split
) | unshelve refine (Signed.Map.split
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_is_empty _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.is_empty ) | exact (Signed.Map.is_empty
_) | first [unshelve refine (Signed.Map.is_empty
) | unshelve refine (Signed.Map.is_empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_is_singleton _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.is_singleton
) | exact (Signed.Map.is_singleton
_) | first [unshelve refine (Signed.Map.is_singleton
) | unshelve refine (Signed.Map.is_singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_mem _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.mem ) | exact (Signed.Map.mem
_) | first [unshelve refine (Signed.Map.mem
) | unshelve refine (Signed.Map.mem
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_equal _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.equal ) | exact (Signed.Map.equal
_) | first [unshelve refine (Signed.Map.equal
) | unshelve refine (Signed.Map.equal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_compare _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.compare ) | exact (Signed.Map.compare
_) | first [unshelve refine (Signed.Map.compare
) | unshelve refine (Signed.Map.compare
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_for_all _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.for_all ) | exact (Signed.Map.for_all
_) | first [unshelve refine (Signed.Map.for_all
) | unshelve refine (Signed.Map.for_all
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_exists _rocq_argument_0 :=
ltac:(first [exact (Signed.Map._exists ) | exact (Signed.Map._exists
_) | first [unshelve refine (Signed.Map._exists
) | unshelve refine (Signed.Map._exists
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_list _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_list ) | exact (Signed.Map.to_list
_) | first [unshelve refine (Signed.Map.to_list
) | unshelve refine (Signed.Map.to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_of_list _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.of_list ) | exact (Signed.Map.of_list
_) | first [unshelve refine (Signed.Map.of_list
) | unshelve refine (Signed.Map.of_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_seq ) | exact (Signed.Map.to_seq
_) | first [unshelve refine (Signed.Map.to_seq
) | unshelve refine (Signed.Map.to_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_rev_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_rev_seq
) | exact (Signed.Map.to_rev_seq
_) | first [unshelve refine (Signed.Map.to_rev_seq
) | unshelve refine (Signed.Map.to_rev_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_to_seq_from _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.to_seq_from
) | exact (Signed.Map.to_seq_from
_) | first [unshelve refine (Signed.Map.to_seq_from
) | unshelve refine (Signed.Map.to_seq_from
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_add_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.add_seq ) | exact (Signed.Map.add_seq
_) | first [unshelve refine (Signed.Map.add_seq
) | unshelve refine (Signed.Map.add_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_of_seq _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.of_seq ) | exact (Signed.Map.of_seq
_) | first [unshelve refine (Signed.Map.of_seq
) | unshelve refine (Signed.Map.of_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_at _rocq_argument_0 :=
ltac:(first [exact (Signed.Map._at ) | exact (Signed.Map._at
_) | first [unshelve refine (Signed.Map._at
) | unshelve refine (Signed.Map._at
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_keys _rocq_argument_0 :=
ltac:(first [exact (Signed.Map.keys ) | exact (Signed.Map.keys
_) | first [unshelve refine (Signed.Map.keys
) | unshelve refine (Signed.Map.keys
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_Map_difference _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Signed.Map.difference
) | exact (Signed.Map.difference _) | exact (Signed.Map.difference _
_) | first [unshelve refine (Signed.Map.difference
) | unshelve refine (Signed.Map.difference
_rocq_argument_0) | unshelve refine (Signed.Map.difference
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Signed_of_z_after_op := Signed.of_z_after_op;
TwosComplement_result.Signed_lift_1 := Signed.lift_1;
TwosComplement_result.Signed_lift_2 := Signed.lift_2;
TwosComplement_result.Signed_logand := Signed.logand;
TwosComplement_result.Signed_logor := Signed.logor;
TwosComplement_result.Signed_logxor := Signed.logxor;
TwosComplement_result.Signed_lognot := Signed.lognot;
TwosComplement_result.op_Signed_plus := Signed.op_plus;
TwosComplement_result.op_Signed_minus := Signed.op_minus;
TwosComplement_result.op_Signed_star := Signed.op_star;
TwosComplement_result.op_Signed_div := Signed.op_div;
TwosComplement_result.Signed_modulo := Signed.modulo;
TwosComplement_result.Signed_rem := Signed.rem;
TwosComplement_result.Signed_addmod := Signed.addmod;
TwosComplement_result.Signed_mulmod := Signed.mulmod;
TwosComplement_result.Signed_shift_left := Signed.shift_left;
TwosComplement_result.Signed_shift_right := Signed.shift_right;
TwosComplement_result.op_Signed_starstar := Signed.op_starstar;
TwosComplement_result.Signed_exp_mod := Signed.exp_mod;
TwosComplement_result.Signed_minus_1_64th := Signed.minus_1_64th;
TwosComplement_result.Signed_bytes_to_whole_words :=
Signed.bytes_to_whole_words;
TwosComplement_result.Signed_Repr := Signed.Repr;
TwosComplement_result.Signed_bit_width := Signed.bit_width;
TwosComplement_result.Signed_byte_width := Signed.byte_width;
TwosComplement_result.Signed_max_t := Signed.max_t;
TwosComplement_result.Signed_min_t := Signed.min_t;
TwosComplement_result.Signed_of_z_truncating := Signed.of_z_truncating;
TwosComplement_result.Signed_of_repr := Signed.of_repr;
TwosComplement_result.Signed_to_repr := Signed.to_repr;
TwosComplement_result.Signed_as_unsigned _rocq_witness_0 :=
ltac:(first [unshelve refine (Signed.as_unsigned
_rocq_witness_0) | unshelve refine (Signed.as_unsigned
) | let value := uconstr:(Signed.as_unsigned) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Impl_signed := Unsigned.Impl.signed;
TwosComplement_result.Unsigned_Impl_max_t := Unsigned.Impl.max_t;
TwosComplement_result.Unsigned_Impl_min_t := Unsigned.Impl.min_t;
TwosComplement_result.Unsigned_Impl_in_range := Unsigned.Impl.in_range;
TwosComplement_result.Unsigned_Impl_of_z_opt := Unsigned.Impl.of_z_opt;
TwosComplement_result.Unsigned_Impl_of_z_truncating :=
Unsigned.Impl.of_z_truncating;
TwosComplement_result.Unsigned_Impl_to_z := Unsigned.Impl.to_z;
TwosComplement_result.Unsigned_Impl_testbit := Unsigned.Impl.testbit;
TwosComplement_result.Unsigned_signed := Unsigned.signed;
TwosComplement_result.Unsigned_in_range := Unsigned.in_range;
TwosComplement_result.Unsigned_of_z_opt := Unsigned.of_z_opt;
TwosComplement_result.Unsigned_to_z := Unsigned.to_z;
TwosComplement_result.Unsigned_testbit := Unsigned.testbit;
TwosComplement_result.Unsigned_of_z_exn := Unsigned.of_z_exn;
TwosComplement_result.Unsigned_zero := Unsigned.zero;
TwosComplement_result.Unsigned_one := Unsigned.one;
TwosComplement_result.Unsigned_byte := Unsigned.byte;
TwosComplement_result.Unsigned_significant_bits :=
Unsigned.significant_bits;
TwosComplement_result.Unsigned_significant_bytes :=
Unsigned.significant_bytes;
TwosComplement_result.Unsigned_of_bool := Unsigned.of_bool;
TwosComplement_result.Unsigned_of_byte := Unsigned.of_byte;
TwosComplement_result.Unsigned_of_int := Unsigned.of_int;
TwosComplement_result.op_Unsigned_tildedollar := Unsigned.op_tildedollar;
TwosComplement_result.Unsigned_to_int := Unsigned.to_int;
TwosComplement_result.Unsigned_to_int_opt := Unsigned.to_int_opt;
TwosComplement_result.Unsigned_of_uint64 := Unsigned.of_uint64;
TwosComplement_result.Unsigned_of_int64 := Unsigned.of_int64;
TwosComplement_result.Unsigned_to_uint64 := Unsigned.to_uint64;
TwosComplement_result.Unsigned_to_int64 := Unsigned.to_int64;
TwosComplement_result.Unsigned_of_uint32 := Unsigned.of_uint32;
TwosComplement_result.Unsigned_of_int32 := Unsigned.of_int32;
TwosComplement_result.Unsigned_to_uint32 := Unsigned.to_uint32;
TwosComplement_result.Unsigned_to_int32 := Unsigned.to_int32;
TwosComplement_result.Unsigned_hash := Unsigned.hash;
TwosComplement_result.Unsigned_comparison_op := Unsigned.comparison_op;
TwosComplement_result.op_Unsigned_lt := Unsigned.op_lt;
TwosComplement_result.op_Unsigned_lteq := Unsigned.op_lteq;
TwosComplement_result.op_Unsigned_eq := Unsigned.op_eq;
TwosComplement_result.op_Unsigned_gteq := Unsigned.op_gteq;
TwosComplement_result.op_Unsigned_gt := Unsigned.op_gt;
TwosComplement_result.op_Unsigned_ltgt := Unsigned.op_ltgt;
TwosComplement_result.Unsigned_equal := Unsigned.equal;
TwosComplement_result.Unsigned_compare := Unsigned.compare;
TwosComplement_result.Unsigned_max := Unsigned.max;
TwosComplement_result.Unsigned_min := Unsigned.min;
TwosComplement_result.Unsigned_Set := Unsigned._Set;
TwosComplement_result.Unsigned_is_zero := Unsigned.is_zero;
TwosComplement_result.Unsigned_to_string := Unsigned.to_string;
TwosComplement_result.Unsigned_to_hex_string := Unsigned.to_hex_string;
TwosComplement_result.Unsigned_of_string := Unsigned.of_string;
TwosComplement_result.op_Unsigned_tildeat := Unsigned.op_tildeat;
TwosComplement_result.Unsigned_Map_empty _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.empty ) | exact (Unsigned.Map.empty
_) | first [unshelve refine (Unsigned.Map.empty
) | unshelve refine (Unsigned.Map.empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_add _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.add ) | exact (Unsigned.Map.add
_) | first [unshelve refine (Unsigned.Map.add
) | unshelve refine (Unsigned.Map.add
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_add_to_list _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.add_to_list
) | exact (Unsigned.Map.add_to_list
_) | first [unshelve refine (Unsigned.Map.add_to_list
) | unshelve refine (Unsigned.Map.add_to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_update _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.update ) | exact (Unsigned.Map.update
_) | first [unshelve refine (Unsigned.Map.update
) | unshelve refine (Unsigned.Map.update
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_singleton _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.singleton
) | exact (Unsigned.Map.singleton
_) | first [unshelve refine (Unsigned.Map.singleton
) | unshelve refine (Unsigned.Map.singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_remove _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.remove ) | exact (Unsigned.Map.remove
_) | first [unshelve refine (Unsigned.Map.remove
) | unshelve refine (Unsigned.Map.remove
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_merge _rocq_argument_0 _rocq_argument_1
_rocq_argument_2 := ltac:(first [exact (Unsigned.Map.merge
) | exact (Unsigned.Map.merge _) | exact (Unsigned.Map.merge _
_) | exact (Unsigned.Map.merge _ _
_) | first [unshelve refine (Unsigned.Map.merge
) | unshelve refine (Unsigned.Map.merge
_rocq_argument_0) | unshelve refine (Unsigned.Map.merge _rocq_argument_0
_rocq_argument_1) | unshelve refine (Unsigned.Map.merge _rocq_argument_0
_rocq_argument_1
_rocq_argument_2)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact _rocq_argument_1 | exact
_rocq_argument_2 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_union _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.union ) | exact (Unsigned.Map.union
_) | first [unshelve refine (Unsigned.Map.union
) | unshelve refine (Unsigned.Map.union
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_cardinal _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.cardinal
) | exact (Unsigned.Map.cardinal
_) | first [unshelve refine (Unsigned.Map.cardinal
) | unshelve refine (Unsigned.Map.cardinal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_bindings _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.bindings
) | exact (Unsigned.Map.bindings
_) | first [unshelve refine (Unsigned.Map.bindings
) | unshelve refine (Unsigned.Map.bindings
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_min_binding _rocq_argument_0
_rocq_witness_0 :=
ltac:(first [unshelve refine (Unsigned.Map.min_binding
_rocq_witness_0) | unshelve refine (Unsigned.Map.min_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.min_binding
) | unshelve refine (Unsigned.Map.min_binding
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.min_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_min_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.min_binding_opt
) | exact (Unsigned.Map.min_binding_opt
_) | first [unshelve refine (Unsigned.Map.min_binding_opt
) | unshelve refine (Unsigned.Map.min_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_max_binding _rocq_argument_0
_rocq_witness_0 :=
ltac:(first [unshelve refine (Unsigned.Map.max_binding
_rocq_witness_0) | unshelve refine (Unsigned.Map.max_binding
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.max_binding
) | unshelve refine (Unsigned.Map.max_binding
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.max_binding) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_max_binding_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.max_binding_opt
) | exact (Unsigned.Map.max_binding_opt
_) | first [unshelve refine (Unsigned.Map.max_binding_opt
) | unshelve refine (Unsigned.Map.max_binding_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_choose _rocq_argument_0 _rocq_witness_0
:= ltac:(first [unshelve refine (Unsigned.Map.choose
_rocq_witness_0) | unshelve refine (Unsigned.Map.choose _rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.choose
) | unshelve refine (Unsigned.Map.choose
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.choose) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_choose_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.choose_opt
) | exact (Unsigned.Map.choose_opt
_) | first [unshelve refine (Unsigned.Map.choose_opt
) | unshelve refine (Unsigned.Map.choose_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_find _rocq_argument_0 _rocq_witness_0
:= ltac:(first [unshelve refine (Unsigned.Map.find
_rocq_witness_0) | unshelve refine (Unsigned.Map.find _rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.find
) | unshelve refine (Unsigned.Map.find
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.find) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_find_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.find_opt
) | exact (Unsigned.Map.find_opt
_) | first [unshelve refine (Unsigned.Map.find_opt
) | unshelve refine (Unsigned.Map.find_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_find_first _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Unsigned.Map.find_first
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_first
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_first
) | unshelve refine (Unsigned.Map.find_first
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.find_first) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_find_first_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.find_first_opt
) | exact (Unsigned.Map.find_first_opt
_) | first [unshelve refine (Unsigned.Map.find_first_opt
) | unshelve refine (Unsigned.Map.find_first_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_find_last _rocq_argument_0
_rocq_witness_0 := ltac:(first [unshelve refine (Unsigned.Map.find_last
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_last
_rocq_argument_0
_rocq_witness_0) | unshelve refine (Unsigned.Map.find_last
) | unshelve refine (Unsigned.Map.find_last
_rocq_argument_0) | let value := uconstr:(Unsigned.Map.find_last) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | exact
_rocq_argument_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_Map_find_last_opt _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.find_last_opt
) | exact (Unsigned.Map.find_last_opt
_) | first [unshelve refine (Unsigned.Map.find_last_opt
) | unshelve refine (Unsigned.Map.find_last_opt
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_iter _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.iter ) | exact (Unsigned.Map.iter
_) | first [unshelve refine (Unsigned.Map.iter
) | unshelve refine (Unsigned.Map.iter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_fold _rocq_argument_0 _rocq_argument_1
:= ltac:(first [exact (Unsigned.Map.fold ) | exact (Unsigned.Map.fold
_) | exact (Unsigned.Map.fold _
_) | first [unshelve refine (Unsigned.Map.fold
) | unshelve refine (Unsigned.Map.fold
_rocq_argument_0) | unshelve refine (Unsigned.Map.fold _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_map _rocq_argument_0 _rocq_argument_1
:= ltac:(first [exact (Unsigned.Map.map ) | exact (Unsigned.Map.map
_) | exact (Unsigned.Map.map _
_) | first [unshelve refine (Unsigned.Map.map
) | unshelve refine (Unsigned.Map.map
_rocq_argument_0) | unshelve refine (Unsigned.Map.map _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_mapi _rocq_argument_0 _rocq_argument_1
:= ltac:(first [exact (Unsigned.Map.mapi ) | exact (Unsigned.Map.mapi
_) | exact (Unsigned.Map.mapi _
_) | first [unshelve refine (Unsigned.Map.mapi
) | unshelve refine (Unsigned.Map.mapi
_rocq_argument_0) | unshelve refine (Unsigned.Map.mapi _rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_filter _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.filter ) | exact (Unsigned.Map.filter
_) | first [unshelve refine (Unsigned.Map.filter
) | unshelve refine (Unsigned.Map.filter
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_filter_map _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Unsigned.Map.filter_map
) | exact (Unsigned.Map.filter_map _) | exact (Unsigned.Map.filter_map _
_) | first [unshelve refine (Unsigned.Map.filter_map
) | unshelve refine (Unsigned.Map.filter_map
_rocq_argument_0) | unshelve refine (Unsigned.Map.filter_map
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_partition _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.partition
) | exact (Unsigned.Map.partition
_) | first [unshelve refine (Unsigned.Map.partition
) | unshelve refine (Unsigned.Map.partition
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_split _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.split ) | exact (Unsigned.Map.split
_) | first [unshelve refine (Unsigned.Map.split
) | unshelve refine (Unsigned.Map.split
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_is_empty _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.is_empty
) | exact (Unsigned.Map.is_empty
_) | first [unshelve refine (Unsigned.Map.is_empty
) | unshelve refine (Unsigned.Map.is_empty
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_is_singleton _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.is_singleton
) | exact (Unsigned.Map.is_singleton
_) | first [unshelve refine (Unsigned.Map.is_singleton
) | unshelve refine (Unsigned.Map.is_singleton
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_mem _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.mem ) | exact (Unsigned.Map.mem
_) | first [unshelve refine (Unsigned.Map.mem
) | unshelve refine (Unsigned.Map.mem
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_equal _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.equal ) | exact (Unsigned.Map.equal
_) | first [unshelve refine (Unsigned.Map.equal
) | unshelve refine (Unsigned.Map.equal
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_compare _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.compare ) | exact (Unsigned.Map.compare
_) | first [unshelve refine (Unsigned.Map.compare
) | unshelve refine (Unsigned.Map.compare
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_for_all _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.for_all ) | exact (Unsigned.Map.for_all
_) | first [unshelve refine (Unsigned.Map.for_all
) | unshelve refine (Unsigned.Map.for_all
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_exists _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map._exists ) | exact (Unsigned.Map._exists
_) | first [unshelve refine (Unsigned.Map._exists
) | unshelve refine (Unsigned.Map._exists
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_list _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_list ) | exact (Unsigned.Map.to_list
_) | first [unshelve refine (Unsigned.Map.to_list
) | unshelve refine (Unsigned.Map.to_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_of_list _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.of_list ) | exact (Unsigned.Map.of_list
_) | first [unshelve refine (Unsigned.Map.of_list
) | unshelve refine (Unsigned.Map.of_list
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_seq ) | exact (Unsigned.Map.to_seq
_) | first [unshelve refine (Unsigned.Map.to_seq
) | unshelve refine (Unsigned.Map.to_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_rev_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_rev_seq
) | exact (Unsigned.Map.to_rev_seq
_) | first [unshelve refine (Unsigned.Map.to_rev_seq
) | unshelve refine (Unsigned.Map.to_rev_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_to_seq_from _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.to_seq_from
) | exact (Unsigned.Map.to_seq_from
_) | first [unshelve refine (Unsigned.Map.to_seq_from
) | unshelve refine (Unsigned.Map.to_seq_from
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_add_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.add_seq ) | exact (Unsigned.Map.add_seq
_) | first [unshelve refine (Unsigned.Map.add_seq
) | unshelve refine (Unsigned.Map.add_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_of_seq _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.of_seq ) | exact (Unsigned.Map.of_seq
_) | first [unshelve refine (Unsigned.Map.of_seq
) | unshelve refine (Unsigned.Map.of_seq
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_at _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map._at ) | exact (Unsigned.Map._at
_) | first [unshelve refine (Unsigned.Map._at
) | unshelve refine (Unsigned.Map._at
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_keys _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Map.keys ) | exact (Unsigned.Map.keys
_) | first [unshelve refine (Unsigned.Map.keys
) | unshelve refine (Unsigned.Map.keys
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_Map_difference _rocq_argument_0
_rocq_argument_1 := ltac:(first [exact (Unsigned.Map.difference
) | exact (Unsigned.Map.difference _) | exact (Unsigned.Map.difference _
_) | first [unshelve refine (Unsigned.Map.difference
) | unshelve refine (Unsigned.Map.difference
_rocq_argument_0) | unshelve refine (Unsigned.Map.difference
_rocq_argument_0
_rocq_argument_1)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | exact
_rocq_argument_1 | eassumption | typeclasses eauto]]);
TwosComplement_result.Unsigned_of_z_after_op := Unsigned.of_z_after_op;
TwosComplement_result.Unsigned_lift_1 := Unsigned.lift_1;
TwosComplement_result.Unsigned_lift_2 := Unsigned.lift_2;
TwosComplement_result.Unsigned_logand := Unsigned.logand;
TwosComplement_result.Unsigned_logor := Unsigned.logor;
TwosComplement_result.Unsigned_logxor := Unsigned.logxor;
TwosComplement_result.Unsigned_lognot := Unsigned.lognot;
TwosComplement_result.op_Unsigned_plus := Unsigned.op_plus;
TwosComplement_result.op_Unsigned_minus := Unsigned.op_minus;
TwosComplement_result.op_Unsigned_star := Unsigned.op_star;
TwosComplement_result.op_Unsigned_div := Unsigned.op_div;
TwosComplement_result.Unsigned_modulo := Unsigned.modulo;
TwosComplement_result.Unsigned_rem := Unsigned.rem;
TwosComplement_result.Unsigned_addmod := Unsigned.addmod;
TwosComplement_result.Unsigned_mulmod := Unsigned.mulmod;
TwosComplement_result.Unsigned_shift_left := Unsigned.shift_left;
TwosComplement_result.Unsigned_shift_right := Unsigned.shift_right;
TwosComplement_result.op_Unsigned_starstar := Unsigned.op_starstar;
TwosComplement_result.Unsigned_exp_mod := Unsigned.exp_mod;
TwosComplement_result.Unsigned_minus_1_64th := Unsigned.minus_1_64th;
TwosComplement_result.Unsigned_bytes_to_whole_words :=
Unsigned.bytes_to_whole_words;
TwosComplement_result.Unsigned_Repr := Unsigned.Repr;
TwosComplement_result.Unsigned_bit_width := Unsigned.bit_width;
TwosComplement_result.Unsigned_byte_width := Unsigned.byte_width;
TwosComplement_result.Unsigned_max_t := Unsigned.max_t;
TwosComplement_result.Unsigned_min_t := Unsigned.min_t;
TwosComplement_result.Unsigned_of_z_truncating := Unsigned.of_z_truncating;
TwosComplement_result.Unsigned_of_repr := Unsigned.of_repr;
TwosComplement_result.Unsigned_to_repr := Unsigned.to_repr;
TwosComplement_result.Unsigned_to_repr_bytes := Unsigned.to_repr_bytes;
TwosComplement_result.Unsigned_as_signed _rocq_witness_0 :=
ltac:(first [unshelve refine (Unsigned.as_signed
_rocq_witness_0) | unshelve refine (Unsigned.as_signed
) | let value := uconstr:(Unsigned.as_signed) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
_rocq_witness_0 | eassumption | typeclasses eauto])]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_witness_0 | eassumption | typeclasses eauto]);
TwosComplement_result.Unsigned_sign_extend := Unsigned.sign_extend;
TwosComplement_result.Unsigned_exp := Unsigned.exp;
TwosComplement_result.Unsigned_to_uint := Unsigned.to_uint;
TwosComplement_result.Unsigned_of_uint_opt := Unsigned.of_uint_opt;
TwosComplement_result.Unsigned_of_uint_exn := Unsigned.of_uint_exn;
TwosComplement_result.Unsigned_of_uint_truncating :=
Unsigned.of_uint_truncating;
TwosComplement_result.Unsigned_to_integer := Unsigned.to_integer;
TwosComplement_result.Unsigned_of_integer_opt := Unsigned.of_integer_opt;
TwosComplement_result.Unsigned_of_integer_exn := Unsigned.of_integer_exn;
TwosComplement_result.Unsigned_of_bytes_be_exn := Unsigned.of_bytes_be_exn;
TwosComplement_result.Unsigned_to_bytes_be := Unsigned.to_bytes_be;
TwosComplement_result.Unsigned_of_signed_int := Unsigned.of_signed_int;
TwosComplement_result.Unsigned_to_rlp := Unsigned.to_rlp;
TwosComplement_result.Unsigned_of_rlp := Unsigned.of_rlp;
TwosComplement_result.Unsigned_Checked_lift_2_or _rocq_argument_0 :=
ltac:(first [exact (Unsigned.Checked.lift_2_or
) | exact (Unsigned.Checked.lift_2_or
_) | first [unshelve refine (Unsigned.Checked.lift_2_or
) | unshelve refine (Unsigned.Checked.lift_2_or
_rocq_argument_0)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | exact
_rocq_argument_0 | eassumption | typeclasses eauto]]);
TwosComplement_result.op_Unsigned_Checked_plus := Unsigned.Checked.op_plus;
TwosComplement_result.op_Unsigned_Checked_minus :=
Unsigned.Checked.op_minus;
TwosComplement_result.op_Unsigned_Checked_star := Unsigned.Checked.op_star;
TwosComplement_result.op_Unsigned_Checked_div := Unsigned.Checked.op_div
|}.
End TwosComplement.
Definition TwosComplement (B : MonadVM.Traits.Byte_width.SIG) :=
@TwosComplement.functor (TwosComplement.Build_FArgs B).
Definition Bits256_fargs :=
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes32.
Definition Bits256 :
TwosComplement.TwosComplement_result (_fargs := Bits256_fargs) :=
(TwosComplement.functor (_fargs := (Bits256_fargs ))).
Unsigned 256-bit integers. {!U256.t} is used to represent Ethereum 256-bit words.
Module U256.
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits256.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits256.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits256.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits256.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits256.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits256.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or)
(A := A).
Definition op_plus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U256.
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits256.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits256.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits256.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits256.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits256.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits256.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or)
(A := A).
Definition op_plus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits256.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U256.
Signed 256-bit integers. {!I256.t} is used for signed arithmetic on Ethereum 256-bit words.
Module I256.
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.Signed_signed).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.Signed_in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_opt).
Definition to_z := Bits256.(TwosComplement.TwosComplement_result.Signed_to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.Signed_testbit).
Definition of_z_exn :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_exn).
Definition zero := Bits256.(TwosComplement.TwosComplement_result.Signed_zero).
Definition one := Bits256.(TwosComplement.TwosComplement_result.Signed_one).
Definition byte := Bits256.(TwosComplement.TwosComplement_result.Signed_byte).
Definition significant_bits :=
Bits256.(TwosComplement.TwosComplement_result.Signed_significant_bits).
Definition significant_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_significant_bytes).
Definition of_bool :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_bool).
Definition of_byte :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_byte).
Definition of_int :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_int).
Definition op_tildedollar :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_tildedollar).
Definition to_int :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int).
Definition to_int_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int_opt).
Definition of_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_uint64).
Definition of_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_int64).
Definition to_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_uint64).
Definition to_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int64).
Definition of_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_uint32).
Definition of_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_int32).
Definition to_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_uint32).
Definition to_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int32).
Definition hash := Bits256.(TwosComplement.TwosComplement_result.Signed_hash).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Signed_comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_compare).
Definition max := Bits256.(TwosComplement.TwosComplement_result.Signed_max).
Definition min := Bits256.(TwosComplement.TwosComplement_result.Signed_min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits256.(TwosComplement.TwosComplement_result.Signed_Set).
Definition is_zero :=
Bits256.(TwosComplement.TwosComplement_result.Signed_is_zero).
Definition to_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_string).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_hex_string).
Definition of_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_tildeat).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_after_op).
Definition lift_1 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_lift_1).
Definition lift_2 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_lift_2).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Signed_logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Signed_lognot).
Definition op_plus :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_plus).
Definition op_minus :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_minus).
Definition op_star :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_star).
Definition op_div :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_div).
Definition modulo :=
Bits256.(TwosComplement.TwosComplement_result.Signed_modulo).
Definition rem := Bits256.(TwosComplement.TwosComplement_result.Signed_rem).
Definition addmod :=
Bits256.(TwosComplement.TwosComplement_result.Signed_addmod).
Definition mulmod :=
Bits256.(TwosComplement.TwosComplement_result.Signed_mulmod).
Definition shift_left :=
Bits256.(TwosComplement.TwosComplement_result.Signed_shift_left).
Definition shift_right :=
Bits256.(TwosComplement.TwosComplement_result.Signed_shift_right).
Definition op_starstar :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_starstar).
Definition exp_mod :=
Bits256.(TwosComplement.TwosComplement_result.Signed_exp_mod).
Definition minus_1_64th :=
Bits256.(TwosComplement.TwosComplement_result.Signed_minus_1_64th).
Definition bytes_to_whole_words :=
Bits256.(TwosComplement.TwosComplement_result.Signed_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).
Definition bit_width :=
Bits256.(TwosComplement.TwosComplement_result.Signed_bit_width).
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Signed_byte_width).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_min_t).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_truncating).
Definition of_repr :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_repr).
Definition to_repr :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_repr).
Definition as_unsigned
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_as_unsigned)
(_rocq_fallback_arg_0).
End I256.
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.t).
Definition signed :=
Bits256.(TwosComplement.TwosComplement_result.Signed_signed).
Definition in_range :=
Bits256.(TwosComplement.TwosComplement_result.Signed_in_range).
Definition of_z_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_opt).
Definition to_z := Bits256.(TwosComplement.TwosComplement_result.Signed_to_z).
Definition testbit :=
Bits256.(TwosComplement.TwosComplement_result.Signed_testbit).
Definition of_z_exn :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_exn).
Definition zero := Bits256.(TwosComplement.TwosComplement_result.Signed_zero).
Definition one := Bits256.(TwosComplement.TwosComplement_result.Signed_one).
Definition byte := Bits256.(TwosComplement.TwosComplement_result.Signed_byte).
Definition significant_bits :=
Bits256.(TwosComplement.TwosComplement_result.Signed_significant_bits).
Definition significant_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_significant_bytes).
Definition of_bool :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_bool).
Definition of_byte :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_byte).
Definition of_int :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_int).
Definition op_tildedollar :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_tildedollar).
Definition to_int :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int).
Definition to_int_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int_opt).
Definition of_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_uint64).
Definition of_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_int64).
Definition to_uint64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_uint64).
Definition to_int64 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int64).
Definition of_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_uint32).
Definition of_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_int32).
Definition to_uint32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_uint32).
Definition to_int32 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_int32).
Definition hash := Bits256.(TwosComplement.TwosComplement_result.Signed_hash).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Signed_comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_compare).
Definition max := Bits256.(TwosComplement.TwosComplement_result.Signed_max).
Definition min := Bits256.(TwosComplement.TwosComplement_result.Signed_min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits256.(TwosComplement.TwosComplement_result.Signed_Set).
Definition is_zero :=
Bits256.(TwosComplement.TwosComplement_result.Signed_is_zero).
Definition to_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_string).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_hex_string).
Definition of_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_tildeat).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_after_op).
Definition lift_1 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_lift_1).
Definition lift_2 :=
Bits256.(TwosComplement.TwosComplement_result.Signed_lift_2).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Signed_logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Signed_lognot).
Definition op_plus :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_plus).
Definition op_minus :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_minus).
Definition op_star :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_star).
Definition op_div :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_div).
Definition modulo :=
Bits256.(TwosComplement.TwosComplement_result.Signed_modulo).
Definition rem := Bits256.(TwosComplement.TwosComplement_result.Signed_rem).
Definition addmod :=
Bits256.(TwosComplement.TwosComplement_result.Signed_addmod).
Definition mulmod :=
Bits256.(TwosComplement.TwosComplement_result.Signed_mulmod).
Definition shift_left :=
Bits256.(TwosComplement.TwosComplement_result.Signed_shift_left).
Definition shift_right :=
Bits256.(TwosComplement.TwosComplement_result.Signed_shift_right).
Definition op_starstar :=
Bits256.(TwosComplement.TwosComplement_result.op_Signed_starstar).
Definition exp_mod :=
Bits256.(TwosComplement.TwosComplement_result.Signed_exp_mod).
Definition minus_1_64th :=
Bits256.(TwosComplement.TwosComplement_result.Signed_minus_1_64th).
Definition bytes_to_whole_words :=
Bits256.(TwosComplement.TwosComplement_result.Signed_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits256.(TwosComplement.TwosComplement_result.Signed_Repr).
Definition bit_width :=
Bits256.(TwosComplement.TwosComplement_result.Signed_bit_width).
Definition byte_width :=
Bits256.(TwosComplement.TwosComplement_result.Signed_byte_width).
Definition max_t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_max_t).
Definition min_t :=
Bits256.(TwosComplement.TwosComplement_result.Signed_min_t).
Definition of_z_truncating :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_z_truncating).
Definition of_repr :=
Bits256.(TwosComplement.TwosComplement_result.Signed_of_repr).
Definition to_repr :=
Bits256.(TwosComplement.TwosComplement_result.Signed_to_repr).
Definition as_unsigned
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits256.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits256.(TwosComplement.TwosComplement_result.Signed_as_unsigned)
(_rocq_fallback_arg_0).
End I256.
Signed and unsigned 64-bit integers. More operations than the versions in stdlib.
Definition Bits64_fargs :=
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes8.
Definition Bits64 :
TwosComplement.TwosComplement_result (_fargs := Bits64_fargs) :=
(TwosComplement.functor (_fargs := (Bits64_fargs ))).
Module U64.
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits64.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits64.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits64.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits64.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits64.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits64.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or)
(A := A).
Definition op_plus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U64.
Module I64.
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.Signed_signed).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.Signed_in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_opt).
Definition to_z := Bits64.(TwosComplement.TwosComplement_result.Signed_to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.Signed_testbit).
Definition of_z_exn :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_exn).
Definition zero := Bits64.(TwosComplement.TwosComplement_result.Signed_zero).
Definition one := Bits64.(TwosComplement.TwosComplement_result.Signed_one).
Definition byte := Bits64.(TwosComplement.TwosComplement_result.Signed_byte).
Definition significant_bits :=
Bits64.(TwosComplement.TwosComplement_result.Signed_significant_bits).
Definition significant_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_significant_bytes).
Definition of_bool :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_bool).
Definition of_byte :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_byte).
Definition of_int :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_int).
Definition op_tildedollar :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_tildedollar).
Definition to_int :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int).
Definition to_int_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int_opt).
Definition of_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_uint64).
Definition of_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_int64).
Definition to_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_uint64).
Definition to_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int64).
Definition of_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_uint32).
Definition of_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_int32).
Definition to_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_uint32).
Definition to_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int32).
Definition hash := Bits64.(TwosComplement.TwosComplement_result.Signed_hash).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Signed_comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_compare).
Definition max := Bits64.(TwosComplement.TwosComplement_result.Signed_max).
Definition min := Bits64.(TwosComplement.TwosComplement_result.Signed_min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits64.(TwosComplement.TwosComplement_result.Signed_Set).
Definition is_zero :=
Bits64.(TwosComplement.TwosComplement_result.Signed_is_zero).
Definition to_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_string).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_hex_string).
Definition of_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_tildeat).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_after_op).
Definition lift_1 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_lift_1).
Definition lift_2 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_lift_2).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Signed_logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Signed_lognot).
Definition op_plus :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_plus).
Definition op_minus :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_minus).
Definition op_star :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_star).
Definition op_div :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_div).
Definition modulo :=
Bits64.(TwosComplement.TwosComplement_result.Signed_modulo).
Definition rem := Bits64.(TwosComplement.TwosComplement_result.Signed_rem).
Definition addmod :=
Bits64.(TwosComplement.TwosComplement_result.Signed_addmod).
Definition mulmod :=
Bits64.(TwosComplement.TwosComplement_result.Signed_mulmod).
Definition shift_left :=
Bits64.(TwosComplement.TwosComplement_result.Signed_shift_left).
Definition shift_right :=
Bits64.(TwosComplement.TwosComplement_result.Signed_shift_right).
Definition op_starstar :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_starstar).
Definition exp_mod :=
Bits64.(TwosComplement.TwosComplement_result.Signed_exp_mod).
Definition minus_1_64th :=
Bits64.(TwosComplement.TwosComplement_result.Signed_minus_1_64th).
Definition bytes_to_whole_words :=
Bits64.(TwosComplement.TwosComplement_result.Signed_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).
Definition bit_width :=
Bits64.(TwosComplement.TwosComplement_result.Signed_bit_width).
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Signed_byte_width).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_min_t).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_truncating).
Definition of_repr :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_repr).
Definition to_repr :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_repr).
Definition as_unsigned
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_as_unsigned)
(_rocq_fallback_arg_0).
End I64.
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes8.
Definition Bits64 :
TwosComplement.TwosComplement_result (_fargs := Bits64_fargs) :=
(TwosComplement.functor (_fargs := (Bits64_fargs ))).
Module U64.
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits64.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits64.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits64.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits64.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits64.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits64.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits64.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or)
(A := A).
Definition op_plus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits64.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U64.
Module I64.
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.t).
Definition signed :=
Bits64.(TwosComplement.TwosComplement_result.Signed_signed).
Definition in_range :=
Bits64.(TwosComplement.TwosComplement_result.Signed_in_range).
Definition of_z_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_opt).
Definition to_z := Bits64.(TwosComplement.TwosComplement_result.Signed_to_z).
Definition testbit :=
Bits64.(TwosComplement.TwosComplement_result.Signed_testbit).
Definition of_z_exn :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_exn).
Definition zero := Bits64.(TwosComplement.TwosComplement_result.Signed_zero).
Definition one := Bits64.(TwosComplement.TwosComplement_result.Signed_one).
Definition byte := Bits64.(TwosComplement.TwosComplement_result.Signed_byte).
Definition significant_bits :=
Bits64.(TwosComplement.TwosComplement_result.Signed_significant_bits).
Definition significant_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_significant_bytes).
Definition of_bool :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_bool).
Definition of_byte :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_byte).
Definition of_int :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_int).
Definition op_tildedollar :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_tildedollar).
Definition to_int :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int).
Definition to_int_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int_opt).
Definition of_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_uint64).
Definition of_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_int64).
Definition to_uint64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_uint64).
Definition to_int64 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int64).
Definition of_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_uint32).
Definition of_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_int32).
Definition to_uint32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_uint32).
Definition to_int32 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_int32).
Definition hash := Bits64.(TwosComplement.TwosComplement_result.Signed_hash).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Signed_comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_compare).
Definition max := Bits64.(TwosComplement.TwosComplement_result.Signed_max).
Definition min := Bits64.(TwosComplement.TwosComplement_result.Signed_min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits64.(TwosComplement.TwosComplement_result.Signed_Set).
Definition is_zero :=
Bits64.(TwosComplement.TwosComplement_result.Signed_is_zero).
Definition to_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_string).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_hex_string).
Definition of_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_tildeat).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_after_op).
Definition lift_1 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_lift_1).
Definition lift_2 :=
Bits64.(TwosComplement.TwosComplement_result.Signed_lift_2).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Signed_logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Signed_lognot).
Definition op_plus :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_plus).
Definition op_minus :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_minus).
Definition op_star :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_star).
Definition op_div :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_div).
Definition modulo :=
Bits64.(TwosComplement.TwosComplement_result.Signed_modulo).
Definition rem := Bits64.(TwosComplement.TwosComplement_result.Signed_rem).
Definition addmod :=
Bits64.(TwosComplement.TwosComplement_result.Signed_addmod).
Definition mulmod :=
Bits64.(TwosComplement.TwosComplement_result.Signed_mulmod).
Definition shift_left :=
Bits64.(TwosComplement.TwosComplement_result.Signed_shift_left).
Definition shift_right :=
Bits64.(TwosComplement.TwosComplement_result.Signed_shift_right).
Definition op_starstar :=
Bits64.(TwosComplement.TwosComplement_result.op_Signed_starstar).
Definition exp_mod :=
Bits64.(TwosComplement.TwosComplement_result.Signed_exp_mod).
Definition minus_1_64th :=
Bits64.(TwosComplement.TwosComplement_result.Signed_minus_1_64th).
Definition bytes_to_whole_words :=
Bits64.(TwosComplement.TwosComplement_result.Signed_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits64.(TwosComplement.TwosComplement_result.Signed_Repr).
Definition bit_width :=
Bits64.(TwosComplement.TwosComplement_result.Signed_bit_width).
Definition byte_width :=
Bits64.(TwosComplement.TwosComplement_result.Signed_byte_width).
Definition max_t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_max_t).
Definition min_t :=
Bits64.(TwosComplement.TwosComplement_result.Signed_min_t).
Definition of_z_truncating :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_z_truncating).
Definition of_repr :=
Bits64.(TwosComplement.TwosComplement_result.Signed_of_repr).
Definition to_repr :=
Bits64.(TwosComplement.TwosComplement_result.Signed_to_repr).
Definition as_unsigned
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits64.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits64.(TwosComplement.TwosComplement_result.Signed_as_unsigned)
(_rocq_fallback_arg_0).
End I64.
Signed and unsigned 32-bit integers. More operations than the versions in stdlib.
Definition Bits32_fargs :=
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes4.
Definition Bits32 :
TwosComplement.TwosComplement_result (_fargs := Bits32_fargs) :=
(TwosComplement.functor (_fargs := (Bits32_fargs ))).
Module U32.
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits32.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits32.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits32.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits32.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits32.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits32.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or)
(A := A).
Definition op_plus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U32.
Module I32.
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.Signed_signed).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.Signed_in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_opt).
Definition to_z := Bits32.(TwosComplement.TwosComplement_result.Signed_to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.Signed_testbit).
Definition of_z_exn :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_exn).
Definition zero := Bits32.(TwosComplement.TwosComplement_result.Signed_zero).
Definition one := Bits32.(TwosComplement.TwosComplement_result.Signed_one).
Definition byte := Bits32.(TwosComplement.TwosComplement_result.Signed_byte).
Definition significant_bits :=
Bits32.(TwosComplement.TwosComplement_result.Signed_significant_bits).
Definition significant_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_significant_bytes).
Definition of_bool :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_bool).
Definition of_byte :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_byte).
Definition of_int :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_int).
Definition op_tildedollar :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_tildedollar).
Definition to_int :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int).
Definition to_int_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int_opt).
Definition of_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_uint64).
Definition of_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_int64).
Definition to_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_uint64).
Definition to_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int64).
Definition of_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_uint32).
Definition of_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_int32).
Definition to_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_uint32).
Definition to_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int32).
Definition hash := Bits32.(TwosComplement.TwosComplement_result.Signed_hash).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Signed_comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_compare).
Definition max := Bits32.(TwosComplement.TwosComplement_result.Signed_max).
Definition min := Bits32.(TwosComplement.TwosComplement_result.Signed_min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits32.(TwosComplement.TwosComplement_result.Signed_Set).
Definition is_zero :=
Bits32.(TwosComplement.TwosComplement_result.Signed_is_zero).
Definition to_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_string).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_hex_string).
Definition of_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_tildeat).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_after_op).
Definition lift_1 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_lift_1).
Definition lift_2 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_lift_2).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Signed_logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Signed_lognot).
Definition op_plus :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_plus).
Definition op_minus :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_minus).
Definition op_star :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_star).
Definition op_div :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_div).
Definition modulo :=
Bits32.(TwosComplement.TwosComplement_result.Signed_modulo).
Definition rem := Bits32.(TwosComplement.TwosComplement_result.Signed_rem).
Definition addmod :=
Bits32.(TwosComplement.TwosComplement_result.Signed_addmod).
Definition mulmod :=
Bits32.(TwosComplement.TwosComplement_result.Signed_mulmod).
Definition shift_left :=
Bits32.(TwosComplement.TwosComplement_result.Signed_shift_left).
Definition shift_right :=
Bits32.(TwosComplement.TwosComplement_result.Signed_shift_right).
Definition op_starstar :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_starstar).
Definition exp_mod :=
Bits32.(TwosComplement.TwosComplement_result.Signed_exp_mod).
Definition minus_1_64th :=
Bits32.(TwosComplement.TwosComplement_result.Signed_minus_1_64th).
Definition bytes_to_whole_words :=
Bits32.(TwosComplement.TwosComplement_result.Signed_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).
Definition bit_width :=
Bits32.(TwosComplement.TwosComplement_result.Signed_bit_width).
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Signed_byte_width).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_min_t).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_truncating).
Definition of_repr :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_repr).
Definition to_repr :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_repr).
Definition as_unsigned
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_as_unsigned)
(_rocq_fallback_arg_0).
End I32.
Definition Bits8_fargs :=
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes1.
Definition Bits8 : TwosComplement.TwosComplement_result (_fargs := Bits8_fargs)
:= (TwosComplement.functor (_fargs := (Bits8_fargs ))).
Module U8.
Module Impl.
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z := Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero := Bits8.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits8.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte := Bits8.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash := Bits8.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits8.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits8.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits8.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits8.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits8.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or) (A
:= A).
Definition op_plus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U8.
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes4.
Definition Bits32 :
TwosComplement.TwosComplement_result (_fargs := Bits32_fargs) :=
(TwosComplement.functor (_fargs := (Bits32_fargs ))).
Module U32.
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits32.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits32.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits32.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits32.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits32.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits32.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits32.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or)
(A := A).
Definition op_plus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits32.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U32.
Module I32.
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.t).
Definition signed :=
Bits32.(TwosComplement.TwosComplement_result.Signed_signed).
Definition in_range :=
Bits32.(TwosComplement.TwosComplement_result.Signed_in_range).
Definition of_z_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_opt).
Definition to_z := Bits32.(TwosComplement.TwosComplement_result.Signed_to_z).
Definition testbit :=
Bits32.(TwosComplement.TwosComplement_result.Signed_testbit).
Definition of_z_exn :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_exn).
Definition zero := Bits32.(TwosComplement.TwosComplement_result.Signed_zero).
Definition one := Bits32.(TwosComplement.TwosComplement_result.Signed_one).
Definition byte := Bits32.(TwosComplement.TwosComplement_result.Signed_byte).
Definition significant_bits :=
Bits32.(TwosComplement.TwosComplement_result.Signed_significant_bits).
Definition significant_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_significant_bytes).
Definition of_bool :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_bool).
Definition of_byte :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_byte).
Definition of_int :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_int).
Definition op_tildedollar :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_tildedollar).
Definition to_int :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int).
Definition to_int_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int_opt).
Definition of_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_uint64).
Definition of_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_int64).
Definition to_uint64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_uint64).
Definition to_int64 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int64).
Definition of_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_uint32).
Definition of_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_int32).
Definition to_uint32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_uint32).
Definition to_int32 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_int32).
Definition hash := Bits32.(TwosComplement.TwosComplement_result.Signed_hash).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Signed_comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_compare).
Definition max := Bits32.(TwosComplement.TwosComplement_result.Signed_max).
Definition min := Bits32.(TwosComplement.TwosComplement_result.Signed_min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits32.(TwosComplement.TwosComplement_result.Signed_Set).
Definition is_zero :=
Bits32.(TwosComplement.TwosComplement_result.Signed_is_zero).
Definition to_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_string).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_hex_string).
Definition of_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_tildeat).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.S).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_after_op).
Definition lift_1 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_lift_1).
Definition lift_2 :=
Bits32.(TwosComplement.TwosComplement_result.Signed_lift_2).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Signed_logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Signed_lognot).
Definition op_plus :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_plus).
Definition op_minus :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_minus).
Definition op_star :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_star).
Definition op_div :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_div).
Definition modulo :=
Bits32.(TwosComplement.TwosComplement_result.Signed_modulo).
Definition rem := Bits32.(TwosComplement.TwosComplement_result.Signed_rem).
Definition addmod :=
Bits32.(TwosComplement.TwosComplement_result.Signed_addmod).
Definition mulmod :=
Bits32.(TwosComplement.TwosComplement_result.Signed_mulmod).
Definition shift_left :=
Bits32.(TwosComplement.TwosComplement_result.Signed_shift_left).
Definition shift_right :=
Bits32.(TwosComplement.TwosComplement_result.Signed_shift_right).
Definition op_starstar :=
Bits32.(TwosComplement.TwosComplement_result.op_Signed_starstar).
Definition exp_mod :=
Bits32.(TwosComplement.TwosComplement_result.Signed_exp_mod).
Definition minus_1_64th :=
Bits32.(TwosComplement.TwosComplement_result.Signed_minus_1_64th).
Definition bytes_to_whole_words :=
Bits32.(TwosComplement.TwosComplement_result.Signed_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits32.(TwosComplement.TwosComplement_result.Signed_Repr).
Definition bit_width :=
Bits32.(TwosComplement.TwosComplement_result.Signed_bit_width).
Definition byte_width :=
Bits32.(TwosComplement.TwosComplement_result.Signed_byte_width).
Definition max_t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_max_t).
Definition min_t :=
Bits32.(TwosComplement.TwosComplement_result.Signed_min_t).
Definition of_z_truncating :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_z_truncating).
Definition of_repr :=
Bits32.(TwosComplement.TwosComplement_result.Signed_of_repr).
Definition to_repr :=
Bits32.(TwosComplement.TwosComplement_result.Signed_to_repr).
Definition as_unsigned
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits32.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits32.(TwosComplement.TwosComplement_result.Signed_as_unsigned)
(_rocq_fallback_arg_0).
End I32.
Definition Bits8_fargs :=
TwosComplement.Build_FArgs MonadVM.Traits.Byte_width.Bytes1.
Definition Bits8 : TwosComplement.TwosComplement_result (_fargs := Bits8_fargs)
:= (TwosComplement.functor (_fargs := (Bits8_fargs ))).
Module U8.
Module Impl.
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.t).
Definition signed :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.signed).
Definition max_t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.max_t).
Definition min_t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.min_t).
Definition in_range :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.in_range).
Definition of_z_opt :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_opt).
Definition of_z_truncating :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.of_z_truncating).
Definition to_z :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.to_z).
Definition testbit :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).(Make.Impl.Impl_signature.testbit).
End Impl.
Definition Impl :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Impl).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.t).
Definition signed :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_signed).
Definition in_range :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_in_range).
Definition of_z_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_opt).
Definition to_z := Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_z).
Definition testbit :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_testbit).
Definition of_z_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_exn).
Definition zero := Bits8.(TwosComplement.TwosComplement_result.Unsigned_zero).
Definition one := Bits8.(TwosComplement.TwosComplement_result.Unsigned_one).
Definition byte := Bits8.(TwosComplement.TwosComplement_result.Unsigned_byte).
Definition significant_bits :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_significant_bits).
Definition significant_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_significant_bytes).
Definition of_bool :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_bool).
Definition of_byte :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_byte).
Definition of_int :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_int).
Definition op_tildedollar :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_tildedollar).
Definition to_int :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int).
Definition to_int_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int_opt).
Definition of_uint64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint64).
Definition of_int64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_int64).
Definition to_uint64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_uint64).
Definition to_int64 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int64).
Definition of_uint32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint32).
Definition of_int32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_int32).
Definition to_uint32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_uint32).
Definition to_int32 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_int32).
Definition hash := Bits8.(TwosComplement.TwosComplement_result.Unsigned_hash).
Definition comparison_op :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_comparison_op).
Definition op_lt :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_lt).
Definition op_lteq :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_lteq).
Definition op_eq :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_eq).
Definition op_gteq :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_gteq).
Definition op_gt :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_gt).
Definition op_ltgt :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_ltgt).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_compare).
Definition max := Bits8.(TwosComplement.TwosComplement_result.Unsigned_max).
Definition min := Bits8.(TwosComplement.TwosComplement_result.Unsigned_min).
Module _Set.
Definition elt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set := Bits8.(TwosComplement.TwosComplement_result.Unsigned_Set).
Definition is_zero :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_is_zero).
Definition to_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_string).
Definition to_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_hex_string).
Definition of_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_string).
Definition op_tildeat :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_tildeat).
Module Map.
Definition key :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.key).
Definition t (a : Set) :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).(Make.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits8.(TwosComplement.TwosComplement_result.U).(Make.Make_result.Map).
Definition of_z_after_op :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_after_op).
Definition lift_1 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_lift_1).
Definition lift_2 :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_lift_2).
Definition logand :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_logand).
Definition logor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_logor).
Definition logxor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_logxor).
Definition lognot :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_lognot).
Definition op_plus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_plus).
Definition op_minus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_minus).
Definition op_star :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_star).
Definition op_div :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_div).
Definition modulo :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_modulo).
Definition rem := Bits8.(TwosComplement.TwosComplement_result.Unsigned_rem).
Definition addmod :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_addmod).
Definition mulmod :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_mulmod).
Definition shift_left :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_shift_left).
Definition shift_right :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_shift_right).
Definition op_starstar :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_starstar).
Definition exp_mod :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_exp_mod).
Definition minus_1_64th :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_minus_1_64th).
Definition bytes_to_whole_words :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_bytes_to_whole_words).
Module Repr.
Definition byte_width :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.byte_width).
Module Impl.
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.t).
Definition of_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.of_bytes).
Definition init :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).(MonadVM.Byte_string.Fixed.Impl.Impl_signature.init).
End Impl.
Definition Impl :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Impl).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.t).
Definition of_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes).
Definition init :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.init).
Definition make :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.make).
Definition zeros :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.zeros).
Definition ones :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.ones).
Definition of_bytes_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_bytes_exn).
Definition to_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes).
Definition to_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_seq).
Definition fold_left {A : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_left)
(A := A).
Definition fold_right {A : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.fold_right)
(A := A).
Definition starts_with :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.starts_with).
Definition op_pointdollarlparenrparen :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_pointdollarlparenrparen).
Definition map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.map).
Definition mapi :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.mapi).
Definition iter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iter).
Definition iteri :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.iteri).
Definition for_all :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.for_all).
Definition _exists :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._exists).
Definition reverse :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.reverse).
Definition sub :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub).
Definition sub_with_zero_padding :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.sub_with_zero_padding).
Definition to_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_hex_string).
Definition to_short_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.to_short_hex_string).
Definition of_hex_string :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.of_hex_string).
Definition op_tildeat :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_tildeat).
Definition comparison_op :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.comparison_op).
Definition op_lt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lt).
Definition op_lteq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_lteq).
Definition op_eq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_eq).
Definition op_gteq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gteq).
Definition op_gt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_gt).
Definition op_ltgt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.compare).
Definition max :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.max).
Definition min :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.min).
Module _Set.
Definition elt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elt).
Definition t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.t).
Definition empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.empty).
Definition add :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add).
Definition singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.singleton).
Definition remove :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.remove).
Definition union :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.union).
Definition inter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.inter).
Definition disjoint :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.disjoint).
Definition diff :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.diff).
Definition cardinal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.cardinal).
Definition elements :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.elements).
Definition min_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition min_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.min_elt_opt).
Definition max_elt
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition max_elt_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.max_elt_opt).
Definition choose
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition choose_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.choose_opt).
Definition find
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_opt).
Definition find_first
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_first_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_first_opt).
Definition find_last
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((elt)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
(Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last)
(H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).
Definition find_last_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).
Definition iter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.iter).
Definition fold {acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.fold)
(acc := acc).
Definition map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.map).
Definition filter :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter).
Definition filter_map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.filter_map).
Definition partition :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.partition).
Definition split :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.split).
Definition is_empty :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_empty).
Definition is_singleton :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.is_singleton).
Definition mem :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.mem).
Definition equal :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.equal).
Definition compare :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.compare).
Definition subset :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.subset).
Definition for_all :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.for_all).
Definition _exists :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S._exists).
Definition to_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_list).
Definition of_list :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_list).
Definition to_seq_from :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).
Definition to_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_seq).
Definition to_rev_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).
Definition add_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.add_seq).
Definition of_seq :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).(RocqOfOCaml.OCamlSet.S.of_seq).
End _Set.
Definition _Set :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result._Set).
Module Map.
Definition key :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.key).
Definition t (a : Set) :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
a.
Definition empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.empty)
(a := a).
Definition add {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add)
(a := a).
Definition add_to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_to_list)
(a := a).
Definition update {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.update)
(a := a).
Definition singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.singleton)
(a := a).
Definition remove {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.remove)
(a := a).
Definition merge {a b c : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.merge)
(a := a) (b := b) (c := c).
Definition union {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.union)
(a := a).
Definition cardinal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.cardinal)
(a := a).
Definition bindings {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.bindings)
(a := a).
Definition min_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding)
(_rocq_fallback_arg_0) (a := a).
Definition min_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.min_binding_opt)
(a := a).
Definition max_binding {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding)
(_rocq_fallback_arg_0) (a := a).
Definition max_binding_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.max_binding_opt)
(a := a).
Definition choose {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose)
(_rocq_fallback_arg_0) (a := a).
Definition choose_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.choose_opt)
(a := a).
Definition find {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find)
(_rocq_fallback_arg_0) (a := a).
Definition find_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_opt)
(a := a).
Definition find_first {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first)
(_rocq_fallback_arg_0) (a := a).
Definition find_first_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_first_opt)
(a := a).
Definition find_last {a : Set}
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((key × a)%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last)
(_rocq_fallback_arg_0) (a := a).
Definition find_last_opt {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.find_last_opt)
(a := a).
Definition iter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.iter)
(a := a).
Definition fold {a acc : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.fold)
(a := a) (acc := acc).
Definition map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.map)
(a := a) (b := b).
Definition mapi {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mapi)
(a := a) (b := b).
Definition filter {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter)
(a := a).
Definition filter_map {a b : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.filter_map)
(a := a) (b := b).
Definition partition {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.partition)
(a := a).
Definition split {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.split)
(a := a).
Definition is_empty {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_empty)
(a := a).
Definition is_singleton {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.is_singleton)
(a := a).
Definition mem {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.mem)
(a := a).
Definition equal {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.equal)
(a := a).
Definition compare {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.compare)
(a := a).
Definition for_all {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.for_all)
(a := a).
Definition _exists {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._exists)
(a := a).
Definition to_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_list)
(a := a).
Definition of_list {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_list)
(a := a).
Definition to_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq)
(a := a).
Definition to_rev_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_rev_seq)
(a := a).
Definition to_seq_from {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.to_seq_from)
(a := a).
Definition add_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.add_seq)
(a := a).
Definition of_seq {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.of_seq)
(a := a).
Definition _at {v : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature._at)
(v := v).
Definition keys {a : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.keys)
(a := a).
Definition difference {a d : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.difference)
(a := a) (d := d).
End Map.
Definition Map :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.Map).
Definition lift_bytewise :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lift_bytewise).
Definition logand :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logand).
Definition logor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logor).
Definition logxor :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.logxor).
Definition lognot :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.lognot).
Definition union :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.union).
Definition intersection :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.intersection).
Definition set_bit :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.set_bit).
Definition test_bit :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).(MonadVM.Byte_string.Fixed.Fixed_result.test_bit).
End Repr.
Definition Repr := Bits8.(TwosComplement.TwosComplement_result.Unsigned_Repr).
Definition bit_width :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_bit_width).
Definition byte_width :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_byte_width).
Definition max_t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_max_t).
Definition min_t :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_min_t).
Definition of_z_truncating :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_z_truncating).
Definition of_repr :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_repr).
Definition to_repr :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_repr).
Definition to_repr_bytes :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_repr_bytes).
Definition as_signed
(_rocq_fallback_arg_0 :
ltac:(let typ := constr:(ltac:(first [unshelve refine ((Bits8.(TwosComplement.TwosComplement_result.Signed_t))%type
)]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
:=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_as_signed)
(_rocq_fallback_arg_0).
Definition sign_extend :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_sign_extend).
Definition exp := Bits8.(TwosComplement.TwosComplement_result.Unsigned_exp).
Definition to_uint :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_uint).
Definition of_uint_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint_opt).
Definition of_uint_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint_exn).
Definition of_uint_truncating :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_uint_truncating).
Definition to_integer :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_integer).
Definition of_integer_opt :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_integer_opt).
Definition of_integer_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_integer_exn).
Definition of_bytes_be_exn :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_bytes_be_exn).
Definition to_bytes_be :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_bytes_be).
Definition of_signed_int :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_signed_int).
Definition to_rlp :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_to_rlp).
Definition of_rlp :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_of_rlp).
Module Checked.
Definition lift_2_or {A : Set} :=
Bits8.(TwosComplement.TwosComplement_result.Unsigned_Checked_lift_2_or) (A
:= A).
Definition op_plus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_plus).
Definition op_minus :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_minus).
Definition op_star :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_star).
Definition op_div :=
Bits8.(TwosComplement.TwosComplement_result.op_Unsigned_Checked_div).
End Checked.
End U8.