Library MonadVM.Execution

File generated by rocq-of-ocaml
Require Import RocqOfOCaml.RocqOfOCaml.
Require Import RocqOfOCaml.Settings.

Require Import MonadVM.Support.UintN.
Require MonadVM.Bloom.
Require MonadVM.Byte_string.
Require MonadVM.Chain.Ethereum.
Require MonadVM.Chain.Monad.
Require MonadVM.Crypto.
Require MonadVM.Delegation.
Require MonadVM.Evmc.
Require MonadVM.Gas.
Require MonadVM.Host.
Require MonadVM.Map.
Require MonadVM.Monad.
Require MonadVM.Numeric.
Require MonadVM.Precompiles.
Require MonadVM.Reserve_balance.
Require MonadVM.Result.
Require MonadVM.Rlp.
Require MonadVM.Setcode_rules.
Require MonadVM.State.
Require MonadVM.Traits.
Require MonadVM.Uint64.
Require MonadVM.Vm.

Require Import MonadVM.Support.Variants.
Require MonadVM.Support.CryptoBlake2.
Require Import MonadVM.Support.BlockEquality MonadVM.Support.ResultNotation.
Local Open Scope execution_result_scope.
Require Import RocqOfOCaml.Opaque.
Require MonadVM.Precompiles.Utils.
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.
Validation failure errors. These represent abnormal termination conditions, not expected situations like out-of-gas termination.
Module Error.
Records for the constructor parameters
  Module ConstructorRecords_invalid_block.
    Module invalid_block.
      Module Wrong_base_fee.
        Record record {expected : Set} : Set := Build {
          expected : expected;
        }.
        Arguments record : clear implicits.
        Definition with_expected {t_expected} expected
          (r : record t_expected) :=
          Build t_expected expected.
      End Wrong_base_fee.
      Definition Wrong_base_fee_skeleton := Wrong_base_fee.record.

      Module Wrong_parent_hash.
        Record record {expected : Set} : Set := Build {
          expected : expected;
        }.
        Arguments record : clear implicits.
        Definition with_expected {t_expected} expected
          (r : record t_expected) :=
          Build t_expected expected.
      End Wrong_parent_hash.
      Definition Wrong_parent_hash_skeleton := Wrong_parent_hash.record.

      Module Wrong_merkle_root.
        Record record {kind expected : Set} : Set := Build {
          kind : kind;
          expected : expected;
        }.
        Arguments record : clear implicits.
        Definition with_kind {t_kind t_expected} kind
          (r : record t_kind t_expected) :=
          Build t_kind t_expected kind r.(expected).
        Definition with_expected {t_kind t_expected} expected
          (r : record t_kind t_expected) :=
          Build t_kind t_expected r.(kind) expected.
      End Wrong_merkle_root.
      Definition Wrong_merkle_root_skeleton := Wrong_merkle_root.record.

      Module Wrong_gas_used.
        Record record {expected : Set} : Set := Build {
          expected : expected;
        }.
        Arguments record : clear implicits.
        Definition with_expected {t_expected} expected
          (r : record t_expected) :=
          Build t_expected expected.
      End Wrong_gas_used.
      Definition Wrong_gas_used_skeleton := Wrong_gas_used.record.

      Module Wrong_logs_bloom.
        Record record {expected : Set} : Set := Build {
          expected : expected;
        }.
        Arguments record : clear implicits.
        Definition with_expected {t_expected} expected
          (r : record t_expected) :=
          Build t_expected expected.
      End Wrong_logs_bloom.
      Definition Wrong_logs_bloom_skeleton := Wrong_logs_bloom.record.
    End invalid_block.
  End ConstructorRecords_invalid_block.
  Import ConstructorRecords_invalid_block.

  Reserved Notation "'invalid_block.Wrong_base_fee".
  Reserved Notation "'invalid_block.Wrong_parent_hash".
  Reserved Notation "'invalid_block.Wrong_merkle_root".
  Reserved Notation "'invalid_block.Wrong_gas_used".
  Reserved Notation "'invalid_block.Wrong_logs_bloom".

  Inductive invalid_block : Set :=
  | Nonempty_ommers : invalid_block
  | Nonzero_difficulty : invalid_block
  | Nonzero_nonce : invalid_block
  | Wrong_base_fee : 'invalid_block.Wrong_base_fee → invalid_block
  | Invalid_gas_limit : invalid_block
  | Gas_above_limit : invalid_block
  | Invalid_timestamp : invalid_block
  | Invalid_number : invalid_block
  | Extra_data_too_long : invalid_block
  | Wrong_parent_hash : 'invalid_block.Wrong_parent_hash → invalid_block
  | Wrong_merkle_root : 'invalid_block.Wrong_merkle_root → invalid_block
  | Wrong_gas_used : 'invalid_block.Wrong_gas_used → invalid_block
  | Wrong_logs_bloom : 'invalid_block.Wrong_logs_bloom → invalid_block
  
  where "'invalid_block.Wrong_base_fee" :=
    (invalid_block.Wrong_base_fee_skeleton MonadVM.Gas.t)
  and "'invalid_block.Wrong_parent_hash" :=
    (invalid_block.Wrong_parent_hash_skeleton string)
  and "'invalid_block.Wrong_merkle_root" :=
    (invalid_block.Wrong_merkle_root_skeleton
      MonadVM.Support.Variants.MerkleKind.t string)
  and "'invalid_block.Wrong_gas_used" :=
    (invalid_block.Wrong_gas_used_skeleton MonadVM.Gas.t)
  and "'invalid_block.Wrong_logs_bloom" :=
    (invalid_block.Wrong_logs_bloom_skeleton MonadVM.Bloom.t).

  Module invalid_block.
    Include ConstructorRecords_invalid_block.invalid_block.
    Definition Wrong_base_fee := 'invalid_block.Wrong_base_fee.
    Definition Wrong_parent_hash := 'invalid_block.Wrong_parent_hash.
    Definition Wrong_merkle_root := 'invalid_block.Wrong_merkle_root.
    Definition Wrong_gas_used := 'invalid_block.Wrong_gas_used.
    Definition Wrong_logs_bloom := 'invalid_block.Wrong_logs_bloom.
  End invalid_block.

The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
Records for the constructor parameters
  Module ConstructorRecords_invalid_transaction.
    Module invalid_transaction.
      Module Invalid_nonce.
        Record record {addr expected : Set} : Set := Build {
          addr : addr;
          expected : expected;
        }.
        Arguments record : clear implicits.
        Definition with_addr {t_addr t_expected} addr
          (r : record t_addr t_expected) :=
          Build t_addr t_expected addr r.(expected).
        Definition with_expected {t_addr t_expected} expected
          (r : record t_addr t_expected) :=
          Build t_addr t_expected r.(addr) expected.
      End Invalid_nonce.
      Definition Invalid_nonce_skeleton := Invalid_nonce.record.

      Module Insufficient_balance.
        Record record {balance required : Set} : Set := Build {
          balance : balance;
          required : required;
        }.
        Arguments record : clear implicits.
        Definition with_balance {t_balance t_required} balance
          (r : record t_balance t_required) :=
          Build t_balance t_required balance r.(required).
        Definition with_required {t_balance t_required} required
          (r : record t_balance t_required) :=
          Build t_balance t_required r.(balance) required.
      End Insufficient_balance.
      Definition Insufficient_balance_skeleton := Insufficient_balance.record.

      Module Invalid_delegation.
        Record record {code : Set} : Set := Build {
          code : code;
        }.
        Arguments record : clear implicits.
        Definition with_code {t_code} code (r : record t_code) :=
          Build t_code code.
      End Invalid_delegation.
      Definition Invalid_delegation_skeleton := Invalid_delegation.record.

      Module Cannot_pay_floor_gas.
        Record record {floor_gas : Set} : Set := Build {
          floor_gas : floor_gas;
        }.
        Arguments record : clear implicits.
        Definition with_floor_gas {t_floor_gas} floor_gas
          (r : record t_floor_gas) :=
          Build t_floor_gas floor_gas.
      End Cannot_pay_floor_gas.
      Definition Cannot_pay_floor_gas_skeleton := Cannot_pay_floor_gas.record.

      Module Cannot_pay_intrinsic_gas.
        Record record {intrinsic_gas : Set} : Set := Build {
          intrinsic_gas : intrinsic_gas;
        }.
        Arguments record : clear implicits.
        Definition with_intrinsic_gas {t_intrinsic_gas} intrinsic_gas
          (r : record t_intrinsic_gas) :=
          Build t_intrinsic_gas intrinsic_gas.
      End Cannot_pay_intrinsic_gas.
      Definition Cannot_pay_intrinsic_gas_skeleton :=
        Cannot_pay_intrinsic_gas.record.

      Module Transaction_fee_below_base.
        Record record {base_fee_per_gas : Set} : Set := Build {
          base_fee_per_gas : base_fee_per_gas;
        }.
        Arguments record : clear implicits.
        Definition with_base_fee_per_gas {t_base_fee_per_gas} base_fee_per_gas
          (r : record t_base_fee_per_gas) :=
          Build t_base_fee_per_gas base_fee_per_gas.
      End Transaction_fee_below_base.
      Definition Transaction_fee_below_base_skeleton :=
        Transaction_fee_below_base.record.
    End invalid_transaction.
  End ConstructorRecords_invalid_transaction.
  Import ConstructorRecords_invalid_transaction.

  Reserved Notation "'invalid_transaction.Invalid_nonce".
  Reserved Notation "'invalid_transaction.Insufficient_balance".
  Reserved Notation "'invalid_transaction.Invalid_delegation".
  Reserved Notation "'invalid_transaction.Cannot_pay_floor_gas".
  Reserved Notation "'invalid_transaction.Cannot_pay_intrinsic_gas".
  Reserved Notation "'invalid_transaction.Transaction_fee_below_base".

  Inductive invalid_transaction : Set :=
  | Wrong_chain_id : invalid_transaction
  | Invalid_signature : invalid_transaction
  | Invalid_nonce : 'invalid_transaction.Invalid_nonce → invalid_transaction
  | Nonce_overflow : invalid_transaction
  | Initcode_too_long : invalid_transaction
  | Insufficient_balance :
    'invalid_transaction.Insufficient_balance → invalid_transaction
  | Invalid_delegation :
    'invalid_transaction.Invalid_delegation → invalid_transaction
  | Cannot_pay_floor_gas :
    'invalid_transaction.Cannot_pay_floor_gas → invalid_transaction
  | Cannot_pay_intrinsic_gas :
    'invalid_transaction.Cannot_pay_intrinsic_gas → invalid_transaction
  | Empty_authorization_list : invalid_transaction
  | Transaction_fee_below_base :
    'invalid_transaction.Transaction_fee_below_base → invalid_transaction
  | Gas_above_limit_invalid_transaction : invalid_transaction
  
  where "'invalid_transaction.Invalid_nonce" :=
    (invalid_transaction.Invalid_nonce_skeleton MonadVM.Chain.Ethereum.Address.t
      MonadVM.Numeric.U64.t)
  and "'invalid_transaction.Insufficient_balance" :=
    (invalid_transaction.Insufficient_balance_skeleton MonadVM.Numeric.U256.t
      MonadVM.Gas.t)
  and "'invalid_transaction.Invalid_delegation" :=
    (invalid_transaction.Invalid_delegation_skeleton MonadVM.Byte_string.Bytes.t)
  and "'invalid_transaction.Cannot_pay_floor_gas" :=
    (invalid_transaction.Cannot_pay_floor_gas_skeleton MonadVM.Gas.t)
  and "'invalid_transaction.Cannot_pay_intrinsic_gas" :=
    (invalid_transaction.Cannot_pay_intrinsic_gas_skeleton MonadVM.Gas.t)
  and "'invalid_transaction.Transaction_fee_below_base" :=
    (invalid_transaction.Transaction_fee_below_base_skeleton MonadVM.Gas.t).

  Module invalid_transaction.
    Include ConstructorRecords_invalid_transaction.invalid_transaction.
    Definition Invalid_nonce := 'invalid_transaction.Invalid_nonce.
    Definition Insufficient_balance :=
      'invalid_transaction.Insufficient_balance.
    Definition Invalid_delegation := 'invalid_transaction.Invalid_delegation.
    Definition Cannot_pay_floor_gas :=
      'invalid_transaction.Cannot_pay_floor_gas.
    Definition Cannot_pay_intrinsic_gas :=
      'invalid_transaction.Cannot_pay_intrinsic_gas.
    Definition Transaction_fee_below_base :=
      'invalid_transaction.Transaction_fee_below_base.
  End invalid_transaction.

The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
Records for the constructor parameters
  Module ConstructorRecords_t.
    Module t.
      Module Invalid_block.
        Record record {block reason : Set} : Set := Build {
          block : block;
          reason : reason;
        }.
        Arguments record : clear implicits.
        Definition with_block {t_block t_reason} block
          (r : record t_block t_reason) :=
          Build t_block t_reason block r.(reason).
        Definition with_reason {t_block t_reason} reason
          (r : record t_block t_reason) :=
          Build t_block t_reason r.(block) reason.
      End Invalid_block.
      Definition Invalid_block_skeleton := Invalid_block.record.

      Module Invalid_transaction.
        Record record {block transaction reason : Set} : Set := Build {
          block : block;
          transaction : transaction;
          reason : reason;
        }.
        Arguments record : clear implicits.
        Definition with_block {t_block t_transaction t_reason} block
          (r : record t_block t_transaction t_reason) :=
          Build t_block t_transaction t_reason block r.(transaction) r.(reason).
        Definition with_transaction {t_block t_transaction t_reason} transaction
          (r : record t_block t_transaction t_reason) :=
          Build t_block t_transaction t_reason r.(block) transaction r.(reason).
        Definition with_reason {t_block t_transaction t_reason} reason
          (r : record t_block t_transaction t_reason) :=
          Build t_block t_transaction t_reason r.(block) r.(transaction) reason.
      End Invalid_transaction.
      Definition Invalid_transaction_skeleton := Invalid_transaction.record.
    End t.
  End ConstructorRecords_t.
  Import ConstructorRecords_t.

  Reserved Notation "'t.Invalid_block".
  Reserved Notation "'t.Invalid_transaction".

  Inductive t : Set :=
  | Invalid_block : 't.Invalid_block → t
  | Invalid_transaction : 't.Invalid_transaction → t
  
  where "'t.Invalid_block" :=
    (t.Invalid_block_skeleton MonadVM.Chain.Ethereum.Block.t invalid_block)
  and "'t.Invalid_transaction" :=
    (t.Invalid_transaction_skeleton MonadVM.Chain.Ethereum.Block.t
      MonadVM.Chain.Ethereum.Transaction.t invalid_transaction).

  Module t.
    Include ConstructorRecords_t.t.
    Definition Invalid_block := 't.Invalid_block.
    Definition Invalid_transaction := 't.Invalid_transaction.
  End t.

The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).
The Monad block transition function (YP (2)).

End Error.

Block transition function, parameterized by Monad revision.
Module Make_Params_signature.
  Record signature : Type := {
    chain_id : MonadVM.Support.UintN.t;
    revision : MonadVM.Chain.Monad.Revision.active;
    trace : bool;
  }.
End Make_Params_signature.
Definition Make_Params_signature := Make_Params_signature.signature.

Module Make.
  Class FArgs := {
    Params : Make_Params_signature;
  }.

  Definition invalid_block `{_fargs : FArgs} {A : Set}
    (block : MonadVM.Chain.Ethereum.Block.t) (reason : Error.invalid_block)
    : sum A Error.t :=
    ((inr
      (MonadVM.Execution.Error.Invalid_block
        {| Error.t.Invalid_block.block := block;
          Error.t.Invalid_block.reason := reason; |})) : sum A Error.t).

  Definition invalid_transaction `{_fargs : FArgs} {A : Set}
    (block : MonadVM.Chain.Ethereum.Block.t)
    (transaction : MonadVM.Chain.Ethereum.Transaction.t)
    (reason : Error.invalid_transaction) : sum A Error.t :=
    ((inr
      (MonadVM.Execution.Error.Invalid_transaction
        {| Error.t.Invalid_transaction.block := block;
          Error.t.Invalid_transaction.transaction := transaction;
          Error.t.Invalid_transaction.reason := reason; |})) : sum A Error.t).

  Definition or_error `{_fargs : FArgs} (a : Set) : Set := sum a Error.t.

  Module VmParams.
Inclusion of the module Params
    Definition chain_id `{_fargs : FArgs} : MonadVM.Support.UintN.t :=
      Params.(Make_Params_signature.chain_id).

    Definition revision `{_fargs : FArgs} : MonadVM.Chain.Monad.Revision.active
      := Params.(Make_Params_signature.revision).

    Definition trace `{_fargs : FArgs} : bool :=
      Params.(Make_Params_signature.trace).

    Definition debug_tstore `{_fargs : FArgs} : bool := false.
  End VmParams.

  Definition vm_max_memory_usage `{_fargs : FArgs} : MonadVM.Support.UintN.t :=
    MonadVM.Vm.max_memory_usage_for_revision
      Params.(Make_Params_signature.revision).

  Definition Instantiation_fargs `{_fargs : FArgs} :=
    MonadVM.Host.Instantiate.Build_FArgs ltac:(refine (_ :
      MonadVM.Chain.Monad.PARAMS); constructor; [refine (Params.(Make_Params_signature.chain_id)) | refine (Params.(Make_Params_signature.revision))]; shelve)
      (fun (Host : MonadVM.Evmc.HOST (t := MonadVM.State.TransactionState.t)) ⇒
        let module_coercion :=
          MonadVM.Vm.Make ltac:(refine (_ :
            MonadVM.Vm.Make_Params_signature); constructor; [refine (VmParams.chain_id) | refine (VmParams.revision) | refine (VmParams.trace) | refine (VmParams.debug_tstore)]; shelve)
            Host in
        {|
          MonadVM.Evmc.Vm.SIG.execute :=
            module_coercion.(MonadVM.Vm.Make.Make_result.execute)
        |}).

  Definition Instantiation `{_fargs : FArgs} :
    MonadVM.Host.Instantiate.Instantiate_result (_fargs := Instantiation_fargs)
    := (MonadVM.Host.Instantiate.functor (_fargs := (Instantiation_fargs ))).

  Module Host.
    Module StorageKey.
      Module Impl.
        Definition t `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Impl).(MonadVM.Map.OrderedType.t).

        Definition compare `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Impl).(MonadVM.Map.OrderedType.compare).
      End Impl.

      Definition Impl `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Impl).

      Definition t := MonadVM.Chain.Ethereum.Address.t × string.

      Definition compare `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_compare).

      Module _Set.
        Definition elt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.elt).

        Definition t `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.t).

        Definition empty `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.empty).

        Definition add `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.add).

        Definition singleton `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.singleton).

        Definition remove `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.remove).

        Definition union `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.union).

        Definition inter `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.inter).

        Definition disjoint `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.disjoint).

        Definition diff `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.diff).

        Definition cardinal `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.cardinal).

        Definition elements `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_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))
          :=
          (Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.min_elt)
            (H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).

        Definition min_elt_opt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_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))
          :=
          (Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.max_elt)
            (H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).

        Definition max_elt_opt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_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))
          :=
          (Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.choose)
            (H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).

        Definition choose_opt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_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))
          :=
          (Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.find)
            (H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).

        Definition find_opt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_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))
          :=
          (Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.find_first)
            (H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).

        Definition find_first_opt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_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))
          :=
          (Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.find_last)
            (H := RocqOfOCaml.Opaque.legacy_witness _rocq_fallback_arg_0)).

        Definition find_last_opt `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.find_last_opt).

        Definition iter `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.iter).

        Definition fold `{_fargs : FArgs} {acc : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.fold)
            (acc := acc).

        Definition map `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.map).

        Definition filter `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.filter).

        Definition filter_map `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.filter_map).

        Definition partition `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.partition).

        Definition split `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.split).

        Definition is_empty `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.is_empty).

        Definition is_singleton `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.is_singleton).

        Definition mem `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.mem).

        Definition equal `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.equal).

        Definition compare `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.compare).

        Definition subset `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.subset).

        Definition for_all `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.for_all).

        Definition _exists `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S._exists).

        Definition to_list `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.to_list).

        Definition of_list `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.of_list).

        Definition to_seq_from `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.to_seq_from).

        Definition to_seq `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.to_seq).

        Definition to_rev_seq `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.to_rev_seq).

        Definition add_seq `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.add_seq).

        Definition of_seq `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).(RocqOfOCaml.OCamlSet.S.of_seq).
      End _Set.

      Definition _Set `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.StorageKey_Set).
    End StorageKey.

    Definition t `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.t).

    Module TLens.
      Definition initial_world_state `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_initial_world_state).

      Definition world_state `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_world_state).

      Definition current_block `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_current_block).

      Definition transient_storage `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_transient_storage).

      Definition accounts_created_in_current_transaction `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_accounts_created_in_current_transaction).

      Definition prior_transactions `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_prior_transactions).

      Definition tx_chain_id `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_tx_chain_id).

      Definition tx_origin `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_tx_origin).

      Definition tx_gas_price `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_tx_gas_price).

      Definition tx_gas_limit `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_tx_gas_limit).

      Definition self_destruct `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_self_destruct).

      Definition logs `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_logs).

      Definition refund `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_refund).

      Definition accessed_addresses `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_accessed_addresses).

      Definition accessed_keys `{_fargs : FArgs} :
        Lens.t MonadVM.State.TransactionState.t
          MonadVM.State.TransactionState.StorageKey._Set.(RocqOfOCaml.OCamlSet.S.t)
        :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.TLens_accessed_keys).
    End TLens.

    Definition initial_world_state `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.initial_world_state).

    Definition world_state `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.world_state).

    Definition current_block `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.current_block).

    Definition accounts_created_in_current_transaction `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.accounts_created_in_current_transaction).

    Definition prior_transactions `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.prior_transactions).

    Definition tx_chain_id `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.tx_chain_id).

    Definition tx_origin `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.tx_origin).

    Definition tx_gas_price `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.tx_gas_price).

    Definition tx_gas_limit `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.tx_gas_limit).

    Definition self_destruct `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.self_destruct).

    Definition logs `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.logs).

    Definition refund `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.refund).

    Definition accessed_addresses `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.accessed_addresses).

    Definition accessed_keys `{_fargs : FArgs} : Lens.t t StorageKey._Set.t :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.accessed_keys).

    Definition empty `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.empty).

    Definition make `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.make).

    Definition account `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.account).

    Definition initialize_access_sets `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.initialize_access_sets).

    Module M.
      Definition state `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.state).

      Module Inner.
        Definition t `{_fargs : FArgs} (a : Set) :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_t)
            a.

        Definition _return `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_return)
            (a := a).

        Definition op_gtgteq `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_gtgteq)
            (a := a) (b := b).

        Definition op_letdollar `{_fargs : FArgs} {A B : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_letdollar)
            (A := A) (B := B).

        Definition fmap `{_fargs : FArgs} {A B : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_fmap)
            (A := A) (B := B).

        Definition op_ltdollargt `{_fargs : FArgs} {A B : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_ltdollargt)
            (A := A) (B := B).

        Definition op_ltstargt `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_ltstargt)
            (a := a) (b := b).

        Definition op_gtgt `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_gtgt)
            (a := a).

        Definition when_ `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_when_).

        Module Option.
          Definition t `{_fargs : FArgs} (a : Set) :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_t)
              a.

          Definition none `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_none)
              (a := a).

          Definition some `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_some)
              (a := a).

          Definition value `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_value)
              (a := a).

          Definition get `{_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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_get)
              (_rocq_fallback_arg_0) (a := a).

          Definition bind `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_bind)
              (a := a) (b := b).

          Definition join `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_join)
              (a := a).

          Definition map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_map)
              (a := a) (b := b).

          Definition product `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_product)
              (a := a) (b := b).

          Definition fold `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_fold)
              (a := a) (b := b).

          Definition iter `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_iter)
              (a := a).

          Definition blend `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_blend)
              (a := a).

          Definition for_all `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_for_all)
              (a := a).

          Definition _exists `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_exists)
              (a := a).

          Definition is_none `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_is_none)
              (a := a).

          Definition is_some `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_is_some)
              (a := a).

          Definition equal `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_equal)
              (a := a).

          Definition compare `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_compare)
              (a := a).

          Definition to_result `{_fargs : FArgs} {e a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_to_result)
              (e := e) (a := a).

          Definition to_list `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_to_list)
              (a := a).

          Definition to_seq `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_to_seq)
              (a := a).

          Module Syntax.
            Definition op_letstar `{_fargs : FArgs} {a b : Set} :=
              Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_Option_Syntax_letstar)
                (a := a) (b := b).

            Definition op_andstar `{_fargs : FArgs} {a b : Set} :=
              Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_Option_Syntax_andstar)
                (a := a) (b := b).

            Definition op_letplus `{_fargs : FArgs} {a b : Set} :=
              Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_Option_Syntax_letplus)
                (a := a) (b := b).

            Definition op_andplus `{_fargs : FArgs} {a b : Set} :=
              Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_Option_Syntax_andplus)
                (a := a) (b := b).
          End Syntax.

          Definition get_or_create `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_get_or_create)
              (a := a).

          Definition get_or_default `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_get_or_default)
              (a := a).

          Definition get_or_throw `{_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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_get_or_throw)
              (_rocq_fallback_arg_0) (a := a).

          Definition op_gtgteq `{_fargs : FArgs} {A B : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_Option_gtgteq)
              (A := A) (B := B).

          Definition op_letdollar `{_fargs : FArgs} {A B : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Inner_Option_letdollar)
              (A := A) (B := B).

          Definition _return `{_fargs : FArgs} {A : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_return)
              (A := A).

          Definition ensure `{_fargs : FArgs} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_ensure).

          Definition iterM `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Option_iterM)
              (a := a).
        End Option.

        Module List.
          Definition t `{_fargs : FArgs} (a : Set) :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_t)
              a.

          Definition length `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_length)
              (a := a).

          Definition compare_lengths `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_compare_lengths)
              (a := a) (b := b).

          Definition compare_length_with `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_compare_length_with)
              (a := a).

          Definition is_empty `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_is_empty)
              (a := a).

          Definition cons `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_cons)
              (a := a).

          Definition singleton `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_singleton)
              (a := a).

          Definition hd `{_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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_hd)
              (_rocq_fallback_arg_0) (a := a).

          Definition tl `{_fargs : FArgs} {a : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_tl)
              (_rocq_fallback_arg_0) (a := a).

          Definition nth `{_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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_nth)
              (_rocq_fallback_arg_0) (a := a).

          Definition nth_opt `{_fargs : FArgs} {a : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((option 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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_nth_opt)
              (_rocq_fallback_arg_0) (a := a).

          Definition rev `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_rev)
              (a := a).

          Definition init `{_fargs : FArgs} {a : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_init)
              (_rocq_fallback_arg_0) (a := a).

          Definition append `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_append)
              (a := a).

          Definition rev_append `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_rev_append)
              (a := a).

          Definition concat `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_concat)
              (a := a).

          Definition flatten `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_flatten)
              (a := a).

          Definition equal `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_equal)
              (a := a).

          Definition compare `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_compare)
              (a := a).

          Definition iter `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_iter)
              (a := a).

          Definition iteri `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_iteri)
              (a := a).

          Definition map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_map)
              (a := a) (b := b).

          Definition mapi `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_mapi)
              (a := a) (b := b).

          Definition rev_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_rev_map)
              (a := a) (b := b).

          Definition filter_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_filter_map)
              (a := a) (b := b).

          Definition filter_mapi `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_filter_mapi)
              (a := a) (b := b).

          Definition concat_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_concat_map)
              (a := a) (b := b).

          Definition fold_left_map `{_fargs : FArgs} {acc a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fold_left_map)
              (acc := acc) (a := a) (b := b).

          Definition fold_left `{_fargs : FArgs} {acc a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fold_left)
              (acc := acc) (a := a).

          Definition fold_right `{_fargs : FArgs} {a acc : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fold_right)
              (a := a) (acc := acc).

          Definition iter2 `{_fargs : FArgs} {a b : Set}
            (_rocq_fallback_arg_0 :
              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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_iter2)
              (_rocq_fallback_arg_0) (a := a) (b := b).

          Definition map2 `{_fargs : FArgs} {a b c : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_map2)
              (_rocq_fallback_arg_0) (a := a) (b := b) (c := c).

          Definition rev_map2 `{_fargs : FArgs} {a b c : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_rev_map2)
              (_rocq_fallback_arg_0) (a := a) (b := b) (c := c).

          Definition fold_left2 `{_fargs : FArgs} {acc a b : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fold_left2)
              (_rocq_fallback_arg_0) (acc := acc) (a := a) (b := b).

          Definition fold_right2 `{_fargs : FArgs} {a b acc : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fold_right2)
              (_rocq_fallback_arg_0) (a := a) (b := b) (acc := acc).

          Definition for_all `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_for_all)
              (a := a).

          Definition _exists `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_exists)
              (a := a).

          Definition for_all2 `{_fargs : FArgs} {a b : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_for_all2)
              (_rocq_fallback_arg_0) (a := a) (b := b).

          Definition _exists2 `{_fargs : FArgs} {a b : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_exists2)
              (_rocq_fallback_arg_0) (a := a) (b := b).

          Definition mem `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_mem)
              (a := a).

          Definition memq `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_memq)
              (a := a).

          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))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_find)
              (_rocq_fallback_arg_0) (a := a).

          Definition find_opt `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_find_opt)
              (a := a).

          Definition find_index `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_find_index)
              (a := a).

          Definition find_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_find_map)
              (a := a) (b := b).

          Definition find_mapi `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_find_mapi)
              (a := a) (b := b).

          Definition filter `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_filter)
              (a := a).

          Definition find_all `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_find_all)
              (a := a).

          Definition filteri `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_filteri)
              (a := a).

          Definition take `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_take)
              (a := a).

          Definition drop `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_drop)
              (a := a).

          Definition take_while `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_take_while)
              (a := a).

          Definition drop_while `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_drop_while)
              (a := a).

          Definition partition `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_partition)
              (a := a).

          Definition partition_map `{_fargs : FArgs} {a b c : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_partition_map)
              (a := a) (b := b) (c := c).

          Definition assoc `{_fargs : FArgs} {a b : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_assoc)
              (_rocq_fallback_arg_0) (a := a) (b := b).

          Definition assoc_opt `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_assoc_opt)
              (a := a) (b := b).

          Definition assq `{_fargs : FArgs} {a b : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_assq)
              (_rocq_fallback_arg_0) (a := a) (b := b).

          Definition assq_opt `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_assq_opt)
              (a := a) (b := b).

          Definition mem_assoc `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_mem_assoc)
              (a := a) (b := b).

          Definition mem_assq `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_mem_assq)
              (a := a) (b := b).

          Definition remove_assoc `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_remove_assoc)
              (a := a) (b := b).

          Definition remove_assq `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_remove_assq)
              (a := a) (b := b).

          Definition split `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_split)
              (a := a) (b := b).

          Definition split_map `{_fargs : FArgs} {c a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_split_map)
              (c := c) (a := a) (b := b).

          Definition combine `{_fargs : FArgs} {a b : Set}
            (_rocq_fallback_arg_0 :
              ltac:(let typ := constr:(ltac:(first [unshelve refine ((list
                (a × b))%type
              )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
            :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_combine)
              (_rocq_fallback_arg_0) (a := a) (b := b).

          Definition sort `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_sort)
              (a := a).

          Definition stable_sort `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_stable_sort)
              (a := a).

          Definition fast_sort `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fast_sort)
              (a := a).

          Definition sort_uniq `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_sort_uniq)
              (a := a).

          Definition merge `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_merge)
              (a := a).

          Definition to_seq `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_to_seq)
              (a := a).

          Definition of_seq `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_of_seq)
              (a := a).

          Definition sequence `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_sequence)
              (a := a).

          Definition fold_leftM `{_fargs : FArgs} {acc a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_fold_leftM)
              (acc := acc) (a := a).

          Definition iterM `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_iterM)
              (a := a).

          Definition mapM `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_List_mapM)
              (a := a) (b := b).
        End List.

        Module Seq.
          Definition sequence `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_sequence)
              (a := a).

          Definition mapM `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_mapM)
              (a := a) (b := b).

          Definition fold_leftM `{_fargs : FArgs} {acc a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_fold_leftM)
              (acc := acc) (a := a).

          Definition iterM `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_iterM)
              (a := a).

          Definition foldM `{_fargs : FArgs} {acc x : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_foldM)
              (acc := acc) (x := x).

          Definition t `{_fargs : FArgs} (a : Set) :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_t)
              a.

          Definition node `{_fargs : FArgs} (a : Set) :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_node)
              a.

          Definition is_empty `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_is_empty)
              (a := a).

          Definition uncons `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_uncons)
              (a := a).

          Definition length `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_length)
              (a := a).

          Definition iter `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_iter)
              (a := a).

          Definition fold_left `{_fargs : FArgs} {acc a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_fold_left)
              (acc := acc) (a := a).

          Definition iteri `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_iteri)
              (a := a).

          Definition fold_lefti `{_fargs : FArgs} {acc a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_fold_lefti)
              (acc := acc) (a := a).

          Definition for_all `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_for_all)
              (a := a).

          Definition _exists `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_exists)
              (a := a).

          Definition find `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_find)
              (a := a).

          Definition find_index `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_find_index)
              (a := a).

          Definition find_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_find_map)
              (a := a) (b := b).

          Definition find_mapi `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_find_mapi)
              (a := a) (b := b).

          Definition iter2 `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_iter2)
              (a := a) (b := b).

          Definition fold_left2 `{_fargs : FArgs} {acc a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_fold_left2)
              (acc := acc) (a := a) (b := b).

          Definition for_all2 `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_for_all2)
              (a := a) (b := b).

          Definition _exists2 `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_exists2)
              (a := a) (b := b).

          Definition equal `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_equal)
              (a := a) (b := b).

          Definition compare `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_compare)
              (a := a) (b := b).

          Definition empty `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_empty)
              (a := a).

          Definition _return `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_return)
              (a := a).

          Definition cons `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_cons)
              (a := a).

          Definition singleton `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_singleton)
              (a := a).

          Definition delay `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_delay)
              (a := a).

          Definition map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_map)
              (a := a) (b := b).

          Definition mapi `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_mapi)
              (a := a) (b := b).

          Definition filter `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_filter)
              (a := a).

          Definition filteri `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_filteri)
              (a := a).

          Definition filter_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_filter_map)
              (a := a) (b := b).

          Definition scan `{_fargs : FArgs} {b a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_scan)
              (b := b) (a := a).

          Definition take_while `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_take_while)
              (a := a).

          Definition drop_while `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_drop_while)
              (a := a).

          Definition append `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_append)
              (a := a).

          Definition concat `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_concat)
              (a := a).

          Definition flat_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_flat_map)
              (a := a) (b := b).

          Definition concat_map `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_concat_map)
              (a := a) (b := b).

          Definition zip `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_zip)
              (a := a) (b := b).

          Definition map2 `{_fargs : FArgs} {a b c : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_map2)
              (a := a) (b := b) (c := c).

          Definition product `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_product)
              (a := a) (b := b).

          Definition map_product `{_fargs : FArgs} {a b c : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_map_product)
              (a := a) (b := b) (c := c).

          Definition unzip `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_unzip)
              (a := a) (b := b).

          Definition split `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_split)
              (a := a) (b := b).

          Definition partition_map `{_fargs : FArgs} {a b c : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_partition_map)
              (a := a) (b := b) (c := c).

          Definition partition `{_fargs : FArgs} {a : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Inner_Seq_partition)
              (a := a).
        End Seq.
      End Inner.

      Definition get `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.get).

      Definition put `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.put).

      Definition t `{_fargs : FArgs} (a : Set) :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.t)
          a.

      Definition _return `{_fargs : FArgs} {a : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result._return)
          (a := a).

      Definition op_gtgteq `{_fargs : FArgs} {a b : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_gtgteq)
          (a := a) (b := b).

      Definition op_letdollar `{_fargs : FArgs} {A B : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_letdollar)
          (A := A) (B := B).

      Definition fmap `{_fargs : FArgs} {A B : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.fmap)
          (A := A) (B := B).

      Definition op_ltdollargt `{_fargs : FArgs} {A B : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_ltdollargt)
          (A := A) (B := B).

      Definition op_ltstargt `{_fargs : FArgs} {a b : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_ltstargt)
          (a := a) (b := b).

      Definition op_gtgt `{_fargs : FArgs} {a : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_gtgt)
          (a := a).

      Definition when_ `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.when_).

      Module Option.
        Definition t `{_fargs : FArgs} (a : Set) :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_t)
            a.

        Definition none `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_none)
            (a := a).

        Definition some `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_some)
            (a := a).

        Definition value `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_value)
            (a := a).

        Definition get `{_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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_get)
            (_rocq_fallback_arg_0) (a := a).

        Definition bind `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_bind)
            (a := a) (b := b).

        Definition join `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_join)
            (a := a).

        Definition map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_map)
            (a := a) (b := b).

        Definition product `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_product)
            (a := a) (b := b).

        Definition fold `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_fold)
            (a := a) (b := b).

        Definition iter `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_iter)
            (a := a).

        Definition blend `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_blend)
            (a := a).

        Definition for_all `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_for_all)
            (a := a).

        Definition _exists `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_exists)
            (a := a).

        Definition is_none `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_is_none)
            (a := a).

        Definition is_some `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_is_some)
            (a := a).

        Definition equal `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_equal)
            (a := a).

        Definition compare `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_compare)
            (a := a).

        Definition to_result `{_fargs : FArgs} {e a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_to_result)
            (e := e) (a := a).

        Definition to_list `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_to_list)
            (a := a).

        Definition to_seq `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_to_seq)
            (a := a).

        Module Syntax.
          Definition op_letstar `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Option_Syntax_letstar)
              (a := a) (b := b).

          Definition op_andstar `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Option_Syntax_andstar)
              (a := a) (b := b).

          Definition op_letplus `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Option_Syntax_letplus)
              (a := a) (b := b).

          Definition op_andplus `{_fargs : FArgs} {a b : Set} :=
            Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Option_Syntax_andplus)
              (a := a) (b := b).
        End Syntax.

        Definition get_or_create `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_get_or_create)
            (a := a).

        Definition get_or_default `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_get_or_default)
            (a := a).

        Definition get_or_throw `{_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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_get_or_throw)
            (_rocq_fallback_arg_0) (a := a).

        Definition op_gtgteq `{_fargs : FArgs} {A B : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Option_gtgteq)
            (A := A) (B := B).

        Definition op_letdollar `{_fargs : FArgs} {A B : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_Option_letdollar)
            (A := A) (B := B).

        Definition _return `{_fargs : FArgs} {A : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_return)
            (A := A).

        Definition ensure `{_fargs : FArgs} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_ensure).

        Definition iterM `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Option_iterM)
            (a := a).
      End Option.

      Module List.
        Definition t `{_fargs : FArgs} (a : Set) :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_t)
            a.

        Definition length `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_length)
            (a := a).

        Definition compare_lengths `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_compare_lengths)
            (a := a) (b := b).

        Definition compare_length_with `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_compare_length_with)
            (a := a).

        Definition is_empty `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_is_empty)
            (a := a).

        Definition cons `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_cons)
            (a := a).

        Definition singleton `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_singleton)
            (a := a).

        Definition hd `{_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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_hd)
            (_rocq_fallback_arg_0) (a := a).

        Definition tl `{_fargs : FArgs} {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_tl)
            (_rocq_fallback_arg_0) (a := a).

        Definition nth `{_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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_nth)
            (_rocq_fallback_arg_0) (a := a).

        Definition nth_opt `{_fargs : FArgs} {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((option 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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_nth_opt)
            (_rocq_fallback_arg_0) (a := a).

        Definition rev `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_rev)
            (a := a).

        Definition init `{_fargs : FArgs} {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_init)
            (_rocq_fallback_arg_0) (a := a).

        Definition append `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_append)
            (a := a).

        Definition rev_append `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_rev_append)
            (a := a).

        Definition concat `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_concat)
            (a := a).

        Definition flatten `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_flatten)
            (a := a).

        Definition equal `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_equal)
            (a := a).

        Definition compare `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_compare)
            (a := a).

        Definition iter `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_iter)
            (a := a).

        Definition iteri `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_iteri)
            (a := a).

        Definition map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_map)
            (a := a) (b := b).

        Definition mapi `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_mapi)
            (a := a) (b := b).

        Definition rev_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_rev_map)
            (a := a) (b := b).

        Definition filter_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_filter_map)
            (a := a) (b := b).

        Definition filter_mapi `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_filter_mapi)
            (a := a) (b := b).

        Definition concat_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_concat_map)
            (a := a) (b := b).

        Definition fold_left_map `{_fargs : FArgs} {acc a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fold_left_map)
            (acc := acc) (a := a) (b := b).

        Definition fold_left `{_fargs : FArgs} {acc a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fold_left)
            (acc := acc) (a := a).

        Definition fold_right `{_fargs : FArgs} {a acc : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fold_right)
            (a := a) (acc := acc).

        Definition iter2 `{_fargs : FArgs} {a b : Set}
          (_rocq_fallback_arg_0 :
            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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_iter2)
            (_rocq_fallback_arg_0) (a := a) (b := b).

        Definition map2 `{_fargs : FArgs} {a b c : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_map2)
            (_rocq_fallback_arg_0) (a := a) (b := b) (c := c).

        Definition rev_map2 `{_fargs : FArgs} {a b c : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_rev_map2)
            (_rocq_fallback_arg_0) (a := a) (b := b) (c := c).

        Definition fold_left2 `{_fargs : FArgs} {acc a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fold_left2)
            (_rocq_fallback_arg_0) (acc := acc) (a := a) (b := b).

        Definition fold_right2 `{_fargs : FArgs} {a b acc : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fold_right2)
            (_rocq_fallback_arg_0) (a := a) (b := b) (acc := acc).

        Definition for_all `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_for_all)
            (a := a).

        Definition _exists `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_exists)
            (a := a).

        Definition for_all2 `{_fargs : FArgs} {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_for_all2)
            (_rocq_fallback_arg_0) (a := a) (b := b).

        Definition _exists2 `{_fargs : FArgs} {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_exists2)
            (_rocq_fallback_arg_0) (a := a) (b := b).

        Definition mem `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_mem)
            (a := a).

        Definition memq `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_memq)
            (a := a).

        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))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_find)
            (_rocq_fallback_arg_0) (a := a).

        Definition find_opt `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_find_opt)
            (a := a).

        Definition find_index `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_find_index)
            (a := a).

        Definition find_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_find_map)
            (a := a) (b := b).

        Definition find_mapi `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_find_mapi)
            (a := a) (b := b).

        Definition filter `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_filter)
            (a := a).

        Definition find_all `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_find_all)
            (a := a).

        Definition filteri `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_filteri)
            (a := a).

        Definition take `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_take)
            (a := a).

        Definition drop `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_drop)
            (a := a).

        Definition take_while `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_take_while)
            (a := a).

        Definition drop_while `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_drop_while)
            (a := a).

        Definition partition `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_partition)
            (a := a).

        Definition partition_map `{_fargs : FArgs} {a b c : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_partition_map)
            (a := a) (b := b) (c := c).

        Definition assoc `{_fargs : FArgs} {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_assoc)
            (_rocq_fallback_arg_0) (a := a) (b := b).

        Definition assoc_opt `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_assoc_opt)
            (a := a) (b := b).

        Definition assq `{_fargs : FArgs} {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_assq)
            (_rocq_fallback_arg_0) (a := a) (b := b).

        Definition assq_opt `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_assq_opt)
            (a := a) (b := b).

        Definition mem_assoc `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_mem_assoc)
            (a := a) (b := b).

        Definition mem_assq `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_mem_assq)
            (a := a) (b := b).

        Definition remove_assoc `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_remove_assoc)
            (a := a) (b := b).

        Definition remove_assq `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_remove_assq)
            (a := a) (b := b).

        Definition split `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_split)
            (a := a) (b := b).

        Definition split_map `{_fargs : FArgs} {c a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_split_map)
            (c := c) (a := a) (b := b).

        Definition combine `{_fargs : FArgs} {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list (a × b))%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ))
          :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_combine)
            (_rocq_fallback_arg_0) (a := a) (b := b).

        Definition sort `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_sort)
            (a := a).

        Definition stable_sort `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_stable_sort)
            (a := a).

        Definition fast_sort `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fast_sort)
            (a := a).

        Definition sort_uniq `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_sort_uniq)
            (a := a).

        Definition merge `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_merge)
            (a := a).

        Definition to_seq `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_to_seq)
            (a := a).

        Definition of_seq `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_of_seq)
            (a := a).

        Definition sequence `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_sequence)
            (a := a).

        Definition fold_leftM `{_fargs : FArgs} {acc a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_fold_leftM)
            (acc := acc) (a := a).

        Definition iterM `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_iterM)
            (a := a).

        Definition mapM `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.List_mapM)
            (a := a) (b := b).
      End List.

      Module Seq.
        Definition sequence `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_sequence)
            (a := a).

        Definition mapM `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_mapM)
            (a := a) (b := b).

        Definition fold_leftM `{_fargs : FArgs} {acc a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_fold_leftM)
            (acc := acc) (a := a).

        Definition iterM `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_iterM)
            (a := a).

        Definition foldM `{_fargs : FArgs} {acc x : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_foldM)
            (acc := acc) (x := x).

        Definition t `{_fargs : FArgs} (a : Set) :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_t)
            a.

        Definition node `{_fargs : FArgs} (a : Set) :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_node)
            a.

        Definition is_empty `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_is_empty)
            (a := a).

        Definition uncons `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_uncons)
            (a := a).

        Definition length `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_length)
            (a := a).

        Definition iter `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_iter)
            (a := a).

        Definition fold_left `{_fargs : FArgs} {acc a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_fold_left)
            (acc := acc) (a := a).

        Definition iteri `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_iteri)
            (a := a).

        Definition fold_lefti `{_fargs : FArgs} {acc a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_fold_lefti)
            (acc := acc) (a := a).

        Definition for_all `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_for_all)
            (a := a).

        Definition _exists `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_exists)
            (a := a).

        Definition find `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_find)
            (a := a).

        Definition find_index `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_find_index)
            (a := a).

        Definition find_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_find_map)
            (a := a) (b := b).

        Definition find_mapi `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_find_mapi)
            (a := a) (b := b).

        Definition iter2 `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_iter2)
            (a := a) (b := b).

        Definition fold_left2 `{_fargs : FArgs} {acc a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_fold_left2)
            (acc := acc) (a := a) (b := b).

        Definition for_all2 `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_for_all2)
            (a := a) (b := b).

        Definition _exists2 `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_exists2)
            (a := a) (b := b).

        Definition equal `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_equal)
            (a := a) (b := b).

        Definition compare `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_compare)
            (a := a) (b := b).

        Definition empty `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_empty)
            (a := a).

        Definition _return `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_return)
            (a := a).

        Definition cons `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_cons)
            (a := a).

        Definition singleton `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_singleton)
            (a := a).

        Definition delay `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_delay)
            (a := a).

        Definition map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_map)
            (a := a) (b := b).

        Definition mapi `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_mapi)
            (a := a) (b := b).

        Definition filter `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_filter)
            (a := a).

        Definition filteri `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_filteri)
            (a := a).

        Definition filter_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_filter_map)
            (a := a) (b := b).

        Definition scan `{_fargs : FArgs} {b a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_scan)
            (b := b) (a := a).

        Definition take_while `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_take_while)
            (a := a).

        Definition drop_while `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_drop_while)
            (a := a).

        Definition append `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_append)
            (a := a).

        Definition concat `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_concat)
            (a := a).

        Definition flat_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_flat_map)
            (a := a) (b := b).

        Definition concat_map `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_concat_map)
            (a := a) (b := b).

        Definition zip `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_zip)
            (a := a) (b := b).

        Definition map2 `{_fargs : FArgs} {a b c : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_map2)
            (a := a) (b := b) (c := c).

        Definition product `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_product)
            (a := a) (b := b).

        Definition map_product `{_fargs : FArgs} {a b c : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_map_product)
            (a := a) (b := b) (c := c).

        Definition unzip `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_unzip)
            (a := a) (b := b).

        Definition split `{_fargs : FArgs} {a b : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_split)
            (a := a) (b := b).

        Definition partition_map `{_fargs : FArgs} {a b c : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_partition_map)
            (a := a) (b := b) (c := c).

        Definition partition `{_fargs : FArgs} {a : Set} :=
          Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.Seq_partition)
            (a := a).
      End Seq.

      Definition lower `{_fargs : FArgs} {a : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.lower)
          (a := a).

      Definition lift `{_fargs : FArgs} {a : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.lift)
          (a := a).

      Definition update `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.update).

      Definition op_exclamation `{_fargs : FArgs} {x : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_exclamation)
          (x := x).

      Definition op_coloneq `{_fargs : FArgs} {x : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.op_coloneq)
          (x := x).

      Definition update_field `{_fargs : FArgs} {x : Set} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).(MonadVM.Monad.State.State_result.update_field)
          (x := x).
    End M.

    Definition M `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.M).

    Module Precompiles.
      Definition ethereum_precompiles `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.Precompiles).(MonadVM.Precompiles.Make.Make_result.ethereum_precompiles).

      Definition monad_precompiles `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.Precompiles).(MonadVM.Precompiles.Make.Make_result.monad_precompiles).

      Definition precompile_addresses `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.Precompiles).(MonadVM.Precompiles.Make.Make_result.precompile_addresses).

      Definition try_precompile `{_fargs : FArgs} :=
        Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.Precompiles).(MonadVM.Precompiles.Make.Make_result.try_precompile).
    End Precompiles.

    Definition Precompiles `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.Precompiles).

    Definition transfer_ether `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.transfer_ether).

    Definition account_exists `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.account_exists).

    Definition get_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_storage).

    Definition set_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.set_storage).

    Definition get_balance `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_balance).

    Definition get_code_size `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_code_size).

    Definition get_code_hash `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_code_hash).

    Definition copy_code `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.copy_code).

    Definition setcodefrom `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.setcodefrom).

    Definition selfdestruct `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.selfdestruct).

    Definition should_transfer `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.should_transfer).

    Definition touch_account `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.touch_account).

    Definition touch_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.touch_storage).

    Definition process_call `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.process_call).

    Definition contract_creation_address `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.contract_creation_address).

    Definition process_create `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.process_create).

    Definition call_impl `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.call_impl).

    Definition try_increment_nonce `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.try_increment_nonce).

    Definition call `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.call).

    Definition call_from_eoa `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.call_from_eoa).

    Definition get_tx_context `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_tx_context).

    Definition get_block_hash `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_block_hash).

    Definition emit_log `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.emit_log).

    Definition access_account `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.access_account).

    Definition access_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.access_storage).

    Definition transient_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.transient_storage).

    Definition get_transient_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.get_transient_storage).

    Definition set_transient_storage `{_fargs : FArgs} :=
      Instantiation.(MonadVM.Host.Instantiate.Instantiate_result.Host).(MonadVM.Host.Make.Make_result.set_transient_storage).
  End Host.

  Definition Vm_fargs `{_fargs : FArgs} :=
    MonadVM.Vm.Make.Build_FArgs ltac:(refine (_ :
      MonadVM.Vm.Make_Params_signature); constructor; [refine (VmParams.chain_id) | refine (VmParams.revision) | refine (VmParams.trace) | refine (VmParams.debug_tstore)]; shelve)
      ltac:(refine (_ :
      MonadVM.Evmc.HOST (t := Host.t)); constructor; [refine (Host.account_exists) | refine (Host.get_storage) | refine (Host.set_storage) | refine (Host.get_balance) | refine (Host.get_code_size) | refine (Host.get_code_hash) | refine (Host.copy_code) | refine (Host.setcodefrom) | refine (Host.selfdestruct) | refine (Host.call) | refine (Host.get_tx_context) | refine (Host.get_block_hash) | refine (Host.emit_log) | refine (Host.access_account) | refine (Host.access_storage) | refine (Host.get_transient_storage) | refine (Host.set_transient_storage)]; shelve).

  Definition Vm `{_fargs : FArgs} :
    MonadVM.Vm.Make.Make_result (_fargs := Vm_fargs) := (MonadVM.Vm.Make.functor
    (_fargs := (Vm_fargs ))).

  Definition Precompiles_fargs `{_fargs : FArgs} :=
    MonadVM.Precompiles.Make.Build_FArgs ltac:(refine (_ :
      MonadVM.Precompiles.Make_Revision_signature); constructor; [refine (Params.(Make_Params_signature.revision))]; shelve).

  Definition Precompiles `{_fargs : FArgs} :
    MonadVM.Precompiles.Make.Make_result (_fargs := Precompiles_fargs) :=
    (MonadVM.Precompiles.Make.functor (_fargs := (Precompiles_fargs ))).

prepare_message s g tx w creates an {!Evmc.Message.t} object corresponding to the transaction tx.
  Definition prepare_message `{_fargs : FArgs}
    (sender : MonadVM.Chain.Ethereum.Address.t) (gas : MonadVM.Gas.t)
    (tx : MonadVM.Chain.Ethereum.Transaction.t)
    (world_state : MonadVM.State.WorldState.t) : MonadVM.Evmc.Message.t :=
    let '(kind, current_target, data, code_address) :=
      match MonadVM.Chain.Ethereum.Transaction.call_or_create_value tx with
      |
        MonadVM.Chain.Ethereum.Transaction.Call {|
          MonadVM.Chain.Ethereum.Transaction.call_or_create.Call.data := data;
            MonadVM.Chain.Ethereum.Transaction.call_or_create.Call.to_ := to_
            |} ⇒ (MonadVM.Evmc.Message.CallKind.Call, to_, data, to_)
      |
        MonadVM.Chain.Ethereum.Transaction.Create {|
          MonadVM.Chain.Ethereum.Transaction.call_or_create.Create.initcode := initcode
            |} ⇒
        (MonadVM.Evmc.Message.CallKind.Create,
          MonadVM.Chain.Ethereum.Address.zero, initcode,
          MonadVM.Chain.Ethereum.Address.zero)
      end in
    let delegated :=
      MonadVM.Delegation.is_valid_delegation
        (MonadVM.State.op_pointcaretlparenrparen world_state
          (MonadVM.State.WorldState.account None code_address)).(MonadVM.Chain.Ethereum.Account.t.code)
      in
    {| MonadVM.Evmc.Message.t.kind := kind;
      MonadVM.Evmc.Message.t.static := false;
      MonadVM.Evmc.Message.t.delegated := delegated;
      MonadVM.Evmc.Message.t.depth := 0;
      MonadVM.Evmc.Message.t.gas := MonadVM.Gas.to_int64 gas;
      MonadVM.Evmc.Message.t.recipient := current_target;
      MonadVM.Evmc.Message.t.sender := sender;
      MonadVM.Evmc.Message.t.input_data := data;
      MonadVM.Evmc.Message.t.value :=
        MonadVM.Chain.Ethereum.Transaction.value tx;
      MonadVM.Evmc.Message.t.create2_salt :=
        MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.zeros);
      MonadVM.Evmc.Message.t.code_address := code_address;
      MonadVM.Evmc.Message.t.code := MonadVM.Byte_string.Bytes.empty;
      MonadVM.Evmc.Message.t.memory_capacity :=
        MonadVM.Support.UintN.to_uint32 vm_max_memory_usage; |}.

  Definition validate_authorizations `{_fargs : FArgs}
    (block : MonadVM.Chain.Ethereum.Block.t)
    (tx : MonadVM.Chain.Ethereum.Transaction.t) : or_error unit :=
    match tx with
    |
      MonadVM.Chain.Ethereum.Transaction.SetCode {|
        MonadVM.Chain.Ethereum.Transaction.set_code_tx.authorization_list := []
          |} ⇒
      invalid_transaction block tx
        MonadVM.Execution.Error.Empty_authorization_list
    | _ ⇒ return tt
    end.

  Definition process_authorization `{_fargs : FArgs}
    (transaction_state : MonadVM.State.TransactionState.t)
    (authorization : MonadVM.Chain.Ethereum.Transaction.Authorization.t)
    : option MonadVM.Chain.Ethereum.Address.t × MonadVM.State.TransactionState.t :=
    if
      orb
        (andb
          (MonadVM.Numeric.U256.op_ltgt
            authorization.(MonadVM.Chain.Ethereum.Transaction.Authorization.t.chain_id)
            MonadVM.Numeric.U256.zero)
          (MonadVM.Support.UintN.op_ltgt
            (MonadVM.Numeric.U256.to_uint
              authorization.(MonadVM.Chain.Ethereum.Transaction.Authorization.t.chain_id))
            Params.(Make_Params_signature.chain_id)))
        (MonadVM.Numeric.U64.op_eq
          authorization.(MonadVM.Chain.Ethereum.Transaction.Authorization.t.nonce)
          MonadVM.Numeric.U64.max_t)
    then
      (None, transaction_state)
    else
      match
        MonadVM.Chain.Ethereum.Transaction.Authorization.authority authorization
        with
      | None ⇒ (None, transaction_state)
      | Some authority ⇒
        let transaction_state :=
          MonadVM.State.TransactionState.t.with_accessed_addresses
            (MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.add)
              authority
              transaction_state.(MonadVM.State.TransactionState.t.accessed_addresses))
            transaction_state in
        let
          '{|
            MonadVM.Chain.Ethereum.Account.t.nonce := nonce;
              MonadVM.Chain.Ethereum.Account.t.code := code
              |} as authority_account :=
          MonadVM.State.op_pointcaretlparenrparen transaction_state
            (MonadVM.State.TransactionState.account None authority) in
        if
          andb
            (orb
              (MonadVM.Byte_string.Bytes.op_eq code
                MonadVM.Byte_string.Bytes.empty)
              (MonadVM.Delegation.is_valid_delegation code))
            (MonadVM.Numeric.U64.op_eq
              authorization.(MonadVM.Chain.Ethereum.Transaction.Authorization.t.nonce)
              nonce)
        then
          let code :=
            MonadVM.Delegation.delegation_code
              authorization.(MonadVM.Chain.Ethereum.Transaction.Authorization.t.address)
            in
          let nonce :=
            MonadVM.Numeric.U64.op_plus
              authority_account.(MonadVM.Chain.Ethereum.Account.t.nonce)
              MonadVM.Numeric.U64.one in
          let authority_account :=
            MonadVM.Chain.Ethereum.Account.t.with_code code
              (MonadVM.Chain.Ethereum.Account.t.with_nonce nonce
                authority_account) in
          let transaction_state :=
            (fun (s_value : MonadVM.State.TransactionState.t) ⇒
              if
                negb (MonadVM.Chain.Ethereum.Account.is_empty authority_account)
              then
                MonadVM.State.op_pointcaretlparenrparenltminus s_value
                  MonadVM.State.TransactionState.refund
                  (MonadVM.Numeric.U256.op_plus
                    s_value.(MonadVM.State.TransactionState.t.refund)
                    (MonadVM.Numeric.U256.of_uint_exn
                      MonadVM.Gas.tx_authorization_list_refund_per_nonempty))
              else
                s_value)
              ((fun (s_value : MonadVM.State.TransactionState.t) ⇒
                MonadVM.State.op_pointcaretlparenrparenltminus s_value
                  (MonadVM.State.TransactionState.account None authority)
                  authority_account) transaction_state) in
          ((Some authority), transaction_state)
        else
          (None, transaction_state)
      end.

Update the emptying transaction counter of each address in addresses to be equal to current_block_number + Reserve_balance.execution_consensus_delay. This is done immediately after authorizations are processed, to bump the counter of any valid authorities, and after a transaction finishes, to bump the counter of the sender.
  Definition bump_emptying_transaction_counters `{_fargs : FArgs}
    (addresses : list MonadVM.Chain.Ethereum.Address.t)
    (transaction_state : MonadVM.State.TransactionState.t)
    : MonadVM.State.TransactionState.t :=
    let next_emptying_block :=
      MonadVM.Support.UintN.op_plus
        transaction_state.(MonadVM.State.TransactionState.t.current_block).(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.number)
        MonadVM.Reserve_balance.execution_consensus_delay in
    let world_state :=
      RocqOfOCaml.OCamlList.fold_left
        (fun (state : MonadVM.State.WorldState.t) ⇒
          fun (addr : MonadVM.Chain.Ethereum.Address.Map.key) ⇒
            MonadVM.State.op_pointcaretlparenrparenltminus state
              (MonadVM.State.WorldState.next_emptying_transaction_block_for addr)
              next_emptying_block)
        transaction_state.(MonadVM.State.TransactionState.t.world_state)
        addresses in
    MonadVM.State.TransactionState.t.with_world_state world_state
      transaction_state.

  Module transaction_validation.
    Record record `{_fargs : FArgs} : Set := Build {
      sender : MonadVM.Chain.Ethereum.Address.t;
      total_fee : MonadVM.Numeric.U256.t;
      effective_gas_price : MonadVM.Support.UintN.t;
      intrinsic_gas : MonadVM.Gas.t;
    }.
    Definition with_sender `{_fargs : FArgs} sender (r : record) :=
      Build _ sender r.(total_fee) r.(effective_gas_price) r.(intrinsic_gas).
    Definition with_total_fee `{_fargs : FArgs} total_fee (r : record) :=
      Build _ r.(sender) total_fee r.(effective_gas_price) r.(intrinsic_gas).
    Definition with_effective_gas_price `{_fargs : FArgs} effective_gas_price
      (r : record) :=
      Build _ r.(sender) r.(total_fee) effective_gas_price r.(intrinsic_gas).
    Definition with_intrinsic_gas `{_fargs : FArgs} intrinsic_gas
      (r : record) :=
      Build _ r.(sender) r.(total_fee) r.(effective_gas_price) intrinsic_gas.
  End transaction_validation.
  Definition transaction_validation `{_fargs : FArgs} :=
    transaction_validation.record.

  Definition validate_transaction `{_fargs : FArgs}
    (block_state : MonadVM.State.BlockState.t)
    (tx : MonadVM.Chain.Ethereum.Transaction.t)
    : or_error transaction_validation :=
    let block := block_state.(MonadVM.State.BlockState.t.current_block) in
    let* '_ :=
      match
        ((MonadVM.Chain.Ethereum.Transaction.chain_id tx),
          match MonadVM.Chain.Ethereum.Transaction.chain_id tx with
          | Some chain_id ⇒
            MonadVM.Support.UintN.op_ltgt chain_id
              Params.(Make_Params_signature.chain_id)
          | _ ⇒ false
          end) with
      | (Some chain_id, true) ⇒
        invalid_transaction block tx MonadVM.Execution.Error.Wrong_chain_id
      | (_, _) ⇒ return tt
      end in
    let tx_gas_limit := MonadVM.Chain.Ethereum.Transaction.gas_limit tx in
    let tx_nonce := MonadVM.Chain.Ethereum.Transaction.nonce tx in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Numeric.U64.op_eq tx_nonce MonadVM.Numeric.U64.max_t)
        (invalid_transaction block tx MonadVM.Execution.Error.Nonce_overflow) in
    let* sender :=
      match
        MonadVM.Chain.Ethereum.Transaction.sender
          Params.(Make_Params_signature.chain_id) tx with
      | None ⇒
        invalid_transaction block tx MonadVM.Execution.Error.Invalid_signature
      | Some sender ⇒ return sender
      end in
    let sender_account :=
      MonadVM.State.op_pointcaretlparenrparen
        block_state.(MonadVM.State.BlockState.t.world_state)
        (MonadVM.State.WorldState.account None sender) in
    let migrated :=
      andb
        (MonadVM.Setcode_rules.enabled Params.(Make_Params_signature.revision))
        (MonadVM.Chain.Ethereum.Account.is_smart_contract sender_account) in
    let* '_ :=
      if migrated then
        MonadVM.Result.when_
          (MonadVM.Numeric.U64.op_eq
            sender_account.(MonadVM.Chain.Ethereum.Account.t.nonce)
            MonadVM.Numeric.U64.max_t)
          (invalid_transaction block tx MonadVM.Execution.Error.Nonce_overflow)
      else
        MonadVM.Result.when_
          (MonadVM.Numeric.U64.op_ltgt
            sender_account.(MonadVM.Chain.Ethereum.Account.t.nonce) tx_nonce)
          (invalid_transaction block tx
            (MonadVM.Execution.Error.Invalid_nonce
              {| Error.invalid_transaction.Invalid_nonce.addr := sender;
                Error.invalid_transaction.Invalid_nonce.expected :=
                  sender_account.(MonadVM.Chain.Ethereum.Account.t.nonce); |}))
      in
    let* '_ :=
      let initcode_size :=
        match MonadVM.Chain.Ethereum.Transaction.call_or_create_value tx with
        |
          MonadVM.Chain.Ethereum.Transaction.Create {|
            MonadVM.Chain.Ethereum.Transaction.call_or_create.Create.initcode := initcode
              |} ⇒ MonadVM.Byte_string.Bytes.length initcode
        | _ ⇒ 0
        end in
      MonadVM.Result.when_
        (Z.gtb initcode_size MonadVM.Chain.Monad.Constants.max_init_code_size)
        (invalid_transaction block tx MonadVM.Execution.Error.Initcode_too_long)
      in
    let intrinsic_gas := MonadVM.Gas.tx_intrinsic_gas tx in
    let* '_ :=
      MonadVM.Result.when_ (MonadVM.Gas.op_gt intrinsic_gas tx_gas_limit)
        (invalid_transaction block tx
          (MonadVM.Execution.Error.Cannot_pay_intrinsic_gas
            {|
              Error.invalid_transaction.Cannot_pay_intrinsic_gas.intrinsic_gas
                := intrinsic_gas; |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Gas.op_gt tx_gas_limit MonadVM.Gas.tx_max_gas_limit)
        (invalid_transaction block tx
          MonadVM.Execution.Error.Gas_above_limit_invalid_transaction) in
    let floor_gas := MonadVM.Gas.tx_floor_gas tx in
    let* '_ :=
      MonadVM.Result.when_ (MonadVM.Gas.op_gt floor_gas tx_gas_limit)
        (invalid_transaction block tx
          (MonadVM.Execution.Error.Cannot_pay_floor_gas
            {|
              Error.invalid_transaction.Cannot_pay_floor_gas.floor_gas :=
                floor_gas; |})) in
    let header := block.(MonadVM.Chain.Ethereum.Block.t.header) in
    let* '_ :=
      MonadVM.Result.when_
        (andb
          (negb
            (MonadVM.Setcode_rules.enabled
              Params.(Make_Params_signature.revision)))
          (andb
            (MonadVM.Byte_string.Bytes.op_ltgt
              sender_account.(MonadVM.Chain.Ethereum.Account.t.code)
              MonadVM.Byte_string.Bytes.empty)
            (negb
              (MonadVM.Delegation.is_valid_delegation
                sender_account.(MonadVM.Chain.Ethereum.Account.t.code)))))
        (invalid_transaction block tx
          (MonadVM.Execution.Error.Invalid_delegation
            {|
              Error.invalid_transaction.Invalid_delegation.code :=
                sender_account.(MonadVM.Chain.Ethereum.Account.t.code); |})) in
    let* '_ := validate_authorizations block tx in
    let base_fee_per_gas :=
      header.(MonadVM.Chain.Ethereum.Block.Header.t.base_fee_per_gas) in
    let* effective_gas_price :=
      match MonadVM.Gas.tx_effective_gas_price base_fee_per_gas tx with
      | Some effective_gas_price ⇒
        ((inl effective_gas_price) : sum MonadVM.Support.UintN.Impl.t Error.t)
      | None ⇒
        invalid_transaction block tx
          (MonadVM.Execution.Error.Transaction_fee_below_base
            {|
              Error.invalid_transaction.Transaction_fee_below_base.base_fee_per_gas
                := base_fee_per_gas; |})
      end in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Gas.op_lt effective_gas_price base_fee_per_gas)
        (invalid_transaction block tx
          (MonadVM.Execution.Error.Transaction_fee_below_base
            {|
              Error.invalid_transaction.Transaction_fee_below_base.base_fee_per_gas
                := base_fee_per_gas; |})) in
    let total_fee :=
      MonadVM.Support.UintN.op_star tx_gas_limit effective_gas_price in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Support.UintN.op_gt total_fee
          (MonadVM.Numeric.U256.to_uint
            sender_account.(MonadVM.Chain.Ethereum.Account.t.balance)))
        (invalid_transaction block tx
          (MonadVM.Execution.Error.Insufficient_balance
            {|
              Error.invalid_transaction.Insufficient_balance.balance :=
                sender_account.(MonadVM.Chain.Ethereum.Account.t.balance);
              Error.invalid_transaction.Insufficient_balance.required :=
                total_fee; |})) in
    let total_fee :=
      MonadVM.Numeric.U256.of_uint_exn
        (MonadVM.Support.UintN.op_star effective_gas_price tx_gas_limit) in
    return
      {| MonadVM.Execution.Make.transaction_validation.sender := sender;
        MonadVM.Execution.Make.transaction_validation.total_fee := total_fee;
        MonadVM.Execution.Make.transaction_validation.effective_gas_price :=
          effective_gas_price;
        MonadVM.Execution.Make.transaction_validation.intrinsic_gas :=
          intrinsic_gas; |}.

  Definition process_transaction `{_fargs : FArgs}
    (block_state : MonadVM.State.BlockState.t)
    (tx : MonadVM.Chain.Ethereum.Transaction.t)
    : or_error MonadVM.State.BlockState.t :=
    let header :=
      block_state.(MonadVM.State.BlockState.t.current_block).(MonadVM.Chain.Ethereum.Block.t.header)
      in
    let* '{|
      MonadVM.Execution.Make.transaction_validation.sender := sender;
        MonadVM.Execution.Make.transaction_validation.total_fee := total_fee;
        MonadVM.Execution.Make.transaction_validation.effective_gas_price :=
          effective_gas_price;
        MonadVM.Execution.Make.transaction_validation.intrinsic_gas :=
          intrinsic_gas
        |} := validate_transaction block_state tx in
    let sender_before :=
      MonadVM.State.op_pointcaretlparenrparen block_state
        (MonadVM.State.BlockState.account None sender) in
    let migrated :=
      andb
        (MonadVM.Setcode_rules.enabled Params.(Make_Params_signature.revision))
        (MonadVM.Chain.Ethereum.Account.is_smart_contract sender_before) in
    let '(result_value, transaction_state, frame) :=
      let transaction_state :=
        MonadVM.State.TransactionState.t.with_tx_chain_id
          Params.(Make_Params_signature.chain_id)
          (MonadVM.State.TransactionState.make block_state sender tx) in
      let transaction_state :=
        MonadVM.State.op_pointcaretdollarlparenrparenltminus transaction_state
          (MonadVM.State.TransactionState.account None sender)
          (fun (sender_account : MonadVM.Chain.Ethereum.Account.t) ⇒
            MonadVM.Chain.Ethereum.Account.t.with_balance
              (MonadVM.Numeric.U256.op_minus
                sender_account.(MonadVM.Chain.Ethereum.Account.t.balance)
                total_fee)
              (MonadVM.Chain.Ethereum.Account.t.with_nonce
                (MonadVM.Setcode_rules.advance_sender_nonce migrated
                  sender_account.(MonadVM.Chain.Ethereum.Account.t.nonce)
                  (MonadVM.Chain.Ethereum.Transaction.nonce tx)) sender_account))
        in
      let '(authorities, transaction_state) :=
        MonadVM.Result.List.fold_left
          (fun (function_parameter :
            list MonadVM.Chain.Ethereum.Address.t ×
              MonadVM.State.TransactionState.t) ⇒
            let '(authorities, transaction_state) := function_parameter in
            fun (authorization :
              MonadVM.Chain.Ethereum.Transaction.Authorization.t) ⇒
              match process_authorization transaction_state authorization with
              | (None, transaction_state) ⇒ (authorities, transaction_state)
              | (Some authority, transaction_state) ⇒
                ((Datatypes.cons authority authorities), transaction_state)
              end) (nil, transaction_state)
          (MonadVM.Chain.Ethereum.Transaction.authorization_list tx) in
      let activity :=
        if
          MonadVM.Setcode_rules.enabled Params.(Make_Params_signature.revision)
        then
          MonadVM.Result.List.filter_map
            MonadVM.Chain.Ethereum.Transaction.Authorization.authority
            (MonadVM.Chain.Ethereum.Transaction.authorization_list tx)
        else
          authorities in
      let transaction_state :=
        bump_emptying_transaction_counters activity transaction_state in
      let transaction_state :=
        MonadVM.State.TransactionState.initialize_access_sets tx
          transaction_state
          (Precompiles (_fargs := _fargs)).(MonadVM.Precompiles.Make.Make_result.precompile_addresses)
        in
      let available_gas :=
        MonadVM.Gas.op_minus (MonadVM.Chain.Ethereum.Transaction.gas_limit tx)
          intrinsic_gas in
      let message :=
        prepare_message sender available_gas tx
          transaction_state.(MonadVM.State.TransactionState.t.world_state) in
      let frame :=
        if
          andb migrated
            (MonadVM.Evmc.Message.CallKind.is_create
              message.(MonadVM.Evmc.Message.t.kind))
        then
          MonadVM.Evmc.Message.t.with_recipient
            (MonadVM.Chain.Ethereum.Address.of_contract_creation sender
              (MonadVM.Numeric.U64.op_plus
                sender_before.(MonadVM.Chain.Ethereum.Account.t.nonce)
                MonadVM.Numeric.U64.one) None) message
        else
          message in
      let '(result_value, transaction_state) :=
        if migrated then
          let result_value :=
            MonadVM.Evmc.Result.failure
              MonadVM.Evmc.Result.StatusCode.Migrated_sender in
          let result_value :=
            if
              MonadVM.Evmc.Message.CallKind.is_create
                message.(MonadVM.Evmc.Message.t.kind)
            then
              MonadVM.Evmc.Result.t.with_create_address
                frame.(MonadVM.Evmc.Message.t.recipient) result_value
            else
              result_value in
          (result_value, transaction_state)
        else
          Host.call_from_eoa tx message transaction_state in
      let transaction_state :=
        bump_emptying_transaction_counters (Datatypes.cons sender nil)
          transaction_state in
      (result_value, transaction_state, frame) in
    let block_state :=
      MonadVM.State.BlockState.t.with_world_state
        transaction_state.(MonadVM.State.TransactionState.t.world_state)
        block_state in
    let tx_gas_used := MonadVM.Chain.Ethereum.Transaction.gas_limit tx in
    let priority_fee_per_gas :=
      MonadVM.Gas.op_minus effective_gas_price
        header.(MonadVM.Chain.Ethereum.Block.Header.t.base_fee_per_gas) in
    let transaction_fee :=
      MonadVM.Numeric.U256.of_uint_exn
        (MonadVM.Gas.op_star tx_gas_used priority_fee_per_gas) in
    let block_state :=
      MonadVM.State.op_pointcaretdollarlparenrparenltminus block_state
        (Lens.Infix.op_pipeminusminus
          (MonadVM.State.BlockState.account None
            header.(MonadVM.Chain.Ethereum.Block.Header.t.beneficiary))
          MonadVM.Chain.Ethereum.Account.balance)
        (fun (balance : MonadVM.Numeric.U256.t) ⇒
          MonadVM.Numeric.U256.op_plus balance transaction_fee) in
    let block_state :=
      MonadVM.Result.Seq.fold_left
        (fun (block_state : MonadVM.State.BlockState.t) ⇒
          fun (destructed_account : MonadVM.Chain.Ethereum.Address.Map.key) ⇒
            MonadVM.State.op_pointcaretlparenrparenltminus block_state
              (MonadVM.State.BlockState.account_opt None destructed_account)
              None) block_state
        (MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.to_seq)
          transaction_state.(MonadVM.State.TransactionState.t.self_destruct)) in
    let block_gas_used :=
      MonadVM.Gas.op_plus block_state.(MonadVM.State.BlockState.t.gas_used)
        tx_gas_used in
    let block_state :=
      MonadVM.State.BlockState.t.with_gas_used block_gas_used block_state in
    let block_state :=
      let receipt :=
        let logs :=
          MonadVM.Result.List.rev
            transaction_state.(MonadVM.State.TransactionState.t.logs) in
        let succeeded :=
          MonadVM.Evmc.Result.StatusCode.is_success
            result_value.(MonadVM.Evmc.Result.t.status_code) in
        let bloom :=
          MonadVM.Bloom.union
            (MonadVM.Result.Seq.map MonadVM.Chain.Ethereum.Log.to_bloom
              (MonadVM.Result.List.to_seq logs)) in
        {|
          MonadVM.Chain.Ethereum.Receipt.t.tx_type :=
            MonadVM.Chain.Ethereum.Transaction.kind_tag_value tx;
          MonadVM.Chain.Ethereum.Receipt.t.succeeded := succeeded;
          MonadVM.Chain.Ethereum.Receipt.t.cumulative_gas_used :=
            block_state.(MonadVM.State.BlockState.t.gas_used);
          MonadVM.Chain.Ethereum.Receipt.t.bloom := bloom;
          MonadVM.Chain.Ethereum.Receipt.t.logs := logs; |} in
      MonadVM.State.BlockState.t.with_transaction_frames
        (MonadVM.Result.List.append
          block_state.(MonadVM.State.BlockState.t.transaction_frames)
          (Datatypes.cons (frame, result_value) nil))
        (MonadVM.State.BlockState.t.with_transactions_processed
          (MonadVM.Result.List.append
            block_state.(MonadVM.State.BlockState.t.transactions_processed)
            (Datatypes.cons (tx, receipt) nil)) block_state) in
    return block_state.

  Definition process_withdrawal `{_fargs : FArgs}
    (block_state : MonadVM.State.BlockState.t)
    (wd : MonadVM.Chain.Ethereum.Withdrawal.t) : MonadVM.State.BlockState.t :=
    let amount :=
      MonadVM.Numeric.U256.op_star
        (MonadVM.Numeric.U256.of_uint_exn
          (MonadVM.Numeric.U64.to_uint
            wd.(MonadVM.Chain.Ethereum.Withdrawal.t.amount)))
        (MonadVM.Numeric.U256.exp (MonadVM.Numeric.U256.op_tildedollar 10)
          (MonadVM.Numeric.U256.op_tildedollar 9)) in
    let block_state :=
      MonadVM.State.op_pointcaretdollarlparenrparenltminus block_state
        (Lens.Infix.op_pipeminusminus
          (MonadVM.State.BlockState.account None
            wd.(MonadVM.Chain.Ethereum.Withdrawal.t.recipient))
          MonadVM.Chain.Ethereum.Account.balance)
        (fun (balance : MonadVM.Numeric.U256.t) ⇒
          MonadVM.Numeric.U256.op_plus balance amount) in
    MonadVM.State.BlockState.t.with_withdrawals_processed
      (RocqOfOCaml.OCamlList.append
        block_state.(MonadVM.State.BlockState.t.withdrawals_processed)
        (Datatypes.cons wd nil)) block_state.

  Definition _rocq_fallback_validate_block_0 `{_fargs : FArgs} (block : MonadVM.Chain.Ethereum.Block.t) : ltac:(let typ := constr:(ltac:(first [unshelve refine ((MonadVM.Chain.Ethereum.Block.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 validate_block `{_fargs : FArgs}
    (world_state : MonadVM.State.WorldState.t)
    (block : MonadVM.Chain.Ethereum.Block.t) : or_error unit :=
    let header := block.(MonadVM.Chain.Ethereum.Block.t.header) in
    let parent :=
      (MonadVM.Result.List.hd ((_rocq_fallback_validate_block_0 block)))
        world_state.(MonadVM.State.WorldState.t.history) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Support.UintN.op_ltgt
          header.(MonadVM.Chain.Ethereum.Block.Header.t.number)
          (MonadVM.Support.UintN.op_plus
            parent.(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.number)
            MonadVM.Support.UintN.one))
        (invalid_block block MonadVM.Execution.Error.Invalid_number) in
    let max_gas_limit_update :=
      MonadVM.Gas.op_div
        parent.(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit)
        (MonadVM.Gas.op_tildedollar 1024) in
    let* '_ :=
      MonadVM.Result.when_
        (orb
          (MonadVM.Gas.op_lt
            header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit)
            (MonadVM.Gas.op_tildedollar 5000))
          (orb
            (MonadVM.Gas.op_gteq
              header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit)
              (MonadVM.Gas.op_plus
                parent.(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit)
                max_gas_limit_update))
            (MonadVM.Gas.op_lteq
              header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit)
              (MonadVM.Gas.op_minus
                parent.(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit)
                max_gas_limit_update))))
        (invalid_block block MonadVM.Execution.Error.Invalid_gas_limit) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Gas.op_gt
          header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_used)
          header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_limit))
        (invalid_block block MonadVM.Execution.Error.Gas_above_limit) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Numeric.U256.op_lt
          header.(MonadVM.Chain.Ethereum.Block.Header.t.timestamp)
          parent.(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.timestamp))
        (invalid_block block MonadVM.Execution.Error.Invalid_timestamp) in
    let* '_ :=
      MonadVM.Result.when_
        (orb
          (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
            header.(MonadVM.Chain.Ethereum.Block.Header.t.ommers_hash)
            (MonadVM.Crypto.keccak_256
              (MonadVM.Rlp.encode (MonadVM.Rlp.List nil))))
          (negb
            (MonadVM.Result.List.is_empty
              block.(MonadVM.Chain.Ethereum.Block.t.ommers))))
        (invalid_block block MonadVM.Execution.Error.Nonempty_ommers) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Support.UintN.op_ltgt
          header.(MonadVM.Chain.Ethereum.Block.Header.t.difficulty)
          MonadVM.Support.UintN.zero)
        (invalid_block block MonadVM.Execution.Error.Nonzero_difficulty) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Byte_string.B8.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
          header.(MonadVM.Chain.Ethereum.Block.Header.t.nonce)
          MonadVM.Byte_string.B8.(MonadVM.Byte_string.Fixed.Fixed_result.zeros))
        (invalid_block block MonadVM.Execution.Error.Nonzero_nonce) in
    let* '_ :=
      MonadVM.Result.when_
        (Z.gtb
          (MonadVM.Byte_string.Bytes.length
            block.(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.extra_data))
          32) (invalid_block block MonadVM.Execution.Error.Extra_data_too_long)
      in
    return tt.

  Definition _rocq_fallback_process_system_message_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 process_system_message `{_fargs : FArgs}
    (block_state : MonadVM.State.BlockState.t)
    (addr : MonadVM.Chain.Ethereum.Address.t)
    (data : MonadVM.Byte_string.Bytes.t)
    : option MonadVM.Evmc.Result.t × MonadVM.State.BlockState.t :=
    let system_sender_address :=
      MonadVM.Chain.Ethereum.Address.of_hex_string None
        "0xfffffffffffffffffffffffffffffffffffffffe" in
    let code :=
      (MonadVM.State.op_pointcaretlparenrparen block_state
        (MonadVM.State.BlockState.account None addr)).(MonadVM.Chain.Ethereum.Account.t.code)
      in
    if
      MonadVM.Byte_string.Bytes.op_eq code MonadVM.Byte_string.Bytes.empty
    then
      (None, block_state)
    else
      let message :=
        {| MonadVM.Evmc.Message.t.kind := MonadVM.Evmc.Message.CallKind.Call;
          MonadVM.Evmc.Message.t.static := false;
          MonadVM.Evmc.Message.t.delegated := false;
          MonadVM.Evmc.Message.t.depth := 0;
          MonadVM.Evmc.Message.t.gas :=
            MonadVM.Gas.to_uint64 MonadVM.Gas.system_transaction_gas;
          MonadVM.Evmc.Message.t.recipient := addr;
          MonadVM.Evmc.Message.t.sender := system_sender_address;
          MonadVM.Evmc.Message.t.input_data := data;
          MonadVM.Evmc.Message.t.value := MonadVM.Numeric.U256.zero;
          MonadVM.Evmc.Message.t.create2_salt :=
            MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.zeros);
          MonadVM.Evmc.Message.t.code_address := addr;
          MonadVM.Evmc.Message.t.code := code;
          MonadVM.Evmc.Message.t.memory_capacity :=
            MonadVM.Support.UintN.to_uint32 vm_max_memory_usage; |} in
      let transaction_state :=
        {|
          MonadVM.State.TransactionState.t.initial_world_state :=
            block_state.(MonadVM.State.BlockState.t.world_state);
          MonadVM.State.TransactionState.t.world_state :=
            block_state.(MonadVM.State.BlockState.t.world_state);
          MonadVM.State.TransactionState.t.current_block :=
            block_state.(MonadVM.State.BlockState.t.current_block);
          MonadVM.State.TransactionState.t.transient_storage :=
            MonadVM.Chain.Ethereum.Address.Map.empty;
          MonadVM.State.TransactionState.t.accounts_created_in_current_transaction
            :=
            MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.empty);
          MonadVM.State.TransactionState.t.prior_transactions := nil;
          MonadVM.State.TransactionState.t.tx_chain_id :=
            Params.(Make_Params_signature.chain_id);
          MonadVM.State.TransactionState.t.tx_origin := system_sender_address;
          MonadVM.State.TransactionState.t.tx_gas_price :=
            MonadVM.Support.UintN.zero;
          MonadVM.State.TransactionState.t.tx_gas_limit :=
            MonadVM.Support.UintN.zero;
          MonadVM.State.TransactionState.t.self_destruct :=
            MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.empty);
          MonadVM.State.TransactionState.t.logs := nil;
          MonadVM.State.TransactionState.t.refund := MonadVM.Numeric.U256.zero;
          MonadVM.State.TransactionState.t.accessed_addresses :=
            MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.empty);
          MonadVM.State.TransactionState.t.accessed_keys :=
            MonadVM.State.TransactionState.StorageKey._Set.(RocqOfOCaml.OCamlSet.S.empty);
          |} in
      let '(result_value, transaction_state) :=
        Host.call message transaction_state in
      let '_ :=
        if
          MonadVM.Evmc.Result.StatusCode.is_success
            result_value.(MonadVM.Evmc.Result.t.status_code) then tt else
          _rocq_fallback_process_system_message_0 in
      ((Some result_value),
        (MonadVM.State.BlockState.t.with_world_state
          transaction_state.(MonadVM.State.TransactionState.t.world_state)
          block_state)).

  Definition beacon_roots_address `{_fargs : FArgs}
    : MonadVM.Chain.Ethereum.Address.t :=
    MonadVM.Chain.Ethereum.Address.of_hex_string None
      "000F3df6D732807Ef1319fB7B8bB8522d0Beac02".

  Definition history_storage_address `{_fargs : FArgs}
    : MonadVM.Chain.Ethereum.Address.t :=
    MonadVM.Chain.Ethereum.Address.of_hex_string None
      "0000f90827f1c53a10cb7a02335b175320002935".

  Definition validate_input_block_against_output `{_fargs : FArgs}
    (input_block : MonadVM.Chain.Ethereum.Block.t)
    (output_block : MonadVM.Chain.Ethereum.Block.t) : sum unit Error.t :=
    let input_header := input_block.(MonadVM.Chain.Ethereum.Block.t.header) in
    let output_header := output_block.(MonadVM.Chain.Ethereum.Block.t.header) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.state_root)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.state_root))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_merkle_root
            {|
              Error.invalid_block.Wrong_merkle_root.kind :=
                MonadVM.Support.Variants.MerkleKind.State;
              Error.invalid_block.Wrong_merkle_root.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.state_root);
              |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.receipts_root)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.receipts_root))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_merkle_root
            {|
              Error.invalid_block.Wrong_merkle_root.kind :=
                MonadVM.Support.Variants.MerkleKind.Receipts;
              Error.invalid_block.Wrong_merkle_root.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.receipts_root);
              |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.withdrawals_root)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.withdrawals_root))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_merkle_root
            {|
              Error.invalid_block.Wrong_merkle_root.kind :=
                MonadVM.Support.Variants.MerkleKind.Withdrawals;
              Error.invalid_block.Wrong_merkle_root.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.withdrawals_root);
              |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.transactions_root)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.transactions_root))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_merkle_root
            {|
              Error.invalid_block.Wrong_merkle_root.kind :=
                MonadVM.Support.Variants.MerkleKind.Transactions;
              Error.invalid_block.Wrong_merkle_root.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.transactions_root);
              |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Bloom.op_ltgt
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.logs_bloom)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.logs_bloom))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_logs_bloom
            {|
              Error.invalid_block.Wrong_logs_bloom.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.logs_bloom);
              |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Gas.op_ltgt
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_used)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_used))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_gas_used
            {|
              Error.invalid_block.Wrong_gas_used.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.gas_used);
              |})) in
    let* '_ :=
      MonadVM.Result.when_
        (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.op_ltgt)
          input_header.(MonadVM.Chain.Ethereum.Block.Header.t.parent_hash)
          output_header.(MonadVM.Chain.Ethereum.Block.Header.t.parent_hash))
        (invalid_block input_block
          (MonadVM.Execution.Error.Wrong_parent_hash
            {|
              Error.invalid_block.Wrong_parent_hash.expected :=
                output_header.(MonadVM.Chain.Ethereum.Block.Header.t.parent_hash);
              |})) in
    let '_ :=
      if MonadVM.Chain.Ethereum.Block.op_eq input_block output_block then tt
        else _rocq_fallback_process_system_message_0 in
    return tt.

Monad state transition function (YP (2)). process_block ¬verify state block returns the new state after executing the Monad block block from initial state state. If verify is true, the final state roots are compared with the state roots in the input block and an error is returned in case of mismatch.
  Definition _rocq_fallback_process_block_0 `{_fargs : FArgs} (world_state :
    MonadVM.State.WorldState.t) :
    ltac:(let typ := constr:(ltac:(first [unshelve refine ((MonadVM.State.WorldState.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 process_block `{_fargs : FArgs}
    (verify : bool) (world_state : MonadVM.State.WorldState.t)
    (block : MonadVM.Chain.Ethereum.Block.t)
    : or_error MonadVM.State.WorldState.t :=
    let* '_ := validate_block world_state block in
    let world_state :=
      match Params.(Make_Params_signature.revision) with
      |
        (MonadVM.Support.Variants.Revision.Eight |
        MonadVM.Support.Variants.Revision.Nine) ⇒ world_state
      |
        (MonadVM.Support.Variants.Revision.Eleven |
        MonadVM.Support.Variants.Revision.Setcode _) ⇒
        MonadVM.Reserve_balance.activate_precompile world_state
      | _ ⇒ (_rocq_fallback_process_block_0 world_state)
      end in
    let block_state := MonadVM.State.BlockState.make world_state block in
    let block_state :=
      let parent_beacon_block_root :=
        block_state.(MonadVM.State.BlockState.t.current_block).(MonadVM.Chain.Ethereum.Block.t.header).(MonadVM.Chain.Ethereum.Block.Header.t.parent_beacon_block_root)
        in
      let '(_, block_state) :=
        process_system_message block_state beacon_roots_address
          (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes)
            parent_beacon_block_root) in
      block_state in
    let block_state :=
      let parent_hash :=
        MonadVM.Chain.Ethereum.Block.hash
          ((MonadVM.Result.List.hd ((_rocq_fallback_validate_block_0 block)))
            world_state.(MonadVM.State.WorldState.t.history)) in
      let '(_, block_state) :=
        process_system_message block_state history_storage_address
          (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.to_bytes)
            parent_hash) in
      block_state in
    let* block_state :=
      MonadVM.Result.List.fold_leftM process_transaction block_state
        block.(MonadVM.Chain.Ethereum.Block.t.transactions) in
    let block_state :=
      MonadVM.Result.List.fold_left process_withdrawal block_state
        block.(MonadVM.Chain.Ethereum.Block.t.withdrawals) in
    let finalized_block :=
      MonadVM.State.BlockState.finalize_current_block block_state in
    let* '_ := validate_block world_state finalized_block in
    let* '_ :=
      if verify then
        validate_input_block_against_output block finalized_block
      else
        return tt in
    return
      (MonadVM.State.WorldState.t.with_history
        (Datatypes.cons finalized_block
          world_state.(MonadVM.State.WorldState.t.history))
        block_state.(MonadVM.State.BlockState.t.world_state)).

  Module Make_result.
    Record signature `{_fargs : FArgs}
      {Instantiation_Host_StorageKey_Set_t : Set} {Vm_Memory_t : Set}
      {Vm_MachineState_t : Set}
      {Vm_ExecutionEnvironment_ExecutionBlockHeader_t : Set}
      {Vm_ExecutionEnvironment_t : Set} {Vm_Address_Set_t : Set}
      {Vm_Address_Map_t : Set → Set} {transaction_validation : Set} : Type := {
      invalid_block :
        ∀ {A : Set} ,
          MonadVM.Chain.Ethereum.Block.t → Error.invalid_block → sum A Error.t;
      invalid_transaction :
        ∀ {A : Set} ,
          MonadVM.Chain.Ethereum.Block.t →
          MonadVM.Chain.Ethereum.Transaction.t → Error.invalid_transaction →
          sum A Error.t;
      or_error := fun (a : Set) ⇒ sum a Error.t;
      VmParams_chain_id : MonadVM.Support.UintN.t;
      VmParams_revision : MonadVM.Chain.Monad.Revision.active;
      VmParams_trace : bool;
      VmParams_debug_tstore : bool;
      vm_max_memory_usage : MonadVM.Support.UintN.t;
      Instantiation :
        MonadVM.Host.Instantiate.Instantiate_result
          (_fargs := Instantiation_fargs)
          (Host_StorageKey_Set_t := Instantiation_Host_StorageKey_Set_t);
      Host_StorageKey_Impl :
        MonadVM.Map.OrderedType (t := MonadVM.Chain.Ethereum.Address.t × string);
      Host_StorageKey_t := MonadVM.Chain.Ethereum.Address.t × string;
      Host_StorageKey_compare :
        MonadVM.Chain.Ethereum.Address.t × string →
        MonadVM.Chain.Ethereum.Address.t × string → int;
      Host_StorageKey_Set_t := Instantiation_Host_StorageKey_Set_t;
      Host_StorageKey_Set :
        RocqOfOCaml.OCamlSet.S
          (elt := MonadVM.Chain.Ethereum.Address.t × string)
          (t := Instantiation_Host_StorageKey_Set_t);
      Host_t := MonadVM.State.TransactionState.t;
      Host_t__rocq_record_make :
        MonadVM.State.WorldState.t → MonadVM.State.WorldState.t →
        MonadVM.Chain.Ethereum.Block.t →
        MonadVM.Chain.Ethereum.Address.Map.t
          (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
            string) →
        MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t) →
        list MonadVM.Chain.Ethereum.Transaction.t → MonadVM.Support.UintN.t →
        MonadVM.Chain.Ethereum.Address.t → MonadVM.Gas.t → MonadVM.Gas.t →
        MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t) →
        list MonadVM.Chain.Ethereum.Log.t → MonadVM.Numeric.U256.t →
        MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t) →
        Instantiation_Host_StorageKey_Set_t → Host_t;
      Host_t__rocq_record_get_initial_world_state :
        Host_t → MonadVM.State.WorldState.t;
      Host_t__rocq_record_get_world_state :
        Host_t → MonadVM.State.WorldState.t;
      Host_t__rocq_record_get_current_block :
        Host_t → MonadVM.Chain.Ethereum.Block.t;
      Host_t__rocq_record_get_transient_storage :
        Host_t →
        MonadVM.Chain.Ethereum.Address.Map.t
          (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
            string);
      Host_t__rocq_record_get_accounts_created_in_current_transaction :
        Host_t → MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_t__rocq_record_get_prior_transactions :
        Host_t → list MonadVM.Chain.Ethereum.Transaction.t;
      Host_t__rocq_record_get_tx_chain_id : Host_t → MonadVM.Support.UintN.t;
      Host_t__rocq_record_get_tx_origin :
        Host_t → MonadVM.Chain.Ethereum.Address.t;
      Host_t__rocq_record_get_tx_gas_price : Host_t → MonadVM.Gas.t;
      Host_t__rocq_record_get_tx_gas_limit : Host_t → MonadVM.Gas.t;
      Host_t__rocq_record_get_self_destruct :
        Host_t → MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_t__rocq_record_get_logs :
        Host_t → list MonadVM.Chain.Ethereum.Log.t;
      Host_t__rocq_record_get_refund : Host_t → MonadVM.Numeric.U256.t;
      Host_t__rocq_record_get_accessed_addresses :
        Host_t → MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_t__rocq_record_get_accessed_keys :
        Host_t → Instantiation_Host_StorageKey_Set_t;
      Host_TLens_initial_world_state :
        Lens.t MonadVM.State.TransactionState.t MonadVM.State.WorldState.t;
      Host_TLens_world_state :
        Lens.t MonadVM.State.TransactionState.t MonadVM.State.WorldState.t;
      Host_TLens_current_block :
        Lens.t MonadVM.State.TransactionState.t MonadVM.Chain.Ethereum.Block.t;
      Host_TLens_transient_storage :
        Lens.t MonadVM.State.TransactionState.t
          (MonadVM.Chain.Ethereum.Address.Map.t
            (MonadVM.Byte_string.B32.(MonadVM.Byte_string.Fixed.Fixed_result.Map).(MonadVM.Byte_string.Fixed.Map.Map_signature.t)
              string));
      Host_TLens_accounts_created_in_current_transaction :
        Lens.t MonadVM.State.TransactionState.t
          MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_TLens_prior_transactions :
        Lens.t MonadVM.State.TransactionState.t
          (list MonadVM.Chain.Ethereum.Transaction.t);
      Host_TLens_tx_chain_id :
        Lens.t MonadVM.State.TransactionState.t MonadVM.Support.UintN.t;
      Host_TLens_tx_origin :
        Lens.t MonadVM.State.TransactionState.t MonadVM.Chain.Ethereum.Address.t;
      Host_TLens_tx_gas_price :
        Lens.t MonadVM.State.TransactionState.t MonadVM.Gas.t;
      Host_TLens_tx_gas_limit :
        Lens.t MonadVM.State.TransactionState.t MonadVM.Gas.t;
      Host_TLens_self_destruct :
        Lens.t MonadVM.State.TransactionState.t
          MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_TLens_logs :
        Lens.t MonadVM.State.TransactionState.t
          (list MonadVM.Chain.Ethereum.Log.t);
      Host_TLens_refund :
        Lens.t MonadVM.State.TransactionState.t MonadVM.Numeric.U256.t;
      Host_TLens_accessed_addresses :
        Lens.t MonadVM.State.TransactionState.t
          MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_TLens_accessed_keys :
        Lens.t MonadVM.State.TransactionState.t
          MonadVM.State.TransactionState.StorageKey._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_initial_world_state : Lens.t Host_t MonadVM.State.WorldState.t;
      Host_world_state : Lens.t Host_t MonadVM.State.WorldState.t;
      Host_current_block : Lens.t Host_t MonadVM.Chain.Ethereum.Block.t;
      Host_accounts_created_in_current_transaction :
        Lens.t Host_t
          MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_prior_transactions :
        Lens.t Host_t (list MonadVM.Chain.Ethereum.Transaction.t);
      Host_tx_chain_id : Lens.t Host_t MonadVM.Support.UintN.t;
      Host_tx_origin : Lens.t Host_t MonadVM.Chain.Ethereum.Address.t;
      Host_tx_gas_price : Lens.t Host_t MonadVM.Gas.t;
      Host_tx_gas_limit : Lens.t Host_t MonadVM.Gas.t;
      Host_self_destruct :
        Lens.t Host_t
          MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_logs : Lens.t Host_t (list MonadVM.Chain.Ethereum.Log.t);
      Host_refund : Lens.t Host_t MonadVM.Numeric.U256.t;
      Host_accessed_addresses :
        Lens.t Host_t
          MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_accessed_keys : Lens.t Host_t Instantiation_Host_StorageKey_Set_t;
      Host_empty : Host_t;
      Host_make :
        MonadVM.State.BlockState.t → MonadVM.Chain.Ethereum.Address.t →
        MonadVM.Chain.Ethereum.Transaction.t → Host_t;
      Host_account :
        option bool → MonadVM.Chain.Ethereum.Address.Map.key →
        Lens.t Host_t MonadVM.Chain.Ethereum.Account.t;
      Host_initialize_access_sets :
        MonadVM.Chain.Ethereum.Transaction.t → Host_t →
        MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t) → Host_t;
      Host_M_state := MonadVM.State.TransactionState.t;
      
      
      
      
      Host_M_Inner_t := fun (a : Set) ⇒ MonadVM.Monad.Identity.t a;
      Host_M_Inner_return : ∀ {a : Set} , a → Host_M_Inner_t a;
      op_Host_M_Inner_gtgteq :
        ∀ {a b : Set} ,
          Host_M_Inner_t a → (a → Host_M_Inner_t b) → Host_M_Inner_t b;
      op_Host_M_Inner_letdollar :
        ∀ {A B : Set} ,
          MonadVM.Monad.Identity.t A → (A → MonadVM.Monad.Identity.t B) →
          MonadVM.Monad.Identity.t B;
      Host_M_Inner_fmap :
        ∀ {A B : Set} ,
          (A → B) → MonadVM.Monad.Identity.t A → MonadVM.Monad.Identity.t B;
      op_Host_M_Inner_ltdollargt :
        ∀ {A B : Set} ,
          (A → B) → MonadVM.Monad.Identity.t A → MonadVM.Monad.Identity.t B;
      op_Host_M_Inner_ltstargt :
        ∀ {a b : Set} ,
          MonadVM.Monad.Identity.t (a → b) → MonadVM.Monad.Identity.t a →
          MonadVM.Monad.Identity.t b;
      op_Host_M_Inner_gtgt :
        ∀ {a : Set} ,
          MonadVM.Monad.Identity.t unit → MonadVM.Monad.Identity.t a →
          MonadVM.Monad.Identity.t a;
      Host_M_Inner_when_ :
        bool → MonadVM.Monad.Identity.t unit → MonadVM.Monad.Identity.t unit;
      Host_M_Inner_Option_t := fun (a : Set) ⇒ option a;
      Host_M_Inner_Option_none : ∀ {a : Set} , option a;
      Host_M_Inner_Option_some : ∀ {a : Set} , a → option a;
      Host_M_Inner_Option_value : ∀ {a : Set} , option a → a → a;
      Host_M_Inner_Option_get :
        ∀ {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)),
          option a → a;
      Host_M_Inner_Option_bind :
        ∀ {a b : Set} , option a → (a → option b) → option b;
      Host_M_Inner_Option_join :
        ∀ {a : Set} , option (option a) → option a;
      Host_M_Inner_Option_map :
        ∀ {a b : Set} , (a → b) → option a → option b;
      Host_M_Inner_Option_product :
        ∀ {a b : Set} , option a → option b → option (a × b);
      Host_M_Inner_Option_fold :
        ∀ {a b : Set} , a → (b → a) → option b → a;
      Host_M_Inner_Option_iter :
        ∀ {a : Set} , (a → unit) → option a → unit;
      Host_M_Inner_Option_blend :
        ∀ {a : Set} , (a → a → a) → option a → option a → option a;
      Host_M_Inner_Option_for_all :
        ∀ {a : Set} , (a → bool) → option a → bool;
      Host_M_Inner_Option_exists :
        ∀ {a : Set} , (a → bool) → option a → bool;
      Host_M_Inner_Option_is_none : ∀ {a : Set} , option a → bool;
      Host_M_Inner_Option_is_some : ∀ {a : Set} , option a → bool;
      Host_M_Inner_Option_equal :
        ∀ {a : Set} , (a → a → bool) → option a → option a → bool;
      Host_M_Inner_Option_compare :
        ∀ {a : Set} , (a → a → int) → option a → option a → int;
      Host_M_Inner_Option_to_result :
        ∀ {a e : Set} , e → option a → sum a e;
      Host_M_Inner_Option_to_list : ∀ {a : Set} , option a → list a;
      Host_M_Inner_Option_to_seq :
        ∀ {a : Set} , option a → RocqOfOCaml.OCamlSeq.t a;
      op_Host_M_Inner_Option_Syntax_letstar :
        ∀ {a b : Set} , option a → (a → option b) → option b;
      op_Host_M_Inner_Option_Syntax_andstar :
        ∀ {a b : Set} , option a → option b → option (a × b);
      op_Host_M_Inner_Option_Syntax_letplus :
        ∀ {a b : Set} , option a → (a → b) → option b;
      op_Host_M_Inner_Option_Syntax_andplus :
        ∀ {a b : Set} , option a → option b → option (a × b);
      Host_M_Inner_Option_get_or_create :
        ∀ {a : Set} , (unit → a) → Lens.t (option a) a;
      Host_M_Inner_Option_get_or_default :
        ∀ {a : Set} , a → Lens.t (option a) a;
      Host_M_Inner_Option_get_or_throw :
        ∀ {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)),
          Lens.t (option a) a;
      op_Host_M_Inner_Option_gtgteq :
        ∀ {A B : Set} , option A → (A → option B) → option B;
      op_Host_M_Inner_Option_letdollar :
        ∀ {A B : Set} , option A → (A → option B) → option B;
      Host_M_Inner_Option_return :
        ∀ {A : Set} , A → Host_M_Inner_Option_t A;
      Host_M_Inner_Option_ensure : bool → option unit;
      Host_M_Inner_Option_iterM :
        ∀ {a : Set} ,
          option a → (a → MonadVM.Monad.Identity.t unit) →
          MonadVM.Monad.Identity.t unit;
      Host_M_Inner_List_t := fun (a : Set) ⇒ list a;
      Host_M_Inner_List_length : ∀ {a : Set} , list a → int;
      Host_M_Inner_List_compare_lengths :
        ∀ {a b : Set} , list a → list b → int;
      Host_M_Inner_List_compare_length_with :
        ∀ {a : Set} , list a → int → int;
      Host_M_Inner_List_is_empty : ∀ {a : Set} , list a → bool;
      Host_M_Inner_List_cons : ∀ {a : Set} , a → list a → list a;
      Host_M_Inner_List_singleton : ∀ {a : Set} , a → list a;
      Host_M_Inner_List_hd :
        ∀ {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)),
          list a → a;
      Host_M_Inner_List_tl :
        ∀ {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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)),
          list a → list a;
      Host_M_Inner_List_nth :
        ∀ {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)),
          list a → int → a;
      Host_M_Inner_List_nth_opt :
        ∀ {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((option 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)),
          list a → int → option a;
      Host_M_Inner_List_rev : ∀ {a : Set} , list a → list a;
      Host_M_Inner_List_init :
        ∀ {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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)),
          int → (int → a) → list a;
      Host_M_Inner_List_append : ∀ {a : Set} , list a → list a → list a;
      Host_M_Inner_List_rev_append :
        ∀ {a : Set} , list a → list a → list a;
      Host_M_Inner_List_concat : ∀ {a : Set} , list (list a) → list a;
      Host_M_Inner_List_flatten : ∀ {a : Set} , list (list a) → list a;
      Host_M_Inner_List_equal :
        ∀ {a : Set} , (a → a → bool) → list a → list a → bool;
      Host_M_Inner_List_compare :
        ∀ {a : Set} , (a → a → int) → list a → list a → int;
      Host_M_Inner_List_iter : ∀ {a : Set} , (a → unit) → list a → unit;
      Host_M_Inner_List_iteri :
        ∀ {a : Set} , (int → a → unit) → list a → unit;
      Host_M_Inner_List_map : ∀ {a b : Set} , (a → b) → list a → list b;
      Host_M_Inner_List_mapi :
        ∀ {a b : Set} , (int → a → b) → list a → list b;
      Host_M_Inner_List_rev_map :
        ∀ {a b : Set} , (a → b) → list a → list b;
      Host_M_Inner_List_filter_map :
        ∀ {a b : Set} , (a → option b) → list a → list b;
      Host_M_Inner_List_filter_mapi :
        ∀ {a b : Set} , (int → a → option b) → list a → list b;
      Host_M_Inner_List_concat_map :
        ∀ {a b : Set} , (a → list b) → list a → list b;
      Host_M_Inner_List_fold_left_map :
        ∀ {a acc b : Set} ,
          (acc → a → acc × b) → acc → list a → acc × list b;
      Host_M_Inner_List_fold_left :
        ∀ {a acc : Set} , (acc → a → acc) → acc → list a → acc;
      Host_M_Inner_List_fold_right :
        ∀ {a acc : Set} , (a → acc → acc) → list a → acc → acc;
      Host_M_Inner_List_iter2 :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            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)),
          (a → b → unit) → list a → list b → unit;
      Host_M_Inner_List_map2 :
        ∀ {a b c : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → c) → list a → list b → list c;
      Host_M_Inner_List_rev_map2 :
        ∀ {a b c : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → c) → list a → list b → list c;
      Host_M_Inner_List_fold_left2 :
        ∀ {a acc b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (acc → a → b → acc) → acc → list a → list b → acc;
      Host_M_Inner_List_fold_right2 :
        ∀ {a acc b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → acc → acc) → list a → list b → acc → acc;
      Host_M_Inner_List_for_all :
        ∀ {a : Set} , (a → bool) → list a → bool;
      Host_M_Inner_List_exists :
        ∀ {a : Set} , (a → bool) → list a → bool;
      Host_M_Inner_List_for_all2 :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → bool) → list a → list b → bool;
      Host_M_Inner_List_exists2 :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → bool) → list a → list b → bool;
      Host_M_Inner_List_mem : ∀ {a : Set} , a → list a → bool;
      Host_M_Inner_List_memq : ∀ {a : Set} , a → list a → bool;
      Host_M_Inner_List_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)),
          (a → bool) → list a → a;
      Host_M_Inner_List_find_opt :
        ∀ {a : Set} , (a → bool) → list a → option a;
      Host_M_Inner_List_find_index :
        ∀ {a : Set} , (a → bool) → list a → option int;
      Host_M_Inner_List_find_map :
        ∀ {a b : Set} , (a → option b) → list a → option b;
      Host_M_Inner_List_find_mapi :
        ∀ {a b : Set} , (int → a → option b) → list a → option b;
      Host_M_Inner_List_filter :
        ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_Inner_List_find_all :
        ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_Inner_List_filteri :
        ∀ {a : Set} , (int → a → bool) → list a → list a;
      Host_M_Inner_List_take : ∀ {a : Set} , int → list a → list a;
      Host_M_Inner_List_drop : ∀ {a : Set} , int → list a → list a;
      Host_M_Inner_List_take_while :
        ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_Inner_List_drop_while :
        ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_Inner_List_partition :
        ∀ {a : Set} , (a → bool) → list a → list a × list a;
      Host_M_Inner_List_partition_map :
        ∀ {a b c : Set} , (a → sum b c) → list a → list b × list c;
      Host_M_Inner_List_assoc :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          a → list (a × b) → b;
      Host_M_Inner_List_assoc_opt :
        ∀ {a b : Set} , a → list (a × b) → option b;
      Host_M_Inner_List_assq :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          a → list (a × b) → b;
      Host_M_Inner_List_assq_opt :
        ∀ {a b : Set} , a → list (a × b) → option b;
      Host_M_Inner_List_mem_assoc :
        ∀ {a b : Set} , a → list (a × b) → bool;
      Host_M_Inner_List_mem_assq :
        ∀ {a b : Set} , a → list (a × b) → bool;
      Host_M_Inner_List_remove_assoc :
        ∀ {a b : Set} , a → list (a × b) → list (a × b);
      Host_M_Inner_List_remove_assq :
        ∀ {a b : Set} , a → list (a × b) → list (a × b);
      Host_M_Inner_List_split :
        ∀ {a b : Set} , list (a × b) → list a × list b;
      Host_M_Inner_List_split_map :
        ∀ {a b c : Set} , (c → a × b) → list c → list a × list b;
      Host_M_Inner_List_combine :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list (a × b))%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          list a → list b → list (a × b);
      Host_M_Inner_List_sort :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_Inner_List_stable_sort :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_Inner_List_fast_sort :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_Inner_List_sort_uniq :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_Inner_List_merge :
        ∀ {a : Set} , (a → a → int) → list a → list a → list a;
      Host_M_Inner_List_to_seq :
        ∀ {a : Set} , list a → RocqOfOCaml.OCamlSeq.t a;
      Host_M_Inner_List_of_seq :
        ∀ {a : Set} , RocqOfOCaml.OCamlSeq.t a → list a;
      Host_M_Inner_List_sequence :
        ∀ {a : Set} ,
          list (MonadVM.Monad.Identity.t a) → MonadVM.Monad.Identity.t (list a);
      Host_M_Inner_List_fold_leftM :
        ∀ {a acc : Set} ,
          (acc → a → MonadVM.Monad.Identity.t acc) → acc → list a →
          MonadVM.Monad.Identity.t acc;
      Host_M_Inner_List_iterM :
        ∀ {a : Set} ,
          (a → MonadVM.Monad.Identity.t unit) → list a →
          MonadVM.Monad.Identity.t unit;
      Host_M_Inner_List_mapM :
        ∀ {a b : Set} ,
          (a → MonadVM.Monad.Identity.t b) → list a →
          MonadVM.Monad.Identity.t (list b);
      Host_M_Inner_Seq_sequence :
        ∀ {a : Set} ,
          RocqOfOCaml.OCamlSeq.t (MonadVM.Monad.Identity.t a) →
          MonadVM.Monad.Identity.t (RocqOfOCaml.OCamlSeq.t a);
      Host_M_Inner_Seq_mapM :
        ∀ {a b : Set} ,
          (a → MonadVM.Monad.Identity.t b) → RocqOfOCaml.OCamlSeq.t a →
          MonadVM.Monad.Identity.t (RocqOfOCaml.OCamlSeq.t b);
      Host_M_Inner_Seq_fold_leftM :
        ∀ {a acc : Set} ,
          (acc → a → MonadVM.Monad.Identity.t acc) → acc →
          RocqOfOCaml.OCamlSeq.t a → MonadVM.Monad.Identity.t acc;
      Host_M_Inner_Seq_iterM :
        ∀ {a : Set} ,
          (a → MonadVM.Monad.Identity.t unit) → RocqOfOCaml.OCamlSeq.t a →
          MonadVM.Monad.Identity.t unit;
      Host_M_Inner_Seq_foldM :
        ∀ {acc x : Set} ,
          (acc → x → MonadVM.Monad.Identity.t acc) → acc →
          RocqOfOCaml.OCamlSeq.t x → MonadVM.Monad.Identity.t acc;
      Host_M_Inner_Seq_t := fun (a : Set) ⇒ RocqOfOCaml.OCamlSeq.t a;
      Host_M_Inner_Seq_node := fun (a : Set) ⇒ RocqOfOCaml.OCamlSeq.node a;
      Host_M_Inner_Seq_is_empty :
        ∀ {a : Set} , Host_M_Inner_Seq_t a → bool;
      Host_M_Inner_Seq_uncons :
        ∀ {a : Set} ,
          Host_M_Inner_Seq_t a → option (a × Host_M_Inner_Seq_t a);
      Host_M_Inner_Seq_length : ∀ {a : Set} , Host_M_Inner_Seq_t a → int;
      Host_M_Inner_Seq_iter :
        ∀ {a : Set} , (a → unit) → Host_M_Inner_Seq_t a → unit;
      Host_M_Inner_Seq_fold_left :
        ∀ {a acc : Set} ,
          (acc → a → acc) → acc → Host_M_Inner_Seq_t a → acc;
      Host_M_Inner_Seq_iteri :
        ∀ {a : Set} , (int → a → unit) → Host_M_Inner_Seq_t a → unit;
      Host_M_Inner_Seq_fold_lefti :
        ∀ {a acc : Set} ,
          (acc → int → a → acc) → acc → Host_M_Inner_Seq_t a → acc;
      Host_M_Inner_Seq_for_all :
        ∀ {a : Set} , (a → bool) → Host_M_Inner_Seq_t a → bool;
      Host_M_Inner_Seq_exists :
        ∀ {a : Set} , (a → bool) → Host_M_Inner_Seq_t a → bool;
      Host_M_Inner_Seq_find :
        ∀ {a : Set} , (a → bool) → Host_M_Inner_Seq_t a → option a;
      Host_M_Inner_Seq_find_index :
        ∀ {a : Set} , (a → bool) → Host_M_Inner_Seq_t a → option int;
      Host_M_Inner_Seq_find_map :
        ∀ {a b : Set} , (a → option b) → Host_M_Inner_Seq_t a → option b;
      Host_M_Inner_Seq_find_mapi :
        ∀ {a b : Set} ,
          (int → a → option b) → Host_M_Inner_Seq_t a → option b;
      Host_M_Inner_Seq_iter2 :
        ∀ {a b : Set} ,
          (a → b → unit) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          unit;
      Host_M_Inner_Seq_fold_left2 :
        ∀ {a acc b : Set} ,
          (acc → a → b → acc) → acc → Host_M_Inner_Seq_t a →
          Host_M_Inner_Seq_t b → acc;
      Host_M_Inner_Seq_for_all2 :
        ∀ {a b : Set} ,
          (a → b → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          bool;
      Host_M_Inner_Seq_exists2 :
        ∀ {a b : Set} ,
          (a → b → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          bool;
      Host_M_Inner_Seq_equal :
        ∀ {a b : Set} ,
          (a → b → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          bool;
      Host_M_Inner_Seq_compare :
        ∀ {a b : Set} ,
          (a → b → int) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b → int;
      Host_M_Inner_Seq_empty : ∀ {a : Set} , Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_return : ∀ {a : Set} , a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_cons :
        ∀ {a : Set} , a → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_singleton : ∀ {a : Set} , a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_delay :
        ∀ {a : Set} ,
          (unit → Host_M_Inner_Seq_t a) → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_map :
        ∀ {a b : Set} ,
          (a → b) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_mapi :
        ∀ {a b : Set} ,
          (int → a → b) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_filter :
        ∀ {a : Set} ,
          (a → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_filteri :
        ∀ {a : Set} ,
          (int → a → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_filter_map :
        ∀ {a b : Set} ,
          (a → option b) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_scan :
        ∀ {a b : Set} ,
          (b → a → b) → b → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_take_while :
        ∀ {a : Set} ,
          (a → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_drop_while :
        ∀ {a : Set} ,
          (a → bool) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a;
      
      Host_M_Inner_Seq_append :
        ∀ {a : Set} ,
          Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_concat :
        ∀ {a : Set} ,
          Host_M_Inner_Seq_t (Host_M_Inner_Seq_t a) → Host_M_Inner_Seq_t a;
      Host_M_Inner_Seq_flat_map :
        ∀ {a b : Set} ,
          (a → Host_M_Inner_Seq_t b) → Host_M_Inner_Seq_t a →
          Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_concat_map :
        ∀ {a b : Set} ,
          (a → Host_M_Inner_Seq_t b) → Host_M_Inner_Seq_t a →
          Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_zip :
        ∀ {a b : Set} ,
          Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          Host_M_Inner_Seq_t (a × b);
      Host_M_Inner_Seq_map2 :
        ∀ {a b c : Set} ,
          (a → b → c) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          Host_M_Inner_Seq_t c;
      Host_M_Inner_Seq_product :
        ∀ {a b : Set} ,
          Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          Host_M_Inner_Seq_t (a × b);
      Host_M_Inner_Seq_map_product :
        ∀ {a b c : Set} ,
          (a → b → c) → Host_M_Inner_Seq_t a → Host_M_Inner_Seq_t b →
          Host_M_Inner_Seq_t c;
      Host_M_Inner_Seq_unzip :
        ∀ {a b : Set} ,
          Host_M_Inner_Seq_t (a × b) →
          Host_M_Inner_Seq_t a × Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_split :
        ∀ {a b : Set} ,
          Host_M_Inner_Seq_t (a × b) →
          Host_M_Inner_Seq_t a × Host_M_Inner_Seq_t b;
      Host_M_Inner_Seq_partition_map :
        ∀ {a b c : Set} ,
          (a → sum b c) → Host_M_Inner_Seq_t a →
          Host_M_Inner_Seq_t b × Host_M_Inner_Seq_t c;
      Host_M_Inner_Seq_partition :
        ∀ {a : Set} ,
          (a → bool) → Host_M_Inner_Seq_t a →
          Host_M_Inner_Seq_t a × Host_M_Inner_Seq_t a;
      Host_M_get :
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (Host_M_state × MonadVM.State.TransactionState.t);
      Host_M_put :
        Host_M_state → MonadVM.State.TransactionState.t →
        Host_M_Inner_t (unit × MonadVM.State.TransactionState.t);
      Host_M_t :=
        fun (a : Set) ⇒
          MonadVM.State.TransactionState.t →
          Host_M_Inner_t (a × MonadVM.State.TransactionState.t);
      Host_M_return : ∀ {a : Set} , a → Host_M_t a;
      op_Host_M_gtgteq :
        ∀ {a b : Set} , Host_M_t a → (a → Host_M_t b) → Host_M_t b;
      op_Host_M_letdollar :
        ∀ {A B : Set} ,
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t (A × MonadVM.State.TransactionState.t)) →
          (A → MonadVM.State.TransactionState.t →
          Host_M_Inner_t (B × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          Host_M_Inner_t (B × MonadVM.State.TransactionState.t);
      Host_M_fmap :
        ∀ {A B : Set} ,
          (A → B) →
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t (A × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          Host_M_Inner_t (B × MonadVM.State.TransactionState.t);
      op_Host_M_ltdollargt :
        ∀ {A B : Set} ,
          (A → B) →
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t (A × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          Host_M_Inner_t (B × MonadVM.State.TransactionState.t);
      op_Host_M_ltstargt :
        ∀ {a b : Set} ,
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t ((a → b) × MonadVM.State.TransactionState.t)) →
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t (a × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          Host_M_Inner_t (b × MonadVM.State.TransactionState.t);
      op_Host_M_gtgt :
        ∀ {a : Set} ,
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t (unit × MonadVM.State.TransactionState.t)) →
          (MonadVM.State.TransactionState.t →
          Host_M_Inner_t (a × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          Host_M_Inner_t (a × MonadVM.State.TransactionState.t);
      Host_M_when_ :
        bool →
        (MonadVM.State.TransactionState.t →
        Host_M_Inner_t (unit × MonadVM.State.TransactionState.t)) →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (unit × MonadVM.State.TransactionState.t);
      Host_M_Option_t := fun (a : Set) ⇒ option a;
      Host_M_Option_none : ∀ {a : Set} , option a;
      Host_M_Option_some : ∀ {a : Set} , a → option a;
      Host_M_Option_value : ∀ {a : Set} , option a → a → a;
      Host_M_Option_get :
        ∀ {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)),
          option a → a;
      Host_M_Option_bind :
        ∀ {a b : Set} , option a → (a → option b) → option b;
      Host_M_Option_join : ∀ {a : Set} , option (option a) → option a;
      Host_M_Option_map : ∀ {a b : Set} , (a → b) → option a → option b;
      Host_M_Option_product :
        ∀ {a b : Set} , option a → option b → option (a × b);
      Host_M_Option_fold : ∀ {a b : Set} , a → (b → a) → option b → a;
      Host_M_Option_iter : ∀ {a : Set} , (a → unit) → option a → unit;
      Host_M_Option_blend :
        ∀ {a : Set} , (a → a → a) → option a → option a → option a;
      Host_M_Option_for_all :
        ∀ {a : Set} , (a → bool) → option a → bool;
      Host_M_Option_exists : ∀ {a : Set} , (a → bool) → option a → bool;
      Host_M_Option_is_none : ∀ {a : Set} , option a → bool;
      Host_M_Option_is_some : ∀ {a : Set} , option a → bool;
      Host_M_Option_equal :
        ∀ {a : Set} , (a → a → bool) → option a → option a → bool;
      Host_M_Option_compare :
        ∀ {a : Set} , (a → a → int) → option a → option a → int;
      Host_M_Option_to_result : ∀ {a e : Set} , e → option a → sum a e;
      Host_M_Option_to_list : ∀ {a : Set} , option a → list a;
      Host_M_Option_to_seq :
        ∀ {a : Set} , option a → RocqOfOCaml.OCamlSeq.t a;
      op_Host_M_Option_Syntax_letstar :
        ∀ {a b : Set} , option a → (a → option b) → option b;
      op_Host_M_Option_Syntax_andstar :
        ∀ {a b : Set} , option a → option b → option (a × b);
      op_Host_M_Option_Syntax_letplus :
        ∀ {a b : Set} , option a → (a → b) → option b;
      op_Host_M_Option_Syntax_andplus :
        ∀ {a b : Set} , option a → option b → option (a × b);
      Host_M_Option_get_or_create :
        ∀ {a : Set} , (unit → a) → Lens.t (option a) a;
      Host_M_Option_get_or_default :
        ∀ {a : Set} , a → Lens.t (option a) a;
      Host_M_Option_get_or_throw :
        ∀ {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)),
          Lens.t (option a) a;
      op_Host_M_Option_gtgteq :
        ∀ {A B : Set} , option A → (A → option B) → option B;
      op_Host_M_Option_letdollar :
        ∀ {A B : Set} , option A → (A → option B) → option B;
      Host_M_Option_return : ∀ {A : Set} , A → Host_M_Option_t A;
      Host_M_Option_ensure : bool → option unit;
      Host_M_Option_iterM :
        ∀ {a : Set} ,
          option a →
          (a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (unit × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (unit × MonadVM.State.TransactionState.t);
      Host_M_List_t := fun (a : Set) ⇒ list a;
      Host_M_List_length : ∀ {a : Set} , list a → int;
      Host_M_List_compare_lengths :
        ∀ {a b : Set} , list a → list b → int;
      Host_M_List_compare_length_with : ∀ {a : Set} , list a → int → int;
      Host_M_List_is_empty : ∀ {a : Set} , list a → bool;
      Host_M_List_cons : ∀ {a : Set} , a → list a → list a;
      Host_M_List_singleton : ∀ {a : Set} , a → list a;
      Host_M_List_hd :
        ∀ {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)),
          list a → a;
      Host_M_List_tl :
        ∀ {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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)),
          list a → list a;
      Host_M_List_nth :
        ∀ {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)),
          list a → int → a;
      Host_M_List_nth_opt :
        ∀ {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((option 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)),
          list a → int → option a;
      Host_M_List_rev : ∀ {a : Set} , list a → list a;
      Host_M_List_init :
        ∀ {a : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list 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)),
          int → (int → a) → list a;
      Host_M_List_append : ∀ {a : Set} , list a → list a → list a;
      Host_M_List_rev_append : ∀ {a : Set} , list a → list a → list a;
      Host_M_List_concat : ∀ {a : Set} , list (list a) → list a;
      Host_M_List_flatten : ∀ {a : Set} , list (list a) → list a;
      Host_M_List_equal :
        ∀ {a : Set} , (a → a → bool) → list a → list a → bool;
      Host_M_List_compare :
        ∀ {a : Set} , (a → a → int) → list a → list a → int;
      Host_M_List_iter : ∀ {a : Set} , (a → unit) → list a → unit;
      Host_M_List_iteri :
        ∀ {a : Set} , (int → a → unit) → list a → unit;
      Host_M_List_map : ∀ {a b : Set} , (a → b) → list a → list b;
      Host_M_List_mapi :
        ∀ {a b : Set} , (int → a → b) → list a → list b;
      Host_M_List_rev_map : ∀ {a b : Set} , (a → b) → list a → list b;
      Host_M_List_filter_map :
        ∀ {a b : Set} , (a → option b) → list a → list b;
      Host_M_List_filter_mapi :
        ∀ {a b : Set} , (int → a → option b) → list a → list b;
      Host_M_List_concat_map :
        ∀ {a b : Set} , (a → list b) → list a → list b;
      Host_M_List_fold_left_map :
        ∀ {a acc b : Set} ,
          (acc → a → acc × b) → acc → list a → acc × list b;
      Host_M_List_fold_left :
        ∀ {a acc : Set} , (acc → a → acc) → acc → list a → acc;
      Host_M_List_fold_right :
        ∀ {a acc : Set} , (a → acc → acc) → list a → acc → acc;
      Host_M_List_iter2 :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            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)),
          (a → b → unit) → list a → list b → unit;
      Host_M_List_map2 :
        ∀ {a b c : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → c) → list a → list b → list c;
      Host_M_List_rev_map2 :
        ∀ {a b c : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list c)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → c) → list a → list b → list c;
      Host_M_List_fold_left2 :
        ∀ {a acc b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (acc → a → b → acc) → acc → list a → list b → acc;
      Host_M_List_fold_right2 :
        ∀ {a acc b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((acc)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → acc → acc) → list a → list b → acc → acc;
      Host_M_List_for_all : ∀ {a : Set} , (a → bool) → list a → bool;
      Host_M_List_exists : ∀ {a : Set} , (a → bool) → list a → bool;
      Host_M_List_for_all2 :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → bool) → list a → list b → bool;
      Host_M_List_exists2 :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((bool)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          (a → b → bool) → list a → list b → bool;
      Host_M_List_mem : ∀ {a : Set} , a → list a → bool;
      Host_M_List_memq : ∀ {a : Set} , a → list a → bool;
      Host_M_List_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)),
          (a → bool) → list a → a;
      Host_M_List_find_opt :
        ∀ {a : Set} , (a → bool) → list a → option a;
      Host_M_List_find_index :
        ∀ {a : Set} , (a → bool) → list a → option int;
      Host_M_List_find_map :
        ∀ {a b : Set} , (a → option b) → list a → option b;
      Host_M_List_find_mapi :
        ∀ {a b : Set} , (int → a → option b) → list a → option b;
      Host_M_List_filter : ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_List_find_all : ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_List_filteri :
        ∀ {a : Set} , (int → a → bool) → list a → list a;
      Host_M_List_take : ∀ {a : Set} , int → list a → list a;
      Host_M_List_drop : ∀ {a : Set} , int → list a → list a;
      Host_M_List_take_while :
        ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_List_drop_while :
        ∀ {a : Set} , (a → bool) → list a → list a;
      Host_M_List_partition :
        ∀ {a : Set} , (a → bool) → list a → list a × list a;
      Host_M_List_partition_map :
        ∀ {a b c : Set} , (a → sum b c) → list a → list b × list c;
      Host_M_List_assoc :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          a → list (a × b) → b;
      Host_M_List_assoc_opt :
        ∀ {a b : Set} , a → list (a × b) → option b;
      Host_M_List_assq :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((b)%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          a → list (a × b) → b;
      Host_M_List_assq_opt : ∀ {a b : Set} , a → list (a × b) → option b;
      Host_M_List_mem_assoc : ∀ {a b : Set} , a → list (a × b) → bool;
      Host_M_List_mem_assq : ∀ {a b : Set} , a → list (a × b) → bool;
      Host_M_List_remove_assoc :
        ∀ {a b : Set} , a → list (a × b) → list (a × b);
      Host_M_List_remove_assq :
        ∀ {a b : Set} , a → list (a × b) → list (a × b);
      Host_M_List_split : ∀ {a b : Set} , list (a × b) → list a × list b;
      Host_M_List_split_map :
        ∀ {a b c : Set} , (c → a × b) → list c → list a × list b;
      Host_M_List_combine :
        ∀ {a b : Set}
          (_rocq_fallback_arg_0 :
            ltac:(let typ := constr:(ltac:(first [unshelve refine ((list (a × b))%type
            )]; first [match goal with |- ?g ⇒ let sort := type of g in lazymatch sort with Set ⇒ fail | _ ⇒ shelve end end | eassumption | typeclasses eauto | RocqOfOCaml.Opaque.opaque_inhabit 64%nat])) in let typ := _rocq_witness_type typ in exact typ)),
          list a → list b → list (a × b);
      Host_M_List_sort : ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_List_stable_sort :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_List_fast_sort :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_List_sort_uniq :
        ∀ {a : Set} , (a → a → int) → list a → list a;
      Host_M_List_merge :
        ∀ {a : Set} , (a → a → int) → list a → list a → list a;
      Host_M_List_to_seq :
        ∀ {a : Set} , list a → RocqOfOCaml.OCamlSeq.t a;
      Host_M_List_of_seq :
        ∀ {a : Set} , RocqOfOCaml.OCamlSeq.t a → list a;
      Host_M_List_sequence :
        ∀ {a : Set} ,
          list
            (MonadVM.State.TransactionState.t →
            MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
              (a × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (list a × MonadVM.State.TransactionState.t);
      Host_M_List_fold_leftM :
        ∀ {a acc : Set} ,
          (acc → a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (acc × MonadVM.State.TransactionState.t)) → acc → list a →
          MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (acc × MonadVM.State.TransactionState.t);
      Host_M_List_iterM :
        ∀ {a : Set} ,
          (a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (unit × MonadVM.State.TransactionState.t)) → list a →
          MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (unit × MonadVM.State.TransactionState.t);
      Host_M_List_mapM :
        ∀ {a b : Set} ,
          (a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (b × MonadVM.State.TransactionState.t)) → list a →
          MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (list b × MonadVM.State.TransactionState.t);
      Host_M_Seq_sequence :
        ∀ {a : Set} ,
          RocqOfOCaml.OCamlSeq.t
            (MonadVM.State.TransactionState.t →
            MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
              (a × MonadVM.State.TransactionState.t)) →
          MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (RocqOfOCaml.OCamlSeq.t a × MonadVM.State.TransactionState.t);
      Host_M_Seq_mapM :
        ∀ {a b : Set} ,
          (a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (b × MonadVM.State.TransactionState.t)) →
          RocqOfOCaml.OCamlSeq.t a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (RocqOfOCaml.OCamlSeq.t b × MonadVM.State.TransactionState.t);
      Host_M_Seq_fold_leftM :
        ∀ {a acc : Set} ,
          (acc → a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (acc × MonadVM.State.TransactionState.t)) → acc →
          RocqOfOCaml.OCamlSeq.t a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (acc × MonadVM.State.TransactionState.t);
      Host_M_Seq_iterM :
        ∀ {a : Set} ,
          (a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (unit × MonadVM.State.TransactionState.t)) →
          RocqOfOCaml.OCamlSeq.t a → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (unit × MonadVM.State.TransactionState.t);
      Host_M_Seq_foldM :
        ∀ {acc x : Set} ,
          (acc → x → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (acc × MonadVM.State.TransactionState.t)) → acc →
          RocqOfOCaml.OCamlSeq.t x → MonadVM.State.TransactionState.t →
          MonadVM.Monad.Identity.Impl.(MonadVM.Monad.SIG.t)
            (acc × MonadVM.State.TransactionState.t);
      Host_M_Seq_t := fun (a : Set) ⇒ RocqOfOCaml.OCamlSeq.t a;
      Host_M_Seq_node := fun (a : Set) ⇒ RocqOfOCaml.OCamlSeq.node a;
      Host_M_Seq_is_empty : ∀ {a : Set} , Host_M_Seq_t a → bool;
      Host_M_Seq_uncons :
        ∀ {a : Set} , Host_M_Seq_t a → option (a × Host_M_Seq_t a);
      Host_M_Seq_length : ∀ {a : Set} , Host_M_Seq_t a → int;
      Host_M_Seq_iter :
        ∀ {a : Set} , (a → unit) → Host_M_Seq_t a → unit;
      Host_M_Seq_fold_left :
        ∀ {a acc : Set} , (acc → a → acc) → acc → Host_M_Seq_t a → acc;
      Host_M_Seq_iteri :
        ∀ {a : Set} , (int → a → unit) → Host_M_Seq_t a → unit;
      Host_M_Seq_fold_lefti :
        ∀ {a acc : Set} ,
          (acc → int → a → acc) → acc → Host_M_Seq_t a → acc;
      Host_M_Seq_for_all :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → bool;
      Host_M_Seq_exists :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → bool;
      Host_M_Seq_find :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → option a;
      Host_M_Seq_find_index :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → option int;
      Host_M_Seq_find_map :
        ∀ {a b : Set} , (a → option b) → Host_M_Seq_t a → option b;
      Host_M_Seq_find_mapi :
        ∀ {a b : Set} ,
          (int → a → option b) → Host_M_Seq_t a → option b;
      Host_M_Seq_iter2 :
        ∀ {a b : Set} ,
          (a → b → unit) → Host_M_Seq_t a → Host_M_Seq_t b → unit;
      Host_M_Seq_fold_left2 :
        ∀ {a acc b : Set} ,
          (acc → a → b → acc) → acc → Host_M_Seq_t a → Host_M_Seq_t b →
          acc;
      Host_M_Seq_for_all2 :
        ∀ {a b : Set} ,
          (a → b → bool) → Host_M_Seq_t a → Host_M_Seq_t b → bool;
      Host_M_Seq_exists2 :
        ∀ {a b : Set} ,
          (a → b → bool) → Host_M_Seq_t a → Host_M_Seq_t b → bool;
      Host_M_Seq_equal :
        ∀ {a b : Set} ,
          (a → b → bool) → Host_M_Seq_t a → Host_M_Seq_t b → bool;
      Host_M_Seq_compare :
        ∀ {a b : Set} ,
          (a → b → int) → Host_M_Seq_t a → Host_M_Seq_t b → int;
      Host_M_Seq_empty : ∀ {a : Set} , Host_M_Seq_t a;
      Host_M_Seq_return : ∀ {a : Set} , a → Host_M_Seq_t a;
      Host_M_Seq_cons :
        ∀ {a : Set} , a → Host_M_Seq_t a → Host_M_Seq_t a;
      Host_M_Seq_singleton : ∀ {a : Set} , a → Host_M_Seq_t a;
      Host_M_Seq_delay :
        ∀ {a : Set} , (unit → Host_M_Seq_t a) → Host_M_Seq_t a;
      Host_M_Seq_map :
        ∀ {a b : Set} , (a → b) → Host_M_Seq_t a → Host_M_Seq_t b;
      Host_M_Seq_mapi :
        ∀ {a b : Set} , (int → a → b) → Host_M_Seq_t a → Host_M_Seq_t b;
      Host_M_Seq_filter :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → Host_M_Seq_t a;
      Host_M_Seq_filteri :
        ∀ {a : Set} ,
          (int → a → bool) → Host_M_Seq_t a → Host_M_Seq_t a;
      Host_M_Seq_filter_map :
        ∀ {a b : Set} , (a → option b) → Host_M_Seq_t a → Host_M_Seq_t b;
      Host_M_Seq_scan :
        ∀ {a b : Set} ,
          (b → a → b) → b → Host_M_Seq_t a → Host_M_Seq_t b;
      Host_M_Seq_take_while :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → Host_M_Seq_t a;
      Host_M_Seq_drop_while :
        ∀ {a : Set} , (a → bool) → Host_M_Seq_t a → Host_M_Seq_t a;
      
      Host_M_Seq_append :
        ∀ {a : Set} , Host_M_Seq_t a → Host_M_Seq_t a → Host_M_Seq_t a;
      Host_M_Seq_concat :
        ∀ {a : Set} , Host_M_Seq_t (Host_M_Seq_t a) → Host_M_Seq_t a;
      Host_M_Seq_flat_map :
        ∀ {a b : Set} ,
          (a → Host_M_Seq_t b) → Host_M_Seq_t a → Host_M_Seq_t b;
      Host_M_Seq_concat_map :
        ∀ {a b : Set} ,
          (a → Host_M_Seq_t b) → Host_M_Seq_t a → Host_M_Seq_t b;
      Host_M_Seq_zip :
        ∀ {a b : Set} ,
          Host_M_Seq_t a → Host_M_Seq_t b → Host_M_Seq_t (a × b);
      Host_M_Seq_map2 :
        ∀ {a b c : Set} ,
          (a → b → c) → Host_M_Seq_t a → Host_M_Seq_t b → Host_M_Seq_t c;
      Host_M_Seq_product :
        ∀ {a b : Set} ,
          Host_M_Seq_t a → Host_M_Seq_t b → Host_M_Seq_t (a × b);
      Host_M_Seq_map_product :
        ∀ {a b c : Set} ,
          (a → b → c) → Host_M_Seq_t a → Host_M_Seq_t b → Host_M_Seq_t c;
      Host_M_Seq_unzip :
        ∀ {a b : Set} ,
          Host_M_Seq_t (a × b) → Host_M_Seq_t a × Host_M_Seq_t b;
      Host_M_Seq_split :
        ∀ {a b : Set} ,
          Host_M_Seq_t (a × b) → Host_M_Seq_t a × Host_M_Seq_t b;
      Host_M_Seq_partition_map :
        ∀ {a b c : Set} ,
          (a → sum b c) → Host_M_Seq_t a → Host_M_Seq_t b × Host_M_Seq_t c;
      Host_M_Seq_partition :
        ∀ {a : Set} ,
          (a → bool) → Host_M_Seq_t a → Host_M_Seq_t a × Host_M_Seq_t a;
      Host_M_lower :
        ∀ {a : Set} , (Host_M_state → a × Host_M_state) → Host_M_t a;
      Host_M_lift : ∀ {a : Set} , Host_M_Inner_t a → Host_M_t a;
      Host_M_update : (Host_M_state → Host_M_state) → Host_M_t unit;
      op_Host_M_exclamation :
        ∀ {x : Set} , Lens.t Host_M_state x → Host_M_t x;
      op_Host_M_coloneq :
        ∀ {x : Set} , Lens.t Host_M_state x → x → Host_M_t unit;
      Host_M_update_field :
        ∀ {x : Set} , Lens.t Host_M_state x → (x → x) → Host_M_t unit;
      Host_Precompiles_ethereum_precompiles :
        MonadVM.Chain.Ethereum.Address.Map.t
          MonadVM.Precompiles.Utils.ethereum_precompile;
      Host_Precompiles_monad_precompiles :
        MonadVM.Chain.Ethereum.Address.Map.t
          MonadVM.Precompiles.Utils.monad_precompile;
      Host_Precompiles_precompile_addresses :
        MonadVM.Chain.Ethereum.Address._Set.(RocqOfOCaml.OCamlSet.S.t);
      Host_Precompiles_try_precompile :
        MonadVM.Evmc.Message.t → MonadVM.Chain.Ethereum.Address.t →
        option
          (MonadVM.State.TransactionState.M.(MonadVM.Monad.State.State_result.t)
            MonadVM.Evmc.Result.t);
      Host_transfer_ether :
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.Numeric.U256.Impl.(MonadVM.Numeric.Make.Impl.Impl_signature.t)
        → MonadVM.State.TransactionState.t →
        Host_M_Inner_t (bool × MonadVM.State.TransactionState.t);
      Host_account_exists :
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (bool × MonadVM.State.TransactionState.t);
      Host_get_storage :
        MonadVM.Chain.Ethereum.Address.Map.key → string → Host_M_t string;
      Host_set_storage :
        MonadVM.Chain.Ethereum.Address.Map.key → string → string →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.StorageStatus.t × MonadVM.State.TransactionState.t);
      Host_get_balance :
        MonadVM.Chain.Ethereum.Address.Map.key →
        Host_M_t MonadVM.Numeric.U256.t;
      Host_get_code_size :
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (int64 × MonadVM.State.TransactionState.t);
      Host_get_code_hash :
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (option string × MonadVM.State.TransactionState.t);
      Host_copy_code :
        MonadVM.Chain.Ethereum.Address.Map.key → int → int →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (string × MonadVM.State.TransactionState.t);
      Host_setcodefrom :
        MonadVM.Chain.Ethereum.Address.Map.key → string → bool →
        MonadVM.Support.UintN.Impl.t → Host_t →
        sum (bool × MonadVM.Support.UintN.t) MonadVM.Evmc.Result.StatusCode.t ×
          Host_t;
      Host_selfdestruct :
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.Chain.Ethereum.Address.Map.key →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t (bool × MonadVM.State.TransactionState.t);
      Host_should_transfer : MonadVM.Evmc.Message.t → bool;
      Host_touch_account : string → Host_M_t unit;
      Host_touch_storage :
        string → string → MonadVM.State.TransactionState.t →
        Host_M_Inner_t (unit × MonadVM.State.TransactionState.t);
      Host_process_call :
        option MonadVM.Chain.Ethereum.Transaction.t → MonadVM.Evmc.Message.t →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.Result.t × MonadVM.State.TransactionState.t);
      Host_contract_creation_address :
        MonadVM.Evmc.Message.t → MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Chain.Ethereum.Address.t × MonadVM.State.TransactionState.t);
      Host_process_create :
        MonadVM.Evmc.Message.t → MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.Result.t × MonadVM.State.TransactionState.t);
      Host_call_impl :
        option MonadVM.Chain.Ethereum.Transaction.t → MonadVM.Evmc.Message.t →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.Result.t × MonadVM.State.TransactionState.t);
      Host_try_increment_nonce :
        MonadVM.Chain.Ethereum.Address.t → MonadVM.State.TransactionState.t →
        Host_M_Inner_t (bool × MonadVM.State.TransactionState.t);
      Host_call :
        MonadVM.Evmc.Message.t → MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.Result.t × MonadVM.State.TransactionState.t);
      Host_call_from_eoa :
        MonadVM.Chain.Ethereum.Transaction.t → MonadVM.Evmc.Message.t →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.Result.t × MonadVM.State.TransactionState.t);
      Host_get_tx_context :
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Evmc.TxContext.t × MonadVM.State.TransactionState.t);
      Host_get_block_hash :
        MonadVM.Uint64.t → MonadVM.State.TransactionState.t →
        Host_M_Inner_t (option string × MonadVM.State.TransactionState.t);
      Host_emit_log :
        MonadVM.Chain.Ethereum.Address.t → MonadVM.Byte_string.Bytes.t →
        list string → Host_M_t unit;
      Host_access_account :
        string → Host_M_t MonadVM.Support.Variants.AccessStatus.t;
      Host_access_storage :
        MonadVM.Chain.Ethereum.Address.t → string →
        MonadVM.State.TransactionState.t →
        Host_M_Inner_t
          (MonadVM.Support.Variants.AccessStatus.t ×
            MonadVM.State.TransactionState.t);
      Host_transient_storage :
        MonadVM.Chain.Ethereum.Address.Map.key → string → Lens.t Host_t string;
      Host_get_transient_storage :
        MonadVM.Chain.Ethereum.Address.Map.key → string → Host_M_t string;
      Host_set_transient_storage :
        MonadVM.Chain.Ethereum.Address.Map.key → string → string →
        Host_M_t unit;
      Vm :
        MonadVM.Vm.Make.Make_result (_fargs := Vm_fargs)
          (Memory_t := Vm_Memory_t) (MachineState_t := Vm_MachineState_t)
          (ExecutionEnvironment_ExecutionBlockHeader_t :=
            Vm_ExecutionEnvironment_ExecutionBlockHeader_t)
          (ExecutionEnvironment_t := Vm_ExecutionEnvironment_t)
          (Address_Set_t := Vm_Address_Set_t)
          (Address_Map_t := Vm_Address_Map_t);
      Precompiles :
        MonadVM.Precompiles.Make.Make_result (_fargs := Precompiles_fargs);
      prepare_message :
        MonadVM.Chain.Ethereum.Address.t → MonadVM.Gas.t →
        MonadVM.Chain.Ethereum.Transaction.t → MonadVM.State.WorldState.t →
        MonadVM.Evmc.Message.t;
      validate_authorizations :
        MonadVM.Chain.Ethereum.Block.t →
        MonadVM.Chain.Ethereum.Transaction.t → or_error unit;
      process_authorization :
        MonadVM.State.TransactionState.t →
        MonadVM.Chain.Ethereum.Transaction.Authorization.t →
        option MonadVM.Chain.Ethereum.Address.t ×
          MonadVM.State.TransactionState.t;
      bump_emptying_transaction_counters :
        list MonadVM.Chain.Ethereum.Address.t →
        MonadVM.State.TransactionState.t → MonadVM.State.TransactionState.t;
      transaction_validation := transaction_validation;
      transaction_validation__rocq_record_make :
        MonadVM.Chain.Ethereum.Address.t → MonadVM.Numeric.U256.t →
        MonadVM.Support.UintN.t → MonadVM.Gas.t → transaction_validation;
      transaction_validation__rocq_record_get_sender :
        transaction_validation → MonadVM.Chain.Ethereum.Address.t;
      transaction_validation__rocq_record_get_total_fee :
        transaction_validation → MonadVM.Numeric.U256.t;
      transaction_validation__rocq_record_get_effective_gas_price :
        transaction_validation → MonadVM.Support.UintN.t;
      transaction_validation__rocq_record_get_intrinsic_gas :
        transaction_validation → MonadVM.Gas.t;
      validate_transaction :
        MonadVM.State.BlockState.t → MonadVM.Chain.Ethereum.Transaction.t →
        or_error transaction_validation;
      process_transaction :
        MonadVM.State.BlockState.t → MonadVM.Chain.Ethereum.Transaction.t →
        or_error MonadVM.State.BlockState.t;
      process_withdrawal :
        MonadVM.State.BlockState.t → MonadVM.Chain.Ethereum.Withdrawal.t →
        MonadVM.State.BlockState.t;
      validate_block :
        MonadVM.State.WorldState.t → MonadVM.Chain.Ethereum.Block.t →
        or_error unit;
      process_system_message :
        MonadVM.State.BlockState.t → MonadVM.Chain.Ethereum.Address.t →
        MonadVM.Byte_string.Bytes.t →
        option MonadVM.Evmc.Result.t × MonadVM.State.BlockState.t;
      beacon_roots_address : MonadVM.Chain.Ethereum.Address.t;
      history_storage_address : MonadVM.Chain.Ethereum.Address.t;
      validate_input_block_against_output :
        MonadVM.Chain.Ethereum.Block.t → MonadVM.Chain.Ethereum.Block.t →
        sum unit Error.t;
      process_block :
        bool → MonadVM.State.WorldState.t → MonadVM.Chain.Ethereum.Block.t →
        or_error MonadVM.State.WorldState.t;
      Instantiation_Host_StorageKey_Set_t :=
        Instantiation_Host_StorageKey_Set_t;
      Vm_Memory_t := Vm_Memory_t;
      Vm_MachineState_t := Vm_MachineState_t;
      Vm_ExecutionEnvironment_ExecutionBlockHeader_t :=
        Vm_ExecutionEnvironment_ExecutionBlockHeader_t;
      Vm_ExecutionEnvironment_t := Vm_ExecutionEnvironment_t;
      Vm_Address_Set_t := Vm_Address_Set_t;
      Vm_Address_Map_t := Vm_Address_Map_t;
    }.
  End Make_result.
  Definition Make_result `{_fargs : FArgs} := @Make_result.signature _.
  Arguments Make_result {_ _ _ _ _ _ _ _ _}.

  Definition functor `{_fargs : FArgs}
    :Make_result (Instantiation_Host_StorageKey_Set_t := _) (Vm_Memory_t := _)
      (Vm_MachineState_t := _)
      (Vm_ExecutionEnvironment_ExecutionBlockHeader_t := _)
      (Vm_ExecutionEnvironment_t := _) (Vm_Address_Set_t := _)
      (Vm_Address_Map_t := _) (transaction_validation := _) :=
    {|
      Make_result.invalid_block _rocq_argument_0 :=
        ltac:(first [exact (invalid_block ) | exact (invalid_block
        _) | first [unshelve refine (invalid_block
        ) | unshelve refine (invalid_block
        _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]]);
      Make_result.invalid_transaction _rocq_argument_0 :=
        ltac:(first [exact (invalid_transaction ) | exact (invalid_transaction
        _) | first [unshelve refine (invalid_transaction
        ) | unshelve refine (invalid_transaction
        _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]]);
      Make_result.VmParams_chain_id := VmParams.chain_id;
      Make_result.VmParams_revision := VmParams.revision;
      Make_result.VmParams_trace := VmParams.trace;
      Make_result.VmParams_debug_tstore := VmParams.debug_tstore;
      Make_result.vm_max_memory_usage := vm_max_memory_usage;
      Make_result.Instantiation := Instantiation;
      Make_result.Host_StorageKey_Impl := Host.StorageKey.Impl;
      Make_result.Host_StorageKey_compare := Host.StorageKey.compare;
      Make_result.Host_StorageKey_Set := Host.StorageKey._Set;
      Make_result.Host_t__rocq_record_make :=
        fun _rocq_record_field_initial_world_state
          _rocq_record_field_world_state _rocq_record_field_current_block
          _rocq_record_field_transient_storage
          _rocq_record_field_accounts_created_in_current_transaction
          _rocq_record_field_prior_transactions _rocq_record_field_tx_chain_id
          _rocq_record_field_tx_origin _rocq_record_field_tx_gas_price
          _rocq_record_field_tx_gas_limit _rocq_record_field_self_destruct
          _rocq_record_field_logs _rocq_record_field_refund
          _rocq_record_field_accessed_addresses _rocq_record_field_accessed_keys
          ⇒
          {|
            MonadVM.State.TransactionState.t.initial_world_state :=
              _rocq_record_field_initial_world_state;
            MonadVM.State.TransactionState.t.world_state :=
              _rocq_record_field_world_state;
            MonadVM.State.TransactionState.t.current_block :=
              _rocq_record_field_current_block;
            MonadVM.State.TransactionState.t.transient_storage :=
              _rocq_record_field_transient_storage;
            MonadVM.State.TransactionState.t.accounts_created_in_current_transaction
              := _rocq_record_field_accounts_created_in_current_transaction;
            MonadVM.State.TransactionState.t.prior_transactions :=
              _rocq_record_field_prior_transactions;
            MonadVM.State.TransactionState.t.tx_chain_id :=
              _rocq_record_field_tx_chain_id;
            MonadVM.State.TransactionState.t.tx_origin :=
              _rocq_record_field_tx_origin;
            MonadVM.State.TransactionState.t.tx_gas_price :=
              _rocq_record_field_tx_gas_price;
            MonadVM.State.TransactionState.t.tx_gas_limit :=
              _rocq_record_field_tx_gas_limit;
            MonadVM.State.TransactionState.t.self_destruct :=
              _rocq_record_field_self_destruct;
            MonadVM.State.TransactionState.t.logs := _rocq_record_field_logs;
            MonadVM.State.TransactionState.t.refund :=
              _rocq_record_field_refund;
            MonadVM.State.TransactionState.t.accessed_addresses :=
              _rocq_record_field_accessed_addresses;
            MonadVM.State.TransactionState.t.accessed_keys :=
              _rocq_record_field_accessed_keys; |};
      Make_result.Host_t__rocq_record_get_initial_world_state :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.initial_world_state);
      Make_result.Host_t__rocq_record_get_world_state :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.world_state);
      Make_result.Host_t__rocq_record_get_current_block :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.current_block);
      Make_result.Host_t__rocq_record_get_transient_storage :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.transient_storage);
      Make_result.Host_t__rocq_record_get_accounts_created_in_current_transaction :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.accounts_created_in_current_transaction);
      Make_result.Host_t__rocq_record_get_prior_transactions :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.prior_transactions);
      Make_result.Host_t__rocq_record_get_tx_chain_id :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.tx_chain_id);
      Make_result.Host_t__rocq_record_get_tx_origin :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.tx_origin);
      Make_result.Host_t__rocq_record_get_tx_gas_price :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.tx_gas_price);
      Make_result.Host_t__rocq_record_get_tx_gas_limit :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.tx_gas_limit);
      Make_result.Host_t__rocq_record_get_self_destruct :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.self_destruct);
      Make_result.Host_t__rocq_record_get_logs :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.logs);
      Make_result.Host_t__rocq_record_get_refund :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.refund);
      Make_result.Host_t__rocq_record_get_accessed_addresses :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.accessed_addresses);
      Make_result.Host_t__rocq_record_get_accessed_keys :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.State.TransactionState.t.accessed_keys);
      Make_result.Host_TLens_initial_world_state :=
        Host.TLens.initial_world_state;
      Make_result.Host_TLens_world_state := Host.TLens.world_state;
      Make_result.Host_TLens_current_block := Host.TLens.current_block;
      Make_result.Host_TLens_transient_storage := Host.TLens.transient_storage;
      Make_result.Host_TLens_accounts_created_in_current_transaction :=
        Host.TLens.accounts_created_in_current_transaction;
      Make_result.Host_TLens_prior_transactions := Host.TLens.prior_transactions;
      Make_result.Host_TLens_tx_chain_id := Host.TLens.tx_chain_id;
      Make_result.Host_TLens_tx_origin := Host.TLens.tx_origin;
      Make_result.Host_TLens_tx_gas_price := Host.TLens.tx_gas_price;
      Make_result.Host_TLens_tx_gas_limit := Host.TLens.tx_gas_limit;
      Make_result.Host_TLens_self_destruct := Host.TLens.self_destruct;
      Make_result.Host_TLens_logs := Host.TLens.logs;
      Make_result.Host_TLens_refund := Host.TLens.refund;
      Make_result.Host_TLens_accessed_addresses := Host.TLens.accessed_addresses;
      Make_result.Host_TLens_accessed_keys := Host.TLens.accessed_keys;
      Make_result.Host_initial_world_state := Host.initial_world_state;
      Make_result.Host_world_state := Host.world_state;
      Make_result.Host_current_block := Host.current_block;
      Make_result.Host_accounts_created_in_current_transaction :=
        Host.accounts_created_in_current_transaction;
      Make_result.Host_prior_transactions := Host.prior_transactions;
      Make_result.Host_tx_chain_id := Host.tx_chain_id;
      Make_result.Host_tx_origin := Host.tx_origin;
      Make_result.Host_tx_gas_price := Host.tx_gas_price;
      Make_result.Host_tx_gas_limit := Host.tx_gas_limit;
      Make_result.Host_self_destruct := Host.self_destruct;
      Make_result.Host_logs := Host.logs;
      Make_result.Host_refund := Host.refund;
      Make_result.Host_accessed_addresses := Host.accessed_addresses;
      Make_result.Host_accessed_keys := Host.accessed_keys;
      Make_result.Host_empty := Host.empty;
      Make_result.Host_make := Host.make;
      Make_result.Host_account := Host.account;
      Make_result.Host_initialize_access_sets := Host.initialize_access_sets;
      Make_result.Host_M_Inner_return _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner._return ) | exact (Host.M.Inner._return
        _) | first [unshelve refine (Host.M.Inner._return
        ) | unshelve refine (Host.M.Inner._return
        _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]]);
      Make_result.op_Host_M_Inner_gtgteq _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.op_gtgteq
        ) | exact (Host.M.Inner.op_gtgteq _) | exact (Host.M.Inner.op_gtgteq _
        _) | first [unshelve refine (Host.M.Inner.op_gtgteq
        ) | unshelve refine (Host.M.Inner.op_gtgteq
        _rocq_argument_0) | unshelve refine (Host.M.Inner.op_gtgteq
        _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]]);
      Make_result.op_Host_M_Inner_letdollar _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.op_letdollar
        ) | exact (Host.M.Inner.op_letdollar
        _) | exact (Host.M.Inner.op_letdollar _
        _) | first [unshelve refine (Host.M.Inner.op_letdollar
        ) | unshelve refine (Host.M.Inner.op_letdollar
        _rocq_argument_0) | unshelve refine (Host.M.Inner.op_letdollar
        _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]]);
      Make_result.Host_M_Inner_fmap _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.fmap ) | exact (Host.M.Inner.fmap
        _) | exact (Host.M.Inner.fmap _
        _) | first [unshelve refine (Host.M.Inner.fmap
        ) | unshelve refine (Host.M.Inner.fmap
        _rocq_argument_0) | unshelve refine (Host.M.Inner.fmap _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]]);
      Make_result.op_Host_M_Inner_ltdollargt _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.op_ltdollargt
        ) | exact (Host.M.Inner.op_ltdollargt
        _) | exact (Host.M.Inner.op_ltdollargt _
        _) | first [unshelve refine (Host.M.Inner.op_ltdollargt
        ) | unshelve refine (Host.M.Inner.op_ltdollargt
        _rocq_argument_0) | unshelve refine (Host.M.Inner.op_ltdollargt
        _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]]);
      Make_result.op_Host_M_Inner_ltstargt _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.op_ltstargt
        ) | exact (Host.M.Inner.op_ltstargt _) | exact (Host.M.Inner.op_ltstargt
        _ _) | first [unshelve refine (Host.M.Inner.op_ltstargt
        ) | unshelve refine (Host.M.Inner.op_ltstargt
        _rocq_argument_0) | unshelve refine (Host.M.Inner.op_ltstargt
        _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]]);
      Make_result.op_Host_M_Inner_gtgt _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.op_gtgt ) | exact (Host.M.Inner.op_gtgt
        _) | first [unshelve refine (Host.M.Inner.op_gtgt
        ) | unshelve refine (Host.M.Inner.op_gtgt
        _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]]);
      Make_result.Host_M_Inner_when_ := Host.M.Inner.when_;
      Make_result.Host_M_Inner_Option_none _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.none
        ) | exact (Host.M.Inner.Option.none
        _) | first [unshelve refine (Host.M.Inner.Option.none
        ) | unshelve refine (Host.M.Inner.Option.none
        _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]]);
      Make_result.Host_M_Inner_Option_some _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.some
        ) | exact (Host.M.Inner.Option.some
        _) | first [unshelve refine (Host.M.Inner.Option.some
        ) | unshelve refine (Host.M.Inner.Option.some
        _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]]);
      Make_result.Host_M_Inner_Option_value _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.value
        ) | exact (Host.M.Inner.Option.value
        _) | first [unshelve refine (Host.M.Inner.Option.value
        ) | unshelve refine (Host.M.Inner.Option.value
        _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]]);
      Make_result.Host_M_Inner_Option_get _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.Option.get
        _rocq_witness_0) | unshelve refine (Host.M.Inner.Option.get
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.Option.get
        ) | unshelve refine (Host.M.Inner.Option.get
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.Option.get) 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]);
      Make_result.Host_M_Inner_Option_bind _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.bind
        ) | exact (Host.M.Inner.Option.bind _) | exact (Host.M.Inner.Option.bind
        _ _) | first [unshelve refine (Host.M.Inner.Option.bind
        ) | unshelve refine (Host.M.Inner.Option.bind
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.bind
        _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]]);
      Make_result.Host_M_Inner_Option_join _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.join
        ) | exact (Host.M.Inner.Option.join
        _) | first [unshelve refine (Host.M.Inner.Option.join
        ) | unshelve refine (Host.M.Inner.Option.join
        _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]]);
      Make_result.Host_M_Inner_Option_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.map
        ) | exact (Host.M.Inner.Option.map _) | exact (Host.M.Inner.Option.map _
        _) | first [unshelve refine (Host.M.Inner.Option.map
        ) | unshelve refine (Host.M.Inner.Option.map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_product _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Option.product
        ) | exact (Host.M.Inner.Option.product
        _) | exact (Host.M.Inner.Option.product _
        _) | first [unshelve refine (Host.M.Inner.Option.product
        ) | unshelve refine (Host.M.Inner.Option.product
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.product
        _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]]);
      Make_result.Host_M_Inner_Option_fold _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.fold
        ) | exact (Host.M.Inner.Option.fold _) | exact (Host.M.Inner.Option.fold
        _ _) | first [unshelve refine (Host.M.Inner.Option.fold
        ) | unshelve refine (Host.M.Inner.Option.fold
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_iter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.iter
        ) | exact (Host.M.Inner.Option.iter
        _) | first [unshelve refine (Host.M.Inner.Option.iter
        ) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_blend _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.blend
        ) | exact (Host.M.Inner.Option.blend
        _) | first [unshelve refine (Host.M.Inner.Option.blend
        ) | unshelve refine (Host.M.Inner.Option.blend
        _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]]);
      Make_result.Host_M_Inner_Option_for_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.for_all
        ) | exact (Host.M.Inner.Option.for_all
        _) | first [unshelve refine (Host.M.Inner.Option.for_all
        ) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_exists _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option._exists
        ) | exact (Host.M.Inner.Option._exists
        _) | first [unshelve refine (Host.M.Inner.Option._exists
        ) | unshelve refine (Host.M.Inner.Option._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]]);
      Make_result.Host_M_Inner_Option_is_none _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.is_none
        ) | exact (Host.M.Inner.Option.is_none
        _) | first [unshelve refine (Host.M.Inner.Option.is_none
        ) | unshelve refine (Host.M.Inner.Option.is_none
        _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]]);
      Make_result.Host_M_Inner_Option_is_some _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.is_some
        ) | exact (Host.M.Inner.Option.is_some
        _) | first [unshelve refine (Host.M.Inner.Option.is_some
        ) | unshelve refine (Host.M.Inner.Option.is_some
        _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]]);
      Make_result.Host_M_Inner_Option_equal _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.equal
        ) | exact (Host.M.Inner.Option.equal
        _) | first [unshelve refine (Host.M.Inner.Option.equal
        ) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_compare _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.compare
        ) | exact (Host.M.Inner.Option.compare
        _) | first [unshelve refine (Host.M.Inner.Option.compare
        ) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_to_result _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Inner.Option.to_result
        ) | exact (Host.M.Inner.Option.to_result
        _) | exact (Host.M.Inner.Option.to_result _
        _) | first [unshelve refine (Host.M.Inner.Option.to_result
        ) | unshelve refine (Host.M.Inner.Option.to_result
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.to_result
        _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]]);
      Make_result.Host_M_Inner_Option_to_list _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.to_list
        ) | exact (Host.M.Inner.Option.to_list
        _) | first [unshelve refine (Host.M.Inner.Option.to_list
        ) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.Host_M_Inner_Option_to_seq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.to_seq
        ) | exact (Host.M.Inner.Option.to_seq
        _) | first [unshelve refine (Host.M.Inner.Option.to_seq
        ) | unshelve refine (Host.M.Inner.Option.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]]);
      Make_result.op_Host_M_Inner_Option_Syntax_letstar _rocq_argument_0
        _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.Syntax.op_letstar
        ) | exact (Host.M.Inner.Option.Syntax.op_letstar
        _) | exact (Host.M.Inner.Option.Syntax.op_letstar _
        _) | first [unshelve refine (Host.M.Inner.Option.Syntax.op_letstar
        ) | unshelve refine (Host.M.Inner.Option.Syntax.op_letstar
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.Syntax.op_letstar
        _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]]);
      Make_result.op_Host_M_Inner_Option_Syntax_andstar _rocq_argument_0
        _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.Syntax.op_andstar
        ) | exact (Host.M.Inner.Option.Syntax.op_andstar
        _) | exact (Host.M.Inner.Option.Syntax.op_andstar _
        _) | first [unshelve refine (Host.M.Inner.Option.Syntax.op_andstar
        ) | unshelve refine (Host.M.Inner.Option.Syntax.op_andstar
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.Syntax.op_andstar
        _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]]);
      Make_result.op_Host_M_Inner_Option_Syntax_letplus _rocq_argument_0
        _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.Syntax.op_letplus
        ) | exact (Host.M.Inner.Option.Syntax.op_letplus
        _) | exact (Host.M.Inner.Option.Syntax.op_letplus _
        _) | first [unshelve refine (Host.M.Inner.Option.Syntax.op_letplus
        ) | unshelve refine (Host.M.Inner.Option.Syntax.op_letplus
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.Syntax.op_letplus
        _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]]);
      Make_result.op_Host_M_Inner_Option_Syntax_andplus _rocq_argument_0
        _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Option.Syntax.op_andplus
        ) | exact (Host.M.Inner.Option.Syntax.op_andplus
        _) | exact (Host.M.Inner.Option.Syntax.op_andplus _
        _) | first [unshelve refine (Host.M.Inner.Option.Syntax.op_andplus
        ) | unshelve refine (Host.M.Inner.Option.Syntax.op_andplus
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.Syntax.op_andplus
        _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]]);
      Make_result.Host_M_Inner_Option_get_or_create _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.get_or_create
        ) | exact (Host.M.Inner.Option.get_or_create
        _) | first [unshelve refine (Host.M.Inner.Option.get_or_create
        ) | unshelve refine (Host.M.Inner.Option.get_or_create
        _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]]);
      Make_result.Host_M_Inner_Option_get_or_default _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.get_or_default
        ) | exact (Host.M.Inner.Option.get_or_default
        _) | first [unshelve refine (Host.M.Inner.Option.get_or_default
        ) | unshelve refine (Host.M.Inner.Option.get_or_default
        _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]]);
      Make_result.Host_M_Inner_Option_get_or_throw _rocq_argument_0
        _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.Option.get_or_throw
        _rocq_witness_0) | unshelve refine (Host.M.Inner.Option.get_or_throw
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.Option.get_or_throw
        ) | unshelve refine (Host.M.Inner.Option.get_or_throw
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.Option.get_or_throw) 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]);
      Make_result.op_Host_M_Inner_Option_gtgteq _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Inner.Option.op_gtgteq
        ) | exact (Host.M.Inner.Option.op_gtgteq
        _) | exact (Host.M.Inner.Option.op_gtgteq _
        _) | first [unshelve refine (Host.M.Inner.Option.op_gtgteq
        ) | unshelve refine (Host.M.Inner.Option.op_gtgteq
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.op_gtgteq
        _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]]);
      Make_result.op_Host_M_Inner_Option_letdollar _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Inner.Option.op_letdollar
        ) | exact (Host.M.Inner.Option.op_letdollar
        _) | exact (Host.M.Inner.Option.op_letdollar _
        _) | first [unshelve refine (Host.M.Inner.Option.op_letdollar
        ) | unshelve refine (Host.M.Inner.Option.op_letdollar
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Option.op_letdollar
        _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]]);
      Make_result.Host_M_Inner_Option_return _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option._return
        ) | exact (Host.M.Inner.Option._return
        _) | first [unshelve refine (Host.M.Inner.Option._return
        ) | unshelve refine (Host.M.Inner.Option._return
        _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]]);
      Make_result.Host_M_Inner_Option_ensure := Host.M.Inner.Option.ensure;
      Make_result.Host_M_Inner_Option_iterM _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Option.iterM
        ) | exact (Host.M.Inner.Option.iterM
        _) | first [unshelve refine (Host.M.Inner.Option.iterM
        ) | unshelve refine (Host.M.Inner.Option.iterM
        _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]]);
      Make_result.Host_M_Inner_List_length _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.length
        ) | exact (Host.M.Inner.List.length
        _) | first [unshelve refine (Host.M.Inner.List.length
        ) | unshelve refine (Host.M.Inner.List.length
        _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]]);
      Make_result.Host_M_Inner_List_compare_lengths _rocq_argument_0
        _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.List.compare_lengths
        ) | exact (Host.M.Inner.List.compare_lengths
        _) | exact (Host.M.Inner.List.compare_lengths _
        _) | first [unshelve refine (Host.M.Inner.List.compare_lengths
        ) | unshelve refine (Host.M.Inner.List.compare_lengths
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.compare_lengths
        _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]]);
      Make_result.Host_M_Inner_List_compare_length_with _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.compare_length_with
        ) | exact (Host.M.Inner.List.compare_length_with
        _) | first [unshelve refine (Host.M.Inner.List.compare_length_with
        ) | unshelve refine (Host.M.Inner.List.compare_length_with
        _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]]);
      Make_result.Host_M_Inner_List_is_empty _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.is_empty
        ) | exact (Host.M.Inner.List.is_empty
        _) | first [unshelve refine (Host.M.Inner.List.is_empty
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_cons _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.cons
        ) | exact (Host.M.Inner.List.cons
        _) | first [unshelve refine (Host.M.Inner.List.cons
        ) | unshelve refine (Host.M.Inner.List.cons
        _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]]);
      Make_result.Host_M_Inner_List_singleton _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.singleton
        ) | exact (Host.M.Inner.List.singleton
        _) | first [unshelve refine (Host.M.Inner.List.singleton
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_hd _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.hd
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.hd
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.hd
        ) | unshelve refine (Host.M.Inner.List.hd
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.List.hd) 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]);
      Make_result.Host_M_Inner_List_tl _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.tl
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.tl
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.tl
        ) | unshelve refine (Host.M.Inner.List.tl
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.List.tl) 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]);
      Make_result.Host_M_Inner_List_nth _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.nth
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.nth
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.nth
        ) | unshelve refine (Host.M.Inner.List.nth
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.List.nth) 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]);
      Make_result.Host_M_Inner_List_nth_opt _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.nth_opt
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.nth_opt
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.nth_opt
        ) | unshelve refine (Host.M.Inner.List.nth_opt
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.List.nth_opt) 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]);
      Make_result.Host_M_Inner_List_rev _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.rev
        ) | exact (Host.M.Inner.List.rev
        _) | first [unshelve refine (Host.M.Inner.List.rev
        ) | unshelve refine (Host.M.Inner.List.rev
        _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]]);
      Make_result.Host_M_Inner_List_init _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.init
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.init
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.init
        ) | unshelve refine (Host.M.Inner.List.init
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.List.init) 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]);
      Make_result.Host_M_Inner_List_append _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.append
        ) | exact (Host.M.Inner.List.append
        _) | first [unshelve refine (Host.M.Inner.List.append
        ) | unshelve refine (Host.M.Inner.List.append
        _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]]);
      Make_result.Host_M_Inner_List_rev_append _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.rev_append
        ) | exact (Host.M.Inner.List.rev_append
        _) | first [unshelve refine (Host.M.Inner.List.rev_append
        ) | unshelve refine (Host.M.Inner.List.rev_append
        _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]]);
      Make_result.Host_M_Inner_List_concat _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.concat
        ) | exact (Host.M.Inner.List.concat
        _) | first [unshelve refine (Host.M.Inner.List.concat
        ) | unshelve refine (Host.M.Inner.List.concat
        _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]]);
      Make_result.Host_M_Inner_List_flatten _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.flatten
        ) | exact (Host.M.Inner.List.flatten
        _) | first [unshelve refine (Host.M.Inner.List.flatten
        ) | unshelve refine (Host.M.Inner.List.flatten
        _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]]);
      Make_result.Host_M_Inner_List_equal _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.equal
        ) | exact (Host.M.Inner.List.equal
        _) | first [unshelve refine (Host.M.Inner.List.equal
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_compare _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.compare
        ) | exact (Host.M.Inner.List.compare
        _) | first [unshelve refine (Host.M.Inner.List.compare
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_iter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.iter
        ) | exact (Host.M.Inner.List.iter
        _) | first [unshelve refine (Host.M.Inner.List.iter
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_iteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.iteri
        ) | exact (Host.M.Inner.List.iteri
        _) | first [unshelve refine (Host.M.Inner.List.iteri
        ) | unshelve refine (Host.M.Inner.List.iteri
        _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]]);
      Make_result.Host_M_Inner_List_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.List.map
        ) | exact (Host.M.Inner.List.map _) | exact (Host.M.Inner.List.map _
        _) | first [unshelve refine (Host.M.Inner.List.map
        ) | unshelve refine (Host.M.Inner.List.map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.List.mapi
        ) | exact (Host.M.Inner.List.mapi _) | exact (Host.M.Inner.List.mapi _
        _) | first [unshelve refine (Host.M.Inner.List.mapi
        ) | unshelve refine (Host.M.Inner.List.mapi
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_rev_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.List.rev_map
        ) | exact (Host.M.Inner.List.rev_map
        _) | exact (Host.M.Inner.List.rev_map _
        _) | first [unshelve refine (Host.M.Inner.List.rev_map
        ) | unshelve refine (Host.M.Inner.List.rev_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.rev_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]]);
      Make_result.Host_M_Inner_List_filter_map _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.filter_map
        ) | exact (Host.M.Inner.List.filter_map
        _) | exact (Host.M.Inner.List.filter_map _
        _) | first [unshelve refine (Host.M.Inner.List.filter_map
        ) | unshelve refine (Host.M.Inner.List.filter_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_filter_mapi _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Inner.List.filter_mapi
        ) | exact (Host.M.Inner.List.filter_mapi
        _) | exact (Host.M.Inner.List.filter_mapi _
        _) | first [unshelve refine (Host.M.Inner.List.filter_mapi
        ) | unshelve refine (Host.M.Inner.List.filter_mapi
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.filter_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]]);
      Make_result.Host_M_Inner_List_concat_map _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.concat_map
        ) | exact (Host.M.Inner.List.concat_map
        _) | exact (Host.M.Inner.List.concat_map _
        _) | first [unshelve refine (Host.M.Inner.List.concat_map
        ) | unshelve refine (Host.M.Inner.List.concat_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.concat_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]]);
      Make_result.Host_M_Inner_List_fold_left_map _rocq_argument_0
        _rocq_argument_1 _rocq_argument_2 :=
        ltac:(first [exact (Host.M.Inner.List.fold_left_map
        ) | exact (Host.M.Inner.List.fold_left_map
        _) | exact (Host.M.Inner.List.fold_left_map _
        _) | exact (Host.M.Inner.List.fold_left_map _ _
        _) | first [unshelve refine (Host.M.Inner.List.fold_left_map
        ) | unshelve refine (Host.M.Inner.List.fold_left_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.fold_left_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.fold_left_map
        _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]]);
      Make_result.Host_M_Inner_List_fold_left _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.fold_left
        ) | exact (Host.M.Inner.List.fold_left
        _) | exact (Host.M.Inner.List.fold_left _
        _) | first [unshelve refine (Host.M.Inner.List.fold_left
        ) | unshelve refine (Host.M.Inner.List.fold_left
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.fold_left
        _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]]);
      Make_result.Host_M_Inner_List_fold_right _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.fold_right
        ) | exact (Host.M.Inner.List.fold_right
        _) | exact (Host.M.Inner.List.fold_right _
        _) | first [unshelve refine (Host.M.Inner.List.fold_right
        ) | unshelve refine (Host.M.Inner.List.fold_right
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.fold_right
        _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]]);
      Make_result.Host_M_Inner_List_iter2 _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.Inner.List.iter2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.iter2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.iter2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.iter2
        ) | unshelve refine (Host.M.Inner.List.iter2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.iter2
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.Inner.List.iter2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_map2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.map2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.map2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.map2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.map2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.map2
        ) | unshelve refine (Host.M.Inner.List.map2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.map2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.map2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.Inner.List.map2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_rev_map2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.rev_map2
        ) | unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.rev_map2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.Inner.List.rev_map2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_fold_left2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_left2
        ) | unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.fold_left2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.Inner.List.fold_left2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_fold_right2 _rocq_argument_0
        _rocq_argument_1 _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.fold_right2
        ) | unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.fold_right2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.Inner.List.fold_right2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_for_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.for_all
        ) | exact (Host.M.Inner.List.for_all
        _) | first [unshelve refine (Host.M.Inner.List.for_all
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_exists _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List._exists
        ) | exact (Host.M.Inner.List._exists
        _) | first [unshelve refine (Host.M.Inner.List._exists
        ) | unshelve refine (Host.M.Inner.List._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]]);
      Make_result.Host_M_Inner_List_for_all2 _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.for_all2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.for_all2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.for_all2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.for_all2
        ) | unshelve refine (Host.M.Inner.List.for_all2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.for_all2
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.Inner.List.for_all2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_exists2 _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List._exists2
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List._exists2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List._exists2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List._exists2
        ) | unshelve refine (Host.M.Inner.List._exists2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List._exists2
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.Inner.List._exists2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_mem _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.mem
        ) | exact (Host.M.Inner.List.mem
        _) | first [unshelve refine (Host.M.Inner.List.mem
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_memq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.memq
        ) | exact (Host.M.Inner.List.memq
        _) | first [unshelve refine (Host.M.Inner.List.memq
        ) | unshelve refine (Host.M.Inner.List.memq
        _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]]);
      Make_result.Host_M_Inner_List_find _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.find
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.find
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.find
        ) | unshelve refine (Host.M.Inner.List.find
        _rocq_argument_0) | let value := uconstr:(Host.M.Inner.List.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]);
      Make_result.Host_M_Inner_List_find_opt _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.find_opt
        ) | exact (Host.M.Inner.List.find_opt
        _) | first [unshelve refine (Host.M.Inner.List.find_opt
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_find_index _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.find_index
        ) | exact (Host.M.Inner.List.find_index
        _) | first [unshelve refine (Host.M.Inner.List.find_index
        ) | unshelve refine (Host.M.Inner.List.find_index
        _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]]);
      Make_result.Host_M_Inner_List_find_map _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.find_map
        ) | exact (Host.M.Inner.List.find_map
        _) | exact (Host.M.Inner.List.find_map _
        _) | first [unshelve refine (Host.M.Inner.List.find_map
        ) | unshelve refine (Host.M.Inner.List.find_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.find_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]]);
      Make_result.Host_M_Inner_List_find_mapi _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.find_mapi
        ) | exact (Host.M.Inner.List.find_mapi
        _) | exact (Host.M.Inner.List.find_mapi _
        _) | first [unshelve refine (Host.M.Inner.List.find_mapi
        ) | unshelve refine (Host.M.Inner.List.find_mapi
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.find_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]]);
      Make_result.Host_M_Inner_List_filter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.filter
        ) | exact (Host.M.Inner.List.filter
        _) | first [unshelve refine (Host.M.Inner.List.filter
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_find_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.find_all
        ) | exact (Host.M.Inner.List.find_all
        _) | first [unshelve refine (Host.M.Inner.List.find_all
        ) | unshelve refine (Host.M.Inner.List.find_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]]);
      Make_result.Host_M_Inner_List_filteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.filteri
        ) | exact (Host.M.Inner.List.filteri
        _) | first [unshelve refine (Host.M.Inner.List.filteri
        ) | unshelve refine (Host.M.Inner.List.filteri
        _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]]);
      Make_result.Host_M_Inner_List_take _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.take
        ) | exact (Host.M.Inner.List.take
        _) | first [unshelve refine (Host.M.Inner.List.take
        ) | unshelve refine (Host.M.Inner.List.take
        _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]]);
      Make_result.Host_M_Inner_List_drop _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.drop
        ) | exact (Host.M.Inner.List.drop
        _) | first [unshelve refine (Host.M.Inner.List.drop
        ) | unshelve refine (Host.M.Inner.List.drop
        _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]]);
      Make_result.Host_M_Inner_List_take_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.take_while
        ) | exact (Host.M.Inner.List.take_while
        _) | first [unshelve refine (Host.M.Inner.List.take_while
        ) | unshelve refine (Host.M.Inner.List.take_while
        _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]]);
      Make_result.Host_M_Inner_List_drop_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.drop_while
        ) | exact (Host.M.Inner.List.drop_while
        _) | first [unshelve refine (Host.M.Inner.List.drop_while
        ) | unshelve refine (Host.M.Inner.List.drop_while
        _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]]);
      Make_result.Host_M_Inner_List_partition _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.partition
        ) | exact (Host.M.Inner.List.partition
        _) | first [unshelve refine (Host.M.Inner.List.partition
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_partition_map _rocq_argument_0
        _rocq_argument_1 _rocq_argument_2 :=
        ltac:(first [exact (Host.M.Inner.List.partition_map
        ) | exact (Host.M.Inner.List.partition_map
        _) | exact (Host.M.Inner.List.partition_map _
        _) | exact (Host.M.Inner.List.partition_map _ _
        _) | first [unshelve refine (Host.M.Inner.List.partition_map
        ) | unshelve refine (Host.M.Inner.List.partition_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.partition_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.partition_map
        _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]]);
      Make_result.Host_M_Inner_List_assoc _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.Inner.List.assoc
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.assoc
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.assoc
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.assoc
        ) | unshelve refine (Host.M.Inner.List.assoc
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.assoc
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.Inner.List.assoc) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_assoc_opt _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.assoc_opt
        ) | exact (Host.M.Inner.List.assoc_opt
        _) | exact (Host.M.Inner.List.assoc_opt _
        _) | first [unshelve refine (Host.M.Inner.List.assoc_opt
        ) | unshelve refine (Host.M.Inner.List.assoc_opt
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.assoc_opt
        _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]]);
      Make_result.Host_M_Inner_List_assq _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.Inner.List.assq
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.assq
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.assq
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.assq
        ) | unshelve refine (Host.M.Inner.List.assq
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.assq
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.Inner.List.assq) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_assq_opt _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.assq_opt
        ) | exact (Host.M.Inner.List.assq_opt
        _) | exact (Host.M.Inner.List.assq_opt _
        _) | first [unshelve refine (Host.M.Inner.List.assq_opt
        ) | unshelve refine (Host.M.Inner.List.assq_opt
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.assq_opt
        _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]]);
      Make_result.Host_M_Inner_List_mem_assoc _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.mem_assoc
        ) | exact (Host.M.Inner.List.mem_assoc
        _) | exact (Host.M.Inner.List.mem_assoc _
        _) | first [unshelve refine (Host.M.Inner.List.mem_assoc
        ) | unshelve refine (Host.M.Inner.List.mem_assoc
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.mem_assoc
        _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]]);
      Make_result.Host_M_Inner_List_mem_assq _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.mem_assq
        ) | exact (Host.M.Inner.List.mem_assq
        _) | exact (Host.M.Inner.List.mem_assq _
        _) | first [unshelve refine (Host.M.Inner.List.mem_assq
        ) | unshelve refine (Host.M.Inner.List.mem_assq
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.mem_assq
        _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]]);
      Make_result.Host_M_Inner_List_remove_assoc _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Inner.List.remove_assoc
        ) | exact (Host.M.Inner.List.remove_assoc
        _) | exact (Host.M.Inner.List.remove_assoc _
        _) | first [unshelve refine (Host.M.Inner.List.remove_assoc
        ) | unshelve refine (Host.M.Inner.List.remove_assoc
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.remove_assoc
        _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]]);
      Make_result.Host_M_Inner_List_remove_assq _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Inner.List.remove_assq
        ) | exact (Host.M.Inner.List.remove_assq
        _) | exact (Host.M.Inner.List.remove_assq _
        _) | first [unshelve refine (Host.M.Inner.List.remove_assq
        ) | unshelve refine (Host.M.Inner.List.remove_assq
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.remove_assq
        _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]]);
      Make_result.Host_M_Inner_List_split _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.List.split
        ) | exact (Host.M.Inner.List.split _) | exact (Host.M.Inner.List.split _
        _) | first [unshelve refine (Host.M.Inner.List.split
        ) | unshelve refine (Host.M.Inner.List.split
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.split
        _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]]);
      Make_result.Host_M_Inner_List_split_map _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Inner.List.split_map
        ) | exact (Host.M.Inner.List.split_map
        _) | exact (Host.M.Inner.List.split_map _
        _) | exact (Host.M.Inner.List.split_map _ _
        _) | first [unshelve refine (Host.M.Inner.List.split_map
        ) | unshelve refine (Host.M.Inner.List.split_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.split_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.List.split_map
        _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]]);
      Make_result.Host_M_Inner_List_combine _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Inner.List.combine
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.combine
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.combine
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.Inner.List.combine
        ) | unshelve refine (Host.M.Inner.List.combine
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.combine
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.Inner.List.combine) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_Inner_List_sort _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.sort
        ) | exact (Host.M.Inner.List.sort
        _) | first [unshelve refine (Host.M.Inner.List.sort
        ) | unshelve refine (Host.M.Inner.List.sort
        _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]]);
      Make_result.Host_M_Inner_List_stable_sort _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.stable_sort
        ) | exact (Host.M.Inner.List.stable_sort
        _) | first [unshelve refine (Host.M.Inner.List.stable_sort
        ) | unshelve refine (Host.M.Inner.List.stable_sort
        _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]]);
      Make_result.Host_M_Inner_List_fast_sort _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.fast_sort
        ) | exact (Host.M.Inner.List.fast_sort
        _) | first [unshelve refine (Host.M.Inner.List.fast_sort
        ) | unshelve refine (Host.M.Inner.List.fast_sort
        _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]]);
      Make_result.Host_M_Inner_List_sort_uniq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.sort_uniq
        ) | exact (Host.M.Inner.List.sort_uniq
        _) | first [unshelve refine (Host.M.Inner.List.sort_uniq
        ) | unshelve refine (Host.M.Inner.List.sort_uniq
        _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]]);
      Make_result.Host_M_Inner_List_merge _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.merge
        ) | exact (Host.M.Inner.List.merge
        _) | first [unshelve refine (Host.M.Inner.List.merge
        ) | unshelve refine (Host.M.Inner.List.merge
        _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]]);
      Make_result.Host_M_Inner_List_to_seq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.to_seq
        ) | exact (Host.M.Inner.List.to_seq
        _) | first [unshelve refine (Host.M.Inner.List.to_seq
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_of_seq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.of_seq
        ) | exact (Host.M.Inner.List.of_seq
        _) | first [unshelve refine (Host.M.Inner.List.of_seq
        ) | unshelve refine (Host.M.Inner.List.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]]);
      Make_result.Host_M_Inner_List_sequence _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.sequence
        ) | exact (Host.M.Inner.List.sequence
        _) | first [unshelve refine (Host.M.Inner.List.sequence
        ) | unshelve refine (Host.M.Inner.List.sequence
        _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]]);
      Make_result.Host_M_Inner_List_fold_leftM _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.List.fold_leftM
        ) | exact (Host.M.Inner.List.fold_leftM
        _) | exact (Host.M.Inner.List.fold_leftM _
        _) | first [unshelve refine (Host.M.Inner.List.fold_leftM
        ) | unshelve refine (Host.M.Inner.List.fold_leftM
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.fold_leftM
        _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]]);
      Make_result.Host_M_Inner_List_iterM _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.List.iterM
        ) | exact (Host.M.Inner.List.iterM
        _) | first [unshelve refine (Host.M.Inner.List.iterM
        ) | unshelve refine (Host.M.Inner.List.iterM
        _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]]);
      Make_result.Host_M_Inner_List_mapM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.List.mapM
        ) | exact (Host.M.Inner.List.mapM _) | exact (Host.M.Inner.List.mapM _
        _) | first [unshelve refine (Host.M.Inner.List.mapM
        ) | unshelve refine (Host.M.Inner.List.mapM
        _rocq_argument_0) | unshelve refine (Host.M.Inner.List.mapM
        _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]]);
      Make_result.Host_M_Inner_Seq_sequence _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.sequence
        ) | exact (Host.M.Inner.Seq.sequence
        _) | first [unshelve refine (Host.M.Inner.Seq.sequence
        ) | unshelve refine (Host.M.Inner.Seq.sequence
        _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]]);
      Make_result.Host_M_Inner_Seq_mapM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.mapM
        ) | exact (Host.M.Inner.Seq.mapM _) | exact (Host.M.Inner.Seq.mapM _
        _) | first [unshelve refine (Host.M.Inner.Seq.mapM
        ) | unshelve refine (Host.M.Inner.Seq.mapM
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.mapM
        _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]]);
      Make_result.Host_M_Inner_Seq_fold_leftM _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Seq.fold_leftM
        ) | exact (Host.M.Inner.Seq.fold_leftM
        _) | exact (Host.M.Inner.Seq.fold_leftM _
        _) | first [unshelve refine (Host.M.Inner.Seq.fold_leftM
        ) | unshelve refine (Host.M.Inner.Seq.fold_leftM
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.fold_leftM
        _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]]);
      Make_result.Host_M_Inner_Seq_iterM _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.iterM
        ) | exact (Host.M.Inner.Seq.iterM
        _) | first [unshelve refine (Host.M.Inner.Seq.iterM
        ) | unshelve refine (Host.M.Inner.Seq.iterM
        _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]]);
      Make_result.Host_M_Inner_Seq_foldM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.foldM
        ) | exact (Host.M.Inner.Seq.foldM _) | exact (Host.M.Inner.Seq.foldM _
        _) | first [unshelve refine (Host.M.Inner.Seq.foldM
        ) | unshelve refine (Host.M.Inner.Seq.foldM
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.foldM
        _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]]);
      Make_result.Host_M_Inner_Seq_is_empty _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.is_empty
        ) | exact (Host.M.Inner.Seq.is_empty
        _) | first [unshelve refine (Host.M.Inner.Seq.is_empty
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_uncons _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.uncons
        ) | exact (Host.M.Inner.Seq.uncons
        _) | first [unshelve refine (Host.M.Inner.Seq.uncons
        ) | unshelve refine (Host.M.Inner.Seq.uncons
        _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]]);
      Make_result.Host_M_Inner_Seq_length _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.length
        ) | exact (Host.M.Inner.Seq.length
        _) | first [unshelve refine (Host.M.Inner.Seq.length
        ) | unshelve refine (Host.M.Inner.Seq.length
        _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]]);
      Make_result.Host_M_Inner_Seq_iter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.iter
        ) | exact (Host.M.Inner.Seq.iter
        _) | first [unshelve refine (Host.M.Inner.Seq.iter
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_fold_left _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Seq.fold_left
        ) | exact (Host.M.Inner.Seq.fold_left
        _) | exact (Host.M.Inner.Seq.fold_left _
        _) | first [unshelve refine (Host.M.Inner.Seq.fold_left
        ) | unshelve refine (Host.M.Inner.Seq.fold_left
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.fold_left
        _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]]);
      Make_result.Host_M_Inner_Seq_iteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.iteri
        ) | exact (Host.M.Inner.Seq.iteri
        _) | first [unshelve refine (Host.M.Inner.Seq.iteri
        ) | unshelve refine (Host.M.Inner.Seq.iteri
        _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]]);
      Make_result.Host_M_Inner_Seq_fold_lefti _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Seq.fold_lefti
        ) | exact (Host.M.Inner.Seq.fold_lefti
        _) | exact (Host.M.Inner.Seq.fold_lefti _
        _) | first [unshelve refine (Host.M.Inner.Seq.fold_lefti
        ) | unshelve refine (Host.M.Inner.Seq.fold_lefti
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.fold_lefti
        _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]]);
      Make_result.Host_M_Inner_Seq_for_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.for_all
        ) | exact (Host.M.Inner.Seq.for_all
        _) | first [unshelve refine (Host.M.Inner.Seq.for_all
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_exists _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq._exists
        ) | exact (Host.M.Inner.Seq._exists
        _) | first [unshelve refine (Host.M.Inner.Seq._exists
        ) | unshelve refine (Host.M.Inner.Seq._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]]);
      Make_result.Host_M_Inner_Seq_find _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.find
        ) | exact (Host.M.Inner.Seq.find
        _) | first [unshelve refine (Host.M.Inner.Seq.find
        ) | unshelve refine (Host.M.Inner.Seq.find
        _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]]);
      Make_result.Host_M_Inner_Seq_find_index _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.find_index
        ) | exact (Host.M.Inner.Seq.find_index
        _) | first [unshelve refine (Host.M.Inner.Seq.find_index
        ) | unshelve refine (Host.M.Inner.Seq.find_index
        _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]]);
      Make_result.Host_M_Inner_Seq_find_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.find_map
        ) | exact (Host.M.Inner.Seq.find_map
        _) | exact (Host.M.Inner.Seq.find_map _
        _) | first [unshelve refine (Host.M.Inner.Seq.find_map
        ) | unshelve refine (Host.M.Inner.Seq.find_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.find_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]]);
      Make_result.Host_M_Inner_Seq_find_mapi _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Seq.find_mapi
        ) | exact (Host.M.Inner.Seq.find_mapi
        _) | exact (Host.M.Inner.Seq.find_mapi _
        _) | first [unshelve refine (Host.M.Inner.Seq.find_mapi
        ) | unshelve refine (Host.M.Inner.Seq.find_mapi
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.find_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]]);
      Make_result.Host_M_Inner_Seq_iter2 _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.iter2
        ) | exact (Host.M.Inner.Seq.iter2 _) | exact (Host.M.Inner.Seq.iter2 _
        _) | first [unshelve refine (Host.M.Inner.Seq.iter2
        ) | unshelve refine (Host.M.Inner.Seq.iter2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.iter2
        _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]]);
      Make_result.Host_M_Inner_Seq_fold_left2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Inner.Seq.fold_left2
        ) | exact (Host.M.Inner.Seq.fold_left2
        _) | exact (Host.M.Inner.Seq.fold_left2 _
        _) | exact (Host.M.Inner.Seq.fold_left2 _ _
        _) | first [unshelve refine (Host.M.Inner.Seq.fold_left2
        ) | unshelve refine (Host.M.Inner.Seq.fold_left2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.fold_left2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.Seq.fold_left2
        _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]]);
      Make_result.Host_M_Inner_Seq_for_all2 _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.for_all2
        ) | exact (Host.M.Inner.Seq.for_all2
        _) | exact (Host.M.Inner.Seq.for_all2 _
        _) | first [unshelve refine (Host.M.Inner.Seq.for_all2
        ) | unshelve refine (Host.M.Inner.Seq.for_all2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.for_all2
        _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]]);
      Make_result.Host_M_Inner_Seq_exists2 _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq._exists2
        ) | exact (Host.M.Inner.Seq._exists2
        _) | exact (Host.M.Inner.Seq._exists2 _
        _) | first [unshelve refine (Host.M.Inner.Seq._exists2
        ) | unshelve refine (Host.M.Inner.Seq._exists2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq._exists2
        _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]]);
      Make_result.Host_M_Inner_Seq_equal _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.equal
        ) | exact (Host.M.Inner.Seq.equal _) | exact (Host.M.Inner.Seq.equal _
        _) | first [unshelve refine (Host.M.Inner.Seq.equal
        ) | unshelve refine (Host.M.Inner.Seq.equal
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.equal
        _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]]);
      Make_result.Host_M_Inner_Seq_compare _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.compare
        ) | exact (Host.M.Inner.Seq.compare _) | exact (Host.M.Inner.Seq.compare
        _ _) | first [unshelve refine (Host.M.Inner.Seq.compare
        ) | unshelve refine (Host.M.Inner.Seq.compare
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.compare
        _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]]);
      Make_result.Host_M_Inner_Seq_empty _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.empty
        ) | exact (Host.M.Inner.Seq.empty
        _) | first [unshelve refine (Host.M.Inner.Seq.empty
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_return _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq._return
        ) | exact (Host.M.Inner.Seq._return
        _) | first [unshelve refine (Host.M.Inner.Seq._return
        ) | unshelve refine (Host.M.Inner.Seq._return
        _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]]);
      Make_result.Host_M_Inner_Seq_cons _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.cons
        ) | exact (Host.M.Inner.Seq.cons
        _) | first [unshelve refine (Host.M.Inner.Seq.cons
        ) | unshelve refine (Host.M.Inner.Seq.cons
        _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]]);
      Make_result.Host_M_Inner_Seq_singleton _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.singleton
        ) | exact (Host.M.Inner.Seq.singleton
        _) | first [unshelve refine (Host.M.Inner.Seq.singleton
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_delay _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.delay
        ) | exact (Host.M.Inner.Seq.delay
        _) | first [unshelve refine (Host.M.Inner.Seq.delay
        ) | unshelve refine (Host.M.Inner.Seq.delay
        _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]]);
      Make_result.Host_M_Inner_Seq_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.map ) | exact (Host.M.Inner.Seq.map
        _) | exact (Host.M.Inner.Seq.map _
        _) | first [unshelve refine (Host.M.Inner.Seq.map
        ) | unshelve refine (Host.M.Inner.Seq.map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.mapi
        ) | exact (Host.M.Inner.Seq.mapi _) | exact (Host.M.Inner.Seq.mapi _
        _) | first [unshelve refine (Host.M.Inner.Seq.mapi
        ) | unshelve refine (Host.M.Inner.Seq.mapi
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_filter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.filter
        ) | exact (Host.M.Inner.Seq.filter
        _) | first [unshelve refine (Host.M.Inner.Seq.filter
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_filteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.filteri
        ) | exact (Host.M.Inner.Seq.filteri
        _) | first [unshelve refine (Host.M.Inner.Seq.filteri
        ) | unshelve refine (Host.M.Inner.Seq.filteri
        _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]]);
      Make_result.Host_M_Inner_Seq_filter_map _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Seq.filter_map
        ) | exact (Host.M.Inner.Seq.filter_map
        _) | exact (Host.M.Inner.Seq.filter_map _
        _) | first [unshelve refine (Host.M.Inner.Seq.filter_map
        ) | unshelve refine (Host.M.Inner.Seq.filter_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_Inner_Seq_scan _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.scan
        ) | exact (Host.M.Inner.Seq.scan _) | exact (Host.M.Inner.Seq.scan _
        _) | first [unshelve refine (Host.M.Inner.Seq.scan
        ) | unshelve refine (Host.M.Inner.Seq.scan
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.scan
        _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]]);
      Make_result.Host_M_Inner_Seq_take_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.take_while
        ) | exact (Host.M.Inner.Seq.take_while
        _) | first [unshelve refine (Host.M.Inner.Seq.take_while
        ) | unshelve refine (Host.M.Inner.Seq.take_while
        _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]]);
      Make_result.Host_M_Inner_Seq_drop_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.drop_while
        ) | exact (Host.M.Inner.Seq.drop_while
        _) | first [unshelve refine (Host.M.Inner.Seq.drop_while
        ) | unshelve refine (Host.M.Inner.Seq.drop_while
        _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]]);
      Make_result.Host_M_Inner_Seq_append _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.append
        ) | exact (Host.M.Inner.Seq.append
        _) | first [unshelve refine (Host.M.Inner.Seq.append
        ) | unshelve refine (Host.M.Inner.Seq.append
        _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]]);
      Make_result.Host_M_Inner_Seq_concat _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.concat
        ) | exact (Host.M.Inner.Seq.concat
        _) | first [unshelve refine (Host.M.Inner.Seq.concat
        ) | unshelve refine (Host.M.Inner.Seq.concat
        _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]]);
      Make_result.Host_M_Inner_Seq_flat_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.flat_map
        ) | exact (Host.M.Inner.Seq.flat_map
        _) | exact (Host.M.Inner.Seq.flat_map _
        _) | first [unshelve refine (Host.M.Inner.Seq.flat_map
        ) | unshelve refine (Host.M.Inner.Seq.flat_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.flat_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]]);
      Make_result.Host_M_Inner_Seq_concat_map _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Inner.Seq.concat_map
        ) | exact (Host.M.Inner.Seq.concat_map
        _) | exact (Host.M.Inner.Seq.concat_map _
        _) | first [unshelve refine (Host.M.Inner.Seq.concat_map
        ) | unshelve refine (Host.M.Inner.Seq.concat_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.concat_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]]);
      Make_result.Host_M_Inner_Seq_zip _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.zip ) | exact (Host.M.Inner.Seq.zip
        _) | exact (Host.M.Inner.Seq.zip _
        _) | first [unshelve refine (Host.M.Inner.Seq.zip
        ) | unshelve refine (Host.M.Inner.Seq.zip
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.zip
        _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]]);
      Make_result.Host_M_Inner_Seq_map2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Inner.Seq.map2
        ) | exact (Host.M.Inner.Seq.map2 _) | exact (Host.M.Inner.Seq.map2 _
        _) | exact (Host.M.Inner.Seq.map2 _ _
        _) | first [unshelve refine (Host.M.Inner.Seq.map2
        ) | unshelve refine (Host.M.Inner.Seq.map2
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.map2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.Seq.map2
        _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]]);
      Make_result.Host_M_Inner_Seq_product _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.product
        ) | exact (Host.M.Inner.Seq.product _) | exact (Host.M.Inner.Seq.product
        _ _) | first [unshelve refine (Host.M.Inner.Seq.product
        ) | unshelve refine (Host.M.Inner.Seq.product
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.product
        _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]]);
      Make_result.Host_M_Inner_Seq_map_product _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Inner.Seq.map_product
        ) | exact (Host.M.Inner.Seq.map_product
        _) | exact (Host.M.Inner.Seq.map_product _
        _) | exact (Host.M.Inner.Seq.map_product _ _
        _) | first [unshelve refine (Host.M.Inner.Seq.map_product
        ) | unshelve refine (Host.M.Inner.Seq.map_product
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.map_product
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.Seq.map_product
        _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]]);
      Make_result.Host_M_Inner_Seq_unzip _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.unzip
        ) | exact (Host.M.Inner.Seq.unzip _) | exact (Host.M.Inner.Seq.unzip _
        _) | first [unshelve refine (Host.M.Inner.Seq.unzip
        ) | unshelve refine (Host.M.Inner.Seq.unzip
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.unzip
        _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]]);
      Make_result.Host_M_Inner_Seq_split _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Inner.Seq.split
        ) | exact (Host.M.Inner.Seq.split _) | exact (Host.M.Inner.Seq.split _
        _) | first [unshelve refine (Host.M.Inner.Seq.split
        ) | unshelve refine (Host.M.Inner.Seq.split
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.split
        _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]]);
      Make_result.Host_M_Inner_Seq_partition_map _rocq_argument_0
        _rocq_argument_1 _rocq_argument_2 :=
        ltac:(first [exact (Host.M.Inner.Seq.partition_map
        ) | exact (Host.M.Inner.Seq.partition_map
        _) | exact (Host.M.Inner.Seq.partition_map _
        _) | exact (Host.M.Inner.Seq.partition_map _ _
        _) | first [unshelve refine (Host.M.Inner.Seq.partition_map
        ) | unshelve refine (Host.M.Inner.Seq.partition_map
        _rocq_argument_0) | unshelve refine (Host.M.Inner.Seq.partition_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Inner.Seq.partition_map
        _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]]);
      Make_result.Host_M_Inner_Seq_partition _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Inner.Seq.partition
        ) | exact (Host.M.Inner.Seq.partition
        _) | first [unshelve refine (Host.M.Inner.Seq.partition
        ) | unshelve refine (Host.M.Inner.Seq.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]]);
      Make_result.Host_M_get := Host.M.get;
      Make_result.Host_M_put := Host.M.put;
      Make_result.Host_M_return _rocq_argument_0 :=
        ltac:(first [exact (Host.M._return ) | exact (Host.M._return
        _) | first [unshelve refine (Host.M._return
        ) | unshelve refine (Host.M._return
        _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]]);
      Make_result.op_Host_M_gtgteq _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.op_gtgteq ) | exact (Host.M.op_gtgteq
        _) | exact (Host.M.op_gtgteq _
        _) | first [unshelve refine (Host.M.op_gtgteq
        ) | unshelve refine (Host.M.op_gtgteq
        _rocq_argument_0) | unshelve refine (Host.M.op_gtgteq _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]]);
      Make_result.op_Host_M_letdollar _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.op_letdollar ) | exact (Host.M.op_letdollar
        _) | exact (Host.M.op_letdollar _
        _) | first [unshelve refine (Host.M.op_letdollar
        ) | unshelve refine (Host.M.op_letdollar
        _rocq_argument_0) | unshelve refine (Host.M.op_letdollar
        _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]]);
      Make_result.Host_M_fmap _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.fmap ) | exact (Host.M.fmap
        _) | exact (Host.M.fmap _ _) | first [unshelve refine (Host.M.fmap
        ) | unshelve refine (Host.M.fmap
        _rocq_argument_0) | unshelve refine (Host.M.fmap _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]]);
      Make_result.op_Host_M_ltdollargt _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.op_ltdollargt ) | exact (Host.M.op_ltdollargt
        _) | exact (Host.M.op_ltdollargt _
        _) | first [unshelve refine (Host.M.op_ltdollargt
        ) | unshelve refine (Host.M.op_ltdollargt
        _rocq_argument_0) | unshelve refine (Host.M.op_ltdollargt
        _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]]);
      Make_result.op_Host_M_ltstargt _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.op_ltstargt ) | exact (Host.M.op_ltstargt
        _) | exact (Host.M.op_ltstargt _
        _) | first [unshelve refine (Host.M.op_ltstargt
        ) | unshelve refine (Host.M.op_ltstargt
        _rocq_argument_0) | unshelve refine (Host.M.op_ltstargt _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]]);
      Make_result.op_Host_M_gtgt _rocq_argument_0 :=
        ltac:(first [exact (Host.M.op_gtgt ) | exact (Host.M.op_gtgt
        _) | first [unshelve refine (Host.M.op_gtgt
        ) | unshelve refine (Host.M.op_gtgt
        _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]]);
      Make_result.Host_M_when_ := Host.M.when_;
      Make_result.Host_M_Option_none _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.none ) | exact (Host.M.Option.none
        _) | first [unshelve refine (Host.M.Option.none
        ) | unshelve refine (Host.M.Option.none
        _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]]);
      Make_result.Host_M_Option_some _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.some ) | exact (Host.M.Option.some
        _) | first [unshelve refine (Host.M.Option.some
        ) | unshelve refine (Host.M.Option.some
        _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]]);
      Make_result.Host_M_Option_value _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.value ) | exact (Host.M.Option.value
        _) | first [unshelve refine (Host.M.Option.value
        ) | unshelve refine (Host.M.Option.value
        _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]]);
      Make_result.Host_M_Option_get _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Option.get
        _rocq_witness_0) | unshelve refine (Host.M.Option.get _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Option.get
        ) | unshelve refine (Host.M.Option.get
        _rocq_argument_0) | let value := uconstr:(Host.M.Option.get) 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]);
      Make_result.Host_M_Option_bind _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Option.bind ) | exact (Host.M.Option.bind
        _) | exact (Host.M.Option.bind _
        _) | first [unshelve refine (Host.M.Option.bind
        ) | unshelve refine (Host.M.Option.bind
        _rocq_argument_0) | unshelve refine (Host.M.Option.bind _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]]);
      Make_result.Host_M_Option_join _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.join ) | exact (Host.M.Option.join
        _) | first [unshelve refine (Host.M.Option.join
        ) | unshelve refine (Host.M.Option.join
        _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]]);
      Make_result.Host_M_Option_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Option.map ) | exact (Host.M.Option.map
        _) | exact (Host.M.Option.map _
        _) | first [unshelve refine (Host.M.Option.map
        ) | unshelve refine (Host.M.Option.map
        _rocq_argument_0) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_product _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Option.product
        ) | exact (Host.M.Option.product _) | exact (Host.M.Option.product _
        _) | first [unshelve refine (Host.M.Option.product
        ) | unshelve refine (Host.M.Option.product
        _rocq_argument_0) | unshelve refine (Host.M.Option.product
        _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]]);
      Make_result.Host_M_Option_fold _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Option.fold ) | exact (Host.M.Option.fold
        _) | exact (Host.M.Option.fold _
        _) | first [unshelve refine (Host.M.Option.fold
        ) | unshelve refine (Host.M.Option.fold
        _rocq_argument_0) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_iter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.iter ) | exact (Host.M.Option.iter
        _) | first [unshelve refine (Host.M.Option.iter
        ) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_blend _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.blend ) | exact (Host.M.Option.blend
        _) | first [unshelve refine (Host.M.Option.blend
        ) | unshelve refine (Host.M.Option.blend
        _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]]);
      Make_result.Host_M_Option_for_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.for_all
        ) | exact (Host.M.Option.for_all
        _) | first [unshelve refine (Host.M.Option.for_all
        ) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_exists _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option._exists
        ) | exact (Host.M.Option._exists
        _) | first [unshelve refine (Host.M.Option._exists
        ) | unshelve refine (Host.M.Option._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]]);
      Make_result.Host_M_Option_is_none _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.is_none
        ) | exact (Host.M.Option.is_none
        _) | first [unshelve refine (Host.M.Option.is_none
        ) | unshelve refine (Host.M.Option.is_none
        _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]]);
      Make_result.Host_M_Option_is_some _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.is_some
        ) | exact (Host.M.Option.is_some
        _) | first [unshelve refine (Host.M.Option.is_some
        ) | unshelve refine (Host.M.Option.is_some
        _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]]);
      Make_result.Host_M_Option_equal _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.equal ) | exact (Host.M.Option.equal
        _) | first [unshelve refine (Host.M.Option.equal
        ) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_compare _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.compare
        ) | exact (Host.M.Option.compare
        _) | first [unshelve refine (Host.M.Option.compare
        ) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_to_result _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Option.to_result
        ) | exact (Host.M.Option.to_result _) | exact (Host.M.Option.to_result _
        _) | first [unshelve refine (Host.M.Option.to_result
        ) | unshelve refine (Host.M.Option.to_result
        _rocq_argument_0) | unshelve refine (Host.M.Option.to_result
        _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]]);
      Make_result.Host_M_Option_to_list _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.to_list
        ) | exact (Host.M.Option.to_list
        _) | first [unshelve refine (Host.M.Option.to_list
        ) | unshelve refine (Host.M.Option.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]]);
      Make_result.Host_M_Option_to_seq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.to_seq ) | exact (Host.M.Option.to_seq
        _) | first [unshelve refine (Host.M.Option.to_seq
        ) | unshelve refine (Host.M.Option.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]]);
      Make_result.op_Host_M_Option_Syntax_letstar _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Option.Syntax.op_letstar
        ) | exact (Host.M.Option.Syntax.op_letstar
        _) | exact (Host.M.Option.Syntax.op_letstar _
        _) | first [unshelve refine (Host.M.Option.Syntax.op_letstar
        ) | unshelve refine (Host.M.Option.Syntax.op_letstar
        _rocq_argument_0) | unshelve refine (Host.M.Option.Syntax.op_letstar
        _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]]);
      Make_result.op_Host_M_Option_Syntax_andstar _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Option.Syntax.op_andstar
        ) | exact (Host.M.Option.Syntax.op_andstar
        _) | exact (Host.M.Option.Syntax.op_andstar _
        _) | first [unshelve refine (Host.M.Option.Syntax.op_andstar
        ) | unshelve refine (Host.M.Option.Syntax.op_andstar
        _rocq_argument_0) | unshelve refine (Host.M.Option.Syntax.op_andstar
        _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]]);
      Make_result.op_Host_M_Option_Syntax_letplus _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Option.Syntax.op_letplus
        ) | exact (Host.M.Option.Syntax.op_letplus
        _) | exact (Host.M.Option.Syntax.op_letplus _
        _) | first [unshelve refine (Host.M.Option.Syntax.op_letplus
        ) | unshelve refine (Host.M.Option.Syntax.op_letplus
        _rocq_argument_0) | unshelve refine (Host.M.Option.Syntax.op_letplus
        _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]]);
      Make_result.op_Host_M_Option_Syntax_andplus _rocq_argument_0
        _rocq_argument_1 := ltac:(first [exact (Host.M.Option.Syntax.op_andplus
        ) | exact (Host.M.Option.Syntax.op_andplus
        _) | exact (Host.M.Option.Syntax.op_andplus _
        _) | first [unshelve refine (Host.M.Option.Syntax.op_andplus
        ) | unshelve refine (Host.M.Option.Syntax.op_andplus
        _rocq_argument_0) | unshelve refine (Host.M.Option.Syntax.op_andplus
        _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]]);
      Make_result.Host_M_Option_get_or_create _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.get_or_create
        ) | exact (Host.M.Option.get_or_create
        _) | first [unshelve refine (Host.M.Option.get_or_create
        ) | unshelve refine (Host.M.Option.get_or_create
        _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]]);
      Make_result.Host_M_Option_get_or_default _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.get_or_default
        ) | exact (Host.M.Option.get_or_default
        _) | first [unshelve refine (Host.M.Option.get_or_default
        ) | unshelve refine (Host.M.Option.get_or_default
        _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]]);
      Make_result.Host_M_Option_get_or_throw _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.Option.get_or_throw
        _rocq_witness_0) | unshelve refine (Host.M.Option.get_or_throw
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.Option.get_or_throw
        ) | unshelve refine (Host.M.Option.get_or_throw
        _rocq_argument_0) | let value := uconstr:(Host.M.Option.get_or_throw) 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]);
      Make_result.op_Host_M_Option_gtgteq _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Option.op_gtgteq
        ) | exact (Host.M.Option.op_gtgteq _) | exact (Host.M.Option.op_gtgteq _
        _) | first [unshelve refine (Host.M.Option.op_gtgteq
        ) | unshelve refine (Host.M.Option.op_gtgteq
        _rocq_argument_0) | unshelve refine (Host.M.Option.op_gtgteq
        _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]]);
      Make_result.op_Host_M_Option_letdollar _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.Option.op_letdollar
        ) | exact (Host.M.Option.op_letdollar
        _) | exact (Host.M.Option.op_letdollar _
        _) | first [unshelve refine (Host.M.Option.op_letdollar
        ) | unshelve refine (Host.M.Option.op_letdollar
        _rocq_argument_0) | unshelve refine (Host.M.Option.op_letdollar
        _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]]);
      Make_result.Host_M_Option_return _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option._return
        ) | exact (Host.M.Option._return
        _) | first [unshelve refine (Host.M.Option._return
        ) | unshelve refine (Host.M.Option._return
        _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]]);
      Make_result.Host_M_Option_ensure := Host.M.Option.ensure;
      Make_result.Host_M_Option_iterM _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Option.iterM ) | exact (Host.M.Option.iterM
        _) | first [unshelve refine (Host.M.Option.iterM
        ) | unshelve refine (Host.M.Option.iterM
        _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]]);
      Make_result.Host_M_List_length _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.length ) | exact (Host.M.List.length
        _) | first [unshelve refine (Host.M.List.length
        ) | unshelve refine (Host.M.List.length
        _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]]);
      Make_result.Host_M_List_compare_lengths _rocq_argument_0 _rocq_argument_1
      := ltac:(first [exact (Host.M.List.compare_lengths
        ) | exact (Host.M.List.compare_lengths
        _) | exact (Host.M.List.compare_lengths _
        _) | first [unshelve refine (Host.M.List.compare_lengths
        ) | unshelve refine (Host.M.List.compare_lengths
        _rocq_argument_0) | unshelve refine (Host.M.List.compare_lengths
        _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]]);
      Make_result.Host_M_List_compare_length_with _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.compare_length_with
        ) | exact (Host.M.List.compare_length_with
        _) | first [unshelve refine (Host.M.List.compare_length_with
        ) | unshelve refine (Host.M.List.compare_length_with
        _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]]);
      Make_result.Host_M_List_is_empty _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.is_empty ) | exact (Host.M.List.is_empty
        _) | first [unshelve refine (Host.M.List.is_empty
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_cons _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.cons ) | exact (Host.M.List.cons
        _) | first [unshelve refine (Host.M.List.cons
        ) | unshelve refine (Host.M.List.cons
        _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]]);
      Make_result.Host_M_List_singleton _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.singleton
        ) | exact (Host.M.List.singleton
        _) | first [unshelve refine (Host.M.List.singleton
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_hd _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.hd
        _rocq_witness_0) | unshelve refine (Host.M.List.hd _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.hd
        ) | unshelve refine (Host.M.List.hd
        _rocq_argument_0) | let value := uconstr:(Host.M.List.hd) 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]);
      Make_result.Host_M_List_tl _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.tl
        _rocq_witness_0) | unshelve refine (Host.M.List.tl _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.tl
        ) | unshelve refine (Host.M.List.tl
        _rocq_argument_0) | let value := uconstr:(Host.M.List.tl) 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]);
      Make_result.Host_M_List_nth _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.nth
        _rocq_witness_0) | unshelve refine (Host.M.List.nth _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.nth
        ) | unshelve refine (Host.M.List.nth
        _rocq_argument_0) | let value := uconstr:(Host.M.List.nth) 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]);
      Make_result.Host_M_List_nth_opt _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.nth_opt
        _rocq_witness_0) | unshelve refine (Host.M.List.nth_opt _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.nth_opt
        ) | unshelve refine (Host.M.List.nth_opt
        _rocq_argument_0) | let value := uconstr:(Host.M.List.nth_opt) 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]);
      Make_result.Host_M_List_rev _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.rev ) | exact (Host.M.List.rev
        _) | first [unshelve refine (Host.M.List.rev
        ) | unshelve refine (Host.M.List.rev
        _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]]);
      Make_result.Host_M_List_init _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.init
        _rocq_witness_0) | unshelve refine (Host.M.List.init _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.init
        ) | unshelve refine (Host.M.List.init
        _rocq_argument_0) | let value := uconstr:(Host.M.List.init) 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]);
      Make_result.Host_M_List_append _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.append ) | exact (Host.M.List.append
        _) | first [unshelve refine (Host.M.List.append
        ) | unshelve refine (Host.M.List.append
        _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]]);
      Make_result.Host_M_List_rev_append _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.rev_append
        ) | exact (Host.M.List.rev_append
        _) | first [unshelve refine (Host.M.List.rev_append
        ) | unshelve refine (Host.M.List.rev_append
        _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]]);
      Make_result.Host_M_List_concat _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.concat ) | exact (Host.M.List.concat
        _) | first [unshelve refine (Host.M.List.concat
        ) | unshelve refine (Host.M.List.concat
        _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]]);
      Make_result.Host_M_List_flatten _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.flatten ) | exact (Host.M.List.flatten
        _) | first [unshelve refine (Host.M.List.flatten
        ) | unshelve refine (Host.M.List.flatten
        _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]]);
      Make_result.Host_M_List_equal _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.equal ) | exact (Host.M.List.equal
        _) | first [unshelve refine (Host.M.List.equal
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_compare _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.compare ) | exact (Host.M.List.compare
        _) | first [unshelve refine (Host.M.List.compare
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_iter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.iter ) | exact (Host.M.List.iter
        _) | first [unshelve refine (Host.M.List.iter
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_iteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.iteri ) | exact (Host.M.List.iteri
        _) | first [unshelve refine (Host.M.List.iteri
        ) | unshelve refine (Host.M.List.iteri
        _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]]);
      Make_result.Host_M_List_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.map ) | exact (Host.M.List.map
        _) | exact (Host.M.List.map _
        _) | first [unshelve refine (Host.M.List.map
        ) | unshelve refine (Host.M.List.map
        _rocq_argument_0) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.mapi ) | exact (Host.M.List.mapi
        _) | exact (Host.M.List.mapi _
        _) | first [unshelve refine (Host.M.List.mapi
        ) | unshelve refine (Host.M.List.mapi
        _rocq_argument_0) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_rev_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.rev_map ) | exact (Host.M.List.rev_map
        _) | exact (Host.M.List.rev_map _
        _) | first [unshelve refine (Host.M.List.rev_map
        ) | unshelve refine (Host.M.List.rev_map
        _rocq_argument_0) | unshelve refine (Host.M.List.rev_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]]);
      Make_result.Host_M_List_filter_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.filter_map
        ) | exact (Host.M.List.filter_map _) | exact (Host.M.List.filter_map _
        _) | first [unshelve refine (Host.M.List.filter_map
        ) | unshelve refine (Host.M.List.filter_map
        _rocq_argument_0) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_filter_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.filter_mapi
        ) | exact (Host.M.List.filter_mapi _) | exact (Host.M.List.filter_mapi _
        _) | first [unshelve refine (Host.M.List.filter_mapi
        ) | unshelve refine (Host.M.List.filter_mapi
        _rocq_argument_0) | unshelve refine (Host.M.List.filter_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]]);
      Make_result.Host_M_List_concat_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.concat_map
        ) | exact (Host.M.List.concat_map _) | exact (Host.M.List.concat_map _
        _) | first [unshelve refine (Host.M.List.concat_map
        ) | unshelve refine (Host.M.List.concat_map
        _rocq_argument_0) | unshelve refine (Host.M.List.concat_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]]);
      Make_result.Host_M_List_fold_left_map _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.List.fold_left_map
        ) | exact (Host.M.List.fold_left_map
        _) | exact (Host.M.List.fold_left_map _
        _) | exact (Host.M.List.fold_left_map _ _
        _) | first [unshelve refine (Host.M.List.fold_left_map
        ) | unshelve refine (Host.M.List.fold_left_map
        _rocq_argument_0) | unshelve refine (Host.M.List.fold_left_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.fold_left_map
        _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]]);
      Make_result.Host_M_List_fold_left _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.fold_left
        ) | exact (Host.M.List.fold_left _) | exact (Host.M.List.fold_left _
        _) | first [unshelve refine (Host.M.List.fold_left
        ) | unshelve refine (Host.M.List.fold_left
        _rocq_argument_0) | unshelve refine (Host.M.List.fold_left
        _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]]);
      Make_result.Host_M_List_fold_right _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.fold_right
        ) | exact (Host.M.List.fold_right _) | exact (Host.M.List.fold_right _
        _) | first [unshelve refine (Host.M.List.fold_right
        ) | unshelve refine (Host.M.List.fold_right
        _rocq_argument_0) | unshelve refine (Host.M.List.fold_right
        _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]]);
      Make_result.Host_M_List_iter2 _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.List.iter2
        _rocq_witness_0) | unshelve refine (Host.M.List.iter2 _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.iter2 _rocq_argument_0
        _rocq_argument_1 _rocq_witness_0) | unshelve refine (Host.M.List.iter2
        ) | unshelve refine (Host.M.List.iter2
        _rocq_argument_0) | unshelve refine (Host.M.List.iter2 _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.List.iter2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_map2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.map2
        _rocq_witness_0) | unshelve refine (Host.M.List.map2 _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.map2 _rocq_argument_0
        _rocq_argument_1 _rocq_witness_0) | unshelve refine (Host.M.List.map2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.List.map2
        ) | unshelve refine (Host.M.List.map2
        _rocq_argument_0) | unshelve refine (Host.M.List.map2 _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.map2 _rocq_argument_0
        _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.List.map2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_rev_map2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.rev_map2
        _rocq_witness_0) | unshelve refine (Host.M.List.rev_map2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.rev_map2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.List.rev_map2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.List.rev_map2
        ) | unshelve refine (Host.M.List.rev_map2
        _rocq_argument_0) | unshelve refine (Host.M.List.rev_map2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.rev_map2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.List.rev_map2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_fold_left2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.fold_left2
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_left2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_left2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_left2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_left2
        ) | unshelve refine (Host.M.List.fold_left2
        _rocq_argument_0) | unshelve refine (Host.M.List.fold_left2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.fold_left2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.List.fold_left2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_fold_right2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.fold_right2
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_right2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_right2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_right2
        _rocq_argument_0 _rocq_argument_1 _rocq_argument_2
        _rocq_witness_0) | unshelve refine (Host.M.List.fold_right2
        ) | unshelve refine (Host.M.List.fold_right2
        _rocq_argument_0) | unshelve refine (Host.M.List.fold_right2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.fold_right2
        _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2) | let value := uconstr:(Host.M.List.fold_right2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | 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 | exact
        _rocq_argument_1 | exact
        _rocq_argument_2 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_for_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.for_all ) | exact (Host.M.List.for_all
        _) | first [unshelve refine (Host.M.List.for_all
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_exists _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List._exists ) | exact (Host.M.List._exists
        _) | first [unshelve refine (Host.M.List._exists
        ) | unshelve refine (Host.M.List._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]]);
      Make_result.Host_M_List_for_all2 _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.List.for_all2
        _rocq_witness_0) | unshelve refine (Host.M.List.for_all2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.for_all2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.List.for_all2
        ) | unshelve refine (Host.M.List.for_all2
        _rocq_argument_0) | unshelve refine (Host.M.List.for_all2
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.List.for_all2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_exists2 _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.List._exists2
        _rocq_witness_0) | unshelve refine (Host.M.List._exists2
        _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List._exists2
        _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0) | unshelve refine (Host.M.List._exists2
        ) | unshelve refine (Host.M.List._exists2
        _rocq_argument_0) | unshelve refine (Host.M.List._exists2
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.List._exists2) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_mem _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.mem ) | exact (Host.M.List.mem
        _) | first [unshelve refine (Host.M.List.mem
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_memq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.memq ) | exact (Host.M.List.memq
        _) | first [unshelve refine (Host.M.List.memq
        ) | unshelve refine (Host.M.List.memq
        _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]]);
      Make_result.Host_M_List_find _rocq_argument_0 _rocq_witness_0 :=
        ltac:(first [unshelve refine (Host.M.List.find
        _rocq_witness_0) | unshelve refine (Host.M.List.find _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.find
        ) | unshelve refine (Host.M.List.find
        _rocq_argument_0) | let value := uconstr:(Host.M.List.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]);
      Make_result.Host_M_List_find_opt _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.find_opt ) | exact (Host.M.List.find_opt
        _) | first [unshelve refine (Host.M.List.find_opt
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_find_index _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.find_index
        ) | exact (Host.M.List.find_index
        _) | first [unshelve refine (Host.M.List.find_index
        ) | unshelve refine (Host.M.List.find_index
        _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]]);
      Make_result.Host_M_List_find_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.find_map ) | exact (Host.M.List.find_map
        _) | exact (Host.M.List.find_map _
        _) | first [unshelve refine (Host.M.List.find_map
        ) | unshelve refine (Host.M.List.find_map
        _rocq_argument_0) | unshelve refine (Host.M.List.find_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]]);
      Make_result.Host_M_List_find_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.find_mapi
        ) | exact (Host.M.List.find_mapi _) | exact (Host.M.List.find_mapi _
        _) | first [unshelve refine (Host.M.List.find_mapi
        ) | unshelve refine (Host.M.List.find_mapi
        _rocq_argument_0) | unshelve refine (Host.M.List.find_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]]);
      Make_result.Host_M_List_filter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.filter ) | exact (Host.M.List.filter
        _) | first [unshelve refine (Host.M.List.filter
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_find_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.find_all ) | exact (Host.M.List.find_all
        _) | first [unshelve refine (Host.M.List.find_all
        ) | unshelve refine (Host.M.List.find_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]]);
      Make_result.Host_M_List_filteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.filteri ) | exact (Host.M.List.filteri
        _) | first [unshelve refine (Host.M.List.filteri
        ) | unshelve refine (Host.M.List.filteri
        _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]]);
      Make_result.Host_M_List_take _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.take ) | exact (Host.M.List.take
        _) | first [unshelve refine (Host.M.List.take
        ) | unshelve refine (Host.M.List.take
        _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]]);
      Make_result.Host_M_List_drop _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.drop ) | exact (Host.M.List.drop
        _) | first [unshelve refine (Host.M.List.drop
        ) | unshelve refine (Host.M.List.drop
        _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]]);
      Make_result.Host_M_List_take_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.take_while
        ) | exact (Host.M.List.take_while
        _) | first [unshelve refine (Host.M.List.take_while
        ) | unshelve refine (Host.M.List.take_while
        _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]]);
      Make_result.Host_M_List_drop_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.drop_while
        ) | exact (Host.M.List.drop_while
        _) | first [unshelve refine (Host.M.List.drop_while
        ) | unshelve refine (Host.M.List.drop_while
        _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]]);
      Make_result.Host_M_List_partition _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.partition
        ) | exact (Host.M.List.partition
        _) | first [unshelve refine (Host.M.List.partition
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_partition_map _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.List.partition_map
        ) | exact (Host.M.List.partition_map
        _) | exact (Host.M.List.partition_map _
        _) | exact (Host.M.List.partition_map _ _
        _) | first [unshelve refine (Host.M.List.partition_map
        ) | unshelve refine (Host.M.List.partition_map
        _rocq_argument_0) | unshelve refine (Host.M.List.partition_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.partition_map
        _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]]);
      Make_result.Host_M_List_assoc _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.List.assoc
        _rocq_witness_0) | unshelve refine (Host.M.List.assoc _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.assoc _rocq_argument_0
        _rocq_argument_1 _rocq_witness_0) | unshelve refine (Host.M.List.assoc
        ) | unshelve refine (Host.M.List.assoc
        _rocq_argument_0) | unshelve refine (Host.M.List.assoc _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.List.assoc) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_assoc_opt _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.assoc_opt
        ) | exact (Host.M.List.assoc_opt _) | exact (Host.M.List.assoc_opt _
        _) | first [unshelve refine (Host.M.List.assoc_opt
        ) | unshelve refine (Host.M.List.assoc_opt
        _rocq_argument_0) | unshelve refine (Host.M.List.assoc_opt
        _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]]);
      Make_result.Host_M_List_assq _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.List.assq
        _rocq_witness_0) | unshelve refine (Host.M.List.assq _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.assq _rocq_argument_0
        _rocq_argument_1 _rocq_witness_0) | unshelve refine (Host.M.List.assq
        ) | unshelve refine (Host.M.List.assq
        _rocq_argument_0) | unshelve refine (Host.M.List.assq _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.List.assq) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_assq_opt _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.assq_opt ) | exact (Host.M.List.assq_opt
        _) | exact (Host.M.List.assq_opt _
        _) | first [unshelve refine (Host.M.List.assq_opt
        ) | unshelve refine (Host.M.List.assq_opt
        _rocq_argument_0) | unshelve refine (Host.M.List.assq_opt
        _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]]);
      Make_result.Host_M_List_mem_assoc _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.mem_assoc
        ) | exact (Host.M.List.mem_assoc _) | exact (Host.M.List.mem_assoc _
        _) | first [unshelve refine (Host.M.List.mem_assoc
        ) | unshelve refine (Host.M.List.mem_assoc
        _rocq_argument_0) | unshelve refine (Host.M.List.mem_assoc
        _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]]);
      Make_result.Host_M_List_mem_assq _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.mem_assq ) | exact (Host.M.List.mem_assq
        _) | exact (Host.M.List.mem_assq _
        _) | first [unshelve refine (Host.M.List.mem_assq
        ) | unshelve refine (Host.M.List.mem_assq
        _rocq_argument_0) | unshelve refine (Host.M.List.mem_assq
        _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]]);
      Make_result.Host_M_List_remove_assoc _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.remove_assoc
        ) | exact (Host.M.List.remove_assoc _) | exact (Host.M.List.remove_assoc
        _ _) | first [unshelve refine (Host.M.List.remove_assoc
        ) | unshelve refine (Host.M.List.remove_assoc
        _rocq_argument_0) | unshelve refine (Host.M.List.remove_assoc
        _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]]);
      Make_result.Host_M_List_remove_assq _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.remove_assq
        ) | exact (Host.M.List.remove_assq _) | exact (Host.M.List.remove_assq _
        _) | first [unshelve refine (Host.M.List.remove_assq
        ) | unshelve refine (Host.M.List.remove_assq
        _rocq_argument_0) | unshelve refine (Host.M.List.remove_assq
        _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]]);
      Make_result.Host_M_List_split _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.split ) | exact (Host.M.List.split
        _) | exact (Host.M.List.split _
        _) | first [unshelve refine (Host.M.List.split
        ) | unshelve refine (Host.M.List.split
        _rocq_argument_0) | unshelve refine (Host.M.List.split _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]]);
      Make_result.Host_M_List_split_map _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.List.split_map
        ) | exact (Host.M.List.split_map _) | exact (Host.M.List.split_map _
        _) | exact (Host.M.List.split_map _ _
        _) | first [unshelve refine (Host.M.List.split_map
        ) | unshelve refine (Host.M.List.split_map
        _rocq_argument_0) | unshelve refine (Host.M.List.split_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.List.split_map
        _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]]);
      Make_result.Host_M_List_combine _rocq_argument_0 _rocq_argument_1
        _rocq_witness_0 := ltac:(first [unshelve refine (Host.M.List.combine
        _rocq_witness_0) | unshelve refine (Host.M.List.combine _rocq_argument_0
        _rocq_witness_0) | unshelve refine (Host.M.List.combine _rocq_argument_0
        _rocq_argument_1 _rocq_witness_0) | unshelve refine (Host.M.List.combine
        ) | unshelve refine (Host.M.List.combine
        _rocq_argument_0) | unshelve refine (Host.M.List.combine
        _rocq_argument_0
        _rocq_argument_1) | let value := uconstr:(Host.M.List.combine) in RocqOfOCaml.Opaque.supply_witnesses value ltac:(first [exact
        _rocq_witness_0 | exact _rocq_argument_0 | exact
        _rocq_argument_1 | 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 | exact
        _rocq_argument_1 | eassumption | typeclasses eauto]);
      Make_result.Host_M_List_sort _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.sort ) | exact (Host.M.List.sort
        _) | first [unshelve refine (Host.M.List.sort
        ) | unshelve refine (Host.M.List.sort
        _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]]);
      Make_result.Host_M_List_stable_sort _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.stable_sort
        ) | exact (Host.M.List.stable_sort
        _) | first [unshelve refine (Host.M.List.stable_sort
        ) | unshelve refine (Host.M.List.stable_sort
        _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]]);
      Make_result.Host_M_List_fast_sort _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.fast_sort
        ) | exact (Host.M.List.fast_sort
        _) | first [unshelve refine (Host.M.List.fast_sort
        ) | unshelve refine (Host.M.List.fast_sort
        _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]]);
      Make_result.Host_M_List_sort_uniq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.sort_uniq
        ) | exact (Host.M.List.sort_uniq
        _) | first [unshelve refine (Host.M.List.sort_uniq
        ) | unshelve refine (Host.M.List.sort_uniq
        _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]]);
      Make_result.Host_M_List_merge _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.merge ) | exact (Host.M.List.merge
        _) | first [unshelve refine (Host.M.List.merge
        ) | unshelve refine (Host.M.List.merge
        _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]]);
      Make_result.Host_M_List_to_seq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.to_seq ) | exact (Host.M.List.to_seq
        _) | first [unshelve refine (Host.M.List.to_seq
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_of_seq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.of_seq ) | exact (Host.M.List.of_seq
        _) | first [unshelve refine (Host.M.List.of_seq
        ) | unshelve refine (Host.M.List.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]]);
      Make_result.Host_M_List_sequence _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.sequence ) | exact (Host.M.List.sequence
        _) | first [unshelve refine (Host.M.List.sequence
        ) | unshelve refine (Host.M.List.sequence
        _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]]);
      Make_result.Host_M_List_fold_leftM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.fold_leftM
        ) | exact (Host.M.List.fold_leftM _) | exact (Host.M.List.fold_leftM _
        _) | first [unshelve refine (Host.M.List.fold_leftM
        ) | unshelve refine (Host.M.List.fold_leftM
        _rocq_argument_0) | unshelve refine (Host.M.List.fold_leftM
        _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]]);
      Make_result.Host_M_List_iterM _rocq_argument_0 :=
        ltac:(first [exact (Host.M.List.iterM ) | exact (Host.M.List.iterM
        _) | first [unshelve refine (Host.M.List.iterM
        ) | unshelve refine (Host.M.List.iterM
        _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]]);
      Make_result.Host_M_List_mapM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.List.mapM ) | exact (Host.M.List.mapM
        _) | exact (Host.M.List.mapM _
        _) | first [unshelve refine (Host.M.List.mapM
        ) | unshelve refine (Host.M.List.mapM
        _rocq_argument_0) | unshelve refine (Host.M.List.mapM _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]]);
      Make_result.Host_M_Seq_sequence _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.sequence ) | exact (Host.M.Seq.sequence
        _) | first [unshelve refine (Host.M.Seq.sequence
        ) | unshelve refine (Host.M.Seq.sequence
        _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]]);
      Make_result.Host_M_Seq_mapM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.mapM ) | exact (Host.M.Seq.mapM
        _) | exact (Host.M.Seq.mapM _
        _) | first [unshelve refine (Host.M.Seq.mapM
        ) | unshelve refine (Host.M.Seq.mapM
        _rocq_argument_0) | unshelve refine (Host.M.Seq.mapM _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]]);
      Make_result.Host_M_Seq_fold_leftM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.fold_leftM
        ) | exact (Host.M.Seq.fold_leftM _) | exact (Host.M.Seq.fold_leftM _
        _) | first [unshelve refine (Host.M.Seq.fold_leftM
        ) | unshelve refine (Host.M.Seq.fold_leftM
        _rocq_argument_0) | unshelve refine (Host.M.Seq.fold_leftM
        _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]]);
      Make_result.Host_M_Seq_iterM _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.iterM ) | exact (Host.M.Seq.iterM
        _) | first [unshelve refine (Host.M.Seq.iterM
        ) | unshelve refine (Host.M.Seq.iterM
        _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]]);
      Make_result.Host_M_Seq_foldM _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.foldM ) | exact (Host.M.Seq.foldM
        _) | exact (Host.M.Seq.foldM _
        _) | first [unshelve refine (Host.M.Seq.foldM
        ) | unshelve refine (Host.M.Seq.foldM
        _rocq_argument_0) | unshelve refine (Host.M.Seq.foldM _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]]);
      Make_result.Host_M_Seq_is_empty _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.is_empty ) | exact (Host.M.Seq.is_empty
        _) | first [unshelve refine (Host.M.Seq.is_empty
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_uncons _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.uncons ) | exact (Host.M.Seq.uncons
        _) | first [unshelve refine (Host.M.Seq.uncons
        ) | unshelve refine (Host.M.Seq.uncons
        _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]]);
      Make_result.Host_M_Seq_length _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.length ) | exact (Host.M.Seq.length
        _) | first [unshelve refine (Host.M.Seq.length
        ) | unshelve refine (Host.M.Seq.length
        _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]]);
      Make_result.Host_M_Seq_iter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.iter ) | exact (Host.M.Seq.iter
        _) | first [unshelve refine (Host.M.Seq.iter
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_fold_left _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.fold_left ) | exact (Host.M.Seq.fold_left
        _) | exact (Host.M.Seq.fold_left _
        _) | first [unshelve refine (Host.M.Seq.fold_left
        ) | unshelve refine (Host.M.Seq.fold_left
        _rocq_argument_0) | unshelve refine (Host.M.Seq.fold_left
        _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]]);
      Make_result.Host_M_Seq_iteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.iteri ) | exact (Host.M.Seq.iteri
        _) | first [unshelve refine (Host.M.Seq.iteri
        ) | unshelve refine (Host.M.Seq.iteri
        _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]]);
      Make_result.Host_M_Seq_fold_lefti _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.fold_lefti
        ) | exact (Host.M.Seq.fold_lefti _) | exact (Host.M.Seq.fold_lefti _
        _) | first [unshelve refine (Host.M.Seq.fold_lefti
        ) | unshelve refine (Host.M.Seq.fold_lefti
        _rocq_argument_0) | unshelve refine (Host.M.Seq.fold_lefti
        _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]]);
      Make_result.Host_M_Seq_for_all _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.for_all ) | exact (Host.M.Seq.for_all
        _) | first [unshelve refine (Host.M.Seq.for_all
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_exists _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq._exists ) | exact (Host.M.Seq._exists
        _) | first [unshelve refine (Host.M.Seq._exists
        ) | unshelve refine (Host.M.Seq._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]]);
      Make_result.Host_M_Seq_find _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.find ) | exact (Host.M.Seq.find
        _) | first [unshelve refine (Host.M.Seq.find
        ) | unshelve refine (Host.M.Seq.find
        _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]]);
      Make_result.Host_M_Seq_find_index _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.find_index
        ) | exact (Host.M.Seq.find_index
        _) | first [unshelve refine (Host.M.Seq.find_index
        ) | unshelve refine (Host.M.Seq.find_index
        _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]]);
      Make_result.Host_M_Seq_find_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.find_map ) | exact (Host.M.Seq.find_map
        _) | exact (Host.M.Seq.find_map _
        _) | first [unshelve refine (Host.M.Seq.find_map
        ) | unshelve refine (Host.M.Seq.find_map
        _rocq_argument_0) | unshelve refine (Host.M.Seq.find_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]]);
      Make_result.Host_M_Seq_find_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.find_mapi ) | exact (Host.M.Seq.find_mapi
        _) | exact (Host.M.Seq.find_mapi _
        _) | first [unshelve refine (Host.M.Seq.find_mapi
        ) | unshelve refine (Host.M.Seq.find_mapi
        _rocq_argument_0) | unshelve refine (Host.M.Seq.find_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]]);
      Make_result.Host_M_Seq_iter2 _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.iter2 ) | exact (Host.M.Seq.iter2
        _) | exact (Host.M.Seq.iter2 _
        _) | first [unshelve refine (Host.M.Seq.iter2
        ) | unshelve refine (Host.M.Seq.iter2
        _rocq_argument_0) | unshelve refine (Host.M.Seq.iter2 _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]]);
      Make_result.Host_M_Seq_fold_left2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Seq.fold_left2
        ) | exact (Host.M.Seq.fold_left2 _) | exact (Host.M.Seq.fold_left2 _
        _) | exact (Host.M.Seq.fold_left2 _ _
        _) | first [unshelve refine (Host.M.Seq.fold_left2
        ) | unshelve refine (Host.M.Seq.fold_left2
        _rocq_argument_0) | unshelve refine (Host.M.Seq.fold_left2
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Seq.fold_left2
        _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]]);
      Make_result.Host_M_Seq_for_all2 _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.for_all2 ) | exact (Host.M.Seq.for_all2
        _) | exact (Host.M.Seq.for_all2 _
        _) | first [unshelve refine (Host.M.Seq.for_all2
        ) | unshelve refine (Host.M.Seq.for_all2
        _rocq_argument_0) | unshelve refine (Host.M.Seq.for_all2
        _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]]);
      Make_result.Host_M_Seq_exists2 _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq._exists2 ) | exact (Host.M.Seq._exists2
        _) | exact (Host.M.Seq._exists2 _
        _) | first [unshelve refine (Host.M.Seq._exists2
        ) | unshelve refine (Host.M.Seq._exists2
        _rocq_argument_0) | unshelve refine (Host.M.Seq._exists2
        _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]]);
      Make_result.Host_M_Seq_equal _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.equal ) | exact (Host.M.Seq.equal
        _) | exact (Host.M.Seq.equal _
        _) | first [unshelve refine (Host.M.Seq.equal
        ) | unshelve refine (Host.M.Seq.equal
        _rocq_argument_0) | unshelve refine (Host.M.Seq.equal _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]]);
      Make_result.Host_M_Seq_compare _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.compare ) | exact (Host.M.Seq.compare
        _) | exact (Host.M.Seq.compare _
        _) | first [unshelve refine (Host.M.Seq.compare
        ) | unshelve refine (Host.M.Seq.compare
        _rocq_argument_0) | unshelve refine (Host.M.Seq.compare _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]]);
      Make_result.Host_M_Seq_empty _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.empty ) | exact (Host.M.Seq.empty
        _) | first [unshelve refine (Host.M.Seq.empty
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_return _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq._return ) | exact (Host.M.Seq._return
        _) | first [unshelve refine (Host.M.Seq._return
        ) | unshelve refine (Host.M.Seq._return
        _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]]);
      Make_result.Host_M_Seq_cons _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.cons ) | exact (Host.M.Seq.cons
        _) | first [unshelve refine (Host.M.Seq.cons
        ) | unshelve refine (Host.M.Seq.cons
        _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]]);
      Make_result.Host_M_Seq_singleton _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.singleton ) | exact (Host.M.Seq.singleton
        _) | first [unshelve refine (Host.M.Seq.singleton
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_delay _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.delay ) | exact (Host.M.Seq.delay
        _) | first [unshelve refine (Host.M.Seq.delay
        ) | unshelve refine (Host.M.Seq.delay
        _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]]);
      Make_result.Host_M_Seq_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.map ) | exact (Host.M.Seq.map
        _) | exact (Host.M.Seq.map _ _) | first [unshelve refine (Host.M.Seq.map
        ) | unshelve refine (Host.M.Seq.map
        _rocq_argument_0) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_mapi _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.mapi ) | exact (Host.M.Seq.mapi
        _) | exact (Host.M.Seq.mapi _
        _) | first [unshelve refine (Host.M.Seq.mapi
        ) | unshelve refine (Host.M.Seq.mapi
        _rocq_argument_0) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_filter _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.filter ) | exact (Host.M.Seq.filter
        _) | first [unshelve refine (Host.M.Seq.filter
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_filteri _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.filteri ) | exact (Host.M.Seq.filteri
        _) | first [unshelve refine (Host.M.Seq.filteri
        ) | unshelve refine (Host.M.Seq.filteri
        _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]]);
      Make_result.Host_M_Seq_filter_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.filter_map
        ) | exact (Host.M.Seq.filter_map _) | exact (Host.M.Seq.filter_map _
        _) | first [unshelve refine (Host.M.Seq.filter_map
        ) | unshelve refine (Host.M.Seq.filter_map
        _rocq_argument_0) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_Seq_scan _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.scan ) | exact (Host.M.Seq.scan
        _) | exact (Host.M.Seq.scan _
        _) | first [unshelve refine (Host.M.Seq.scan
        ) | unshelve refine (Host.M.Seq.scan
        _rocq_argument_0) | unshelve refine (Host.M.Seq.scan _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]]);
      Make_result.Host_M_Seq_take_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.take_while
        ) | exact (Host.M.Seq.take_while
        _) | first [unshelve refine (Host.M.Seq.take_while
        ) | unshelve refine (Host.M.Seq.take_while
        _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]]);
      Make_result.Host_M_Seq_drop_while _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.drop_while
        ) | exact (Host.M.Seq.drop_while
        _) | first [unshelve refine (Host.M.Seq.drop_while
        ) | unshelve refine (Host.M.Seq.drop_while
        _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]]);
      Make_result.Host_M_Seq_append _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.append ) | exact (Host.M.Seq.append
        _) | first [unshelve refine (Host.M.Seq.append
        ) | unshelve refine (Host.M.Seq.append
        _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]]);
      Make_result.Host_M_Seq_concat _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.concat ) | exact (Host.M.Seq.concat
        _) | first [unshelve refine (Host.M.Seq.concat
        ) | unshelve refine (Host.M.Seq.concat
        _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]]);
      Make_result.Host_M_Seq_flat_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.flat_map ) | exact (Host.M.Seq.flat_map
        _) | exact (Host.M.Seq.flat_map _
        _) | first [unshelve refine (Host.M.Seq.flat_map
        ) | unshelve refine (Host.M.Seq.flat_map
        _rocq_argument_0) | unshelve refine (Host.M.Seq.flat_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]]);
      Make_result.Host_M_Seq_concat_map _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.concat_map
        ) | exact (Host.M.Seq.concat_map _) | exact (Host.M.Seq.concat_map _
        _) | first [unshelve refine (Host.M.Seq.concat_map
        ) | unshelve refine (Host.M.Seq.concat_map
        _rocq_argument_0) | unshelve refine (Host.M.Seq.concat_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]]);
      Make_result.Host_M_Seq_zip _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.zip ) | exact (Host.M.Seq.zip
        _) | exact (Host.M.Seq.zip _ _) | first [unshelve refine (Host.M.Seq.zip
        ) | unshelve refine (Host.M.Seq.zip
        _rocq_argument_0) | unshelve refine (Host.M.Seq.zip _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]]);
      Make_result.Host_M_Seq_map2 _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Seq.map2
        ) | exact (Host.M.Seq.map2 _) | exact (Host.M.Seq.map2 _
        _) | exact (Host.M.Seq.map2 _ _
        _) | first [unshelve refine (Host.M.Seq.map2
        ) | unshelve refine (Host.M.Seq.map2
        _rocq_argument_0) | unshelve refine (Host.M.Seq.map2 _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Seq.map2 _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]]);
      Make_result.Host_M_Seq_product _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.product ) | exact (Host.M.Seq.product
        _) | exact (Host.M.Seq.product _
        _) | first [unshelve refine (Host.M.Seq.product
        ) | unshelve refine (Host.M.Seq.product
        _rocq_argument_0) | unshelve refine (Host.M.Seq.product _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]]);
      Make_result.Host_M_Seq_map_product _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Seq.map_product
        ) | exact (Host.M.Seq.map_product _) | exact (Host.M.Seq.map_product _
        _) | exact (Host.M.Seq.map_product _ _
        _) | first [unshelve refine (Host.M.Seq.map_product
        ) | unshelve refine (Host.M.Seq.map_product
        _rocq_argument_0) | unshelve refine (Host.M.Seq.map_product
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Seq.map_product
        _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]]);
      Make_result.Host_M_Seq_unzip _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.unzip ) | exact (Host.M.Seq.unzip
        _) | exact (Host.M.Seq.unzip _
        _) | first [unshelve refine (Host.M.Seq.unzip
        ) | unshelve refine (Host.M.Seq.unzip
        _rocq_argument_0) | unshelve refine (Host.M.Seq.unzip _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]]);
      Make_result.Host_M_Seq_split _rocq_argument_0 _rocq_argument_1 :=
        ltac:(first [exact (Host.M.Seq.split ) | exact (Host.M.Seq.split
        _) | exact (Host.M.Seq.split _
        _) | first [unshelve refine (Host.M.Seq.split
        ) | unshelve refine (Host.M.Seq.split
        _rocq_argument_0) | unshelve refine (Host.M.Seq.split _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]]);
      Make_result.Host_M_Seq_partition_map _rocq_argument_0 _rocq_argument_1
        _rocq_argument_2 := ltac:(first [exact (Host.M.Seq.partition_map
        ) | exact (Host.M.Seq.partition_map _) | exact (Host.M.Seq.partition_map
        _ _) | exact (Host.M.Seq.partition_map _ _
        _) | first [unshelve refine (Host.M.Seq.partition_map
        ) | unshelve refine (Host.M.Seq.partition_map
        _rocq_argument_0) | unshelve refine (Host.M.Seq.partition_map
        _rocq_argument_0
        _rocq_argument_1) | unshelve refine (Host.M.Seq.partition_map
        _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]]);
      Make_result.Host_M_Seq_partition _rocq_argument_0 :=
        ltac:(first [exact (Host.M.Seq.partition ) | exact (Host.M.Seq.partition
        _) | first [unshelve refine (Host.M.Seq.partition
        ) | unshelve refine (Host.M.Seq.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]]);
      Make_result.Host_M_lower _rocq_argument_0 :=
        ltac:(first [exact (Host.M.lower ) | exact (Host.M.lower
        _) | first [unshelve refine (Host.M.lower
        ) | unshelve refine (Host.M.lower
        _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]]);
      Make_result.Host_M_lift _rocq_argument_0 :=
        ltac:(first [exact (Host.M.lift ) | exact (Host.M.lift
        _) | first [unshelve refine (Host.M.lift
        ) | unshelve refine (Host.M.lift
        _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]]);
      Make_result.Host_M_update := Host.M.update;
      Make_result.op_Host_M_exclamation _rocq_argument_0 :=
        ltac:(first [exact (Host.M.op_exclamation
        ) | exact (Host.M.op_exclamation
        _) | first [unshelve refine (Host.M.op_exclamation
        ) | unshelve refine (Host.M.op_exclamation
        _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]]);
      Make_result.op_Host_M_coloneq _rocq_argument_0 :=
        ltac:(first [exact (Host.M.op_coloneq ) | exact (Host.M.op_coloneq
        _) | first [unshelve refine (Host.M.op_coloneq
        ) | unshelve refine (Host.M.op_coloneq
        _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]]);
      Make_result.Host_M_update_field _rocq_argument_0 :=
        ltac:(first [exact (Host.M.update_field ) | exact (Host.M.update_field
        _) | first [unshelve refine (Host.M.update_field
        ) | unshelve refine (Host.M.update_field
        _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]]);
      Make_result.Host_Precompiles_ethereum_precompiles :=
        Host.Precompiles.ethereum_precompiles;
      Make_result.Host_Precompiles_monad_precompiles :=
        Host.Precompiles.monad_precompiles;
      Make_result.Host_Precompiles_precompile_addresses :=
        Host.Precompiles.precompile_addresses;
      Make_result.Host_Precompiles_try_precompile :=
        Host.Precompiles.try_precompile;
      Make_result.Host_transfer_ether := Host.transfer_ether;
      Make_result.Host_account_exists := Host.account_exists;
      Make_result.Host_get_storage := Host.get_storage;
      Make_result.Host_set_storage := Host.set_storage;
      Make_result.Host_get_balance := Host.get_balance;
      Make_result.Host_get_code_size := Host.get_code_size;
      Make_result.Host_get_code_hash := Host.get_code_hash;
      Make_result.Host_copy_code := Host.copy_code;
      Make_result.Host_setcodefrom := Host.setcodefrom;
      Make_result.Host_selfdestruct := Host.selfdestruct;
      Make_result.Host_should_transfer := Host.should_transfer;
      Make_result.Host_touch_account := Host.touch_account;
      Make_result.Host_touch_storage := Host.touch_storage;
      Make_result.Host_process_call := Host.process_call;
      Make_result.Host_contract_creation_address :=
        Host.contract_creation_address;
      Make_result.Host_process_create := Host.process_create;
      Make_result.Host_call_impl := Host.call_impl;
      Make_result.Host_try_increment_nonce := Host.try_increment_nonce;
      Make_result.Host_call := Host.call;
      Make_result.Host_call_from_eoa := Host.call_from_eoa;
      Make_result.Host_get_tx_context := Host.get_tx_context;
      Make_result.Host_get_block_hash := Host.get_block_hash;
      Make_result.Host_emit_log := Host.emit_log;
      Make_result.Host_access_account := Host.access_account;
      Make_result.Host_access_storage := Host.access_storage;
      Make_result.Host_transient_storage := Host.transient_storage;
      Make_result.Host_get_transient_storage := Host.get_transient_storage;
      Make_result.Host_set_transient_storage := Host.set_transient_storage;
      Make_result.Vm := Vm;
      Make_result.Precompiles := Precompiles;
      Make_result.prepare_message := prepare_message;
      Make_result.validate_authorizations := validate_authorizations;
      Make_result.process_authorization := process_authorization;
      Make_result.bump_emptying_transaction_counters :=
        bump_emptying_transaction_counters;
      Make_result.transaction_validation__rocq_record_make :=
        fun _rocq_record_field_sender _rocq_record_field_total_fee
          _rocq_record_field_effective_gas_price
          _rocq_record_field_intrinsic_gas ⇒
          {|
            MonadVM.Execution.Make.transaction_validation.sender :=
              _rocq_record_field_sender;
            MonadVM.Execution.Make.transaction_validation.total_fee :=
              _rocq_record_field_total_fee;
            MonadVM.Execution.Make.transaction_validation.effective_gas_price :=
              _rocq_record_field_effective_gas_price;
            MonadVM.Execution.Make.transaction_validation.intrinsic_gas :=
              _rocq_record_field_intrinsic_gas; |};
      Make_result.transaction_validation__rocq_record_get_sender :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.Execution.Make.transaction_validation.sender);
      Make_result.transaction_validation__rocq_record_get_total_fee :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.Execution.Make.transaction_validation.total_fee);
      Make_result.transaction_validation__rocq_record_get_effective_gas_price :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.Execution.Make.transaction_validation.effective_gas_price);
      Make_result.transaction_validation__rocq_record_get_intrinsic_gas :=
        fun _rocq_record_value ⇒
          _rocq_record_value.(MonadVM.Execution.Make.transaction_validation.intrinsic_gas);
      Make_result.validate_transaction := validate_transaction;
      Make_result.process_transaction := process_transaction;
      Make_result.process_withdrawal := process_withdrawal;
      Make_result.validate_block := validate_block;
      Make_result.process_system_message := process_system_message;
      Make_result.beacon_roots_address := beacon_roots_address;
      Make_result.history_storage_address := history_storage_address;
      Make_result.validate_input_block_against_output :=
        validate_input_block_against_output;
      Make_result.process_block := process_block
    |}.
End Make.
Definition Make (Params : Make_Params_signature) :=
  @Make.functor (Make.Build_FArgs Params).